Skip to content

Commit

Permalink
feat(icons): new payments system icons (#4306)
Browse files Browse the repository at this point in the history
Co-authored-by: tinkoff-bot <[email protected]>
  • Loading branch information
splincode and tinkoff-bot committed Apr 27, 2023
1 parent 93619c2 commit 0c289b1
Show file tree
Hide file tree
Showing 9 changed files with 295 additions and 2 deletions.
11 changes: 9 additions & 2 deletions projects/demo/src/modules/markup/icons/icons.tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ export const COMMERCE: DemoTuiIcon[] = [
`tuiIconMirMono`,
`tuiIconVisa`,
`tuiIconVisaMono`,
`tuiIconUnionPay`,
`tuiIconApplePay`,
`tuiIconGooglePay`,
`tuiIconJCB`,
`tuiIconPayPal`,
`tuiIconSamsungPay`,
`tuiIconWorldPay`,
];

// TODO: remove in 4.0
Expand All @@ -36,10 +43,10 @@ const {LARGE, NORMAL} = ensureIcons();

export const ICONS = (deprecated: TuiStringHandler<string>): DemoTuiIconsTabs => ({
'Description and examples': {
[`Normal interface icons / 16px`]: NORMAL.filter(
[`Normal / 16px`]: NORMAL.filter(
icon => !deprecated(icon) && !DEPRECATED.includes(icon),
),
[`Large interface icons / 24px`]: LARGE.filter(
[`Large / 24px`]: LARGE.filter(
icon => !deprecated(icon) && !DEPRECATED.includes(icon),
),
[`Payment systems`]: COMMERCE,
Expand Down
28 changes: 28 additions & 0 deletions projects/icons/all.ts

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions projects/icons/src/tuiIconApplePay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions projects/icons/src/tuiIconGooglePay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions projects/icons/src/tuiIconJCB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions projects/icons/src/tuiIconPayPal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions projects/icons/src/tuiIconSamsungPay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions projects/icons/src/tuiIconUnionPay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions projects/icons/src/tuiIconWorldPay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0c289b1

Please sign in to comment.