@stripe/connect-js 3.2.0-beta.1 → 3.2.1-beta.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.
package/README.md CHANGED
@@ -5,7 +5,7 @@ This NPM package contains initialization logic for Connect embedded components a
5
5
 
6
6
  Calling `loadConnectAndInitialize` always loads the latest version of Connect.js, regardless of which version of `@stripe/connect-js` you use. Updates for this package only impact tooling around the `loadConnectAndInitialize` helper itself and the TypeScript type definitions provided for Connect.js. Updates do not affect runtime availability of features of Connect.js.
7
7
 
8
- The embedded onboarding component is generally available now. Please refer to our [documentation](https://stripe.com/docs/connect/get-started-connect-embedded-components#account-onboarding) for more information.
8
+ The embedded onboarding component is generally available now. Please refer to our [documentation](https://stripe.com/docs/connect/supported-embedded-components#account-onboarding) for more information.
9
9
 
10
10
  Note: Majority of Connect embedded components are currently still in beta. Please [contact us](https://stripe.com/docs/connect/get-started-connect-embedded-components#access) to request beta access.
11
11
 
@@ -2,23 +2,24 @@
2
2
  /* eslint-disable @typescript-eslint/no-unused-vars */
3
3
  const ConnectElementCustomMethodConfig = {
4
4
  "payment-details": {
5
- setPayment: payment => {},
6
- setOnClose: listener => {}
5
+ setPayment: _payment => {},
6
+ setOnClose: _listener => {}
7
7
  },
8
8
  "account-onboarding": {
9
- setFullTermsOfServiceUrl: termOfServiceUrl => {},
10
- setRecipientTermsOfServiceUrl: recipientTermsOfServiceUrl => {},
11
- setPrivacyPolicyUrl: privacyPolicyUrl => {},
12
- setSkipTermsOfServiceCollection: skipTermsOfServiceCollection => {},
13
- setOnExit: listener => {}
9
+ setFullTermsOfServiceUrl: _termOfServiceUrl => {},
10
+ setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
11
+ setPrivacyPolicyUrl: _privacyPolicyUrl => {},
12
+ setSkipTermsOfServiceCollection: _skipTermsOfServiceCollection => {},
13
+ setOnExit: _listener => {}
14
14
  },
15
15
  "issuing-card": {
16
- setDefaultCard: defaultCard => {},
17
- setCardArtFileLink: cardArtFileLink => {},
18
- setCardSwitching: cardSwitching => {}
16
+ setDefaultCard: _defaultCard => {},
17
+ setCardArtFileLink: _cardArtFileLink => {},
18
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
19
19
  },
20
20
  "issuing-cards-list": {
21
- setCardArtFileLink: cardArtFileLink => {}
21
+ setCardArtFileLink: _cardArtFileLink => {},
22
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
22
23
  }
23
24
  };
24
25
 
@@ -37,7 +38,7 @@ const componentNameMapping = {
37
38
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
38
39
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
39
40
  const findScript = () => {
40
- return document.querySelectorAll(`script[src="${V0_URL}"]`)[0];
41
+ return document.querySelectorAll(`script[src="${V0_URL}"]`)[0] || null;
41
42
  };
42
43
  const injectScript = () => {
43
44
  const script = document.createElement("script");
@@ -146,7 +147,7 @@ const createWrapper = stripeConnect => {
146
147
  sdk: true,
147
148
  sdkOptions: {
148
149
  // This will be replaced by the npm package version when bundling
149
- sdkVersion: "3.2.0-beta.1"
150
+ sdkVersion: "3.1.1-beta.1"
150
151
  }
151
152
  })
152
153
  }));
package/dist/connect.js CHANGED
@@ -6,23 +6,24 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  /* eslint-disable @typescript-eslint/no-unused-vars */
7
7
  const ConnectElementCustomMethodConfig = {
8
8
  "payment-details": {
9
- setPayment: payment => {},
10
- setOnClose: listener => {}
9
+ setPayment: _payment => {},
10
+ setOnClose: _listener => {}
11
11
  },
12
12
  "account-onboarding": {
13
- setFullTermsOfServiceUrl: termOfServiceUrl => {},
14
- setRecipientTermsOfServiceUrl: recipientTermsOfServiceUrl => {},
15
- setPrivacyPolicyUrl: privacyPolicyUrl => {},
16
- setSkipTermsOfServiceCollection: skipTermsOfServiceCollection => {},
17
- setOnExit: listener => {}
13
+ setFullTermsOfServiceUrl: _termOfServiceUrl => {},
14
+ setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
15
+ setPrivacyPolicyUrl: _privacyPolicyUrl => {},
16
+ setSkipTermsOfServiceCollection: _skipTermsOfServiceCollection => {},
17
+ setOnExit: _listener => {}
18
18
  },
19
19
  "issuing-card": {
20
- setDefaultCard: defaultCard => {},
21
- setCardArtFileLink: cardArtFileLink => {},
22
- setCardSwitching: cardSwitching => {}
20
+ setDefaultCard: _defaultCard => {},
21
+ setCardArtFileLink: _cardArtFileLink => {},
22
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
23
23
  },
24
24
  "issuing-cards-list": {
25
- setCardArtFileLink: cardArtFileLink => {}
25
+ setCardArtFileLink: _cardArtFileLink => {},
26
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
26
27
  }
27
28
  };
28
29
 
@@ -41,7 +42,7 @@ const componentNameMapping = {
41
42
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
42
43
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
43
44
  const findScript = () => {
44
- return document.querySelectorAll(`script[src="${V0_URL}"]`)[0];
45
+ return document.querySelectorAll(`script[src="${V0_URL}"]`)[0] || null;
45
46
  };
46
47
  const injectScript = () => {
47
48
  const script = document.createElement("script");
@@ -150,7 +151,7 @@ const createWrapper = stripeConnect => {
150
151
  sdk: true,
151
152
  sdkOptions: {
152
153
  // This will be replaced by the npm package version when bundling
153
- sdkVersion: "3.2.0-beta.1"
154
+ sdkVersion: "3.1.1-beta.1"
154
155
  }
155
156
  })
156
157
  }));
