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

Feature/bt panorama brand #924

Merged
merged 93 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
bc36b64
Update src/content/design-system/guides-loading
KateMacdonald Sep 25, 2024
73ee6e2
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
9fc5631
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
6abb396
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
8683c9b
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
32560f5
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
0479ccd
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
00b5606
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
d484d3e
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
57f14fc
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
becbd96
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
f919f52
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
15adb10
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
e74b46f
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
18acc43
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
6686e3b
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
e1572f3
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
6acfa00
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
4fa057d
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
0582424
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
a0728cb
Update src/content/design-system/guides/loading
KateMacdonald Sep 25, 2024
95fcfd0
Update src/content/design-system/components/progress-indicator
KateMacdonald Sep 25, 2024
82d92fe
Update src/content/design-system/components/progress-indicator
KateMacdonald Sep 25, 2024
c484430
Update src/content/design-system/components/progress-indicator
KateMacdonald Sep 25, 2024
9c87144
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
45369b1
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
e1b9c01
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
e8d9aa5
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
0a7454b
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
4212fdd
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
0e462d9
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
bafa184
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
2cdd9f5
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
d8c7ef7
Update src/content/design-system/components/input-group
KateMacdonald Sep 30, 2024
db9f104
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
e3ef022
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
3bcc9c6
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
3376823
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
d87cb93
Update src/content/design-system/components/input-group
KateMacdonald Sep 30, 2024
962df01
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
7d417ae
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
653f39b
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
f76394c
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
d23d2b1
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
0ca9187
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
b789d5c
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
9b003f6
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
783a15c
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
3cc2a41
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
8d37b1b
Update src/content/design-system/guides/loading
KateMacdonald Sep 30, 2024
d807bdc
added guides
HZ991 Oct 1, 2024
9dff6d0
Merge pull request #900 from WestpacGEL/develop
jaortiz Oct 1, 2024
080ed7b
Update src/content/design-system/guides/loading
KateMacdonald Oct 1, 2024
a610e55
Update src/content/design-system/guides/loading
KateMacdonald Oct 1, 2024
96ccb06
Update src/content/design-system/guides/help-text
KateMacdonald Oct 1, 2024
7312e75
Update src/content/design-system/guides/validation-and-error-messaging
KateMacdonald Oct 1, 2024
0c6e64b
Merge pull request #895 from WestpacGEL/content-bigpatterns-kate
KateMacdonald Oct 1, 2024
b1d41af
Update src/content/design-system/guides/loading
KateMacdonald Oct 1, 2024
411ccc1
Merge pull request #901 from WestpacGEL/content-loadingnav-kate
KateMacdonald Oct 1, 2024
ade1b22
Update src/content/design-system/components/footer
KateMacdonald Oct 9, 2024
6d9e8f2
Update src/content/design-system/components/footer
KateMacdonald Oct 9, 2024
3de99c4
Update src/content/design-system/components/footer
KateMacdonald Oct 9, 2024
606f8ba
Update src/content/design-system/components/footer
KateMacdonald Oct 9, 2024
1287c11
Merge pull request #906 from WestpacGEL/content-footer-kate
KateMacdonald Oct 9, 2024
4e7b942
Update src/content/design-system/foundation/font
KateMacdonald Oct 9, 2024
b7dc403
Update src/content/design-system/foundation/icon
KateMacdonald Oct 9, 2024
19b422d
Update src/content/design-system/foundation/layout/breakpoints
KateMacdonald Oct 9, 2024
a380e3c
Update src/content/design-system/foundation/text-styling
KateMacdonald Oct 9, 2024
d5be5b3
Update src/content/design-system/components/autocomplete
KateMacdonald Oct 9, 2024
6cc8f6b
Update src/content/design-system/components/badge
KateMacdonald Oct 9, 2024
bb8e393
Update src/content/design-system/components/bottom-sheet
KateMacdonald Oct 9, 2024
0d7dc26
Update src/content/design-system/components/compacta
KateMacdonald Oct 9, 2024
9564464
Update src/content/design-system/components/flexi-cell
KateMacdonald Oct 9, 2024
1adb739
Update src/content/design-system/components/input-group
KateMacdonald Oct 9, 2024
cfcb2a5
Update src/content/design-system/components/modal
KateMacdonald Oct 9, 2024
dcfbc6a
Update src/content/design-system/components/repeater
KateMacdonald Oct 9, 2024
8a123ec
Update src/content/design-system/guides/help-text
KateMacdonald Oct 9, 2024
fa29d7c
Update src/content/design-system/content/guidelines/people-diversity
KateMacdonald Oct 9, 2024
b388a7d
Update src/content/design-system/content/guidelines/punctuation-symbol
KateMacdonald Oct 9, 2024
fb23740
Update src/content/design-system/design-tokens
KateMacdonald Oct 9, 2024
b9404c2
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
0aa9023
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
564af3c
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
0b6254b
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
5d0e73a
Update src/content/design-system/content/guidelines/headings-subheading
KateMacdonald Oct 9, 2024
ef626e0
Merge pull request #907 from WestpacGEL/content-updates-kate
KateMacdonald Oct 9, 2024
2f1b69a
Update src/content/design-system/content/before-you-start
KateMacdonald Oct 17, 2024
f15c148
Merge pull request #911 from WestpacGEL/content-kate-linda
KateMacdonald Oct 17, 2024
e6ae684
Merge pull request #909 from WestpacGEL/develop
tomjackking Oct 18, 2024
a6c928a
feat: add bt panorama brand and bt logos
Nov 6, 2024
97c40cd
fix: update btpl pictogram dark color
Nov 6, 2024
5aacb8d
fix: add focus color to storybook demo
Nov 7, 2024
d2a124f
chore: remove btpl brand from docs
Nov 7, 2024
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
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% shortCode name="where-is-this-available" /%}

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available"
alternativeMesh="Typeahead"
alternativeLegacyWdp="Typeahead" /%}
availableGel="available"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available"
alternativeMesh="Typeahead"
alternativeLegacyWdp="Typeahead" /%}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% shortCode name="where-is-this-available" /%}

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available" /%}
availableGel="available"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available" /%}
availableMesh="unavailable"
availableLegacyWdp="unavailable" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableLegacyWdp="older-version-available" /%}
availableMesh="unavailable"
availableLegacyWdp="unavailable" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@
brand="wbc"
hideLogo
>
<div>
<SecurityIcon
className="float-left shrink-0 max-md:mr-1 md:mr-2"
color="muted"
size={{
initial: 'small',
md: 'medium'
}}
/>
<p className="text-muted">
Footer content
</p>
<div className="relative">
<div className="float-left flex-none">
<SecurityIcon
className="float-left shrink-0 mr-1 mt-0.5"
color="muted"
size="small"
/>
</div>
<div className="flex">
<p className="text-muted relative flex-1">
Footer content goes here.
</p>
</div>
</div>
</Footer>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,19 @@ This is the basic footer component, the content should be project specific.
brand="wbc"
hideLogo
>
<div>
<SecurityIcon
className="float-left shrink-0 max-md:mr-1 md:mr-2"
color="muted"
size={{
initial: 'small',
md: 'medium'
}}
/>
<p className="text-muted">
Our site and your transactions are secure. You can read our{' '}
<Link
href="#"
type="inline"
>
security information
</Link>
. © 2023 Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714.
</p>
<div className="relative">
<div className="float-left flex-none">
<SecurityIcon
className="float-left shrink-0 mr-1 mt-0.5"
color="muted"
size="small"
/>
</div>
<div className="flex">
<p className="text-muted relative flex-1">
Footer content goes here.
</p>
</div>
</div>
</Footer>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="available"
availableLegacyWdp="available" /%}
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
they are in.
namedExport:
discriminant: false
excludeFromNavbar: true
excludeFromNavbar: false
design:
- title:
name: Footer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Add-on elements can be used either before or after an input, they can provide cl
<Input />
</InputGroup>

<InputGroup size="large" width={30} name="example-button" label="Search" after={<Button>Go</Button>}>
<InputGroup size="large" width={30} name="example-button" label="Search" after={<Button size="large" >Go</Button>}>
<Input defaultValue="" />
</InputGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Supporting text sits below the field, it can be a character count, or validated
<InputGroup width="20"
label="Enter ABA routing number"
hint="For a valid response use: 647453, all other numbers will show the invalid response"
after={validating ? { icon: RefreshIcon } : <Button onClick={validate}>Check</Button>}
after={validating ? { icon: ProgressIndicator } : <Button onClick={validate}>Check</Button>}
errorMessage={error}
>
<Input invalid={!!error} onChange={({ target: { value } }) => setInputValue(value)} value={inputValue} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}

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
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
### Default

Use this progress indicator to show a process is running.

```tsx
() => {
return <ProgressIndicator />;
return (
<div className="p-1 rounded-md flex items-end justify-center" >
<ProgressIndicator size="xlarge" />
</div>
);
}
```

### Sizes

The indicator comes in various sizes (Xs, Sm, Md, Lg and Xl) suitable for buttons, fields, or full-page loading.

```tsx
() => {
return (
<div className="p-1 rounded-md flex items-end justify-center" >
{(['xsmall', 'small', 'medium', 'large', 'xlarge'] as const).map(size => (
<ProgressIndicator size={size} className="mr-2" />
))}
</div>
);
};
```

