@stripe/stripe-js 2.1.11 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pure.esm.js +1 -1
- package/dist/pure.js +1 -1
- package/dist/stripe.esm.js +1 -1
- package/dist/stripe.js +1 -1
- package/package.json +1 -1
- package/types/stripe-js/elements-group.d.ts +71 -5
package/dist/pure.esm.js
CHANGED
package/dist/pure.js
CHANGED
package/dist/stripe.esm.js
CHANGED
package/dist/stripe.js
CHANGED
package/package.json
CHANGED
|
@@ -967,48 +967,114 @@ export interface Appearance {
|
|
|
967
967
|
|
|
968
968
|
// Spacing
|
|
969
969
|
spacingUnit?: string;
|
|
970
|
+
gridRowSpacing?: string;
|
|
971
|
+
gridColumnSpacing?: string;
|
|
972
|
+
tabSpacing?: string;
|
|
973
|
+
accordionItemSpacing?: string;
|
|
974
|
+
/** @deprecated Use gridRowSpacing instead. */
|
|
970
975
|
spacingGridRow?: string;
|
|
976
|
+
/** @deprecated Use gridColumnSpacing instead. */
|
|
971
977
|
spacingGridColumn?: string;
|
|
978
|
+
/** @deprecated Use tabSpacing instead. */
|
|
972
979
|
spacingTab?: string;
|
|
980
|
+
/** @deprecated Use accordionItemSpacing instead. */
|
|
973
981
|
spacingAccordionItem?: string;
|
|
974
982
|
|
|
975
983
|
// Colors
|
|
976
984
|
colorPrimary?: string;
|
|
977
|
-
colorPrimaryText?: string;
|
|
978
985
|
colorBackground?: string;
|
|
979
|
-
colorBackgroundText?: string;
|
|
980
986
|
colorText?: string;
|
|
981
987
|
colorSuccess?: string;
|
|
982
|
-
colorSuccessText?: string;
|
|
983
988
|
colorDanger?: string;
|
|
984
|
-
colorDangerText?: string;
|
|
985
989
|
colorWarning?: string;
|
|
986
|
-
colorWarningText?: string;
|
|
987
990
|
|
|
988
991
|
// Text variations
|
|
989
992
|
colorTextSecondary?: string;
|
|
990
993
|
colorTextPlaceholder?: string;
|
|
991
994
|
|
|
995
|
+
// Accessible text
|
|
996
|
+
accessibleColorOnColorPrimary?: string;
|
|
997
|
+
accessibleColorOnColorBackground?: string;
|
|
998
|
+
accessibleColorOnColorSuccess?: string;
|
|
999
|
+
accessibleColorOnColorDanger?: string;
|
|
1000
|
+
accessibleColorOnColorWarning?: string;
|
|
1001
|
+
/** @deprecated Use accessibleColorOnColorPrimary instead. */
|
|
1002
|
+
colorPrimaryText?: string;
|
|
1003
|
+
/** @deprecated Use accessibleColorOnColorBackground instead. */
|
|
1004
|
+
colorBackgroundText?: string;
|
|
1005
|
+
/** @deprecated Use accessibleColorOnColorSuccess instead. */
|
|
1006
|
+
colorSuccessText?: string;
|
|
1007
|
+
/** @deprecated Use accessibleColorOnColorDanger instead. */
|
|
1008
|
+
colorDangerText?: string;
|
|
1009
|
+
/** @deprecated Use accessibleColorOnColorWarning instead. */
|
|
1010
|
+
colorWarningText?: string;
|
|
1011
|
+
|
|
992
1012
|
// Icons
|
|
1013
|
+
iconColor?: string;
|
|
1014
|
+
iconHoverColor?: string;
|
|
1015
|
+
iconCardErrorColor?: string;
|
|
1016
|
+
iconCardCvcColor?: string;
|
|
1017
|
+
iconCardCvcErrorColor?: string;
|
|
1018
|
+
iconCheckmarkColor?: string;
|
|
1019
|
+
iconChevronDownColor?: string;
|
|
1020
|
+
iconChevronDownHoverColor?: string;
|
|
1021
|
+
iconCloseColor?: string;
|
|
1022
|
+
iconCloseHoverColor?: string;
|
|
1023
|
+
iconLoadingIndicatorColor?: string;
|
|
1024
|
+
iconMenuColor?: string;
|
|
1025
|
+
iconMenuHoverColor?: string;
|
|
1026
|
+
iconPasscodeDeviceColor?: string;
|
|
1027
|
+
iconPasscodeDeviceHoverColor?: string;
|
|
1028
|
+
iconPasscodeDeviceNotificationColor?: string;
|
|
1029
|
+
iconRedirectColor?: string;
|
|
1030
|
+
/** @deprecated Use iconColor instead. */
|
|
993
1031
|
colorIcon?: string;
|
|
1032
|
+
/** @deprecated Use iconHoverColor instead. */
|
|
994
1033
|
colorIconHover?: string;
|
|
1034
|
+
/** @deprecated Use iconCardErrorColor instead. */
|
|
995
1035
|
colorIconCardError?: string;
|
|
1036
|
+
/** @deprecated Use iconCardCvcColor instead. */
|
|
996
1037
|
colorIconCardCvc?: string;
|
|
1038
|
+
/** @deprecated Use iconCardCvcErrorColor instead. */
|
|
997
1039
|
colorIconCardCvcError?: string;
|
|
1040
|
+
/** @deprecated Use iconCheckmarkColor instead. */
|
|
998
1041
|
colorIconCheckmark?: string;
|
|
1042
|
+
/** @deprecated Use iconChevronDownColor instead. */
|
|
999
1043
|
colorIconChevronDown?: string;
|
|
1044
|
+
/** @deprecated Use iconChevronDownHoverColor instead. */
|
|
1000
1045
|
colorIconChevronDownHover?: string;
|
|
1046
|
+
/** @deprecated Use iconRedirectColor instead. */
|
|
1001
1047
|
colorIconRedirect?: string;
|
|
1048
|
+
|
|
1049
|
+
// TabIcons
|
|
1050
|
+
tabIconColor?: string;
|
|
1051
|
+
tabIconHoverColor?: string;
|
|
1052
|
+
tabIconSelectedColor?: string;
|
|
1053
|
+
tabIconMoreColor?: string;
|
|
1054
|
+
tabIconMoreHoverColor?: string;
|
|
1055
|
+
/** @deprecated Use tabIconColor instead. */
|
|
1002
1056
|
colorIconTab?: string;
|
|
1057
|
+
/** @deprecated Use tabIconHoverColor instead. */
|
|
1003
1058
|
colorIconTabHover?: string;
|
|
1059
|
+
/** @deprecated Use tabIconHoverColor instead. */
|
|
1004
1060
|
colorIconTabSelected?: string;
|
|
1061
|
+
/** @deprecated Use tabIconMoreColor instead. */
|
|
1005
1062
|
colorIconTabMore?: string;
|
|
1063
|
+
/** @deprecated Use tabIconMoreHoverColor instead. */
|
|
1006
1064
|
colorIconTabMoreHover?: string;
|
|
1007
1065
|
|
|
1008
1066
|
// Logos
|
|
1067
|
+
logoColor?: string;
|
|
1068
|
+
tabLogoColor?: string;
|
|
1069
|
+
tabLogoSelectedColor?: string;
|
|
1070
|
+
blockLogoColor?: string;
|
|
1071
|
+
/** @deprecated Use logoColor instead. */
|
|
1009
1072
|
colorLogo?: string;
|
|
1073
|
+
/** @deprecated Use tabLogoColor instead. */
|
|
1010
1074
|
colorLogoTab?: string;
|
|
1075
|
+
/** @deprecated Use tabLogoSelectedColor instead. */
|
|
1011
1076
|
colorLogoTabSelected?: string;
|
|
1077
|
+
/** @deprecated Use blockLogoColor instead. */
|
|
1012
1078
|
colorLogoBlock?: string;
|
|
1013
1079
|
|
|
1014
1080
|
// Focus
|