package/dist/pure.esm.js CHANGED
@@ -2,23 +2,24 @@
2
2
  /* eslint-disable @typescript-eslint/no-unused-vars */
3
3
  const ConnectElementCustomMethodConfig = {
4
4
  "payment-details": {
5
- setPayment: payment => {},
6
- setOnClose: listener => {}
5
+ setPayment: _payment => {},
6
+ setOnClose: _listener => {}
7
7
  },
8
8
  "account-onboarding": {
9
- setFullTermsOfServiceUrl: termOfServiceUrl => {},
10
- setRecipientTermsOfServiceUrl: recipientTermsOfServiceUrl => {},
11
- setPrivacyPolicyUrl: privacyPolicyUrl => {},
12
- setSkipTermsOfServiceCollection: skipTermsOfServiceCollection => {},
13
- setOnExit: listener => {}
9
+ setFullTermsOfServiceUrl: _termOfServiceUrl => {},
10
+ setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
11
+ setPrivacyPolicyUrl: _privacyPolicyUrl => {},
12
+ setSkipTermsOfServiceCollection: _skipTermsOfServiceCollection => {},
13
+ setOnExit: _listener => {}
14
14
  },
15
15
  "issuing-card": {
16
- setDefaultCard: defaultCard => {},
17
- setCardArtFileLink: cardArtFileLink => {},
18
- setCardSwitching: cardSwitching => {}
16
+ setDefaultCard: _defaultCard => {},
17
+ setCardArtFileLink: _cardArtFileLink => {},
18
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
19
19
  },
20
20
  "issuing-cards-list": {
21
- setCardArtFileLink: cardArtFileLink => {}
21
+ setCardArtFileLink: _cardArtFileLink => {},
22
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
22
23
  }
23
24
  };
24
25
 
@@ -37,7 +38,7 @@ const componentNameMapping = {
37
38
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
38
39
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
39
40
  const findScript = () => {
40
- return document.querySelectorAll(`script[src="${V0_URL}"]`)[0];
41
+ return document.querySelectorAll(`script[src="${V0_URL}"]`)[0] || null;
41
42
  };
42
43
  const injectScript = () => {
43
44
  const script = document.createElement("script");
@@ -146,7 +147,7 @@ const createWrapper = stripeConnect => {
146
147
  sdk: true,
147
148
  sdkOptions: {
148
149
  // This will be replaced by the npm package version when bundling
149
- sdkVersion: "3.2.0-beta.1"
150
+ sdkVersion: "3.1.1-beta.1"
150
151
  }
151
152
  })
152
153
  }));
