-
Notifications
You must be signed in to change notification settings - Fork 976
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 Use new payment method icons in PaymentSheet (#890)
* Add new PM icons (still need PayPal and AUBECSDebit) * Tint text for card and AUBECSDebit, remove image tint for darkmode * Dynamic tinting of PM icons that don't have dark agnostic icons * Remove semi-bold from Appearance APIs * Don't hide shadow when not selected for PM types * Update CHANGELOG.md * Use medium in snapshot tests * Clean up code * update snapshots * update light and dark snapshots * Update parameter name * Update PaymentMethodTypeCollectionView.swift * Consolidate image tinting * Re-add deleted comment
- Loading branch information
1 parent
a487f46
commit e978335
Showing
42 changed files
with
49 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+285 Bytes
(120%)
Stripe/Resources/Images/PaymentMethods/icon-pm-affirm@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
Stripe/Resources/Images/PaymentMethods/icon-pm-afterpay@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-814 Bytes
Stripe/Resources/Images/PaymentMethods/icon-pm-afterpay_dark@3x.png
Binary file not shown.
Binary file modified
BIN
-112 Bytes
(78%)
Stripe/Resources/Images/PaymentMethods/icon-pm-aubecsdebit@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-404 Bytes
Stripe/Resources/Images/PaymentMethods/icon-pm-aubecsdebit_dark@3x.png
Binary file not shown.
Binary file modified
BIN
+442 Bytes
(130%)
Stripe/Resources/Images/PaymentMethods/icon-pm-bancontact@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-471 Bytes
Stripe/Resources/Images/PaymentMethods/icon-pm-bancontact_dark@3x.png
Binary file not shown.
Binary file modified
BIN
+138 Bytes
(110%)
Stripe/Resources/Images/PaymentMethods/icon-pm-eps@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified
BIN
+90 Bytes
(110%)
Stripe/Resources/Images/PaymentMethods/icon-pm-giropay@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-857 Bytes
Stripe/Resources/Images/PaymentMethods/icon-pm-giropay_dark@3x.png
Binary file not shown.
Binary file modified
BIN
-127 Bytes
(91%)
Stripe/Resources/Images/PaymentMethods/icon-pm-ideal@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed
BIN
-580 Bytes
Stripe/Resources/Images/PaymentMethods/icon-pm-klarna_dark@3x.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified
BIN
+312 Bytes
(140%)
Stripe/Resources/Images/PaymentMethods/icon-pm-paypal_dark@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+351 Bytes
(130%)
Stripe/Resources/Images/PaymentMethods/icon-pm-sepa@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1.42 KB
(99%)
...PaymentSheetUITest.PaymentSheetSnapshotTests/testCardRespectsDynamicType@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.52 KB
(99%)
...ntSheetSnapshotTests/testPaymentSheetStandardCardSnapshotAndReturnError_@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.93 KB
(100%)
...apshotTests/testPaymentSheetStandardCardSnapshot_darkModeAndReturnError_@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.15 KB
(99%)
...ntSheetSnapshotTests/testPaymentSheetStandardSEPASnapshotAndReturnError_@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.26 KB
(100%)
...apshotTests/testPaymentSheetStandardSEPASnapshot_darkModeAndReturnError_@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-41 Bytes
(100%)
..._64/StripeiOS_Tests.CheckboxButtonSnapshotTests/testLocalization_Chinese@3x.png
Oops, something went wrong.
Binary file modified
BIN
+200 Bytes
(100%)
...es_64/StripeiOS_Tests.CheckboxButtonSnapshotTests/testLocalization_Hindi@3x.png
Oops, something went wrong.
Binary file modified
BIN
-398 Bytes
(98%)
...renceImages_64/StripeiOS_Tests.CheckboxButtonSnapshotTests/testMultiline@3x.png
Oops, something went wrong.
Binary file modified
BIN
-397 Bytes
(99%)
...64/StripeiOS_Tests.LinkInlineSignupElementSnapshotTests/testDefaultState@3x.png
Oops, something went wrong.
Binary file modified
BIN
-349 Bytes
(100%)
...4/StripeiOS_Tests.LinkInlineSignupElementSnapshotTests/testExpandedState@3x.png
Oops, something went wrong.
Binary file modified
BIN
+172 Bytes
(110%)
...eImages_64/StripeiOS_Tests.PaymentTypeCellSnapshotTests/testCardSelected@3x.png
Oops, something went wrong.
Binary file modified
BIN
+91 Bytes
(100%)
...ipeiOS_Tests.PaymentTypeCellSnapshotTests/testCardSelected_forceDarkMode@3x.png
Oops, something went wrong.
Binary file modified
BIN
+188 Bytes
(110%)
...mages_64/StripeiOS_Tests.PaymentTypeCellSnapshotTests/testCardUnselected@3x.png
Oops, something went wrong.
Binary file modified
BIN
-2 Bytes
(100%)
...eiOS_Tests.PaymentTypeCellSnapshotTests/testCardUnselected_forceDarkMode@3x.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters