@bunnyapp/components 1.8.0-beta.36 → 1.8.0-beta.37

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.
@@ -14,6 +14,16 @@ export declare const Checkout_QuoteFragment: import("gql.tada").TadaDocumentNode
14
14
  on: "Quote";
15
15
  masked: true;
16
16
  }>;
17
+ export declare const Checkout_SubscriptionFragment: import("gql.tada").TadaDocumentNode<{
18
+ id: string;
19
+ [$tada.fragmentRefs]: {
20
+ QuoteCheckout_SubscriptionFragment: "Subscription";
21
+ };
22
+ }, {}, {
23
+ fragment: "Checkout_SubscriptionFragment";
24
+ on: "Subscription";
25
+ masked: true;
26
+ }>;
17
27
  type CheckoutProps = {
18
28
  invoice?: FormattedInvoice;
19
29
  onCancel: () => void;
@@ -22,9 +32,10 @@ type CheckoutProps = {
22
32
  onRecalculateTaxes: (quoteId: string) => void;
23
33
  open: boolean;
24
34
  quote?: FragmentOf<typeof Checkout_QuoteFragment> | null;
35
+ upgradingSubscription?: FragmentOf<typeof Checkout_SubscriptionFragment> | null;
25
36
  token?: string;
26
37
  isUpdatingQuote: boolean;
27
38
  isRecalculatingTaxes: boolean;
28
39
  };
29
- declare const Checkout: ({ onCancel, onSuccess, onFail, onRecalculateTaxes, invoice, open, quote: maskedQuote, isUpdatingQuote, isRecalculatingTaxes, }: CheckoutProps) => import("react/jsx-runtime").JSX.Element | null;
40
+ declare const Checkout: ({ onCancel, onSuccess, onFail, onRecalculateTaxes, invoice, open, quote: maskedQuote, upgradingSubscription: maskedUpgradingSubscription, isUpdatingQuote, isRecalculatingTaxes, }: CheckoutProps) => import("react/jsx-runtime").JSX.Element | null;
30
41
  export default Checkout;
@@ -96,6 +96,7 @@ export declare const QuoteCheckout_SubscriptionFragment: import("gql.tada").Tada
96
96
  interface QuoteCheckoutProps extends InvoiceQuoteParentProps {
97
97
  account: Account;
98
98
  quote: FragmentOf<typeof QuoteCheckout_QuoteFragment>;
99
+ upgradingSubscription?: FragmentOf<typeof QuoteCheckout_SubscriptionFragment> | null;
99
100
  taxationRequiredAccountFields?: TaxationRequiredAccountFields | null;
100
101
  token?: string;
101
102
  storedPaymentMethod?: PaymentMethod;
@@ -103,5 +104,5 @@ interface QuoteCheckoutProps extends InvoiceQuoteParentProps {
103
104
  isUpdatingQuote: boolean;
104
105
  isRecalculatingTaxes: boolean;
105
106
  }
106
- declare const QuoteCheckout: ({ account, onSuccess, onFail, quote: maskedQuote, taxationRequiredAccountFields, isUpdatingQuote, onRecalculateTaxes, isRecalculatingTaxes, }: QuoteCheckoutProps) => import("react/jsx-runtime").JSX.Element;
107
+ declare const QuoteCheckout: ({ account, onSuccess, onFail, quote: maskedQuote, upgradingSubscription: maskedUpgradingSubscription, taxationRequiredAccountFields, isUpdatingQuote, onRecalculateTaxes, isRecalculatingTaxes, }: QuoteCheckoutProps) => import("react/jsx-runtime").JSX.Element;
107
108
  export default QuoteCheckout;
@@ -14,7 +14,7 @@ export declare const UpgradingSubscriptionProvider: ({ value, children }: {
14
14
  [$tada.fragmentRefs]: {
15
15
  SubscriptionsList_SubscriptionFragment: "Subscription";
16
16
  } & {
17
- QuoteCheckout_SubscriptionFragment: "Subscription";
17
+ Checkout_SubscriptionFragment: "Subscription";
18
18
  } & {
19
19
  PriceListSelectorUpgradingSubscription_SubscriptionFragment: "Subscription";
20
20
  } & {
@@ -47,7 +47,7 @@ export declare const UpgradingSubscriptionProvider: ({ value, children }: {
47
47
  [$tada.fragmentRefs]: {
48
48
  SubscriptionsList_SubscriptionFragment: "Subscription";
49
49
  } & {
50
- QuoteCheckout_SubscriptionFragment: "Subscription";
50
+ Checkout_SubscriptionFragment: "Subscription";
51
51
  } & {
52
52
  PriceListSelectorUpgradingSubscription_SubscriptionFragment: "Subscription";
53
53
  } & {
@@ -13,7 +13,7 @@ export declare const UpgradingSubscriptionContext_SubscriptionFragment: import("
13
13
  [$tada.fragmentRefs]: {
14
14
  SubscriptionsList_SubscriptionFragment: "Subscription";
15
15
  } & {
16
- QuoteCheckout_SubscriptionFragment: "Subscription";
16
+ Checkout_SubscriptionFragment: "Subscription";
17
17
  } & {
18
18
  PriceListSelectorUpgradingSubscription_SubscriptionFragment: "Subscription";
19
19
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunnyapp/components",
3
- "version": "1.8.0-beta.36",
3
+ "version": "1.8.0-beta.37",
4
4
  "description": "Components from the Bunny portal to embed Bunny UI functionality into your application.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",