Skip to content

Commit

Permalink
Merge pull request #771 from WestpacGEL/feature/icons-pictograms-765-…
Browse files Browse the repository at this point in the history
…767-768

Feature/icons pictograms 765 767 768
  • Loading branch information
samithaf authored Apr 18, 2024
2 parents 217886e + 2f94cec commit ac60c83
Show file tree
Hide file tree
Showing 242 changed files with 425 additions and 249 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-ghosts-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@westpac/ui': minor
---

Add Twitter,stars icons and sparkle pictogram
1 change: 1 addition & 0 deletions packages/ui/assets/icons/filled/stars-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions packages/ui/assets/icons/filled/twitter-filled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/ui/assets/icons/outlined/stars-outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions packages/ui/assets/icons/outlined/twitter-outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { type IconProps } from '../icon.types.js';

export function AccessibilityIcon({
'aria-label': ariaLabel = 'Accessibility',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function AccountIcon({
look = 'filled',
'aria-label': ariaLabel = 'Account',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function AddCircleIcon({
look = 'filled',
'aria-label': ariaLabel = 'Add Circle',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/add-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function AddIcon({ 'aria-label': ariaLabel = 'Add', copyrightYear = '2024', ...props }: IconProps) {
export function AddIcon({ 'aria-label': ariaLabel = 'Add', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path d="M11 11H4V13H11V20H13V13H20V11H13V4H11V11Z" fill="currentColor" />
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/alert-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function AlertIcon({
look = 'filled',
'aria-label': ariaLabel = 'Alert',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function AndroidIcon({ 'aria-label': ariaLabel = 'Android', copyrightYear = '2024', ...props }: IconProps) {
export function AndroidIcon({ 'aria-label': ariaLabel = 'Android', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/apple-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function AppleIcon({ 'aria-label': ariaLabel = 'Apple', copyrightYear = '2024', ...props }: IconProps) {
export function AppleIcon({ 'aria-label': ariaLabel = 'Apple', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function ArchiveBoxIcon({
look = 'filled',
'aria-label': ariaLabel = 'Archive Box',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function ArrowForkIcon({ 'aria-label': ariaLabel = 'Arrow Fork', copyrightYear = '2024', ...props }: IconProps) {
export function ArrowForkIcon({ 'aria-label': ariaLabel = 'Arrow Fork', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function ArrowLeftIcon({ 'aria-label': ariaLabel = 'Arrow Left', copyrightYear = '2024', ...props }: IconProps) {
export function ArrowLeftIcon({ 'aria-label': ariaLabel = 'Arrow Left', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path d="M9.82435 12L16.4121 18.5878L15 20L7 12L15 4L16.4122 5.41218L9.82435 12Z" fill="currentColor" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { type IconProps } from '../icon.types.js';

export function ArrowRightIcon({
'aria-label': ariaLabel = 'Arrow Right',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { type IconProps } from '../icon.types.js';

export function ArrowSplitIcon({
'aria-label': ariaLabel = 'Arrow Split',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/atm-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function AtmIcon({
look = 'filled',
'aria-label': ariaLabel = 'Atm',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function AttacheCaseIcon({
look = 'filled',
'aria-label': ariaLabel = 'Attache Case',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function AustraliaIcon({
look = 'filled',
'aria-label': ariaLabel = 'Australia',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BabyBuggyIcon({
look = 'filled',
'aria-label': ariaLabel = 'Baby Buggy',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BackspaceIcon({
look = 'filled',
'aria-label': ariaLabel = 'Backspace',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/bank-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BankIcon({
look = 'filled',
'aria-label': ariaLabel = 'Bank',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BarChartDownIcon({
look = 'filled',
'aria-label': ariaLabel = 'Bar Chart Down',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BarChartIcon({
look = 'filled',
'aria-label': ariaLabel = 'Bar Chart',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function BarbellIcon({ 'aria-label': ariaLabel = 'Barbell', copyrightYear = '2024', ...props }: IconProps) {
export function BarbellIcon({ 'aria-label': ariaLabel = 'Barbell', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/book-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BookIcon({
look = 'filled',
'aria-label': ariaLabel = 'Book',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/bpay-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BpayIcon({
look = 'filled',
'aria-label': ariaLabel = 'Bpay',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BriefcaseIcon({
look = 'filled',
'aria-label': ariaLabel = 'Briefcase',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BugReportIcon({
look = 'filled',
'aria-label': ariaLabel = 'Bug Report',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/burger-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BurgerIcon({
look = 'filled',
'aria-label': ariaLabel = 'Burger',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function BusinessPersonIcon({
look = 'filled',
'aria-label': ariaLabel = 'Business Person',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/cafe-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CafeIcon({
look = 'filled',
'aria-label': ariaLabel = 'Cafe',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/cake-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CakeIcon({
look = 'filled',
'aria-label': ariaLabel = 'Cake',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CalculateIcon({
look = 'filled',
'aria-label': ariaLabel = 'Calculate',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CalculatorIcon({
look = 'filled',
'aria-label': ariaLabel = 'Calculator',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CalendarIcon({
look = 'filled',
'aria-label': ariaLabel = 'Calendar',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/camera-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CameraIcon({
look = 'filled',
'aria-label': ariaLabel = 'Camera',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/car-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CarIcon({
look = 'filled',
'aria-label': ariaLabel = 'Car',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CardlessCashIcon({
look = 'filled',
'aria-label': ariaLabel = 'Cardless Cash',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/cart-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CartIcon({
look = 'filled',
'aria-label': ariaLabel = 'Cart',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/chat-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function ChatIcon({
look = 'filled',
'aria-label': ariaLabel = 'Chat',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/check-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function CheckIcon({
look = 'filled',
'aria-label': ariaLabel = 'Check',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/clear-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function ClearIcon({
look = 'filled',
'aria-label': ariaLabel = 'Clear',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/clock-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
export function ClockIcon({
look = 'filled',
'aria-label': ariaLabel = 'Clock',
copyrightYear = '2024',
copyrightYear = '2023',
...props
}: IconProps) {
return (
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/icon/components/close-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { Icon } from '../icon.component.js';
import { type IconProps } from '../icon.types.js';

export function CloseIcon({ 'aria-label': ariaLabel = 'Close', copyrightYear = '2024', ...props }: IconProps) {
export function CloseIcon({ 'aria-label': ariaLabel = 'Close', copyrightYear = '2023', ...props }: IconProps) {
return (
<Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
<path
Expand Down
Loading

0 comments on commit ac60c83

Please sign in to comment.