@clerk/types 4.66.0-snapshot.v20250714190940 → 4.66.0

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/index.d.mts CHANGED
@@ -339,7 +339,7 @@ type CommerceSubscriberType = 'org' | 'user';
339
339
  * <ClerkProvider clerkJsVersion="x.x.x" />
340
340
  * ```
341
341
  */
342
- type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming';
342
+ type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming' | 'past_due';
343
343
  /**
344
344
  * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
345
345
  * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
@@ -1187,6 +1187,15 @@ interface CommerceSubscriptionResource extends ClerkResource {
1187
1187
  * ```
1188
1188
  */
1189
1189
  createdAt: Date;
1190
+ /**
1191
+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1192
+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1193
+ * @example
1194
+ * ```tsx
1195
+ * <ClerkProvider clerkJsVersion="x.x.x" />
1196
+ * ```
1197
+ */
1198
+ pastDueAt: Date | null;
1190
1199
  /**
1191
1200
  * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1192
1201
  * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
@@ -4478,6 +4487,7 @@ interface CommerceSubscriptionJSON extends ClerkResourceJSON {
4478
4487
  period_start: number;
4479
4488
  period_end: number;
4480
4489
  canceled_at: number | null;
4490
+ past_due_at: number | null;
4481
4491
  }
4482
4492
  /**
4483
4493
  * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
@@ -5291,6 +5301,11 @@ type Variables = {
5291
5301
  * @default {@link Variables.colorNeutral}
5292
5302
  */
5293
5303
  colorBorder?: CssColor;
5304
+ /**
5305
+ * The background color of the modal backdrop.
5306
+ * @default {@link Variables.colorNeutral} at 70% opacity
5307
+ */
5308
+ colorModalBackdrop?: CssColor;
5294
5309
  /**
5295
5310
  * The default font that will be used in all components.
5296
5311
  * This can be the name of a custom font loaded by your code or the name of a web-safe font ((@link WebSafeFont})
@@ -5812,7 +5827,9 @@ type __internal_LocalizationResource = {
5812
5827
  badge__currentPlan: LocalizationValue;
5813
5828
  badge__upcomingPlan: LocalizationValue;
5814
5829
  badge__activePlan: LocalizationValue;
5830
+ badge__pastDuePlan: LocalizationValue;
5815
5831
  badge__startsAt: LocalizationValue<'date'>;
5832
+ badge__pastDueAt: LocalizationValue<'date'>;
5816
5833
  badge__endsAt: LocalizationValue;
5817
5834
  badge__expired: LocalizationValue;
5818
5835
  badge__canceledEndsAt: LocalizationValue<'date'>;
@@ -5873,6 +5890,7 @@ type __internal_LocalizationResource = {
5873
5890
  endsOn: LocalizationValue;
5874
5891
  renewsAt: LocalizationValue;
5875
5892
  beginsOn: LocalizationValue;
5893
+ pastDueAt: LocalizationValue;
5876
5894
  };
5877
5895
  monthly: LocalizationValue;
5878
5896
  annually: LocalizationValue;
package/dist/index.d.ts CHANGED
@@ -339,7 +339,7 @@ type CommerceSubscriberType = 'org' | 'user';
339
339
  * <ClerkProvider clerkJsVersion="x.x.x" />
340
340
  * ```
341
341
  */
342
- type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming';
342
+ type CommerceSubscriptionStatus = 'active' | 'ended' | 'upcoming' | 'past_due';
343
343
  /**
344
344
  * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
345
345
  * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
@@ -1187,6 +1187,15 @@ interface CommerceSubscriptionResource extends ClerkResource {
1187
1187
  * ```
1188
1188
  */
1189
1189
  createdAt: Date;
1190
+ /**
1191
+ * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1192
+ * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
1193
+ * @example
1194
+ * ```tsx
1195
+ * <ClerkProvider clerkJsVersion="x.x.x" />
1196
+ * ```
1197
+ */
1198
+ pastDueAt: Date | null;
1190
1199
  /**
1191
1200
  * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
1192
1201
  * It is advised to pin the SDK version and the clerk-js version to a specific version to avoid breaking changes.
@@ -4478,6 +4487,7 @@ interface CommerceSubscriptionJSON extends ClerkResourceJSON {
4478
4487
  period_start: number;
4479
4488
  period_end: number;
4480
4489
  canceled_at: number | null;
4490
+ past_due_at: number | null;
4481
4491
  }
4482
4492
  /**
4483
4493
  * @experimental This is an experimental API for the Billing feature that is available under a public beta, and the API is subject to change.
@@ -5291,6 +5301,11 @@ type Variables = {
5291
5301
  * @default {@link Variables.colorNeutral}
5292
5302
  */
5293
5303
  colorBorder?: CssColor;
5304
+ /**
5305
+ * The background color of the modal backdrop.
5306
+ * @default {@link Variables.colorNeutral} at 70% opacity
5307
+ */
5308
+ colorModalBackdrop?: CssColor;
5294
5309
  /**
5295
5310
  * The default font that will be used in all components.
5296
5311
  * This can be the name of a custom font loaded by your code or the name of a web-safe font ((@link WebSafeFont})
@@ -5812,7 +5827,9 @@ type __internal_LocalizationResource = {
5812
5827
  badge__currentPlan: LocalizationValue;
5813
5828
  badge__upcomingPlan: LocalizationValue;
5814
5829
  badge__activePlan: LocalizationValue;
5830
+ badge__pastDuePlan: LocalizationValue;
5815
5831
  badge__startsAt: LocalizationValue<'date'>;
5832
+ badge__pastDueAt: LocalizationValue<'date'>;
5816
5833
  badge__endsAt: LocalizationValue;
5817
5834
  badge__expired: LocalizationValue;
5818
5835
  badge__canceledEndsAt: LocalizationValue<'date'>;
@@ -5873,6 +5890,7 @@ type __internal_LocalizationResource = {
5873
5890
  endsOn: LocalizationValue;
5874
5891
  renewsAt: LocalizationValue;
5875
5892
  beginsOn: LocalizationValue;
5893
+ pastDueAt: LocalizationValue;
5876
5894
  };
5877
5895
  monthly: LocalizationValue;
5878
5896
  annually: LocalizationValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.66.0-snapshot.v20250714190940",
3
+ "version": "4.66.0",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",