### Dark backgrounds

The indicator can appear white for use on dark backgrounds.

```tsx
() => {
return <div className="rounded-md bg-black flex items-end justify-center">
<ProgressIndicator size="xlarge" color="white" className="mr-2 mb-2 mt-2" />)}
</div>;
}
```
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 @@ -2,7 +2,7 @@ name: Progress indicator
description: Progress indicators are used to show a state of loading.
namedExport:
discriminant: false
excludeFromNavbar: true
excludeFromNavbar: false
design:
- title:
name: Progress indicator
Expand All @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="in-progress"
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Digital writing approach
name: Before you start
description: >-
When writing for digital, we want our customers to easily understand our
messaging and successfully complete their task online in the quickest and
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
No full stops at the end of any headings but fine to use a full stop or comma to break up a headline.

For example:

> OUR DREAM RATE JUST GOT DREAMIER
>
> LIFE IS EVENTFUL. THAT’S WHY WE HELP
>
> MEET RED, YOUR VIRTUAL ASSISTANT

---
```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
<p className="typography-body-10 mb-2 ml-4">OUR DREAM RATE JUST GOT DREAMIER</p>
<p className="typography-body-10 mb-2 ml-4">LIFE IS EVENTFUL. THAT’S WHY WE HELP</p>
<p className="typography-body-10 mb-2 ml-4">MEET RED, YOUR VIRTUAL ASSISTANT</p>
</div>
```

Question marks and exclamation marks can help keep headings short and engaging.

For example:

> WANT $3K CASHBACK?

*Note: Only use exclamation marks when appropriate, e.g. Now that’s a great rate!*
```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
<p className="typography-body-10 mb-2 ml-4">WANT $3K CASHBACK?</p>
<p className="typography-body-10 mb-6 ml-4">LIFE IS EVENTFUL. THAT’S WHY WE HELP</p>
<p className="typography-body-10 text-muted italic">Note: Only use exclamation marks when appropriate, e.g. Now that’s a great rate!</p>
</div>
```
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ Avoid defining people by their disability and aim for positive language.

Try to keep holidays agnostic where possible.

For example:

```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Use full stops for sub-copy and body copy.

*Note: You can use a full stop to break up a headline, but no full stop on the end.*

For example:

```jsx
<div>
<h4 className="typography-body-10 text-muted mb-3">For example:</h4>
Expand Down
9 changes: 8 additions & 1 deletion apps/site/src/content/design-system/design-tokens/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: Design tokens
description: Design tokens support us to share basic brand styling at the simplest level with any interface on any platform across the Bank.
description: >-
Design tokens support us to share basic brand styling at the simplest level
with any interface on any platform across the Bank.
namedExport:
discriminant: false
excludeFromNavbar: true
design:
- title:
name: Main
slug: main
noTitle: true
noDemo: false
accessibility: []
relatedComponents: []
code: []
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ design:
name: Body font
slug: body-font
noTitle: false
noDemo: false
noDemo: true
- title:
name: Typographic scale
slug: typographic-scale
noTitle: false
noDemo: false
noDemo: true
- title:
name: Font weights
slug: font-weights
noTitle: false
noDemo: false
noDemo: true
- title:
name: Using fonts
slug: using-fonts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

{% availabilityContent
availableGel="available"
availableMesh="available"
availableLegacyWdp="available" /%}
availableMesh="older-version-available"
availableLegacyWdp="older-version-available" /%}
Loading
Loading