From 2e8b315611528deac464cacf435c2cea2a974a89 Mon Sep 17 00:00:00 2001 From: Benjamin Leonard Date: Tue, 3 Jun 2025 18:59:57 +0100 Subject: [PATCH] Add access token icon (and others) --- icons/index.ts | 6 +++++ icons/react/AccessToken16Icon.tsx | 35 +++++++++++++++++++++++++++++ icons/react/AccessToken24Icon.tsx | 35 +++++++++++++++++++++++++++++ icons/react/Cpu16Icon.tsx | 2 +- icons/react/Loader12Icon.tsx | 4 +--- icons/react/NewWindow16Icon.tsx | 2 +- icons/react/Sparkle16Icon.tsx | 35 +++++++++++++++++++++++++++++ icons/react/Submit16Icon.tsx | 35 +++++++++++++++++++++++++++++ icons/react/Webhooks16Icon.tsx | 37 +++++++++++++++++++++++++++++++ icons/react/Webhooks24Icon.tsx | 37 +++++++++++++++++++++++++++++++ icons/react/index.ts | 6 +++++ icons/sprite.svg | 2 +- icons/svg/access-token-16.svg | 1 + icons/svg/access-token-24.svg | 1 + icons/svg/cpu-16.svg | 2 +- icons/svg/loader-12.svg | 2 +- icons/svg/new-window-16.svg | 2 +- icons/svg/sparkle-16.svg | 1 + icons/svg/submit-16.svg | 1 + icons/svg/webhooks-16.svg | 1 + icons/svg/webhooks-24.svg | 1 + 21 files changed, 239 insertions(+), 9 deletions(-) create mode 100644 icons/react/AccessToken16Icon.tsx create mode 100644 icons/react/AccessToken24Icon.tsx create mode 100644 icons/react/Sparkle16Icon.tsx create mode 100644 icons/react/Submit16Icon.tsx create mode 100644 icons/react/Webhooks16Icon.tsx create mode 100644 icons/react/Webhooks24Icon.tsx create mode 100644 icons/svg/access-token-16.svg create mode 100644 icons/svg/access-token-24.svg create mode 100644 icons/svg/sparkle-16.svg create mode 100644 icons/svg/submit-16.svg create mode 100644 icons/svg/webhooks-16.svg create mode 100644 icons/svg/webhooks-24.svg diff --git a/icons/index.ts b/icons/index.ts index 16b66dcb..eef71cea 100644 --- a/icons/index.ts +++ b/icons/index.ts @@ -9,6 +9,8 @@ export type Icon = | { name: 'access'; size: 16 } | { name: 'access'; size: 24 } + | { name: 'access-token'; size: 16 } + | { name: 'access-token'; size: 24 } | { name: 'action'; size: 16 } | { name: 'action'; size: 24 } | { name: 'add'; size: 12 } @@ -155,10 +157,12 @@ export type Icon = | { name: 'software-update'; size: 16 } | { name: 'software-update'; size: 24 } | { name: 'sort'; size: 16 } + | { name: 'sparkle'; size: 16 } | { name: 'speaker'; size: 24 } | { name: 'ssd'; size: 16 } | { name: 'storage'; size: 16 } | { name: 'storage'; size: 24 } + | { name: 'submit'; size: 16 } | { name: 'subnet'; size: 16 } | { name: 'subnet'; size: 24 } | { name: 'success'; size: 12 } @@ -170,4 +174,6 @@ export type Icon = | { name: 'transmit'; size: 24 } | { name: 'unauthorized'; size: 12 } | { name: 'warning'; size: 12 } + | { name: 'webhooks'; size: 16 } + | { name: 'webhooks'; size: 24 } | { name: 'wireless'; size: 24 } diff --git a/icons/react/AccessToken16Icon.tsx b/icons/react/AccessToken16Icon.tsx new file mode 100644 index 00000000..d2944fdc --- /dev/null +++ b/icons/react/AccessToken16Icon.tsx @@ -0,0 +1,35 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import type { SVGProps } from 'react' + +interface SVGRProps { + title?: string + titleId?: string +} +const AccessToken16Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +) +export default AccessToken16Icon diff --git a/icons/react/AccessToken24Icon.tsx b/icons/react/AccessToken24Icon.tsx new file mode 100644 index 00000000..01b5c6ba --- /dev/null +++ b/icons/react/AccessToken24Icon.tsx @@ -0,0 +1,35 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import type { SVGProps } from 'react' + +interface SVGRProps { + title?: string + titleId?: string +} +const AccessToken24Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +) +export default AccessToken24Icon diff --git a/icons/react/Cpu16Icon.tsx b/icons/react/Cpu16Icon.tsx index 751344a6..78ca1299 100644 --- a/icons/react/Cpu16Icon.tsx +++ b/icons/react/Cpu16Icon.tsx @@ -25,7 +25,7 @@ const Cpu16Icon = ({ title, titleId, ...props }: SVGProps & SVGRP diff --git a/icons/react/Loader12Icon.tsx b/icons/react/Loader12Icon.tsx index 0ac587fd..aa97762d 100644 --- a/icons/react/Loader12Icon.tsx +++ b/icons/react/Loader12Icon.tsx @@ -29,9 +29,7 @@ const Loader12Icon = ({ ) diff --git a/icons/react/NewWindow16Icon.tsx b/icons/react/NewWindow16Icon.tsx index 400209eb..7e5ad644 100644 --- a/icons/react/NewWindow16Icon.tsx +++ b/icons/react/NewWindow16Icon.tsx @@ -29,7 +29,7 @@ const NewWindow16Icon = ({ diff --git a/icons/react/Sparkle16Icon.tsx b/icons/react/Sparkle16Icon.tsx new file mode 100644 index 00000000..ed8548e3 --- /dev/null +++ b/icons/react/Sparkle16Icon.tsx @@ -0,0 +1,35 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import type { SVGProps } from 'react' + +interface SVGRProps { + title?: string + titleId?: string +} +const Sparkle16Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +) +export default Sparkle16Icon diff --git a/icons/react/Submit16Icon.tsx b/icons/react/Submit16Icon.tsx new file mode 100644 index 00000000..ed4702f7 --- /dev/null +++ b/icons/react/Submit16Icon.tsx @@ -0,0 +1,35 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import type { SVGProps } from 'react' + +interface SVGRProps { + title?: string + titleId?: string +} +const Submit16Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +) +export default Submit16Icon diff --git a/icons/react/Webhooks16Icon.tsx b/icons/react/Webhooks16Icon.tsx new file mode 100644 index 00000000..94b3742f --- /dev/null +++ b/icons/react/Webhooks16Icon.tsx @@ -0,0 +1,37 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import type { SVGProps } from 'react' + +interface SVGRProps { + title?: string + titleId?: string +} +const Webhooks16Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +) +export default Webhooks16Icon diff --git a/icons/react/Webhooks24Icon.tsx b/icons/react/Webhooks24Icon.tsx new file mode 100644 index 00000000..81948034 --- /dev/null +++ b/icons/react/Webhooks24Icon.tsx @@ -0,0 +1,37 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, you can obtain one at https://mozilla.org/MPL/2.0/. + * + * Copyright Oxide Computer Company + */ +import type { SVGProps } from 'react' + +interface SVGRProps { + title?: string + titleId?: string +} +const Webhooks24Icon = ({ + title, + titleId, + ...props +}: SVGProps & SVGRProps) => ( + + {title ? {title} : null} + + +) +export default Webhooks24Icon diff --git a/icons/react/index.ts b/icons/react/index.ts index 472653e5..f576611c 100644 --- a/icons/react/index.ts +++ b/icons/react/index.ts @@ -6,6 +6,7 @@ * Copyright Oxide Computer Company */ export { default as Access24Icon } from './Access24Icon.tsx' +export { default as AccessToken24Icon } from './AccessToken24Icon.tsx' export { default as Action24Icon } from './Action24Icon.tsx' export { default as Affinity24Icon } from './Affinity24Icon.tsx' export { default as AddRoundel24Icon } from './AddRoundel24Icon.tsx' @@ -64,7 +65,9 @@ export { default as Terminal24Icon } from './Terminal24Icon.tsx' export { default as Transmit24Icon } from './Transmit24Icon.tsx' export { default as Wireless24Icon } from './Wireless24Icon.tsx' export { default as Question24Icon } from './Question24Icon.tsx' +export { default as Webhooks24Icon } from './Webhooks24Icon.tsx' export { default as Access16Icon } from './Access16Icon.tsx' +export { default as AccessToken16Icon } from './AccessToken16Icon.tsx' export { default as Affinity16Icon } from './Affinity16Icon.tsx' export { default as Action16Icon } from './Action16Icon.tsx' export { default as AddRoundel16Icon } from './AddRoundel16Icon.tsx' @@ -137,6 +140,7 @@ export { default as Terminal16Icon } from './Terminal16Icon.tsx' export { default as Time16Icon } from './Time16Icon.tsx' export { default as Transmit16Icon } from './Transmit16Icon.tsx' export { default as Question16Icon } from './Question16Icon.tsx' +export { default as Webhooks16Icon } from './Webhooks16Icon.tsx' export { default as Add12Icon } from './Add12Icon.tsx' export { default as AutoRestart12Icon } from './AutoRestart12Icon.tsx' export { default as AddRoundel12Icon } from './AddRoundel12Icon.tsx' @@ -169,3 +173,5 @@ export { default as Question12Icon } from './Question12Icon.tsx' export { default as Hide12Icon } from './Hide12Icon.tsx' export { default as SelectArrows6Icon } from './SelectArrows6Icon.tsx' export { default as Close8Icon } from './Close8Icon.tsx' +export { default as Sparkle16Icon } from './Sparkle16Icon.tsx' +export { default as Submit16Icon } from './Submit16Icon.tsx' diff --git a/icons/sprite.svg b/icons/sprite.svg index 346a64ac..10fcd4a2 100644 --- a/icons/sprite.svg +++ b/icons/sprite.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/svg/access-token-16.svg b/icons/svg/access-token-16.svg new file mode 100644 index 00000000..8e66059c --- /dev/null +++ b/icons/svg/access-token-16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/svg/access-token-24.svg b/icons/svg/access-token-24.svg new file mode 100644 index 00000000..059d0c8c --- /dev/null +++ b/icons/svg/access-token-24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/svg/cpu-16.svg b/icons/svg/cpu-16.svg index e783cdf4..0c267429 100644 --- a/icons/svg/cpu-16.svg +++ b/icons/svg/cpu-16.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/svg/loader-12.svg b/icons/svg/loader-12.svg index a2997245..b8b882ff 100644 --- a/icons/svg/loader-12.svg +++ b/icons/svg/loader-12.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/svg/new-window-16.svg b/icons/svg/new-window-16.svg index fe60382a..2eec6d61 100644 --- a/icons/svg/new-window-16.svg +++ b/icons/svg/new-window-16.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/svg/sparkle-16.svg b/icons/svg/sparkle-16.svg new file mode 100644 index 00000000..071aaf66 --- /dev/null +++ b/icons/svg/sparkle-16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/svg/submit-16.svg b/icons/svg/submit-16.svg new file mode 100644 index 00000000..c4d059e0 --- /dev/null +++ b/icons/svg/submit-16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/svg/webhooks-16.svg b/icons/svg/webhooks-16.svg new file mode 100644 index 00000000..ab6ad521 --- /dev/null +++ b/icons/svg/webhooks-16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/svg/webhooks-24.svg b/icons/svg/webhooks-24.svg new file mode 100644 index 00000000..38a51660 --- /dev/null +++ b/icons/svg/webhooks-24.svg @@ -0,0 +1 @@ + \ No newline at end of file