@bunnyapp/components 1.0.73 → 1.0.76-beta.10

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.
Files changed (88) hide show
  1. package/dist/cjs/index.js +628 -351
  2. package/dist/cjs/src/components/Invoice/Invoice.stories.d.ts +2 -2
  3. package/dist/cjs/src/components/Invoice/index.d.ts +1 -2
  4. package/dist/cjs/src/components/PaymentForm/CheckoutFooter.d.ts +3 -4
  5. package/dist/cjs/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +2 -2
  6. package/dist/cjs/src/components/PaymentForm/PaymentForm.d.ts +2 -2
  7. package/dist/cjs/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +2 -2
  8. package/dist/cjs/src/components/QuotePreviewProvider.d.ts +17 -0
  9. package/dist/cjs/src/components/Quotes/Quotes.d.ts +6 -6
  10. package/dist/cjs/src/components/Quotes/Quotes.stories.d.ts +2 -2
  11. package/dist/cjs/src/components/Signup/PaymentForms.d.ts +9 -1
  12. package/dist/cjs/src/components/Signup/Signup.d.ts +11 -1
  13. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/PlanPicker.d.ts +0 -5
  14. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/PriceListGrid.d.ts +2 -2
  15. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/PriceListSelector.d.ts +2 -3
  16. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +1 -3
  17. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +62 -2
  18. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/FeatureAddons.d.ts +9 -0
  19. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PlanFeatures.d.ts +3 -3
  20. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +2 -2
  21. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/planPickerUtils.d.ts +3 -3
  22. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardPriceDescription.d.ts +7 -0
  23. package/dist/cjs/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/priceListCardUtils.d.ts +3 -2
  24. package/dist/cjs/src/components/Subscriptions/SubscriptionsContext.d.ts +0 -3
  25. package/dist/cjs/src/components/Subscriptions/quantityChangeDrawer/QuoteChangeSummarySection.d.ts +2 -2
  26. package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +2 -2
  27. package/dist/cjs/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +1 -1
  28. package/dist/cjs/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +4 -2
  29. package/dist/cjs/src/components/Transactions/Transactions.d.ts +5 -5
  30. package/dist/cjs/src/components/Transactions/TransactionsListContext.d.ts +8 -8
  31. package/dist/cjs/src/components/Transactions/transactionsList/TransactionDownload.d.ts +2 -2
  32. package/dist/cjs/src/components/Transactions/transactionsList/TransactionTitle.d.ts +3 -3
  33. package/dist/cjs/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +4 -4
  34. package/dist/cjs/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +3 -3
  35. package/dist/cjs/src/components/Transactions/transactionsList/utils.d.ts +3 -3
  36. package/dist/cjs/src/components/icons/Bancontact.d.ts +4 -0
  37. package/dist/cjs/src/components/icons/Sepa.d.ts +4 -0
  38. package/dist/cjs/src/components/icons/iDeal.d.ts +4 -0
  39. package/dist/cjs/src/graphql/mutations/quoteChargeCreate.d.ts +2 -1
  40. package/dist/cjs/src/graphql/mutations/quoteChargeDelete.d.ts +7 -0
  41. package/dist/cjs/src/graphql/queries/getTransactions.d.ts +2 -2
  42. package/dist/cjs/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +8 -0
  43. package/dist/cjs/src/utils/featureAddonUtils.d.ts +3 -0
  44. package/dist/esm/index.js +632 -355
  45. package/dist/esm/src/components/Invoice/Invoice.stories.d.ts +2 -2
  46. package/dist/esm/src/components/Invoice/index.d.ts +1 -2
  47. package/dist/esm/src/components/PaymentForm/CheckoutFooter.d.ts +3 -4
  48. package/dist/esm/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +2 -2
  49. package/dist/esm/src/components/PaymentForm/PaymentForm.d.ts +2 -2
  50. package/dist/esm/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +2 -2
  51. package/dist/esm/src/components/QuotePreviewProvider.d.ts +17 -0
  52. package/dist/esm/src/components/Quotes/Quotes.d.ts +6 -6
  53. package/dist/esm/src/components/Quotes/Quotes.stories.d.ts +2 -2
  54. package/dist/esm/src/components/Signup/PaymentForms.d.ts +9 -1
  55. package/dist/esm/src/components/Signup/Signup.d.ts +11 -1
  56. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/PlanPicker.d.ts +0 -5
  57. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/PriceListGrid.d.ts +2 -2
  58. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/PriceListSelector.d.ts +2 -3
  59. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +1 -3
  60. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +62 -2
  61. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/FeatureAddons.d.ts +9 -0
  62. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PlanFeatures.d.ts +3 -3
  63. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +2 -2
  64. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/planPickerUtils.d.ts +3 -3
  65. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/PriceListCardPriceDescription.d.ts +7 -0
  66. package/dist/esm/src/components/Subscriptions/PlanManager/PlanPicker/priceListCard/priceListCardUtils.d.ts +3 -2
  67. package/dist/esm/src/components/Subscriptions/SubscriptionsContext.d.ts +0 -3
  68. package/dist/esm/src/components/Subscriptions/quantityChangeDrawer/QuoteChangeSummarySection.d.ts +2 -2
  69. package/dist/esm/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +2 -2
  70. package/dist/esm/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +1 -1
  71. package/dist/esm/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +4 -2
  72. package/dist/esm/src/components/Transactions/Transactions.d.ts +5 -5
  73. package/dist/esm/src/components/Transactions/TransactionsListContext.d.ts +8 -8
  74. package/dist/esm/src/components/Transactions/transactionsList/TransactionDownload.d.ts +2 -2
  75. package/dist/esm/src/components/Transactions/transactionsList/TransactionTitle.d.ts +3 -3
  76. package/dist/esm/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +4 -4
  77. package/dist/esm/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +3 -3
  78. package/dist/esm/src/components/Transactions/transactionsList/utils.d.ts +3 -3
  79. package/dist/esm/src/components/icons/Bancontact.d.ts +4 -0
  80. package/dist/esm/src/components/icons/Sepa.d.ts +4 -0
  81. package/dist/esm/src/components/icons/iDeal.d.ts +4 -0
  82. package/dist/esm/src/graphql/mutations/quoteChargeCreate.d.ts +2 -1
  83. package/dist/esm/src/graphql/mutations/quoteChargeDelete.d.ts +7 -0
  84. package/dist/esm/src/graphql/queries/getTransactions.d.ts +2 -2
  85. package/dist/esm/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +8 -0
  86. package/dist/esm/src/utils/featureAddonUtils.d.ts +3 -0
  87. package/dist/index.d.ts +21 -12
  88. package/package.json +3 -4
@@ -0,0 +1,3 @@
1
+ import { PriceList, PriceListCharge, Subscription } from '@bunnyapp/common';
2
+ export declare function isAddonPurchased(featureAddon: PriceListCharge, currentSubscription: Subscription | undefined): boolean;
3
+ export declare function priceListHasUnpurchasedFeatureAddons(priceList: PriceList, currentSubscription: Subscription | undefined): boolean;