From 626080165e895b1579da7ee90d7c08c51fd951d1 Mon Sep 17 00:00:00 2001 From: Jakub Kotula <520927+jkbktl@users.noreply.github.com> Date: Wed, 15 May 2024 15:11:46 +0200 Subject: [PATCH] Sync icons (#561) * s * Create hip-kiwis-train.md --- .changeset/hip-kiwis-train.md | 5 ++ packages/icons/scripts/sync.ts | 2 + packages/icons/src/bridge-icon.tsx | 58 +++++++++++-- packages/icons/src/chile-icon.tsx | 47 ++++++++++ packages/icons/src/code-data-icon.tsx | 25 ++++++ packages/icons/src/colombia-icon.tsx | 28 ++++++ packages/icons/src/connect-icon.tsx | 25 ++++++ packages/icons/src/dapps-icon.tsx | 2 +- packages/icons/src/dominican-icon.tsx | 120 ++++++++++++++++++++++++++ packages/icons/src/gas-icon.tsx | 2 +- packages/icons/src/index.ts | 10 +++ packages/icons/src/mexico-icon.tsx | 63 ++++++++++++++ packages/icons/src/neutral-icon.tsx | 21 +++++ packages/icons/src/plug-icon.tsx | 25 ++++++ packages/icons/src/switch-icon.tsx | 25 ++++++ packages/icons/src/time-off-icon.tsx | 25 ++++++ packages/icons/svg/bridge-icon.svg | 44 ++++++++-- packages/icons/svg/chile-icon.svg | 36 ++++++++ packages/icons/svg/code-data-icon.svg | 14 +++ packages/icons/svg/colombia-icon.svg | 17 ++++ packages/icons/svg/connect-icon.svg | 14 +++ packages/icons/svg/dapps-icon.svg | 2 +- packages/icons/svg/dominican-icon.svg | 109 +++++++++++++++++++++++ packages/icons/svg/gas-icon.svg | 2 +- packages/icons/svg/mexico-icon.svg | 52 +++++++++++ packages/icons/svg/neutral-icon.svg | 10 +++ packages/icons/svg/plug-icon.svg | 14 +++ packages/icons/svg/switch-icon.svg | 14 +++ packages/icons/svg/time-off-icon.svg | 14 +++ 29 files changed, 809 insertions(+), 16 deletions(-) create mode 100644 .changeset/hip-kiwis-train.md create mode 100644 packages/icons/src/chile-icon.tsx create mode 100644 packages/icons/src/code-data-icon.tsx create mode 100644 packages/icons/src/colombia-icon.tsx create mode 100644 packages/icons/src/connect-icon.tsx create mode 100644 packages/icons/src/dominican-icon.tsx create mode 100644 packages/icons/src/mexico-icon.tsx create mode 100644 packages/icons/src/neutral-icon.tsx create mode 100644 packages/icons/src/plug-icon.tsx create mode 100644 packages/icons/src/switch-icon.tsx create mode 100644 packages/icons/src/time-off-icon.tsx create mode 100644 packages/icons/svg/chile-icon.svg create mode 100644 packages/icons/svg/code-data-icon.svg create mode 100644 packages/icons/svg/colombia-icon.svg create mode 100644 packages/icons/svg/connect-icon.svg create mode 100644 packages/icons/svg/dominican-icon.svg create mode 100644 packages/icons/svg/mexico-icon.svg create mode 100644 packages/icons/svg/neutral-icon.svg create mode 100644 packages/icons/svg/plug-icon.svg create mode 100644 packages/icons/svg/switch-icon.svg create mode 100644 packages/icons/svg/time-off-icon.svg diff --git a/.changeset/hip-kiwis-train.md b/.changeset/hip-kiwis-train.md new file mode 100644 index 00000000..323ce261 --- /dev/null +++ b/.changeset/hip-kiwis-train.md @@ -0,0 +1,5 @@ +--- +"@status-im/icons": minor +--- + +Sync icons diff --git a/packages/icons/scripts/sync.ts b/packages/icons/scripts/sync.ts index 643c8ec3..c045d059 100644 --- a/packages/icons/scripts/sync.ts +++ b/packages/icons/scripts/sync.ts @@ -33,6 +33,8 @@ if (isCancel(personalAccessToken)) { const FILE_KEY = 'qLLuMLfpGxK9OfpIavwsmK' const NODE_IDS = { + // currently generates only set of size 20 + // https://github.com/status-im/status-web/issues/466 '3239:987': 'icons', '3227:1083': 'social', // '942:77': 'reactions', diff --git a/packages/icons/src/bridge-icon.tsx b/packages/icons/src/bridge-icon.tsx index c902def2..82803ec8 100644 --- a/packages/icons/src/bridge-icon.tsx +++ b/packages/icons/src/bridge-icon.tsx @@ -12,12 +12,58 @@ const SvgBridgeIcon = createIcon(props => { focusable={false} aria-hidden={true} > - + + + + + + + + + + + + + + + + + + + ) }) diff --git a/packages/icons/src/chile-icon.tsx b/packages/icons/src/chile-icon.tsx new file mode 100644 index 00000000..593bab59 --- /dev/null +++ b/packages/icons/src/chile-icon.tsx @@ -0,0 +1,47 @@ +import { createIcon } from '../lib/create-icon' + +const SvgChileIcon = createIcon(props => { + return ( + + + + + + + + + + + + + + + + + + + ) +}) + +export default SvgChileIcon diff --git a/packages/icons/src/code-data-icon.tsx b/packages/icons/src/code-data-icon.tsx new file mode 100644 index 00000000..836f0886 --- /dev/null +++ b/packages/icons/src/code-data-icon.tsx @@ -0,0 +1,25 @@ +import { createIcon } from '../lib/create-icon' + +const SvgCodeDataIcon = createIcon(props => { + return ( + + + + ) +}) + +export default SvgCodeDataIcon diff --git a/packages/icons/src/colombia-icon.tsx b/packages/icons/src/colombia-icon.tsx new file mode 100644 index 00000000..f7013250 --- /dev/null +++ b/packages/icons/src/colombia-icon.tsx @@ -0,0 +1,28 @@ +import { createIcon } from '../lib/create-icon' + +const SvgColombiaIcon = createIcon(props => { + return ( + + + + + + ) +}) + +export default SvgColombiaIcon diff --git a/packages/icons/src/connect-icon.tsx b/packages/icons/src/connect-icon.tsx new file mode 100644 index 00000000..08c7bc02 --- /dev/null +++ b/packages/icons/src/connect-icon.tsx @@ -0,0 +1,25 @@ +import { createIcon } from '../lib/create-icon' + +const SvgConnectIcon = createIcon(props => { + return ( + + + + ) +}) + +export default SvgConnectIcon diff --git a/packages/icons/src/dapps-icon.tsx b/packages/icons/src/dapps-icon.tsx index fd19d02d..0d450fea 100644 --- a/packages/icons/src/dapps-icon.tsx +++ b/packages/icons/src/dapps-icon.tsx @@ -15,7 +15,7 @@ const SvgDappsIcon = createIcon(props => { diff --git a/packages/icons/src/dominican-icon.tsx b/packages/icons/src/dominican-icon.tsx new file mode 100644 index 00000000..5af7b4ac --- /dev/null +++ b/packages/icons/src/dominican-icon.tsx @@ -0,0 +1,120 @@ +import { createIcon } from '../lib/create-icon' + +const SvgDominicanIcon = createIcon(props => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) +}) + +export default SvgDominicanIcon diff --git a/packages/icons/src/gas-icon.tsx b/packages/icons/src/gas-icon.tsx index 36eda567..434f9df4 100644 --- a/packages/icons/src/gas-icon.tsx +++ b/packages/icons/src/gas-icon.tsx @@ -15,7 +15,7 @@ const SvgGasIcon = createIcon(props => { diff --git a/packages/icons/src/index.ts b/packages/icons/src/index.ts index 81fd1064..9a4e3611 100644 --- a/packages/icons/src/index.ts +++ b/packages/icons/src/index.ts @@ -52,6 +52,7 @@ export { default as ChevronRightIcon } from './chevron-right-icon' export { default as ChevronTopIcon } from './chevron-top-icon' export { default as ChevronsLeftIcon } from './chevrons-left-icon' export { default as ChevronsRightIcon } from './chevrons-right-icon' +export { default as ChileIcon } from './chile-icon' export { default as ChinaIcon } from './china-icon' export { default as CircleIcon } from './circle-icon' export { default as ClearBigIcon } from './clear-big-icon' @@ -61,11 +62,13 @@ export { default as CloseIcon } from './close-icon' export { default as CloseMacOsIcon } from './close-mac-os-icon' export { default as CloseWindowsIcon } from './close-windows-icon' export { default as CodeBlockIcon } from './code-block-icon' +export { default as CodeDataIcon } from './code-data-icon' export { default as CodeIcon } from './code-icon' export { default as CollapseIcon } from './collapse-icon' export { default as CollapseLsIcon } from './collapse-ls-icon' export { default as CollapseRsIcon } from './collapse-rs-icon' export { default as CollapseTopbarIcon } from './collapse-topbar-icon' +export { default as ColombiaIcon } from './colombia-icon' export { default as ColourPickIcon } from './colour-pick-icon' export { default as CommandIcon } from './command-icon' export { default as CommunitiesIcon } from './communities-icon' @@ -73,6 +76,7 @@ export { default as CompactIcon } from './compact-icon' export { default as CompleteIdIcon } from './complete-id-icon' export { default as ConfettiColorfulIcon } from './confetti-colorful-icon' export { default as ConfettiIcon } from './confetti-icon' +export { default as ConnectIcon } from './connect-icon' export { default as ConnectionIcon } from './connection-icon' export { default as ContactBookIcon } from './contact-book-icon' export { default as ContactIcon } from './contact-icon' @@ -96,6 +100,7 @@ export { default as DesktopIcon } from './desktop-icon' export { default as DestroyIcon } from './destroy-icon' export { default as DisconnectIcon } from './disconnect-icon' export { default as DockIcon } from './dock-icon' +export { default as DominicanIcon } from './dominican-icon' export { default as DoneIcon } from './done-icon' export { default as DownloadIcon } from './download-icon' export { default as DragIcon } from './drag-icon' @@ -198,6 +203,7 @@ export { default as MentionIcon } from './mention-icon' export { default as MenuIcon } from './menu-icon' export { default as MessagesIcon } from './messages-icon' export { default as MessengerIcon } from './messenger-icon' +export { default as MexicoIcon } from './mexico-icon' export { default as MilestonesIcon } from './milestones-icon' export { default as MinimizeMacOsIcon } from './minimize-mac-os-icon' export { default as MinimizeWindowsIcon } from './minimize-windows-icon' @@ -214,6 +220,7 @@ export { default as MutualContactIcon } from './mutual-contact-icon' export { default as NatureIcon } from './nature-icon' export { default as NegativeStateIcon } from './negative-state-icon' export { default as NetherlandsIcon } from './netherlands-icon' +export { default as NeutralIcon } from './neutral-icon' export { default as NewMessageIcon } from './new-message-icon' export { default as NewWindowIcon } from './new-window-icon' export { default as NftIcon } from './nft-icon' @@ -246,6 +253,7 @@ export { default as PinIcon } from './pin-icon' export { default as PinterestIcon } from './pinterest-icon' export { default as PlaceholderIcon } from './placeholder-icon' export { default as PlayIcon } from './play-icon' +export { default as PlugIcon } from './plug-icon' export { default as PopupIcon } from './popup-icon' export { default as PortugalIcon } from './portugal-icon' export { default as PositiveStateIcon } from './positive-state-icon' @@ -303,6 +311,7 @@ export { default as SubscriptIcon } from './subscript-icon' export { default as SuperareIcon } from './superare-icon' export { default as SuperscriptIcon } from './superscript-icon' export { default as SwapIcon } from './swap-icon' +export { default as SwitchIcon } from './switch-icon' export { default as SymbolsIcon } from './symbols-icon' export { default as SyncingIcon } from './syncing-icon' export { default as TableIcon } from './table-icon' @@ -313,6 +322,7 @@ export { default as TeamsIcon } from './teams-icon' export { default as ThreadsIcon } from './threads-icon' export { default as ThumbsDownIcon } from './thumbs-down-icon' export { default as ThumbsUpIcon } from './thumbs-up-icon' +export { default as TimeOffIcon } from './time-off-icon' export { default as ToggleIcon } from './toggle-icon' export { default as TokenIcon } from './token-icon' export { default as TokenMasterIcon } from './token-master-icon' diff --git a/packages/icons/src/mexico-icon.tsx b/packages/icons/src/mexico-icon.tsx new file mode 100644 index 00000000..93f25103 --- /dev/null +++ b/packages/icons/src/mexico-icon.tsx @@ -0,0 +1,63 @@ +import { createIcon } from '../lib/create-icon' + +const SvgMexicoIcon = createIcon(props => { + return ( + + + + + + + + + + + + + + + + + + + + ) +}) + +export default SvgMexicoIcon diff --git a/packages/icons/src/neutral-icon.tsx b/packages/icons/src/neutral-icon.tsx new file mode 100644 index 00000000..c5911580 --- /dev/null +++ b/packages/icons/src/neutral-icon.tsx @@ -0,0 +1,21 @@ +import { createIcon } from '../lib/create-icon' + +const SvgNeutralIcon = createIcon(props => { + return ( + + + + + ) +}) + +export default SvgNeutralIcon diff --git a/packages/icons/src/plug-icon.tsx b/packages/icons/src/plug-icon.tsx new file mode 100644 index 00000000..847fea43 --- /dev/null +++ b/packages/icons/src/plug-icon.tsx @@ -0,0 +1,25 @@ +import { createIcon } from '../lib/create-icon' + +const SvgPlugIcon = createIcon(props => { + return ( + + + + ) +}) + +export default SvgPlugIcon diff --git a/packages/icons/src/switch-icon.tsx b/packages/icons/src/switch-icon.tsx new file mode 100644 index 00000000..397966ba --- /dev/null +++ b/packages/icons/src/switch-icon.tsx @@ -0,0 +1,25 @@ +import { createIcon } from '../lib/create-icon' + +const SvgSwitchIcon = createIcon(props => { + return ( + + + + ) +}) + +export default SvgSwitchIcon diff --git a/packages/icons/src/time-off-icon.tsx b/packages/icons/src/time-off-icon.tsx new file mode 100644 index 00000000..9482b361 --- /dev/null +++ b/packages/icons/src/time-off-icon.tsx @@ -0,0 +1,25 @@ +import { createIcon } from '../lib/create-icon' + +const SvgTimeOffIcon = createIcon(props => { + return ( + + + + ) +}) + +export default SvgTimeOffIcon diff --git a/packages/icons/svg/bridge-icon.svg b/packages/icons/svg/bridge-icon.svg index adb94b66..d58cf9a5 100644 --- a/packages/icons/svg/bridge-icon.svg +++ b/packages/icons/svg/bridge-icon.svg @@ -5,10 +5,42 @@ fill="none" viewBox="0 0 20 20" > - + + + + + + + + + + + + + + + + + + + diff --git a/packages/icons/svg/chile-icon.svg b/packages/icons/svg/chile-icon.svg new file mode 100644 index 00000000..4760ba32 --- /dev/null +++ b/packages/icons/svg/chile-icon.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + diff --git a/packages/icons/svg/code-data-icon.svg b/packages/icons/svg/code-data-icon.svg new file mode 100644 index 00000000..4ca677ff --- /dev/null +++ b/packages/icons/svg/code-data-icon.svg @@ -0,0 +1,14 @@ + + + diff --git a/packages/icons/svg/colombia-icon.svg b/packages/icons/svg/colombia-icon.svg new file mode 100644 index 00000000..868c29b7 --- /dev/null +++ b/packages/icons/svg/colombia-icon.svg @@ -0,0 +1,17 @@ + + + + + diff --git a/packages/icons/svg/connect-icon.svg b/packages/icons/svg/connect-icon.svg new file mode 100644 index 00000000..83268a0d --- /dev/null +++ b/packages/icons/svg/connect-icon.svg @@ -0,0 +1,14 @@ + + + diff --git a/packages/icons/svg/dapps-icon.svg b/packages/icons/svg/dapps-icon.svg index 1927be34..d0858380 100644 --- a/packages/icons/svg/dapps-icon.svg +++ b/packages/icons/svg/dapps-icon.svg @@ -8,7 +8,7 @@ diff --git a/packages/icons/svg/dominican-icon.svg b/packages/icons/svg/dominican-icon.svg new file mode 100644 index 00000000..50562708 --- /dev/null +++ b/packages/icons/svg/dominican-icon.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/icons/svg/gas-icon.svg b/packages/icons/svg/gas-icon.svg index e400eba4..439bbc5b 100644 --- a/packages/icons/svg/gas-icon.svg +++ b/packages/icons/svg/gas-icon.svg @@ -8,7 +8,7 @@ diff --git a/packages/icons/svg/mexico-icon.svg b/packages/icons/svg/mexico-icon.svg new file mode 100644 index 00000000..d0a80f9b --- /dev/null +++ b/packages/icons/svg/mexico-icon.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + diff --git a/packages/icons/svg/neutral-icon.svg b/packages/icons/svg/neutral-icon.svg new file mode 100644 index 00000000..b8c0c8c9 --- /dev/null +++ b/packages/icons/svg/neutral-icon.svg @@ -0,0 +1,10 @@ + + + + diff --git a/packages/icons/svg/plug-icon.svg b/packages/icons/svg/plug-icon.svg new file mode 100644 index 00000000..3277d2ba --- /dev/null +++ b/packages/icons/svg/plug-icon.svg @@ -0,0 +1,14 @@ + + + diff --git a/packages/icons/svg/switch-icon.svg b/packages/icons/svg/switch-icon.svg new file mode 100644 index 00000000..22e58a99 --- /dev/null +++ b/packages/icons/svg/switch-icon.svg @@ -0,0 +1,14 @@ + + + diff --git a/packages/icons/svg/time-off-icon.svg b/packages/icons/svg/time-off-icon.svg new file mode 100644 index 00000000..e636bedf --- /dev/null +++ b/packages/icons/svg/time-off-icon.svg @@ -0,0 +1,14 @@ + + +