package/dist/pure.js CHANGED
@@ -6,23 +6,24 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  /* eslint-disable @typescript-eslint/no-unused-vars */
7
7
  const ConnectElementCustomMethodConfig = {
8
8
  "payment-details": {
9
- setPayment: payment => {},
10
- setOnClose: listener => {}
9
+ setPayment: _payment => {},
10
+ setOnClose: _listener => {}
11
11
  },
12
12
  "account-onboarding": {
13
- setFullTermsOfServiceUrl: termOfServiceUrl => {},
14
- setRecipientTermsOfServiceUrl: recipientTermsOfServiceUrl => {},
15
- setPrivacyPolicyUrl: privacyPolicyUrl => {},
16
- setSkipTermsOfServiceCollection: skipTermsOfServiceCollection => {},
17
- setOnExit: listener => {}
13
+ setFullTermsOfServiceUrl: _termOfServiceUrl => {},
14
+ setRecipientTermsOfServiceUrl: _recipientTermsOfServiceUrl => {},
15
+ setPrivacyPolicyUrl: _privacyPolicyUrl => {},
16
+ setSkipTermsOfServiceCollection: _skipTermsOfServiceCollection => {},
17
+ setOnExit: _listener => {}
18
18
  },
19
19
  "issuing-card": {
20
- setDefaultCard: defaultCard => {},
21
- setCardArtFileLink: cardArtFileLink => {},
22
- setCardSwitching: cardSwitching => {}
20
+ setDefaultCard: _defaultCard => {},
21
+ setCardArtFileLink: _cardArtFileLink => {},
22
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
23
23
  },
24
24
  "issuing-cards-list": {
25
- setCardArtFileLink: cardArtFileLink => {}
25
+ setCardArtFileLink: _cardArtFileLink => {},
26
+ setFetchEphemeralKey: _fetchEphemeralKey => {}
26
27
  }
27
28
  };
28
29
 
@@ -41,7 +42,7 @@ const componentNameMapping = {
41
42
  const EXISTING_SCRIPT_MESSAGE = "loadConnect was called but an existing Connect.js script already exists in the document; existing script parameters will be used";
42
43
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
43
44
  const findScript = () => {
44
- return document.querySelectorAll(`script[src="${V0_URL}"]`)[0];
45
+ return document.querySelectorAll(`script[src="${V0_URL}"]`)[0] || null;
45
46
  };
46
47
  const injectScript = () => {
47
48
  const script = document.createElement("script");
@@ -150,7 +151,7 @@ const createWrapper = stripeConnect => {
150
151
  sdk: true,
151
152
  sdkOptions: {
152
153
  // This will be replaced by the npm package version when bundling
153
- sdkVersion: "3.2.0-beta.1"
154
+ sdkVersion: "3.1.1-beta.1"
154
155
  }
155
156
  })
156
157
  }));
@@ -1,21 +1,31 @@
1
+ type FetchEphemeralKeyFunction = (fetchParams: {
2
+ issuingCard: string;
3
+ nonce: string;
4
+ }) => Promise<{
5
+ issuingCard: string;
6
+ nonce: string;
7
+ ephemeralKeySecret: string;
8
+ }>;
1
9
  export declare const ConnectElementCustomMethodConfig: {
2
10
  "payment-details": {
3
- setPayment: (payment: string | undefined) => void;
4
- setOnClose: (listener: (() => void) | undefined) => void;
11
+ setPayment: (_payment: string | undefined) => void;
12
+ setOnClose: (_listener: (() => void) | undefined) => void;
5
13
  };
6
14
  "account-onboarding": {
7
- setFullTermsOfServiceUrl: (termOfServiceUrl: string | undefined) => void;
8
- setRecipientTermsOfServiceUrl: (recipientTermsOfServiceUrl: string | undefined) => void;
9
- setPrivacyPolicyUrl: (privacyPolicyUrl: string | undefined) => void;
10
- setSkipTermsOfServiceCollection: (skipTermsOfServiceCollection: boolean | undefined) => void;
11
- setOnExit: (listener: (() => void) | undefined) => void;
15
+ setFullTermsOfServiceUrl: (_termOfServiceUrl: string | undefined) => void;
16
+ setRecipientTermsOfServiceUrl: (_recipientTermsOfServiceUrl: string | undefined) => void;
17
+ setPrivacyPolicyUrl: (_privacyPolicyUrl: string | undefined) => void;
18
+ setSkipTermsOfServiceCollection: (_skipTermsOfServiceCollection: boolean | undefined) => void;
19
+ setOnExit: (_listener: (() => void) | undefined) => void;
12
20
  };
13
21
  "issuing-card": {
14
- setDefaultCard: (defaultCard: string | undefined) => void;
15
- setCardArtFileLink: (cardArtFileLink: string | undefined) => void;
16
- setCardSwitching: (cardSwitching: boolean | undefined) => void;
22
+ setDefaultCard: (_defaultCard: string | undefined) => void;
23
+ setCardArtFileLink: (_cardArtFileLink: string | undefined) => void;
24
+ setFetchEphemeralKey: (_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined) => void;
17
25
  };
18
26
  "issuing-cards-list": {
19
- setCardArtFileLink: (cardArtFileLink: string | undefined) => void;
27
+ setCardArtFileLink: (_cardArtFileLink: string | undefined) => void;
28
+ setFetchEphemeralKey: (_fetchEphemeralKey: FetchEphemeralKeyFunction | undefined) => void;
20
29
  };
21
30
  };
