@bunnyapp/components 1.6.0-beta.7 → 1.6.0-beta.9
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/cjs/index.js +25773 -0
- package/dist/cjs/types/playground/billingdetails/index.d.ts +1 -0
- package/dist/cjs/types/playground/main.d.ts +1 -0
- package/dist/cjs/types/playground/transactions/index.d.ts +1 -0
- package/dist/cjs/types/src/ajax.d.ts +1 -0
- package/dist/cjs/types/src/components/BillingDetails/BillingDetails.d.ts +16 -0
- package/dist/cjs/types/src/components/BillingDetails/BillingDetails.stories.d.ts +14 -0
- package/dist/cjs/types/src/components/BillingDetails/BillingDetailsForm.d.ts +8 -0
- package/dist/cjs/types/src/components/BillingDetails/index.d.ts +1 -0
- package/dist/cjs/types/src/components/BunnyProvider.d.ts +21 -0
- package/dist/cjs/types/src/components/Card.d.ts +6 -0
- package/dist/cjs/types/src/components/Checkout/Checkout.d.ts +13 -0
- package/dist/cjs/types/src/components/Checkout/QuoteCheckout.d.ts +12 -0
- package/dist/cjs/types/src/components/Checkout/checkoutUtils.d.ts +2 -0
- package/dist/cjs/types/src/components/CustomizedAntdComponents/Tag.d.ts +37 -0
- package/dist/cjs/types/src/components/DocumentTemplatePreview.d.ts +4 -0
- package/dist/cjs/types/src/components/DrawerHeader.d.ts +7 -0
- package/dist/cjs/types/src/components/Error.d.ts +5 -0
- package/dist/cjs/types/src/components/FeatureUsageGraph.d.ts +6 -0
- package/dist/cjs/types/src/components/Footer/BunnyFooterIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/Footer/Footer.d.ts +4 -0
- package/dist/cjs/types/src/components/Footer/index.d.ts +1 -0
- package/dist/cjs/types/src/components/HeaderModalWrapper.d.ts +2 -0
- package/dist/cjs/types/src/components/Invoice/Invoice.d.ts +6 -0
- package/dist/cjs/types/src/components/Invoice/Invoice.stories.d.ts +17 -0
- package/dist/cjs/types/src/components/Invoice/InvoiceQuoteView.d.ts +12 -0
- package/dist/cjs/types/src/components/Invoice/index.d.ts +7 -0
- package/dist/cjs/types/src/components/LegacyInvoicePDF.d.ts +4 -0
- package/dist/cjs/types/src/components/PandadocPollingModal.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/CheckoutFooter.d.ts +13 -0
- package/dist/cjs/types/src/components/PaymentForm/CouponEditor.d.ts +10 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/CreditCard.d.ts +21 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/LargCardIcon.d.ts +2 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/PlusIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/index.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayCardCvc.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayCardNumber.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayExpiry.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayForm.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/demoPayUtils.d.ts +21 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/useApproveHold.d.ts +13 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +12 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +22 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/index.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentForm.d.ts +18 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentFormTypes.d.ts +14 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentMethodDetails.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentMethodSelector.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/SavePaymentMethodFooter.d.ts +6 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/PaymentMethodForm.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/StripeForm.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/useApproveHold.d.ts +13 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +12 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/useSave.d.ts +11 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/stripeUtils.d.ts +29 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/useAutoSetDefaultPaymentMethod.d.ts +9 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/useHasActiveSubscription.d.ts +5 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/usePaymentMethodSelectorPlugin.d.ts +10 -0
- package/dist/cjs/types/src/components/PaymentForm/index.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/useRemovePaymentMethod.d.ts +3 -0
- package/dist/cjs/types/src/components/PaymentForm/useSetDefaultPaymentMethod.d.ts +6 -0
- package/dist/cjs/types/src/components/Quote/AcceptQuoteModal.d.ts +10 -0
- package/dist/cjs/types/src/components/Quote/PaymentHoldModal.d.ts +7 -0
- package/dist/cjs/types/src/components/Quote/Quote.d.ts +3 -0
- package/dist/cjs/types/src/components/Quote/Quote.stories.d.ts +13 -0
- package/dist/cjs/types/src/components/Quote/StyledModal.d.ts +3 -0
- package/dist/cjs/types/src/components/Quote/index.d.ts +1 -0
- package/dist/cjs/types/src/components/QuoteProvider.d.ts +21 -0
- package/dist/cjs/types/src/components/Quotes/Quotes.d.ts +38 -0
- package/dist/cjs/types/src/components/Quotes/Quotes.stories.d.ts +22 -0
- package/dist/cjs/types/src/components/Quotes/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Signup/CheckoutSummary.d.ts +14 -0
- package/dist/cjs/types/src/components/Signup/PaymentForms.d.ts +31 -0
- package/dist/cjs/types/src/components/Signup/PaymentSuccess.d.ts +8 -0
- package/dist/cjs/types/src/components/Signup/PriceListDisplay.d.ts +5 -0
- package/dist/cjs/types/src/components/Signup/Signup.d.ts +28 -0
- package/dist/cjs/types/src/components/Signup/Signup.stories.d.ts +9 -0
- package/dist/cjs/types/src/components/Signup/index.d.ts +1 -0
- package/dist/cjs/types/src/components/StateTag.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/AddonIndentation.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/AddonSubscriptionCards.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/CheckIcon.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/QuantityDrawerContainer.d.ts +15 -0
- package/dist/cjs/types/src/components/Subscriptions/SubscriptionRequests.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/Subscriptions.d.ts +27 -0
- package/dist/cjs/types/src/components/Subscriptions/Subscriptions.stories.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/SubscriptionsListContainer.d.ts +16 -0
- package/dist/cjs/types/src/components/Subscriptions/TieredDisplayDropdown.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/NextPriceListButton.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/PlanPicker.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/PriceListGrid.d.ts +15 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutButton.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/BillingPeriodSelector.d.ts +11 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/FeatureGridCell.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/GridTemplateColumnsWrapper.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanAddonsCard.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanPickerGridCell.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListCardDesktop.d.ts +15 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +16 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddons.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonsList.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/planManagerUtils.d.ts +2 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +64 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListGridMobile.d.ts +11 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerUtils.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCard.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardButton.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardDescription.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardFeature.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPrice.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPriceDescription.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardTitle.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/priceListCardUtils.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/BackButton.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PreviewModeAdvisary.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/Upgrade.d.ts +11 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/index.d.ts +2 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridRow.d.ts +53 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridTitle.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityInput.d.ts +55 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuoteChangeSummarySection.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/quantityChangeDrawerDesktop/QuantityChangeDrawerDesktop.d.ts +30 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/utils.d.ts +44 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/ChangeQuantitiesButton.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/ShowInactiveToggle.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionsNavigation.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardColumnHeaders.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionsCardCell.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardCellMobile.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +16 -0
- package/dist/cjs/types/src/components/Subscriptions/tagConsts.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/util.d.ts +2 -0
- package/dist/cjs/types/src/components/TaxationForm.d.ts +6 -0
- package/dist/cjs/types/src/components/Transactions/Transactions.d.ts +55 -0
- package/dist/cjs/types/src/components/Transactions/Transactions.stories.d.ts +25 -0
- package/dist/cjs/types/src/components/Transactions/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionDate.d.ts +4 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionDownload.d.ts +7 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionGridCell.d.ts +2 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionTitle.d.ts +5 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionsEmptyState.d.ts +2 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +7 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +6 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/utils.d.ts +3 -0
- package/dist/cjs/types/src/components/icons/Amex.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/ArrowDownToLine.d.ts +5 -0
- package/dist/cjs/types/src/components/icons/Bancontact.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/CardIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Cashapp.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/ChinaUnionPay.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/CreditCard.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/DinersClub.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Discover.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/IDeal.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/JSB.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Link.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Mastercard.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Sepa.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Visa.d.ts +4 -0
- package/dist/cjs/types/src/components/index.d.ts +12 -0
- package/dist/cjs/types/src/contexts/BrandContext.d.ts +6 -0
- package/dist/cjs/types/src/contexts/InvoiceQuoteContext.d.ts +16 -0
- package/dist/cjs/types/src/contexts/NavigationContext.d.ts +8 -0
- package/dist/cjs/types/src/contexts/PaymentContext.d.ts +10 -0
- package/dist/cjs/types/src/contexts/SubscriptionsContext.d.ts +14 -0
- package/dist/cjs/types/src/contexts/TransactionsListContext.d.ts +29 -0
- package/dist/cjs/types/src/enums/BillingPeriodConverter.d.ts +8 -0
- package/dist/cjs/types/src/enums/SubscriptionState.d.ts +9 -0
- package/dist/cjs/types/src/graphql/QuoteRequests.d.ts +23 -0
- package/dist/cjs/types/src/graphql/mutations/accountSignup.d.ts +11 -0
- package/dist/cjs/types/src/graphql/mutations/accountUpdate.d.ts +7 -0
- package/dist/cjs/types/src/graphql/mutations/billingDetailsUpdate.d.ts +6 -0
- package/dist/cjs/types/src/graphql/mutations/checkout.d.ts +23 -0
- package/dist/cjs/types/src/graphql/mutations/quoteAccountSignup.d.ts +15 -0
- package/dist/cjs/types/src/graphql/mutations/quoteAddonCreate.d.ts +7 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeAddCoupon.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeCreate.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeDelete.d.ts +6 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeRemoveCoupon.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChargeCreate.d.ts +13 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChargeDelete.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChargeUpdate.d.ts +13 -0
- package/dist/cjs/types/src/graphql/mutations/quoteCompose.d.ts +12 -0
- package/dist/cjs/types/src/graphql/mutations/quoteCreate.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteCreateWithDeal.d.ts +10 -0
- package/dist/cjs/types/src/graphql/mutations/quoteRecalculateTaxes.d.ts +6 -0
- package/dist/cjs/types/src/graphql/mutations/subscriptionTrialConvert.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getAddonPlans.d.ts +37 -0
- package/dist/cjs/types/src/graphql/queries/getBillingDetails.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getBranding.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getCoupons.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getCurrentUserData.d.ts +13 -0
- package/dist/cjs/types/src/graphql/queries/getFeatureUsage.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getFormattedInvoice.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getFormattedQuote.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getPriceList.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getPriceListChangeOptions.d.ts +9 -0
- package/dist/cjs/types/src/graphql/queries/getQuote.d.ts +9 -0
- package/dist/cjs/types/src/graphql/queries/getQuotes.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getTaxationRequiredAccountFields.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getTransactions.d.ts +3 -0
- package/dist/cjs/types/src/graphql-codegen/execute.d.ts +5 -0
- package/dist/cjs/types/src/graphql-codegen/graphql.d.ts +7 -0
- package/dist/cjs/types/src/hooks/quotes/useQuoteCreate.d.ts +9 -0
- package/dist/cjs/types/src/hooks/quotes/useQuoteQuantities.d.ts +14 -0
- package/dist/cjs/types/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +7 -0
- package/dist/cjs/types/src/hooks/quotes/useSendAcceptQuote.d.ts +18 -0
- package/dist/cjs/types/src/hooks/quotes/useSigningComplete.d.ts +5 -0
- package/dist/cjs/types/src/hooks/useCurrentUserData.d.ts +14 -0
- package/dist/cjs/types/src/hooks/useFocusFirstInput.d.ts +7 -0
- package/dist/cjs/types/src/hooks/useHasTaxPlugin.d.ts +5 -0
- package/dist/cjs/types/src/hooks/useIsExpired.d.ts +2 -0
- package/dist/cjs/types/src/hooks/usePaymentMethod.d.ts +11 -0
- package/dist/cjs/types/src/hooks/usePaymentPlugins.d.ts +30 -0
- package/dist/cjs/types/src/hooks/usePlugins.d.ts +5 -0
- package/dist/cjs/types/src/hooks/usePriceListChangeOptions.d.ts +9 -0
- package/dist/cjs/types/src/hooks/useSigningPlugins.d.ts +5 -0
- package/dist/cjs/types/src/hooks/useToggleAddonQuoteChange.d.ts +7 -0
- package/dist/cjs/types/src/hooks/useToken.d.ts +2 -0
- package/dist/cjs/types/src/hooks/useUpdateCoupons.d.ts +14 -0
- package/dist/cjs/types/src/index.d.ts +2 -0
- package/dist/cjs/types/src/mocks/browser.d.ts +1 -0
- package/dist/cjs/types/src/mocks/handlers.d.ts +1 -0
- package/dist/cjs/types/src/storybook-utils.d.ts +10 -0
- package/dist/cjs/types/src/styles/constants.d.ts +1 -0
- package/dist/cjs/types/src/types/billingDetails.d.ts +14 -0
- package/dist/cjs/types/src/types/shadowType.d.ts +1 -0
- package/dist/cjs/types/src/utils/GraphQLClient.d.ts +2 -0
- package/dist/cjs/types/src/utils/addonPlanUtils.d.ts +7 -0
- package/dist/cjs/types/src/utils/apiUtils.d.ts +15 -0
- package/dist/cjs/types/src/utils/chargeUtils.d.ts +2 -0
- package/dist/cjs/types/src/utils/couponUtils.d.ts +2 -0
- package/dist/cjs/types/src/utils/featureAddonUtils.d.ts +6 -0
- package/dist/cjs/types/src/utils/pricePickerUtils.d.ts +5 -0
- package/dist/cjs/types/src/utils/stringUtils.d.ts +1 -0
- package/dist/cjs/types/src/utils/styled.d.ts +3 -0
- package/dist/cjs/types/vite.config.d.ts +2 -0
- package/dist/esm/index.js +25760 -0
- package/dist/esm/types/playground/billingdetails/index.d.ts +1 -0
- package/dist/esm/types/playground/main.d.ts +1 -0
- package/dist/esm/types/playground/transactions/index.d.ts +1 -0
- package/dist/esm/types/src/ajax.d.ts +1 -0
- package/dist/esm/types/src/components/BillingDetails/BillingDetails.d.ts +16 -0
- package/dist/esm/types/src/components/BillingDetails/BillingDetails.stories.d.ts +14 -0
- package/dist/esm/types/src/components/BillingDetails/BillingDetailsForm.d.ts +8 -0
- package/dist/esm/types/src/components/BillingDetails/index.d.ts +1 -0
- package/dist/esm/types/src/components/BunnyProvider.d.ts +21 -0
- package/dist/esm/types/src/components/Card.d.ts +6 -0
- package/dist/esm/types/src/components/Checkout/Checkout.d.ts +13 -0
- package/dist/esm/types/src/components/Checkout/QuoteCheckout.d.ts +12 -0
- package/dist/esm/types/src/components/Checkout/checkoutUtils.d.ts +2 -0
- package/dist/esm/types/src/components/CustomizedAntdComponents/Tag.d.ts +37 -0
- package/dist/esm/types/src/components/DocumentTemplatePreview.d.ts +4 -0
- package/dist/esm/types/src/components/DrawerHeader.d.ts +7 -0
- package/dist/esm/types/src/components/Error.d.ts +5 -0
- package/dist/esm/types/src/components/FeatureUsageGraph.d.ts +6 -0
- package/dist/esm/types/src/components/Footer/BunnyFooterIcon.d.ts +4 -0
- package/dist/esm/types/src/components/Footer/Footer.d.ts +4 -0
- package/dist/esm/types/src/components/Footer/index.d.ts +1 -0
- package/dist/esm/types/src/components/HeaderModalWrapper.d.ts +2 -0
- package/dist/esm/types/src/components/Invoice/Invoice.d.ts +6 -0
- package/dist/esm/types/src/components/Invoice/Invoice.stories.d.ts +17 -0
- package/dist/esm/types/src/components/Invoice/InvoiceQuoteView.d.ts +12 -0
- package/dist/esm/types/src/components/Invoice/index.d.ts +7 -0
- package/dist/esm/types/src/components/LegacyInvoicePDF.d.ts +4 -0
- package/dist/esm/types/src/components/PandadocPollingModal.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/CheckoutFooter.d.ts +13 -0
- package/dist/esm/types/src/components/PaymentForm/CouponEditor.d.ts +10 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/CreditCard.d.ts +21 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/LargCardIcon.d.ts +2 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/PlusIcon.d.ts +4 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/index.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayCardCvc.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayCardNumber.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayExpiry.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayForm.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/demoPayUtils.d.ts +21 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/useApproveHold.d.ts +13 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +12 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +22 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/index.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentForm.d.ts +18 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentFormTypes.d.ts +14 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentMethodDetails.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentMethodSelector.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/SavePaymentMethodFooter.d.ts +6 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/PaymentMethodForm.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/StripeForm.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/useApproveHold.d.ts +13 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +12 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/useSave.d.ts +11 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/stripeUtils.d.ts +29 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/useAutoSetDefaultPaymentMethod.d.ts +9 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/useHasActiveSubscription.d.ts +5 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/usePaymentMethodSelectorPlugin.d.ts +10 -0
- package/dist/esm/types/src/components/PaymentForm/index.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/useRemovePaymentMethod.d.ts +3 -0
- package/dist/esm/types/src/components/PaymentForm/useSetDefaultPaymentMethod.d.ts +6 -0
- package/dist/esm/types/src/components/Quote/AcceptQuoteModal.d.ts +10 -0
- package/dist/esm/types/src/components/Quote/PaymentHoldModal.d.ts +7 -0
- package/dist/esm/types/src/components/Quote/Quote.d.ts +3 -0
- package/dist/esm/types/src/components/Quote/Quote.stories.d.ts +13 -0
- package/dist/esm/types/src/components/Quote/StyledModal.d.ts +3 -0
- package/dist/esm/types/src/components/Quote/index.d.ts +1 -0
- package/dist/esm/types/src/components/QuoteProvider.d.ts +21 -0
- package/dist/esm/types/src/components/Quotes/Quotes.d.ts +38 -0
- package/dist/esm/types/src/components/Quotes/Quotes.stories.d.ts +22 -0
- package/dist/esm/types/src/components/Quotes/index.d.ts +1 -0
- package/dist/esm/types/src/components/Signup/CheckoutSummary.d.ts +14 -0
- package/dist/esm/types/src/components/Signup/PaymentForms.d.ts +31 -0
- package/dist/esm/types/src/components/Signup/PaymentSuccess.d.ts +8 -0
- package/dist/esm/types/src/components/Signup/PriceListDisplay.d.ts +5 -0
- package/dist/esm/types/src/components/Signup/Signup.d.ts +28 -0
- package/dist/esm/types/src/components/Signup/Signup.stories.d.ts +9 -0
- package/dist/esm/types/src/components/Signup/index.d.ts +1 -0
- package/dist/esm/types/src/components/StateTag.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/AddonIndentation.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/AddonSubscriptionCards.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/CheckIcon.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/QuantityDrawerContainer.d.ts +15 -0
- package/dist/esm/types/src/components/Subscriptions/SubscriptionRequests.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/Subscriptions.d.ts +27 -0
- package/dist/esm/types/src/components/Subscriptions/Subscriptions.stories.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/SubscriptionsListContainer.d.ts +16 -0
- package/dist/esm/types/src/components/Subscriptions/TieredDisplayDropdown.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/NextPriceListButton.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/PlanPicker.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/PriceListGrid.d.ts +15 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutButton.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/BillingPeriodSelector.d.ts +11 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/FeatureGridCell.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/GridTemplateColumnsWrapper.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanAddonsCard.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanPickerGridCell.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListCardDesktop.d.ts +15 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +16 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddons.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonsList.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/planManagerUtils.d.ts +2 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +64 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListGridMobile.d.ts +11 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerUtils.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCard.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardButton.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardDescription.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardFeature.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPrice.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPriceDescription.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardTitle.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/priceListCardUtils.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/BackButton.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PreviewModeAdvisary.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/Upgrade.d.ts +11 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/index.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/index.d.ts +2 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridRow.d.ts +53 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridTitle.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityInput.d.ts +55 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuoteChangeSummarySection.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/quantityChangeDrawerDesktop/QuantityChangeDrawerDesktop.d.ts +30 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/utils.d.ts +44 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/ChangeQuantitiesButton.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/ShowInactiveToggle.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionsNavigation.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardColumnHeaders.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionsCardCell.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardCellMobile.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +16 -0
- package/dist/esm/types/src/components/Subscriptions/tagConsts.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/util.d.ts +2 -0
- package/dist/esm/types/src/components/TaxationForm.d.ts +6 -0
- package/dist/esm/types/src/components/Transactions/Transactions.d.ts +55 -0
- package/dist/esm/types/src/components/Transactions/Transactions.stories.d.ts +25 -0
- package/dist/esm/types/src/components/Transactions/index.d.ts +1 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionDate.d.ts +4 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionDownload.d.ts +7 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionGridCell.d.ts +2 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionTitle.d.ts +5 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsEmptyState.d.ts +2 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +7 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +6 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/utils.d.ts +3 -0
- package/dist/esm/types/src/components/icons/Amex.d.ts +4 -0
- package/dist/esm/types/src/components/icons/ArrowDownToLine.d.ts +5 -0
- package/dist/esm/types/src/components/icons/Bancontact.d.ts +4 -0
- package/dist/esm/types/src/components/icons/CardIcon.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Cashapp.d.ts +4 -0
- package/dist/esm/types/src/components/icons/ChinaUnionPay.d.ts +4 -0
- package/dist/esm/types/src/components/icons/CreditCard.d.ts +4 -0
- package/dist/esm/types/src/components/icons/DinersClub.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Discover.d.ts +4 -0
- package/dist/esm/types/src/components/icons/IDeal.d.ts +4 -0
- package/dist/esm/types/src/components/icons/JSB.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Link.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Mastercard.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Sepa.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Visa.d.ts +4 -0
- package/dist/esm/types/src/components/index.d.ts +12 -0
- package/dist/esm/types/src/contexts/BrandContext.d.ts +6 -0
- package/dist/esm/types/src/contexts/InvoiceQuoteContext.d.ts +16 -0
- package/dist/esm/types/src/contexts/NavigationContext.d.ts +8 -0
- package/dist/esm/types/src/contexts/PaymentContext.d.ts +10 -0
- package/dist/esm/types/src/contexts/SubscriptionsContext.d.ts +14 -0
- package/dist/esm/types/src/contexts/TransactionsListContext.d.ts +29 -0
- package/dist/esm/types/src/enums/BillingPeriodConverter.d.ts +8 -0
- package/dist/esm/types/src/enums/SubscriptionState.d.ts +9 -0
- package/dist/esm/types/src/graphql/QuoteRequests.d.ts +23 -0
- package/dist/esm/types/src/graphql/mutations/accountSignup.d.ts +11 -0
- package/dist/esm/types/src/graphql/mutations/accountUpdate.d.ts +7 -0
- package/dist/esm/types/src/graphql/mutations/billingDetailsUpdate.d.ts +6 -0
- package/dist/esm/types/src/graphql/mutations/checkout.d.ts +23 -0
- package/dist/esm/types/src/graphql/mutations/quoteAccountSignup.d.ts +15 -0
- package/dist/esm/types/src/graphql/mutations/quoteAddonCreate.d.ts +7 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeAddCoupon.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeCreate.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeDelete.d.ts +6 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeRemoveCoupon.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChargeCreate.d.ts +13 -0
- package/dist/esm/types/src/graphql/mutations/quoteChargeDelete.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChargeUpdate.d.ts +13 -0
- package/dist/esm/types/src/graphql/mutations/quoteCompose.d.ts +12 -0
- package/dist/esm/types/src/graphql/mutations/quoteCreate.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteCreateWithDeal.d.ts +10 -0
- package/dist/esm/types/src/graphql/mutations/quoteRecalculateTaxes.d.ts +6 -0
- package/dist/esm/types/src/graphql/mutations/subscriptionTrialConvert.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getAddonPlans.d.ts +37 -0
- package/dist/esm/types/src/graphql/queries/getBillingDetails.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getBranding.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getCoupons.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getCurrentUserData.d.ts +13 -0
- package/dist/esm/types/src/graphql/queries/getFeatureUsage.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getFormattedInvoice.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getFormattedQuote.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getPriceList.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getPriceListChangeOptions.d.ts +9 -0
- package/dist/esm/types/src/graphql/queries/getQuote.d.ts +9 -0
- package/dist/esm/types/src/graphql/queries/getQuotes.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getTaxationRequiredAccountFields.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getTransactions.d.ts +3 -0
- package/dist/esm/types/src/graphql-codegen/execute.d.ts +5 -0
- package/dist/esm/types/src/graphql-codegen/graphql.d.ts +7 -0
- package/dist/esm/types/src/hooks/quotes/useQuoteCreate.d.ts +9 -0
- package/dist/esm/types/src/hooks/quotes/useQuoteQuantities.d.ts +14 -0
- package/dist/esm/types/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +7 -0
- package/dist/esm/types/src/hooks/quotes/useSendAcceptQuote.d.ts +18 -0
- package/dist/esm/types/src/hooks/quotes/useSigningComplete.d.ts +5 -0
- package/dist/esm/types/src/hooks/useCurrentUserData.d.ts +14 -0
- package/dist/esm/types/src/hooks/useFocusFirstInput.d.ts +7 -0
- package/dist/esm/types/src/hooks/useHasTaxPlugin.d.ts +5 -0
- package/dist/esm/types/src/hooks/useIsExpired.d.ts +2 -0
- package/dist/esm/types/src/hooks/usePaymentMethod.d.ts +11 -0
- package/dist/esm/types/src/hooks/usePaymentPlugins.d.ts +30 -0
- package/dist/esm/types/src/hooks/usePlugins.d.ts +5 -0
- package/dist/esm/types/src/hooks/usePriceListChangeOptions.d.ts +9 -0
- package/dist/esm/types/src/hooks/useSigningPlugins.d.ts +5 -0
- package/dist/esm/types/src/hooks/useToggleAddonQuoteChange.d.ts +7 -0
- package/dist/esm/types/src/hooks/useToken.d.ts +2 -0
- package/dist/esm/types/src/hooks/useUpdateCoupons.d.ts +14 -0
- package/dist/esm/types/src/index.d.ts +2 -0
- package/dist/esm/types/src/mocks/browser.d.ts +1 -0
- package/dist/esm/types/src/mocks/handlers.d.ts +1 -0
- package/dist/esm/types/src/storybook-utils.d.ts +10 -0
- package/dist/esm/types/src/styles/constants.d.ts +1 -0
- package/dist/esm/types/src/types/billingDetails.d.ts +14 -0
- package/dist/esm/types/src/types/shadowType.d.ts +1 -0
- package/dist/esm/types/src/utils/GraphQLClient.d.ts +2 -0
- package/dist/esm/types/src/utils/addonPlanUtils.d.ts +7 -0
- package/dist/esm/types/src/utils/apiUtils.d.ts +15 -0
- package/dist/esm/types/src/utils/chargeUtils.d.ts +2 -0
- package/dist/esm/types/src/utils/couponUtils.d.ts +2 -0
- package/dist/esm/types/src/utils/featureAddonUtils.d.ts +6 -0
- package/dist/esm/types/src/utils/pricePickerUtils.d.ts +5 -0
- package/dist/esm/types/src/utils/stringUtils.d.ts +1 -0
- package/dist/esm/types/src/utils/styled.d.ts +3 -0
- package/dist/esm/types/vite.config.d.ts +2 -0
- package/dist/index.d.ts +232 -0
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PluginData } from '@bunnyapp/common';
|
|
2
|
+
declare function useRemovePaymentMethod(paymentPlugins: PluginData[], apiHost: string, token?: string, accountId?: string, onRemovePaymentMethod?: () => void, onError?: (message: string) => void): (data: any) => Promise<void>;
|
|
3
|
+
export default useRemovePaymentMethod;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PluginData } from '@bunnyapp/common';
|
|
2
|
+
declare function useSetDefaultPaymentMethod(paymentPlugins: PluginData[], apiHost: string, token?: string, accountId?: string, onError?: (message: string) => void, onSuccess?: () => void): {
|
|
3
|
+
setDefaultPaymentMethod: (data: any) => Promise<void>;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
};
|
|
6
|
+
export default useSetDefaultPaymentMethod;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormattedQuote } from '@bunnyapp/common';
|
|
2
|
+
declare const AcceptQuoteModal: ({ acceptBoxVisible, formattedQuote, sendAccept, setAcceptBoxVisible, setIsAccepting, isSendAcceptPending, }: {
|
|
3
|
+
acceptBoxVisible: boolean;
|
|
4
|
+
formattedQuote: FormattedQuote;
|
|
5
|
+
sendAccept: (changedFields: any) => void;
|
|
6
|
+
setAcceptBoxVisible: (visible: boolean) => void;
|
|
7
|
+
setIsAccepting: (accepting: boolean) => void;
|
|
8
|
+
isSendAcceptPending: boolean;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default AcceptQuoteModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormattedQuote } from '@bunnyapp/common';
|
|
2
|
+
declare const PaymentHoldModal: ({ visible, setVisible, quote, }: {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
setVisible: (visible: boolean) => void;
|
|
5
|
+
quote: FormattedQuote;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PaymentHoldModal;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InvoiceQuoteContextProps } from '../../contexts/InvoiceQuoteContext';
|
|
2
|
+
export declare const MarkupContainer: any;
|
|
3
|
+
export default function Quote({ id, invoiceQuoteViewComponent, onInvoiceDownloadError, onPaymentSuccess, shadow, className, hideDownloadButton, onQuoteLoaded, }: InvoiceQuoteContextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Quote from './Quote';
|
|
3
|
+
declare const meta: Meta<typeof Quote>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const NoShadow: Story;
|
|
8
|
+
export declare const Mobile: Story;
|
|
9
|
+
export declare const CustomClassName: Story;
|
|
10
|
+
export declare const HideDownloadButton: Story;
|
|
11
|
+
export declare const AcceptedQuote: Story;
|
|
12
|
+
export declare const AcceptedQuoteDarkMode: Story;
|
|
13
|
+
export declare const DarkMode: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Quote } from "./Quote";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PriceList, Quote } from '@bunnyapp/common';
|
|
2
|
+
export type QuoteContextValues = {
|
|
3
|
+
quote: Quote | undefined;
|
|
4
|
+
selectedPriceList: PriceList | undefined;
|
|
5
|
+
isQuotePending: boolean;
|
|
6
|
+
isAddonPlanLoading: boolean;
|
|
7
|
+
isFeatureAddonsLoading: boolean;
|
|
8
|
+
isUpdatingQuote: boolean;
|
|
9
|
+
setIsAddonPlanLoading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
+
addFeatureAddonLoading: (featureAddonId: string) => void;
|
|
11
|
+
removeFeatureAddonLoading: (featureAddonId: string) => void;
|
|
12
|
+
getFeatureQuantity: (featureId: string, chargeId: string) => number | undefined;
|
|
13
|
+
onClearQuote: () => void;
|
|
14
|
+
onChangeSelectedPriceList: (priceList: PriceList) => void;
|
|
15
|
+
onChangeQuantity: (priceListChargeId: string, quantity: number) => void;
|
|
16
|
+
};
|
|
17
|
+
export declare const QuoteContext: import("react").Context<QuoteContextValues>;
|
|
18
|
+
declare function QuoteProvider({ children }: {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default QuoteProvider;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Transaction } from '@bunnyapp/common';
|
|
2
|
+
import { ShadowType } from '../../types/shadowType';
|
|
3
|
+
import { TransactionListColumnType } from '../Transactions/transactionsList/TransactionsListDesktop';
|
|
4
|
+
declare function Quotes({ className, columns, filter, filterQuotes, sort, noQuotesMessage, onQuoteClick, quoteComponent, searchBarClassName, shadow, showSearchBar, showTitle, title, style, suppressQuoteDisplay, useModal, }: {
|
|
5
|
+
/** A custom component to render instead of the default invoice component */
|
|
6
|
+
quoteComponent?: React.ReactNode;
|
|
7
|
+
/** Whether to show the search bar */
|
|
8
|
+
showSearchBar?: boolean;
|
|
9
|
+
/** Whether to show the title */
|
|
10
|
+
showTitle?: boolean;
|
|
11
|
+
/** The title to display in the quotes list */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** The columns to display in the quotes list */
|
|
14
|
+
columns?: TransactionListColumnType[];
|
|
15
|
+
/** A custom class name to apply to the component */
|
|
16
|
+
className?: string;
|
|
17
|
+
/** Whether to use a modal for the invoice drawer */
|
|
18
|
+
useModal?: boolean;
|
|
19
|
+
/** Whether to show a shadow around the transactions list */
|
|
20
|
+
shadow?: ShadowType;
|
|
21
|
+
/** A custom class name to apply to the search bar */
|
|
22
|
+
searchBarClassName?: string;
|
|
23
|
+
/** A function to call when a quote is clicked */
|
|
24
|
+
onQuoteClick?: (quote: Transaction) => void;
|
|
25
|
+
/** Whether to hide the display showing the quote */
|
|
26
|
+
suppressQuoteDisplay?: boolean;
|
|
27
|
+
/** A custom style to apply to the component */
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
|
+
/** A filter to apply to the quotes. Docs on filter: https://docs.bunny.com/developer/getting-started/using-filters-in-queries */
|
|
30
|
+
filter?: string;
|
|
31
|
+
/** A function to filter the quotes. Runs on the client side. */
|
|
32
|
+
filterQuotes?: (quote: Transaction) => boolean;
|
|
33
|
+
/** A function to sort the quotes. Runs on the client side. */
|
|
34
|
+
sort?: (a: Transaction, b: Transaction) => number;
|
|
35
|
+
/** Message to display when there are no quotes */
|
|
36
|
+
noQuotesMessage?: string;
|
|
37
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export default Quotes;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Quotes from './Quotes';
|
|
3
|
+
declare const meta: Meta<typeof Quotes>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Padding0BGRed: Story;
|
|
8
|
+
export declare const NoShadow: Story;
|
|
9
|
+
export declare const WithModal: Story;
|
|
10
|
+
export declare const HideSearchBar: Story;
|
|
11
|
+
export declare const HideTitle: Story;
|
|
12
|
+
export declare const HideTitleAndSearchBar: Story;
|
|
13
|
+
export declare const CustomTitle: Story;
|
|
14
|
+
export declare const Mobile: Story;
|
|
15
|
+
export declare const WithCustomQuoteComponent: Story;
|
|
16
|
+
export declare const WithCustomColumns1: Story;
|
|
17
|
+
export declare const WithCustomColumns2: Story;
|
|
18
|
+
export declare const WithCustomColumns3: Story;
|
|
19
|
+
export declare const WithCustomColumns4: Story;
|
|
20
|
+
export declare const WithCustomColumns5: Story;
|
|
21
|
+
export declare const DarkMode: Story;
|
|
22
|
+
export declare const CustomColors: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Quotes } from "./Quotes";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '../../styles/index.less';
|
|
2
|
+
import { PriceList, Quote } from '@bunnyapp/common';
|
|
3
|
+
export default function CheckoutSummary({ quote, className, onAddCoupon, onRemoveCoupon, isRemovingCoupon, priceListData, isAddingCoupon, couponCode, setCouponCode, activeCouponsExist, }: {
|
|
4
|
+
quote: Quote;
|
|
5
|
+
className?: string;
|
|
6
|
+
onAddCoupon: (couponCode: string) => void;
|
|
7
|
+
onRemoveCoupon: (couponCode: string) => void;
|
|
8
|
+
isRemovingCoupon: boolean;
|
|
9
|
+
priceListData?: PriceList;
|
|
10
|
+
isAddingCoupon: boolean;
|
|
11
|
+
couponCode: string;
|
|
12
|
+
setCouponCode: (couponCode: string) => void;
|
|
13
|
+
activeCouponsExist: boolean;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PluginData, Quote } from '@bunnyapp/common';
|
|
2
|
+
export default function PaymentForms({ quote, handlePaymentSuccess, handlePaymentFail, handleSubmit, proceedingToPayment, accountId, overrideToken, customCheckoutFunction, defaultValues, }: {
|
|
3
|
+
quote?: Quote;
|
|
4
|
+
handlePaymentSuccess: () => void;
|
|
5
|
+
handlePaymentFail: (error: any) => void;
|
|
6
|
+
handleSubmit: (formData: FormData) => void;
|
|
7
|
+
proceedingToPayment: boolean;
|
|
8
|
+
accountId?: string;
|
|
9
|
+
overrideToken?: string;
|
|
10
|
+
customCheckoutFunction?: (plugin: PluginData | undefined) => Promise<any>;
|
|
11
|
+
defaultValues?: DefaultSignupValues;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export type FormData = {
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
email: string;
|
|
17
|
+
accountName: string;
|
|
18
|
+
billingCountry: string;
|
|
19
|
+
billingState: string;
|
|
20
|
+
billingCity: string;
|
|
21
|
+
billingZip: string;
|
|
22
|
+
billingStreet: string;
|
|
23
|
+
taxNumber: string;
|
|
24
|
+
};
|
|
25
|
+
export type DefaultSignupValues = {
|
|
26
|
+
firstName?: string;
|
|
27
|
+
lastName?: string;
|
|
28
|
+
email?: string;
|
|
29
|
+
accountName?: string;
|
|
30
|
+
billingCountry?: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default function PaymentSuccessDisplay({ amountPaid, className, companyName, returnUrl, style, currencyId, }: {
|
|
2
|
+
amountPaid: number;
|
|
3
|
+
className: string;
|
|
4
|
+
companyName: string;
|
|
5
|
+
returnUrl?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
currencyId: string;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import '../../styles/index.less';
|
|
2
|
+
import { ShadowType } from '../../types/shadowType';
|
|
3
|
+
export default function Signup({ companyName, priceListCode, returnUrl, couponCode, className, shadow, style, defaultFirstName, defaultLastName, defaultEmail, defaultCompanyName, defaultBillingCountry, }: {
|
|
4
|
+
/** The company name to display on the signup page */
|
|
5
|
+
companyName: string;
|
|
6
|
+
/** The price list code to use for the signup */
|
|
7
|
+
priceListCode: string;
|
|
8
|
+
/** The return URL to that customers can be redirected to after signup */
|
|
9
|
+
returnUrl?: string;
|
|
10
|
+
/** An optional coupon code that gets applied automatically */
|
|
11
|
+
couponCode?: string;
|
|
12
|
+
/** A custom class name to apply to the component */
|
|
13
|
+
className?: string;
|
|
14
|
+
/** The shadow level to apply to the component */
|
|
15
|
+
shadow?: ShadowType;
|
|
16
|
+
/** A custom style to apply to the component */
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
/** The default first name to use for the signup */
|
|
19
|
+
defaultFirstName?: string;
|
|
20
|
+
/** The default last name to use for the signup */
|
|
21
|
+
defaultLastName?: string;
|
|
22
|
+
/** The default email to use for the signup */
|
|
23
|
+
defaultEmail?: string;
|
|
24
|
+
/** The default company name to use for the signup */
|
|
25
|
+
defaultCompanyName?: string;
|
|
26
|
+
/** The default billing country to use for the signup */
|
|
27
|
+
defaultBillingCountry?: string;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Signup from './Signup';
|
|
3
|
+
declare const meta: Meta<typeof Signup>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Mobile: Story;
|
|
8
|
+
export declare const CustomClassName: Story;
|
|
9
|
+
export declare const DarkMode: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Signup } from "./Signup";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Subscription } from '@bunnyapp/common';
|
|
2
|
+
export declare function AddonSubscriptionsCards({ onCancelSubscriptionClick, subscriptions, subscription, showInactive, }: {
|
|
3
|
+
onCancelSubscriptionClick?: (subscription: Subscription) => void;
|
|
4
|
+
subscriptions: Subscription[];
|
|
5
|
+
subscription: Subscription;
|
|
6
|
+
showInactive: boolean;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FragmentOf } from 'gql.tada';
|
|
2
|
+
import { QuantityDrawerDesktop_SubscriptionFragment } from './quantityChangeDrawer/quantityChangeDrawerDesktop/QuantityChangeDrawerDesktop';
|
|
3
|
+
export type EditingQuoteDataType = {
|
|
4
|
+
id: string;
|
|
5
|
+
isTrial: boolean;
|
|
6
|
+
};
|
|
7
|
+
interface QuantityDrawerContainerProps {
|
|
8
|
+
subscriptions: (FragmentOf<typeof QuantityDrawerDesktop_SubscriptionFragment> | null)[];
|
|
9
|
+
quantityDrawerOpen: boolean;
|
|
10
|
+
setQuantityDrawerOpen: (open: boolean) => void;
|
|
11
|
+
handlePortalErrors?: (errors: any) => void;
|
|
12
|
+
setShowInactive: (showInactive: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const QuantityDrawerContainer: ({ subscriptions, quantityDrawerOpen, setQuantityDrawerOpen, handlePortalErrors, setShowInactive, }: QuantityDrawerContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default QuantityDrawerContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useCancelSubscription: () => (subscriptionIds: string[], apiHost: string, token?: string) => Promise<any>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const Subscriptions_SubscriptionFragment: import("gql.tada").TadaDocumentNode<{
|
|
2
|
+
state: "ACTIVE" | "TRIAL" | "CANCELED" | "EXPIRED" | "TRIAL_EXPIRED" | "PENDING";
|
|
3
|
+
}, {}, {
|
|
4
|
+
fragment: "Subscriptions_SubscriptionFragment";
|
|
5
|
+
on: "Subscription";
|
|
6
|
+
masked: true;
|
|
7
|
+
}>;
|
|
8
|
+
export type EditingQuoteDataType = {
|
|
9
|
+
id: string;
|
|
10
|
+
isTrial: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const SubscriptionsWrapper: ({ handlePortalErrors, companyName, isInPreviewMode, productId, className, styles: userStyles, noSubscriptionsComponent, showInactiveSubscriptions, showInactiveSubscriptionsToggle, }: {
|
|
13
|
+
handlePortalErrors?: (errors: any) => void;
|
|
14
|
+
companyName: string;
|
|
15
|
+
isInPreviewMode?: boolean;
|
|
16
|
+
productId?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
styles?: {
|
|
19
|
+
gap?: number;
|
|
20
|
+
shadow?: "none" | "sm" | "md" | "lg";
|
|
21
|
+
subscriptionProductNameStyle?: React.CSSProperties;
|
|
22
|
+
};
|
|
23
|
+
noSubscriptionsComponent?: React.ReactNode;
|
|
24
|
+
showInactiveSubscriptions?: boolean;
|
|
25
|
+
showInactiveSubscriptionsToggle?: boolean;
|
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export default SubscriptionsWrapper;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import Subscriptions from './Subscriptions';
|
|
3
|
+
declare const meta: Meta<typeof Subscriptions>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Mobile: Story;
|
|
8
|
+
export declare const NoShadow: Story;
|
|
9
|
+
export declare const CustomClassName: Story;
|
|
10
|
+
export declare const DarkMode: Story;
|
|
11
|
+
export declare const PreviewMode: Story;
|
|
12
|
+
export declare const PreviewModeWithClassName: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Subscription } from '@bunnyapp/common';
|
|
2
|
+
import '../../styles/index.less';
|
|
3
|
+
export type EditingQuoteDataType = {
|
|
4
|
+
id: string;
|
|
5
|
+
isTrial: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const SubscriptionsListContainer: ({ companyName, showInactive, onCancelSubscriptionClick, onChangePlanClick, noSubscriptionsComponent, subscriptions, subscriptionsAreLoading, }: {
|
|
8
|
+
companyName: string;
|
|
9
|
+
showInactive?: boolean;
|
|
10
|
+
onCancelSubscriptionClick?: (subscription: Subscription) => void;
|
|
11
|
+
onChangePlanClick?: (subscription: Subscription) => void;
|
|
12
|
+
noSubscriptionsComponent?: React.ReactNode;
|
|
13
|
+
subscriptions: Subscription[];
|
|
14
|
+
subscriptionsAreLoading: boolean;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default SubscriptionsListContainer;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SubscriptionCharge } from '@bunnyapp/common';
|
|
3
|
+
declare const TieredDisplayDropdown: ({ charge, currencyId, truncatedText, }: {
|
|
4
|
+
charge: SubscriptionCharge;
|
|
5
|
+
currencyId: string;
|
|
6
|
+
truncatedText: ReactNode;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TieredDisplayDropdown;
|
package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/NextPriceListButton.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { PriceList } from '@bunnyapp/common';
|
|
3
|
+
declare const NextPriceListButton: ({ availablePriceLists, priceListStart, setPriceListStart, numberOfPlansToDisplay, }: {
|
|
4
|
+
availablePriceLists: PriceList[];
|
|
5
|
+
numberOfPlansToDisplay: number;
|
|
6
|
+
priceListStart: number;
|
|
7
|
+
setPriceListStart: Dispatch<SetStateAction<number>>;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default NextPriceListButton;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Subscription } from '@bunnyapp/common';
|
|
2
|
+
declare const PlanPicker: ({ upgradingSubscription, onGoBack, areSubscriptionsLoading, subscriptions, }: {
|
|
3
|
+
upgradingSubscription?: Subscription;
|
|
4
|
+
onGoBack?: () => void;
|
|
5
|
+
areSubscriptionsLoading: boolean;
|
|
6
|
+
subscriptions: Subscription[];
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export default PlanPicker;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BillingPeriod, PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
type PriceListGridProps = {
|
|
4
|
+
availablePriceLists: PriceList[];
|
|
5
|
+
priceListChangeOptions?: PriceListChangeOptions;
|
|
6
|
+
selectedPriceList?: PriceList;
|
|
7
|
+
selectedProduct?: Product;
|
|
8
|
+
subscriptions: Subscription[];
|
|
9
|
+
priceListStart: number;
|
|
10
|
+
setPriceListStart: Dispatch<SetStateAction<number>>;
|
|
11
|
+
selectedBillingPeriod?: BillingPeriod | undefined;
|
|
12
|
+
onClickPriceListCard: (priceList: PriceList) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const PriceListGrid: ({ availablePriceLists, priceListChangeOptions, priceListStart, selectedPriceList, selectedProduct, setPriceListStart, subscriptions, selectedBillingPeriod, onClickPriceListCard, }: PriceListGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default PriceListGrid;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PriceListCharge } from '@bunnyapp/common';
|
|
2
|
+
declare const CheckoutBarInput: ({ disabled, charge, quantity, onQuantityChanged, }: {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
charge: PriceListCharge;
|
|
5
|
+
quantity: number;
|
|
6
|
+
onQuantityChanged: (quantity: number) => void;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default CheckoutBarInput;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PriceList } from '@bunnyapp/common';
|
|
2
|
+
declare const CheckoutBarSummarySection: ({ open, selectedPriceList, onClickCheckout, }: {
|
|
3
|
+
open: boolean;
|
|
4
|
+
selectedPriceList: PriceList;
|
|
5
|
+
onClickCheckout: () => void;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default CheckoutBarSummarySection;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const CheckoutButton: ({ checkoutButtonDisabled, onClickCheckout, loading, tooltipText, }: {
|
|
2
|
+
checkoutButtonDisabled: boolean;
|
|
3
|
+
onClickCheckout: () => void;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
tooltipText?: string;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default CheckoutButton;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PriceList, Quote } from "@bunnyapp/common";
|
|
2
|
+
declare const CheckoutPrice: ({ isUsage, quote, selectedPriceList, }: {
|
|
3
|
+
isUsage: boolean;
|
|
4
|
+
quote?: Quote;
|
|
5
|
+
selectedPriceList: PriceList;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export default CheckoutPrice;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PriceList } from '@bunnyapp/common';
|
|
2
|
+
declare const PlanPickerCheckoutBar: ({ selectedPriceList, handlePortalErrors, onCheckoutSuccess, }: {
|
|
3
|
+
selectedPriceList: PriceList;
|
|
4
|
+
handlePortalErrors?: (errors: any) => void;
|
|
5
|
+
onCheckoutSuccess: () => void;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PlanPickerCheckoutBar;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BillingPeriod, Product } from '@bunnyapp/common';
|
|
2
|
+
import { PeriodMonths } from '../../../../../utils/pricePickerUtils';
|
|
3
|
+
declare const BillingPeriodSelector: ({ availableBillingPeriods, onChangeBillingPeriod, products, selectedBillingPeriod, selectedProduct, onChangeProduct, }: {
|
|
4
|
+
availableBillingPeriods?: PeriodMonths[];
|
|
5
|
+
onChangeBillingPeriod: (billingPeriod: BillingPeriod) => void;
|
|
6
|
+
products?: Product[];
|
|
7
|
+
selectedBillingPeriod?: BillingPeriod;
|
|
8
|
+
selectedProduct?: Product;
|
|
9
|
+
onChangeProduct: (product: Product) => void;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export default BillingPeriodSelector;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PriceList, Product } from '@bunnyapp/common';
|
|
2
|
+
declare const EverythingPlanFeatures: ({ displayPriceLists, selectedProduct, plansToDisplay, hideBorder, }: {
|
|
3
|
+
displayPriceLists: PriceList[];
|
|
4
|
+
plansToDisplay: number;
|
|
5
|
+
selectedProduct?: Product;
|
|
6
|
+
hideBorder?: boolean;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default EverythingPlanFeatures;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function GridTemplateColumnsWrapper({ children, className, everythingInPlus, plansToDisplay, }: {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
className?: string;
|
|
4
|
+
everythingInPlus: boolean;
|
|
5
|
+
plansToDisplay: number;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default GridTemplateColumnsWrapper;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BillingPeriod, Plan, PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
+
type PlanAddonsCardProps = {
|
|
3
|
+
selectedPriceList: PriceList;
|
|
4
|
+
subscriptions: Subscription[];
|
|
5
|
+
addonPlans: Plan[];
|
|
6
|
+
selectedBillingPeriod: BillingPeriod;
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const PlanAddonsCard: ({ selectedPriceList, subscriptions, addonPlans, selectedBillingPeriod, className, }: PlanAddonsCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default PlanAddonsCard;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Feature, PriceList } from '@bunnyapp/common';
|
|
2
|
+
export declare const PlanFeatures: ({ displayPriceLists, features, plansToDisplay, }: {
|
|
3
|
+
displayPriceLists: PriceList[];
|
|
4
|
+
plansToDisplay: number;
|
|
5
|
+
features?: Feature[];
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PlanFeatures;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Feature, PriceList, Subscription } from '@bunnyapp/common';
|
|
2
|
+
declare const PriceListCardDesktop: ({ hideButton, description, disableSelectCurrentPlan, feature, isPriceListCurrentSubscription, isSelected, priceList, subscriptionPlan, trialRemainingDays, noBorder, onClickPriceListCard, }: {
|
|
3
|
+
hideButton?: boolean;
|
|
4
|
+
description: string;
|
|
5
|
+
disableSelectCurrentPlan: boolean;
|
|
6
|
+
feature?: Feature;
|
|
7
|
+
isPriceListCurrentSubscription: boolean;
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
priceList: PriceList;
|
|
10
|
+
subscriptionPlan?: Subscription;
|
|
11
|
+
trialRemainingDays?: number;
|
|
12
|
+
noBorder?: boolean;
|
|
13
|
+
onClickPriceListCard?: (priceList: PriceList) => void;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default PriceListCardDesktop;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BillingPeriod, PriceList, PriceListChangeOptions, Product, Subscription } from '@bunnyapp/common';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
type PriceListGridDesktopProps = {
|
|
4
|
+
availablePriceLists: PriceList[];
|
|
5
|
+
priceListChangeOptions?: PriceListChangeOptions;
|
|
6
|
+
priceListStart: number;
|
|
7
|
+
selectedPriceList?: PriceList;
|
|
8
|
+
selectedProduct?: Product;
|
|
9
|
+
setPriceListStart: Dispatch<SetStateAction<number>>;
|
|
10
|
+
subscriptions: Subscription[];
|
|
11
|
+
trialRemainingDays: number;
|
|
12
|
+
selectedBillingPeriod?: BillingPeriod | undefined;
|
|
13
|
+
onClickPriceListCard: (priceList: PriceList) => void;
|
|
14
|
+
};
|
|
15
|
+
declare const PriceListGridDesktop: ({ availablePriceLists, priceListChangeOptions, priceListStart, selectedPriceList, selectedProduct, setPriceListStart, subscriptions, trialRemainingDays, selectedBillingPeriod, onClickPriceListCard, }: PriceListGridDesktopProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default PriceListGridDesktop;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PriceList } from '@bunnyapp/common';
|
|
2
|
+
declare const PlanFeatureAddons: ({ displayPriceLists, plansToDisplay, everythingInPlus, }: {
|
|
3
|
+
displayPriceLists: PriceList[];
|
|
4
|
+
plansToDisplay: number;
|
|
5
|
+
everythingInPlus: boolean;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default PlanFeatureAddons;
|