@stripe/connect-js 1.0.9 → 1.0.10
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/connect.esm.js +1 -1
- package/dist/connect.js +1 -1
- package/dist/pure.esm.js +1 -1
- package/dist/pure.js +1 -1
- package/package.json +1 -1
- package/types/shared.d.ts +52 -48
package/dist/connect.esm.js
CHANGED
package/dist/connect.js
CHANGED
package/dist/pure.esm.js
CHANGED
package/dist/pure.js
CHANGED
package/package.json
CHANGED
package/types/shared.d.ts
CHANGED
|
@@ -10,28 +10,28 @@ export declare type UIConfigOptions = {
|
|
|
10
10
|
export declare type AppearanceOptions = {
|
|
11
11
|
colorPrimary?: string;
|
|
12
12
|
// Primary Button
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
buttonPrimaryColorBorder?: string;
|
|
14
|
+
buttonPrimaryColorBackground?: string;
|
|
15
|
+
buttonPrimaryColorText?: string;
|
|
16
16
|
// Secondary Button
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
buttonSecondaryColorBorder?: string;
|
|
18
|
+
buttonSecondaryColorBackground?: string;
|
|
19
|
+
buttonSecondaryColorText?: string;
|
|
20
20
|
// Link
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
actionPrimaryColorText?: string;
|
|
22
|
+
actionSecondaryColorText?: string;
|
|
23
23
|
// Border
|
|
24
24
|
colorBorder?: string;
|
|
25
25
|
// Form
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
formHighlightColorBorder?: string;
|
|
27
|
+
formAccentColor?: string;
|
|
28
28
|
// Text
|
|
29
29
|
colorText?: string;
|
|
30
30
|
colorSecondaryText?: string;
|
|
31
31
|
// Background
|
|
32
32
|
colorBackground?: string;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
offsetBackgroundColor?: string;
|
|
34
|
+
formBackgroundColor?: string;
|
|
35
35
|
|
|
36
36
|
// Feedback Colors
|
|
37
37
|
colorDanger?: string;
|
|
@@ -58,48 +58,52 @@ export declare type AppearanceOptions = {
|
|
|
58
58
|
|
|
59
59
|
// Border Sizing
|
|
60
60
|
borderRadius?: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
buttonBorderRadius?: string;
|
|
62
|
+
formBorderRadius?: string;
|
|
63
|
+
badgeBorderRadius?: string;
|
|
64
|
+
overlayBorderRadius?: string;
|
|
65
|
+
|
|
66
|
+
// Font Sizing
|
|
67
|
+
fontSizeBase?: string;
|
|
68
|
+
|
|
69
|
+
// Spacing
|
|
70
|
+
spacingUnit?: string;
|
|
64
71
|
|
|
65
72
|
// Body Typography
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
bodyLgFontSize?: string;
|
|
74
|
+
bodyLgFontWeight?: string;
|
|
75
|
+
bodyMdFontSize?: string;
|
|
76
|
+
bodyMdFontWeight?: string;
|
|
77
|
+
bodySmFontSize?: string;
|
|
78
|
+
bodySmFontWeight?: string;
|
|
72
79
|
|
|
73
80
|
// Label Typography
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
labelLgFontSize?: string;
|
|
82
|
+
labelLgFontWeight?: string;
|
|
83
|
+
labelLgTextTransform?: string;
|
|
84
|
+
labelMdFontSize?: string;
|
|
85
|
+
labelMdFontWeight?: string;
|
|
86
|
+
labelMdTextTransform?: string;
|
|
87
|
+
labelSmFontSize?: string;
|
|
88
|
+
labelSmFontWeight?: string;
|
|
89
|
+
labelSmTextTransform?: string;
|
|
83
90
|
|
|
84
91
|
// Heading Typography
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
// Spacing
|
|
102
|
-
spacingScale?: string;
|
|
92
|
+
headingXlFontSize?: string;
|
|
93
|
+
headingXlFontWeight?: string;
|
|
94
|
+
headingXlTextTransform?: string;
|
|
95
|
+
headingLgFontSize?: string;
|
|
96
|
+
headingLgFontWeight?: string;
|
|
97
|
+
headingLgTextTransform?: string;
|
|
98
|
+
headingMdFontSize?: string;
|
|
99
|
+
headingMdFontWeight?: string;
|
|
100
|
+
headingMdTextTransform?: string;
|
|
101
|
+
headingSmFontSize?: string;
|
|
102
|
+
headingSmFontWeight?: string;
|
|
103
|
+
headingSmTextTransform?: string;
|
|
104
|
+
headingXsFontSize?: string;
|
|
105
|
+
headingXsFontWeight?: string;
|
|
106
|
+
headingXsTextTransform?: string;
|
|
103
107
|
};
|
|
104
108
|
|
|
105
109
|
export type IStripeConnectUpdateParams = {
|