@stripe/connect-js 3.3.51-preview-1 → 3.3.52-preview-1

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