@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.
@@ -1,4 +1,4 @@
1
- var version = "1.0.9";
1
+ var version = "1.0.10";
2
2
 
3
3
  const componentNameMapping = {
4
4
  payments: "stripe-connect-payments",
package/dist/connect.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "1.0.9";
5
+ var version = "1.0.10";
6
6
 
7
7
  const componentNameMapping = {
8
8
  payments: "stripe-connect-payments",
package/dist/pure.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- var version = "1.0.9";
1
+ var version = "1.0.10";
2
2
 
3
3
  const componentNameMapping = {
4
4
  payments: "stripe-connect-payments",
package/dist/pure.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "1.0.9";
5
+ var version = "1.0.10";
6
6
 
7
7
  const componentNameMapping = {
8
8
  payments: "stripe-connect-payments",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
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
- colorPrimaryButtonBorder?: string;
14
- colorPrimaryButtonBackground?: string;
15
- colorPrimaryButtonText?: string;
13
+ buttonPrimaryColorBorder?: string;
14
+ buttonPrimaryColorBackground?: string;
15
+ buttonPrimaryColorText?: string;
16
16
  // Secondary Button
17
- colorSecondaryButtonBorder?: string;
18
- colorSecondaryButtonBackground?: string;
19
- colorSecondaryButtonText?: string;
17
+ buttonSecondaryColorBorder?: string;
18
+ buttonSecondaryColorBackground?: string;
19
+ buttonSecondaryColorText?: string;
20
20
  // Link
21
- colorPrimaryLinkText?: string;
22
- colorSecondaryLinkText?: string;
21
+ actionPrimaryColorText?: string;
22
+ actionSecondaryColorText?: string;
23
23
  // Border
24
24
  colorBorder?: string;
25
25
  // Form
26
- colorFormHighlightBorder?: string;
27
- colorFormAccent?: string;
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
- colorOffsetBackground?: string;
34
- colorFormBackground?: string;
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
- borderRadiusButton?: string;
62
- borderRadiusForm?: string;
63
- borderRadiusBadge?: string;
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
- bodyLargeFontSize?: string;
67
- bodyLargeFontWeight?: string;
68
- bodyMediumFontSize?: string;
69
- bodyMediumFontWeight?: string;
70
- bodySmallFontSize?: string;
71
- bodySmallFontWeight?: string;
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
- labelLargeFontSize?: string;
75
- labelLargeFontWeight?: string;
76
- labelLargeTextTransform?: string;
77
- labelMediumFontSize?: string;
78
- labelMediumFontWeight?: string;
79
- labelMediumTextTransform?: string;
80
- labelSmallFontSize?: string;
81
- labelSmallFontWeight?: string;
82
- labelSmallTextTransform?: string;
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
- headingXLargeFontSize?: string;
86
- headingXLargeFontWeight?: string;
87
- headingXLargeTextTransform?: string;
88
- headingLargeFontSize?: string;
89
- headingLargeFontWeight?: string;
90
- headingLargeTextTransform?: string;
91
- headingMediumFontSize?: string;
92
- headingMediumFontWeight?: string;
93
- headingMediumTextTransform?: string;
94
- headingSmallFontSize?: string;
95
- headingSmallFontWeight?: string;
96
- headingSmallTextTransform?: string;
97
- headingXSmallFontSize?: string;
98
- headingXSmallFontWeight?: string;
99
- headingXSmallTextTransform?: string;
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 = {