31
+ export {};
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@stripe/connect-js",
3
- "version": "3.2.0-beta.1",
3
+ "version": "3.2.1-beta.1",
4
4
  "description": "Connect.js loading utility package",
5
5
  "main": "dist/connect.js",
6
6
  "module": "dist/connect.esm.js",
7
7
  "types": "types/index.d.ts",
8
8
  "typings": "types/index.d.ts",
9
9
  "scripts": {
10
- "test": "yarn lint && yarn test:unit --passWithNoTests && yarn typecheck",
10
+ "test": "yarn lint && yarn test:unit --passWithNoTests && yarn typecheck && yarn build",
11
11
  "test:unit": "jest",
12
12
  "test:types": "zx ./tests/types/scripts/test.mjs",
13
13
  "lint": "eslint '{src,types}/**/*.{ts,js}' && yarn prettier-check",
package/src/shared.ts CHANGED
@@ -51,9 +51,11 @@ const EXISTING_SCRIPT_MESSAGE =
51
51
  const V0_URL = "https://connect-js.stripe.com/v0.1/connect.js";
52
52
 
53
53
  export const findScript = (): HTMLScriptElement | null => {
54
- return document.querySelectorAll<HTMLScriptElement>(
55
- `script[src="${V0_URL}"]`
56
- )[0];
54
+ return (
55
+ document.querySelectorAll<HTMLScriptElement>(
56
+ `script[src="${V0_URL}"]`
57
+ )[0] || null
58
+ );
57
59
  };
58
60
 
59
61
  const injectScript = (): HTMLScriptElement => {
@@ -0,0 +1,9 @@
1
+ import { ConnectElementCustomMethodConfig } from "./config";
2
+ import { ConnectElementTagName } from "./shared.d";
3
+
4
+ // ensure that keys of ConnectElementCustomMethodConfig are from ConnectElementTagName
5
+ export type HasType<T, Q extends T> = Q;
6
+ export type CustomMethodConfigValidation = HasType<
7
+ ConnectElementTagName,
8
+ keyof typeof ConnectElementCustomMethodConfig
9
+ >;
package/types/config.ts CHANGED
@@ -1,39 +1,44 @@
1
- import { ConnectElementTagName } from "./shared.d";
2
-
3
1
  /* eslint-disable @typescript-eslint/no-empty-function */
4
2
  /* eslint-disable @typescript-eslint/no-unused-vars */
5
3
 
4
+ type FetchEphemeralKeyFunction = (fetchParams: {
5
+ issuingCard: string;
6
+ nonce: string;
7
+ }) => Promise<{
8
+ issuingCard: string;
9
+ nonce: string;
10
+ ephemeralKeySecret: string;
11
+ }>;
12
+
6
13
  export const ConnectElementCustomMethodConfig = {
7
14
  "payment-details": {
8
- setPayment: (payment: string | undefined): void => {},
9
- setOnClose: (listener: (() => void) | undefined): void => {}
15
+ setPayment: (_payment: string | undefined): void => {},
16
+ setOnClose: (_listener: (() => void) | undefined): void => {}
10
17
  },
11
18
  "account-onboarding": {
12
19
  setFullTermsOfServiceUrl: (
13
- termOfServiceUrl: string | undefined
20
+ _termOfServiceUrl: string | undefined
14
21
  ): void => {},
15
22
  setRecipientTermsOfServiceUrl: (
16
- recipientTermsOfServiceUrl: string | undefined
23
+ _recipientTermsOfServiceUrl: string | undefined
17
24
  ): void => {},
18
- setPrivacyPolicyUrl: (privacyPolicyUrl: string | undefined): void => {},
25
+ setPrivacyPolicyUrl: (_privacyPolicyUrl: string | undefined): void => {},
19
26
  setSkipTermsOfServiceCollection: (
20
- skipTermsOfServiceCollection: boolean | undefined
27
+ _skipTermsOfServiceCollection: boolean | undefined
21
28
  ): void => {},
22
- setOnExit: (listener: (() => void) | undefined): void => {}
29
+ setOnExit: (_listener: (() => void) | undefined): void => {}
23
30
  },
24
31
  "issuing-card": {
25
- setDefaultCard: (defaultCard: string | undefined): void => {},
26
- setCardArtFileLink: (cardArtFileLink: string | undefined): void => {},
27
- setCardSwitching: (cardSwitching: boolean | undefined): void => {}
32
+ setDefaultCard: (_defaultCard: string | undefined): void => {},
33
+ setCardArtFileLink: (_cardArtFileLink: string | undefined): void => {},
34
+ setFetchEphemeralKey: (
35
+ _fetchEphemeralKey: FetchEphemeralKeyFunction | undefined
36
+ ): void => {}
28
37
  },
29
38
  "issuing-cards-list": {
30
- setCardArtFileLink: (cardArtFileLink: string | undefined): void => {}
39
+ setCardArtFileLink: (_cardArtFileLink: string | undefined): void => {},
40
+ setFetchEphemeralKey: (
41
+ _fetchEphemeralKey: FetchEphemeralKeyFunction | undefined
42
+ ): void => {}
31
43
  }
32
44
  };
33
-
34
- // ensure that keys of ConnectElementCustomMethodConfig are from ConnectElementTagName
35
- type HasType<T, Q extends T> = Q;
36
- type CustomMethodConfigValidation = HasType<
37
- ConnectElementTagName,
38
- keyof typeof ConnectElementCustomMethodConfig
39
- >;
package/types/shared.d.ts CHANGED
@@ -76,17 +76,17 @@ export declare type AppearanceVariables = {
76
76
  fontFamily?: string;
77
77
 
78
78
  /**
79
- * The baseline font size set on the embedded component root. This scales the value of other font size variables. This supports pixel values only.
79
+ * The baseline font size set on the embedded component root. This scales the value of other font size variables. This supports pixel values only ranging from 1px to 40px, 0.1em to 4em, and 0.1rem to 4rem.
80
80
  */
81
81
  fontSizeBase?: string;
82
82
 
83
83
  /**
84
- * The base spacing unit that derives all spacing values. Increase or decrease this value to make your layout more or less spacious. This supports pixel values only.
84
+ * The base spacing unit that derives all spacing values. Increase or decrease this value to make your layout more or less spacious. This supports pixel values only ranging from 8px to 20px.
85
85
  */
86
86
  spacingUnit?: string;
87
87
 
88
88
  /**
89
- * The general border radius used in embedded components. This sets the default border radius for all components. This supports pixel values only.
89
+ * The general border radius used in embedded components. This sets the default border radius for all components. This supports pixel values only, with a maximum value of 24px.
90
90
  */
91
91
  borderRadius?: string;
92
92
 
@@ -240,15 +240,15 @@ export declare type AppearanceVariables = {
240
240
  */
241
241
  buttonBorderRadius?: string;
242
242
  /**
243
- * The border radius used for form elements. This supports pixel values only.
243
+ * The border radius used for form elements. This supports pixel values only, with a maximum value of 24px.
244
244
  */
245
245
  formBorderRadius?: string;
246
246
  /**
247
- * The border radius used for badges. This supports pixel values only.
247
+ * The border radius used for badges. This supports pixel values only, with a maximum value of 24px.
248
248
  */
249
249
  badgeBorderRadius?: string;
250
250
  /**
251
- * The border radius used for overlays. This supports pixel values only.
251
+ * The border radius used for overlays. This supports pixel values only, with a maximum value of 24px.
252
252
  */
253
253
  overlayBorderRadius?: string;
254
254
 
@@ -262,15 +262,7 @@ export declare type AppearanceVariables = {
262
262
 
263
263
  // Body Typography
264
264
  /**
265
- * The font size for the large body typography. Body typography variables accept a valid font size value.
266
- */
267
- bodyLgFontSize?: string;
268
- /**
269
- * The font weight for the large body typography. Body typography variables accept a valid font weight value.
270
- */
271
- bodyLgFontWeight?: string;
272
- /**
273
- * The font size for the medium body typography. Body typography variables accept a valid font size value.
265
+ * The font size for the medium body typography. Body typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
274
266
  */
275
267
  bodyMdFontSize?: string;
276
268
  /**
@@ -278,7 +270,7 @@ export declare type AppearanceVariables = {
278
270
  */
279
271
  bodyMdFontWeight?: string;
280
272
  /**
281
- * The font size for the small body typography. Body typography variables accept a valid font size value.
273
+ * The font size for the small body typography. Body typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
282
274
  */
283
275
  bodySmFontSize?: string;
284
276
  /**
@@ -288,7 +280,7 @@ export declare type AppearanceVariables = {
288
280
 
289
281
  // Heading Typography
290
282
  /**
291
- * The font size for the extra large heading typography. Heading typography variables accept a valid font size value.
283
+ * The font size for the extra large heading typography. Heading typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
292
284
  */
293
285
  headingXlFontSize?: string;
294
286
  /**
@@ -300,7 +292,7 @@ export declare type AppearanceVariables = {
300
292
  */
301
293
  headingXlTextTransform?: string;
302
294
  /**
303
- * The font size for the large heading typography. Heading typography variables accept a valid font size value.
295
+ * The font size for the large heading typography. Heading typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
304
296
  */
305
297
  headingLgFontSize?: string;
306
298
  /**
@@ -312,7 +304,7 @@ export declare type AppearanceVariables = {
312
304
  */
313
305
  headingLgTextTransform?: string;
314
306
  /**
315
- * The font size for the medium heading typography. Heading typography variables accept a valid font size value.
307
+ * The font size for the medium heading typography. Heading typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
316
308
  */
317
309
  headingMdFontSize?: string;
318
310
  /**
@@ -324,7 +316,7 @@ export declare type AppearanceVariables = {
324
316
  */
325
317
  headingMdTextTransform?: string;
326
318
  /**
327
- * The font size for the small heading typography. Heading typography variables accept a valid font size value.
319
+ * The font size for the small heading typography. Heading typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
328
320
  */
329
321
  headingSmFontSize?: string;
330
322
  /**
@@ -336,7 +328,7 @@ export declare type AppearanceVariables = {
336
328
  */
337
329
  headingSmTextTransform?: string;
338
330
  /**
339
- * The font size for the extra small heading typography. Heading typography variables accept a valid font size value.
331
+ * The font size for the extra small heading typography. Heading typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
340
332
  */
341
333
  headingXsFontSize?: string;
342
334
  /**
@@ -350,19 +342,7 @@ export declare type AppearanceVariables = {
350
342
 
351
343
  // Label Typography
352
344
  /**
353
- * The font size for the large label typography. Label typography variables accept a valid font size value.
354
- */
355
- labelLgFontSize?: string;
356
- /**
357
- * The font weight for the large label typography. Label typography variables accept a valid font weight value.
358
- */
359
- labelLgFontWeight?: string;
360
- /**
361
- * The text transform for the large label typography. Label typography variables accept a valid text transform value.
362
- */
363
- labelLgTextTransform?: string;
364
- /**
365
- * The font size for the medium label typography. Label typography variables accept a valid font size value.
345
+ * The font size for the medium label typography. Label typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
366
346
  */
367
347
  labelMdFontSize?: string;
368
348
  /**
@@ -374,7 +354,7 @@ export declare type AppearanceVariables = {
374
354
  */
375
355
  labelMdTextTransform?: string;
376
356
  /**
377
- * The font size for the small label typography. Label typography variables accept a valid font size value.
357
+ * The font size for the small label typography. Label typography variables accept a valid font size value ranging from 1px to 200px, 0.1em to 12em, and 0.1rem to 12rem.
378
358
  */
379
359
  labelSmFontSize?: string;
380
360
  /**