@schematichq/schematic-components 2.28.0 → 2.29.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 +3 -1
- package/dist/schematic-components.browser.cjs.js +695 -458
- package/dist/schematic-components.browser.esm.js +460 -223
- package/dist/schematic-components.cjs.js +695 -458
- package/dist/schematic-components.d.ts +43 -0
- package/dist/schematic-components.esm.js +460 -223
- package/package.json +6 -6
|
@@ -7370,6 +7370,7 @@ declare const en: {
|
|
|
7370
7370
|
"An invoice is created when charges reach $X; the rest is billed monthly.": string;
|
|
7371
7371
|
"An unknown error occurred.": string;
|
|
7372
7372
|
Billed: string;
|
|
7373
|
+
"Billing threshold": string;
|
|
7373
7374
|
"Bundle selected": string;
|
|
7374
7375
|
"Buy credits": string;
|
|
7375
7376
|
Cancel: string;
|
|
@@ -7404,8 +7405,11 @@ declare const en: {
|
|
|
7404
7405
|
"Due today": string;
|
|
7405
7406
|
"Edit payment details": string;
|
|
7406
7407
|
Edit: string;
|
|
7408
|
+
Email: string;
|
|
7407
7409
|
"Ends on": string;
|
|
7408
7410
|
"Enter discount code": string;
|
|
7411
|
+
"Enter email address": string;
|
|
7412
|
+
Error: string;
|
|
7409
7413
|
"Error initializing payment method change. Please try again.": string;
|
|
7410
7414
|
"Error processing payment. Please try a different payment method.": string;
|
|
7411
7415
|
"Error retrieving plan details. Please try again in a moment.": string;
|
|
@@ -7426,6 +7430,7 @@ declare const en: {
|
|
|
7426
7430
|
"Invoice credit tooltip": string;
|
|
7427
7431
|
"Invoice charge tooltip": string;
|
|
7428
7432
|
Invoices: string;
|
|
7433
|
+
Limit: string;
|
|
7429
7434
|
"Limit of": string;
|
|
7430
7435
|
Loading: string;
|
|
7431
7436
|
"Manage plan": string;
|
|
@@ -7448,8 +7453,11 @@ declare const en: {
|
|
|
7448
7453
|
"Error saving custom field values. Please try again.": string;
|
|
7449
7454
|
"Pay now": string;
|
|
7450
7455
|
"Payment Details": string;
|
|
7456
|
+
"Payment due": string;
|
|
7451
7457
|
"Plan selected": string;
|
|
7452
7458
|
"Please accept the agreement to continue.": string;
|
|
7459
|
+
"Please try again later.": string;
|
|
7460
|
+
"Portal not found": string;
|
|
7453
7461
|
Plan: string;
|
|
7454
7462
|
Plans: string;
|
|
7455
7463
|
"Please provide an access token.": string;
|
|
@@ -7501,6 +7509,7 @@ declare const en: {
|
|
|
7501
7509
|
"There was a problem retrieving your upcoming invoice.": string;
|
|
7502
7510
|
"There was a problem retrieving your invoices.": string;
|
|
7503
7511
|
"Tier-based": string;
|
|
7512
|
+
"Tiered pricing": string;
|
|
7504
7513
|
"Tiers apply progressively as quantity increases.": string;
|
|
7505
7514
|
"Top up balance with:": string;
|
|
7506
7515
|
"Top-ups": string;
|
|
@@ -7574,6 +7583,15 @@ declare const en: {
|
|
|
7574
7583
|
"$X/unit/period": string;
|
|
7575
7584
|
"$X/Y units/period": string;
|
|
7576
7585
|
day: string;
|
|
7586
|
+
day_one: string;
|
|
7587
|
+
day_other: string;
|
|
7588
|
+
hour_one: string;
|
|
7589
|
+
hour_other: string;
|
|
7590
|
+
minute_one: string;
|
|
7591
|
+
minute_other: string;
|
|
7592
|
+
second_one: string;
|
|
7593
|
+
second_other: string;
|
|
7594
|
+
week: string;
|
|
7577
7595
|
month: string;
|
|
7578
7596
|
quarter: string;
|
|
7579
7597
|
year: string;
|
|
@@ -7582,6 +7600,13 @@ declare const en: {
|
|
|
7582
7600
|
yr: string;
|
|
7583
7601
|
"one time": string;
|
|
7584
7602
|
"billing period": string;
|
|
7603
|
+
"billing period_one": string;
|
|
7604
|
+
"billing period_other": string;
|
|
7605
|
+
daily: string;
|
|
7606
|
+
weekly: string;
|
|
7607
|
+
monthly: string;
|
|
7608
|
+
quarterly: string;
|
|
7609
|
+
yearly: string;
|
|
7585
7610
|
"expires after purchase": string;
|
|
7586
7611
|
"expires at the end of the billing period": string;
|
|
7587
7612
|
"expires at the end of the next billing period": string;
|
|
@@ -14677,6 +14702,24 @@ export declare const useEmbed: () => EmbedContextProps;
|
|
|
14677
14702
|
|
|
14678
14703
|
export declare function useIsLightBackground(): boolean;
|
|
14679
14704
|
|
|
14705
|
+
/**
|
|
14706
|
+
* The date the next invoice is raised, and, for net-terms subscriptions, the
|
|
14707
|
+
* later date it must be paid by.
|
|
14708
|
+
*
|
|
14709
|
+
* `upcomingInvoice.dueDate` is the deadline for *paying* the invoice. On a
|
|
14710
|
+
* `send_invoice` subscription that is the bill date plus the net terms, so it
|
|
14711
|
+
* falls weeks after the customer is actually billed. The subscription's period
|
|
14712
|
+
* end is when the invoice is raised; `dueDate` is only the fallback, for the
|
|
14713
|
+
* automatic-collection case where the two coincide.
|
|
14714
|
+
*
|
|
14715
|
+
* A subscription set to cancel at period end has no next bill, so both dates
|
|
14716
|
+
* are `undefined`.
|
|
14717
|
+
*/
|
|
14718
|
+
export declare function useNextBillDate(upcomingInvoice?: UpcomingInvoiceResponseData | null): {
|
|
14719
|
+
billDate: Date | undefined;
|
|
14720
|
+
paymentDueDate: Date | undefined;
|
|
14721
|
+
};
|
|
14722
|
+
|
|
14680
14723
|
export declare const usePaymentConfirmation: ({ stripe, clientSecret, onSuccess, onError, autoConfirm, }: UsePaymentConfirmationProps) => UsePaymentConfirmationReturn;
|
|
14681
14724
|
|
|
14682
14725
|
declare interface UsePaymentConfirmationProps {
|