@stripe/connect-js 3.3.34 → 3.3.35

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.
@@ -185,7 +185,7 @@ const initStripeConnect = (stripePromise, initParams) => {
185
185
  element[method] = function (value) {
186
186
  stripeConnectInstance.then(() => {
187
187
  if (!this[`${method}InternalOnly`]) {
188
- throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.34`);
188
+ throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.35`);
189
189
  }
190
190
  this[`${method}InternalOnly`](value);
191
191
  });
@@ -239,7 +239,7 @@ const createWrapper = stripeConnect => {
239
239
  sdk: true,
240
240
  sdkOptions: {
241
241
  // This will be replaced by the npm package version when bundling
242
- sdkVersion: "3.3.34"
242
+ sdkVersion: "3.3.35"
243
243
  }
244
244
  })
245
245
  }));
package/dist/connect.js CHANGED
@@ -189,7 +189,7 @@ const initStripeConnect = (stripePromise, initParams) => {
189
189
  element[method] = function (value) {
190
190
  stripeConnectInstance.then(() => {
191
191
  if (!this[`${method}InternalOnly`]) {
192
- throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.34`);
192
+ throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.35`);
193
193
  }
194
194
  this[`${method}InternalOnly`](value);
195
195
  });
@@ -243,7 +243,7 @@ const createWrapper = stripeConnect => {
243
243
  sdk: true,
244
244
  sdkOptions: {
245
245
  // This will be replaced by the npm package version when bundling
246
- sdkVersion: "3.3.34"
246
+ sdkVersion: "3.3.35"
247
247
  }
248
248
  })
249
249
  }));
package/dist/pure.esm.js CHANGED
@@ -185,7 +185,7 @@ const initStripeConnect = (stripePromise, initParams) => {
185
185
  element[method] = function (value) {
186
186
  stripeConnectInstance.then(() => {
187
187
  if (!this[`${method}InternalOnly`]) {
188
- throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.34`);
188
+ throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.35`);
189
189
  }
190
190
  this[`${method}InternalOnly`](value);
191
191
  });
@@ -239,7 +239,7 @@ const createWrapper = stripeConnect => {
239
239
  sdk: true,
240
240
  sdkOptions: {
241
241
  // This will be replaced by the npm package version when bundling
242
- sdkVersion: "3.3.34"
242
+ sdkVersion: "3.3.35"
243
243
  }
244
244
  })
245
245
  }));
package/dist/pure.js CHANGED
@@ -189,7 +189,7 @@ const initStripeConnect = (stripePromise, initParams) => {
189
189
  element[method] = function (value) {
190
190
  stripeConnectInstance.then(() => {
191
191
  if (!this[`${method}InternalOnly`]) {
192
- throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.34`);
192
+ throw new Error(`Method ${method} is not available in the ${tagName} HTML element. Are you using a supported version of the "@stripe/connect-js" package? Using version: 3.3.35`);
193
193
  }
194
194
  this[`${method}InternalOnly`](value);
195
195
  });
@@ -243,7 +243,7 @@ const createWrapper = stripeConnect => {
243
243
  sdk: true,
244
244
  sdkOptions: {
245
245
  // This will be replaced by the npm package version when bundling
246
- sdkVersion: "3.3.34"
246
+ sdkVersion: "3.3.35"
247
247
  }
248
248
  })
249
249
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.3.34",
3
+ "version": "3.3.35",
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
@@ -143,6 +143,44 @@ export declare type AppearanceVariables = {
143
143
  */
144
144
  buttonSecondaryColorText?: string;
145
145
 
146
+ // Danger Button Colors
147
+ /**
148
+ * The color used as a background for danger buttons to indicate destructive actions. This accepts hex values or RGB/HSL strings.
149
+ */
150
+ buttonDangerColorBackground?: string;
151
+ /**
152
+ * The color used as a border for danger buttons to indicate destructive actions. This accepts hex values or RGB/HSL strings.
153
+ */
154
+ buttonDangerColorBorder?: string;
155
+ /**
156
+ * The text color used for danger buttons to indicate destructive actions. This accepts hex values or RGB/HSL strings.
157
+ */
158
+ buttonDangerColorText?: string;
159
+
160
+ // Button Padding
161
+ /**
162
+ * The horizontal padding used for buttons. This supports pixel values only.
163
+ */
164
+ buttonPaddingX?: string;
165
+ /**
166
+ * The vertical padding used for buttons. This supports pixel values only.
167
+ */
168
+ buttonPaddingY?: string;
169
+
170
+ // Button Label Typography
171
+ /**
172
+ * The font size for button label typography. Button label typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
173
+ */
174
+ buttonLabelFontSize?: string;
175
+ /**
176
+ * The font weight for button label typography. Button label typography variables accept a valid font weight value.
177
+ */
178
+ buttonLabelFontWeight?: string;
179
+ /**
180
+ * The text transform for button label typography. Button label typography variables accept a valid text transform value.
181
+ */
182
+ buttonLabelTextTransform?: string;
183
+
146
184
  /**
147
185
  * The color used for secondary text. This accepts hex values or RGB/RGBA/HSL strings.
148
186
  */
@@ -167,6 +205,10 @@ export declare type AppearanceVariables = {
167
205
  * The thickness of text decoration of primary actions and links. This accepts a valid text decoration thickness value.
168
206
  */
169
207
  actionPrimaryTextDecorationThickness?: string;
208
+ /**
209
+ * The text transform for the primary actions and links. This accepts a valid text transform value.
210
+ */
211
+ actionPrimaryTextTransform?: string;
170
212
  /**
171
213
  * The color used for secondary actions and links. This accepts hex values or RGB/HSL strings.
172
214
  */
@@ -187,6 +229,10 @@ export declare type AppearanceVariables = {
187
229
  * The thickness of text decoration of secondary actions and links. This accepts a valid text decoration thickness value.
188
230
  */
189
231
  actionSecondaryTextDecorationThickness?: string;
232
+ /**
233
+ * The text transform for the secondary actions and links. This accepts a valid text transform value.
234
+ */
235
+ actionSecondaryTextTransform?: string;
190
236
 
191
237
  // Neutral Badge Colors
192
238
  /**
@@ -244,6 +290,30 @@ export declare type AppearanceVariables = {
244
290
  */
245
291
  badgeDangerColorBorder?: string;
246
292
 
293
+ // Badge Padding
294
+ /**
295
+ * The horizontal padding used for badges. This supports pixel values only.
296
+ */
297
+ badgePaddingX?: string;
298
+ /**
299
+ * The vertical padding used for badges. This supports pixel values only.
300
+ */
301
+ badgePaddingY?: string;
302
+
303
+ // Badge Label Typography
304
+ /**
305
+ * The font size for badge label typography. Badge label typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
306
+ */
307
+ badgeLabelFontSize?: string;
308
+ /**
309
+ * The font weight for badge label typography. Badge label typography variables accept a valid font weight value.
310
+ */
311
+ badgeLabelFontWeight?: string;
312
+ /**
313
+ * The text transform for badge label typography. Badge label typography variables accept a valid text transform value.
314
+ */
315
+ badgeLabelTextTransform?: string;
316
+
247
317
  // Background
248
318
  /**
249
319
  * The background color used when highlighting information, like the selected row on a table or particular piece of UI. This accepts hex values or RGB/HSL strings.
@@ -268,6 +338,24 @@ export declare type AppearanceVariables = {
268
338
  * The color used for to fill in form items like checkboxes, radio buttons and switches. This accepts hex values or RGB/HSL strings.
269
339
  */
270
340
  formAccentColor?: string;
341
+ /**
342
+ * The color used for placeholder text in form items. This accepts hex values or RGB/HSL strings.
343
+ */
344
+ formPlaceholderTextColor?: string;
345
+ /**
346
+ * The horizontal padding used for input fields in forms. This supports pixel values only.
347
+ */
348
+ inputFieldPaddingX?: string;
349
+ /**
350
+ * The vertical padding used for input fields in forms. This supports pixel values only.
351
+ */
352
+ inputFieldPaddingY?: string;
353
+
354
+ // Table
355
+ /**
356
+ * The vertical padding used for table rows. This supports pixel values only.
357
+ */
358
+ tableRowPaddingY?: string;
271
359
 
272
360
  // Border Sizing
273
361
  /**