@stigg/react-sdk 4.3.1 → 4.4.0-beta.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.
Files changed (186) hide show
  1. package/README.md +1 -1
  2. package/dist/components/checkout/Checkout.d.ts +5 -0
  3. package/dist/components/checkout/CheckoutContainer.d.ts +22 -0
  4. package/dist/components/checkout/CheckoutContainer.style.d.ts +26 -0
  5. package/dist/components/checkout/CheckoutProvider.d.ts +34 -0
  6. package/dist/components/checkout/components/Button.d.ts +8 -0
  7. package/dist/components/checkout/components/ContentLoadingSkeleton.d.ts +2 -0
  8. package/dist/components/checkout/components/InputField.d.ts +8 -0
  9. package/dist/components/checkout/components/Skeletons.style.d.ts +97 -0
  10. package/dist/components/checkout/components/index.d.ts +3 -0
  11. package/dist/components/checkout/formatting.d.ts +2 -0
  12. package/dist/components/checkout/hooks/index.d.ts +8 -0
  13. package/dist/components/checkout/hooks/useAddonsStepModel.d.ts +21 -0
  14. package/dist/components/checkout/hooks/useCheckoutModel.d.ts +10 -0
  15. package/dist/components/checkout/hooks/useCouponModel.d.ts +7 -0
  16. package/dist/components/checkout/hooks/useLoadCheckout.d.ts +11 -0
  17. package/dist/components/checkout/hooks/usePaymentStepModel.d.ts +16 -0
  18. package/dist/components/checkout/hooks/usePlanStepModel.d.ts +23 -0
  19. package/dist/components/checkout/hooks/usePreviewSubscription.d.ts +13 -0
  20. package/dist/components/checkout/hooks/useProgressBarModel.d.ts +26 -0
  21. package/dist/components/checkout/hooks/useSubscriptionModel.d.ts +5 -0
  22. package/dist/components/checkout/hooks/useSubscriptionState.d.ts +2 -0
  23. package/dist/components/checkout/index.d.ts +3 -0
  24. package/dist/components/checkout/planHeader/PlanHeader.d.ts +7 -0
  25. package/dist/components/checkout/planHeader/PlanHeader.style.d.ts +25 -0
  26. package/dist/components/checkout/planHeader/index.d.ts +1 -0
  27. package/dist/components/checkout/progressBar/CheckoutProgressBar.d.ts +2 -0
  28. package/dist/components/checkout/progressBar/CheckoutProgressBar.style.d.ts +48 -0
  29. package/dist/components/checkout/promotionCode/AddPromotionCode.d.ts +5 -0
  30. package/dist/components/checkout/promotionCode/AddPromotionCodeButton.d.ts +7 -0
  31. package/dist/components/checkout/promotionCode/AppliedPromotionCode.d.ts +6 -0
  32. package/dist/components/checkout/promotionCode/PromotionCodeSection.d.ts +5 -0
  33. package/dist/components/checkout/promotionCode/index.d.ts +1 -0
  34. package/dist/components/checkout/steps/addons/CheckoutAddonsStep.d.ts +2 -0
  35. package/dist/components/checkout/steps/addons/CheckoutAddonsStep.style.d.ts +93 -0
  36. package/dist/components/checkout/steps/addons/addon.utils.d.ts +15 -0
  37. package/dist/components/checkout/steps/addons/index.d.ts +1 -0
  38. package/dist/components/checkout/steps/payment/PaymentMethods.d.ts +20 -0
  39. package/dist/components/checkout/steps/payment/PaymentMethods.style.d.ts +117 -0
  40. package/dist/components/checkout/steps/payment/PaymentStep.d.ts +2 -0
  41. package/dist/components/checkout/steps/payment/index.d.ts +1 -0
  42. package/dist/components/checkout/steps/payment/stripe/StripePaymentForm.d.ts +2 -0
  43. package/dist/components/checkout/steps/payment/stripe/index.d.ts +3 -0
  44. package/dist/components/checkout/steps/payment/stripe/stripe.utils.d.ts +33 -0
  45. package/dist/components/checkout/steps/payment/stripe/useStripeIntegration.d.ts +5 -0
  46. package/dist/components/checkout/steps/payment/stripe/useSubmit.d.ts +13 -0
  47. package/dist/components/checkout/steps/plan/BillingPeriodPicker.d.ts +9 -0
  48. package/dist/components/checkout/steps/plan/BillingPeriodPicker.style.d.ts +52 -0
  49. package/dist/components/checkout/steps/plan/CheckoutChargeList.d.ts +16 -0
  50. package/dist/components/checkout/steps/plan/CheckoutPlanStep.d.ts +2 -0
  51. package/dist/components/checkout/steps/plan/CheckoutPlanStep.style.d.ts +12 -0
  52. package/dist/components/checkout/steps/plan/index.d.ts +1 -0
  53. package/dist/components/checkout/steps/surprise/SurpriseStep.d.ts +2 -0
  54. package/dist/components/checkout/summary/CheckoutSuccess.d.ts +3 -0
  55. package/dist/components/checkout/summary/CheckoutSummary.d.ts +16 -0
  56. package/dist/components/checkout/summary/CheckoutSummarySkeleton.d.ts +2 -0
  57. package/dist/components/checkout/summary/components/CheckoutCaptions.d.ts +11 -0
  58. package/dist/components/checkout/summary/components/LineItems.d.ts +36 -0
  59. package/dist/components/checkout/summary/components/WithSkeleton.d.ts +6 -0
  60. package/dist/components/checkout/summary/index.d.ts +2 -0
  61. package/dist/components/checkout/textOverrides.d.ts +32 -0
  62. package/dist/components/checkout/theme.d.ts +12 -0
  63. package/dist/components/common/Icon.d.ts +3 -2
  64. package/dist/components/common/PoweredByStigg.d.ts +1 -1
  65. package/dist/components/{paywall/TiersLayout.d.ts → common/TiersSelectContainer.d.ts} +2 -3
  66. package/dist/components/common/customIcons.d.ts +19 -5
  67. package/dist/components/common/mapExternalTheme.d.ts +2 -1
  68. package/dist/components/customerPortal/subscriptionOverview/tabs/SubscriptionTabs.d.ts +1 -1
  69. package/dist/components/hooks/useChargeSort.d.ts +3 -0
  70. package/dist/components/paywall/paywallTextOverrides.d.ts +0 -4
  71. package/dist/components/utils/calculateDiscountRate.d.ts +1 -0
  72. package/dist/components/utils/currencyUtils.d.ts +1 -1
  73. package/dist/components/utils/getPaidPriceText.d.ts +1 -3
  74. package/dist/components/{paywall/planPriceTier.d.ts → utils/priceTierUtils.d.ts} +3 -1
  75. package/dist/components/utils/priceUtils.d.ts +2 -0
  76. package/dist/index.d.ts +1 -0
  77. package/dist/react-sdk.cjs.development.js +6934 -238
  78. package/dist/react-sdk.cjs.development.js.map +1 -1
  79. package/dist/react-sdk.cjs.production.min.js +1 -1
  80. package/dist/react-sdk.cjs.production.min.js.map +1 -1
  81. package/dist/react-sdk.esm.js +7093 -242
  82. package/dist/react-sdk.esm.js.map +1 -1
  83. package/dist/stories/Checkout.stories.d.ts +3 -0
  84. package/dist/stories/CustomerPortal.stories.d.ts +1 -1
  85. package/dist/theme/getResolvedTheme.d.ts +4 -0
  86. package/dist/theme/types.d.ts +4 -0
  87. package/package.json +11 -5
  88. package/src/assets/arrow-forward.svg +3 -0
  89. package/src/assets/arrow-right.svg +6 -0
  90. package/src/assets/check.svg +5 -0
  91. package/src/assets/close.svg +3 -0
  92. package/src/assets/lottie/checkout-success.json +1 -0
  93. package/src/assets/nyancat.svg +634 -0
  94. package/src/assets/outlined-checked-circle-disabled.svg +6 -0
  95. package/src/assets/outlined-checked-circle.svg +6 -0
  96. package/src/assets/outlined-circle.svg +3 -0
  97. package/src/assets/payment-method.svg +11 -0
  98. package/src/assets/plus-icon.svg +6 -0
  99. package/src/assets/trash.svg +8 -0
  100. package/src/components/checkout/Checkout.tsx +30 -0
  101. package/src/components/checkout/CheckoutContainer.style.ts +35 -0
  102. package/src/components/checkout/CheckoutContainer.tsx +99 -0
  103. package/src/components/checkout/CheckoutProvider.tsx +149 -0
  104. package/src/components/checkout/components/Button.tsx +51 -0
  105. package/src/components/checkout/components/ContentLoadingSkeleton.tsx +41 -0
  106. package/src/components/checkout/components/InputField.tsx +22 -0
  107. package/src/components/checkout/components/Skeletons.style.ts +27 -0
  108. package/src/components/checkout/components/index.ts +3 -0
  109. package/src/components/checkout/formatting.ts +12 -0
  110. package/src/components/checkout/hooks/index.ts +8 -0
  111. package/src/components/checkout/hooks/useAddonsStepModel.ts +96 -0
  112. package/src/components/checkout/hooks/useCheckoutModel.ts +32 -0
  113. package/src/components/checkout/hooks/useCouponModel.ts +28 -0
  114. package/src/components/checkout/hooks/useLoadCheckout.ts +39 -0
  115. package/src/components/checkout/hooks/usePaymentStepModel.ts +49 -0
  116. package/src/components/checkout/hooks/usePlanStepModel.ts +169 -0
  117. package/src/components/checkout/hooks/usePreviewSubscription.ts +82 -0
  118. package/src/components/checkout/hooks/useProgressBarModel.ts +89 -0
  119. package/src/components/checkout/hooks/useSubscriptionModel.ts +16 -0
  120. package/src/components/checkout/hooks/useSubscriptionState.ts +26 -0
  121. package/src/components/checkout/index.ts +3 -0
  122. package/src/components/checkout/planHeader/PlanHeader.style.tsx +23 -0
  123. package/src/components/checkout/planHeader/PlanHeader.tsx +59 -0
  124. package/src/components/checkout/planHeader/index.ts +1 -0
  125. package/src/components/checkout/progressBar/CheckoutProgressBar.style.ts +34 -0
  126. package/src/components/checkout/progressBar/CheckoutProgressBar.tsx +53 -0
  127. package/src/components/checkout/promotionCode/AddPromotionCode.tsx +85 -0
  128. package/src/components/checkout/promotionCode/AddPromotionCodeButton.tsx +39 -0
  129. package/src/components/checkout/promotionCode/AppliedPromotionCode.tsx +37 -0
  130. package/src/components/checkout/promotionCode/PromotionCodeSection.tsx +27 -0
  131. package/src/components/checkout/promotionCode/index.ts +1 -0
  132. package/src/components/checkout/steps/addons/CheckoutAddonsStep.style.tsx +24 -0
  133. package/src/components/checkout/steps/addons/CheckoutAddonsStep.tsx +125 -0
  134. package/src/components/checkout/steps/addons/addon.utils.ts +68 -0
  135. package/src/components/checkout/steps/addons/index.ts +1 -0
  136. package/src/components/checkout/steps/payment/PaymentMethods.style.ts +26 -0
  137. package/src/components/checkout/steps/payment/PaymentMethods.tsx +86 -0
  138. package/src/components/checkout/steps/payment/PaymentStep.tsx +50 -0
  139. package/src/components/checkout/steps/payment/index.ts +1 -0
  140. package/src/components/checkout/steps/payment/stripe/StripePaymentForm.tsx +45 -0
  141. package/src/components/checkout/steps/payment/stripe/index.ts +3 -0
  142. package/src/components/checkout/steps/payment/stripe/stripe.utils.ts +109 -0
  143. package/src/components/checkout/steps/payment/stripe/useStripeIntegration.ts +27 -0
  144. package/src/components/checkout/steps/payment/stripe/useSubmit.ts +104 -0
  145. package/src/components/checkout/steps/plan/BillingPeriodPicker.style.tsx +46 -0
  146. package/src/components/checkout/steps/plan/BillingPeriodPicker.tsx +63 -0
  147. package/src/components/checkout/steps/plan/CheckoutChargeList.tsx +138 -0
  148. package/src/components/checkout/steps/plan/CheckoutPlanStep.style.tsx +6 -0
  149. package/src/components/checkout/steps/plan/CheckoutPlanStep.tsx +20 -0
  150. package/src/components/checkout/steps/plan/index.ts +1 -0
  151. package/src/components/checkout/steps/surprise/SurpriseStep.tsx +27 -0
  152. package/src/components/checkout/summary/CheckoutSuccess.tsx +32 -0
  153. package/src/components/checkout/summary/CheckoutSummary.tsx +288 -0
  154. package/src/components/checkout/summary/CheckoutSummarySkeleton.tsx +40 -0
  155. package/src/components/checkout/summary/components/CheckoutCaptions.tsx +120 -0
  156. package/src/components/checkout/summary/components/LineItems.tsx +177 -0
  157. package/src/components/checkout/summary/components/WithSkeleton.tsx +16 -0
  158. package/src/components/checkout/summary/index.ts +2 -0
  159. package/src/components/checkout/textOverrides.ts +62 -0
  160. package/src/components/checkout/theme.ts +43 -0
  161. package/src/components/common/Icon.tsx +17 -22
  162. package/src/components/common/PoweredByStigg.tsx +1 -1
  163. package/src/components/{paywall/TiersLayout.tsx → common/TiersSelectContainer.tsx} +8 -7
  164. package/src/components/common/Typography.tsx +11 -1
  165. package/src/components/common/customIcons.ts +19 -28
  166. package/src/components/common/mapExternalTheme.ts +29 -9
  167. package/src/components/customerPortal/subscriptionOverview/tabs/SubscriptionTabs.tsx +6 -12
  168. package/src/components/hooks/useChargeSort.ts +17 -0
  169. package/src/components/paywall/Paywall.tsx +1 -1
  170. package/src/components/paywall/PlanOffering.tsx +1 -1
  171. package/src/components/paywall/PlanOfferingButton.tsx +1 -1
  172. package/src/components/paywall/PlanPrice.tsx +5 -13
  173. package/src/components/paywall/paywallTextOverrides.ts +0 -3
  174. package/src/components/paywall/utils/calculateUnitQuantityText.ts +9 -4
  175. package/src/components/utils/calculateDiscountRate.ts +1 -1
  176. package/src/components/utils/currencyUtils.ts +1 -1
  177. package/src/components/utils/getPaidPriceText.ts +4 -10
  178. package/src/components/utils/getPlanPrice.ts +1 -1
  179. package/src/components/{paywall/planPriceTier.ts → utils/priceTierUtils.ts} +25 -3
  180. package/src/components/utils/priceUtils.ts +10 -0
  181. package/src/index.ts +1 -0
  182. package/src/stories/Checkout.stories.tsx +61 -0
  183. package/src/stories/CustomerPortal.stories.tsx +1 -1
  184. package/src/theme/Theme.tsx +6 -6
  185. package/src/theme/getResolvedTheme.ts +7 -1
  186. package/src/theme/types.ts +4 -0
@@ -0,0 +1 @@
1
+ export * from './CheckoutPlanStep';
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SurpriseStep: () => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const ANIMATION_DURATION = 5000;
3
+ export declare function CheckoutSuccess(): JSX.Element;
@@ -0,0 +1,16 @@
1
+ /// <reference types="@emotion/styled/macro" />
2
+ import React from 'react';
3
+ import { CheckoutContainerProps } from '../CheckoutContainer';
4
+ export declare const SummaryCard: import("@emotion/styled/macro").StyledComponent<{
5
+ children?: React.ReactNode;
6
+ classes?: Partial<import("@mui/material").PaperClasses> | undefined;
7
+ elevation?: number | undefined;
8
+ square?: boolean | undefined;
9
+ sx?: import("@mui/system").SystemCssProperties<import("@mui/material").Theme> | import("@mui/system").CSSPseudoSelectorProps<import("@mui/material").Theme> | import("@mui/system").CSSSelectorObjectOrCssVariables<import("@mui/material").Theme> | ((theme: import("@mui/material").Theme) => import("@mui/system").SystemStyleObject<import("@mui/material").Theme>) | readonly (boolean | import("@mui/system").SystemCssProperties<import("@mui/material").Theme> | import("@mui/system").CSSPseudoSelectorProps<import("@mui/material").Theme> | import("@mui/system").CSSSelectorObjectOrCssVariables<import("@mui/material").Theme> | ((theme: import("@mui/material").Theme) => import("@mui/system").SystemStyleObject<import("@mui/material").Theme>) | null)[] | null | undefined;
10
+ variant?: "elevation" | "outlined" | undefined;
11
+ } & import("@mui/material/OverridableComponent").CommonProps & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
13
+ }, "slot" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
14
+ theme?: import("@emotion/react").Theme | undefined;
15
+ }, {}, {}>;
16
+ export declare const CheckoutSummary: ({ onCheckout, onCheckoutCompleted }: CheckoutContainerProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const CheckoutSummarySkeleton: () => JSX.Element;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { Plan, Subscription, SubscriptionPreview } from '@stigg/js-client-sdk';
3
+ import { CheckoutLocalization } from '../../textOverrides';
4
+ export declare type CheckoutCaptionProps = {
5
+ subscriptionPreview?: SubscriptionPreview | null;
6
+ isFetchingSubscriptionPreview: boolean;
7
+ activeSubscription?: Subscription | null;
8
+ plan?: Plan;
9
+ checkoutLocalization: CheckoutLocalization;
10
+ };
11
+ export declare function CheckoutCaptions(props: CheckoutCaptionProps): JSX.Element;
@@ -0,0 +1,36 @@
1
+ /// <reference types="@emotion/styled/macro" />
2
+ import React from 'react';
3
+ import { Price, SubscriptionPreview } from '@stigg/js-client-sdk';
4
+ import { CheckoutLocalization } from '../../textOverrides';
5
+ export declare const LineItemContainer: import("@emotion/styled/macro").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
8
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const LineItemRow: import("@emotion/styled/macro").StyledComponent<{
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ as?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
12
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
+ export declare const getPriceString: ({ amountPerMonth, price, quantity, }: {
14
+ amountPerMonth: number;
15
+ price: Price;
16
+ quantity: number;
17
+ }) => string;
18
+ export declare const BilledPriceLineItem: ({ label, quantity, price }: {
19
+ label: string;
20
+ quantity: number;
21
+ price: Price;
22
+ }) => JSX.Element;
23
+ export declare const DiscountLineItem: ({ subscriptionPreview, isFetchingSubscriptionPreview, }: {
24
+ subscriptionPreview: SubscriptionPreview | null;
25
+ isFetchingSubscriptionPreview: boolean;
26
+ }) => JSX.Element | null;
27
+ export declare const AppliedCreditsLineItem: ({ subscriptionPreview, isFetchingSubscriptionPreview, checkoutLocalization, }: {
28
+ subscriptionPreview: SubscriptionPreview | null;
29
+ isFetchingSubscriptionPreview: boolean;
30
+ checkoutLocalization: CheckoutLocalization;
31
+ }) => JSX.Element | null;
32
+ export declare const TaxLineItem: ({ subscriptionPreview, isFetchingSubscriptionPreview, checkoutLocalization, }: {
33
+ subscriptionPreview: SubscriptionPreview | null;
34
+ isFetchingSubscriptionPreview: boolean;
35
+ checkoutLocalization: CheckoutLocalization;
36
+ }) => JSX.Element | null;
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ export declare const WithSkeleton: FC<PropsWithChildren<{
3
+ isLoading: boolean;
4
+ width?: number | string;
5
+ height?: number | string;
6
+ }>>;
@@ -0,0 +1,2 @@
1
+ export * from './CheckoutSummary';
2
+ export * from './CheckoutSummarySkeleton';
@@ -0,0 +1,32 @@
1
+ import { BillingPeriod, SubscriptionPreviewTaxDetails } from '@stigg/js-client-sdk';
2
+ import { DeepPartial } from '../../types';
3
+ export declare type CheckoutLocalization = {
4
+ changePlan: string;
5
+ billingPeriodsTitle: string;
6
+ addAddonText: string;
7
+ newPaymentMethodText: string;
8
+ newPaymentMethodCardTitle: string;
9
+ newPaymentMethodBillingAddressTitle: string;
10
+ baseChargeText: string | ((params: {
11
+ billingPeriod: BillingPeriod;
12
+ }) => string);
13
+ totalText: string;
14
+ subTotalText: string;
15
+ addCouponCodeText: string;
16
+ couponCodeTitle: string;
17
+ addonsSectionTitle: string;
18
+ changesWillApplyAtEndOfBillingPeriod: string | ((params: {
19
+ billingPeriodEnd: Date;
20
+ }) => string);
21
+ checkoutButton: {
22
+ nextText: string;
23
+ downgradeText: string;
24
+ upgradeText: string;
25
+ purchaseText: string;
26
+ };
27
+ appliedCreditsTitle: string;
28
+ taxTitle: (params: {
29
+ taxDetails: SubscriptionPreviewTaxDetails;
30
+ }) => string;
31
+ };
32
+ export declare function getResolvedCheckoutLocalize(localizeOverride?: DeepPartial<CheckoutLocalization>): CheckoutLocalization;
@@ -0,0 +1,12 @@
1
+ import { CheckoutConfiguration } from '@stigg/js-client-sdk';
2
+ import { StiggTheme } from '../../theme/types';
3
+ import { DeepPartial } from '../../types';
4
+ export declare type CheckoutTheme = {
5
+ primary: string;
6
+ textColor: string;
7
+ backgroundColor: string;
8
+ borderColor: string;
9
+ selectionColor: string;
10
+ summaryBackgroundColor: string;
11
+ };
12
+ export declare function getResolvedCheckoutTheme(globalTheme: StiggTheme, themeOverride?: DeepPartial<CheckoutTheme>, _remoteConfiguration?: CheckoutConfiguration | null): CheckoutTheme;
@@ -1,6 +1,7 @@
1
1
  import { CSSProperties } from 'react';
2
- import { Icons } from './customIcons';
3
2
  import { IconColor } from './iconColor';
3
+ import * as customIcons from './customIcons';
4
+ export declare type Icons = keyof typeof customIcons;
4
5
  export declare type IconProps = {
5
6
  icon: Icons;
6
7
  className?: string;
@@ -9,4 +10,4 @@ export declare type IconProps = {
9
10
  svgRectColor?: IconColor | string;
10
11
  svgStrokeColor?: IconColor | string;
11
12
  };
12
- export declare function Icon({ icon, className, style, svgPathColor, svgRectColor, svgStrokeColor, }: IconProps): JSX.Element;
13
+ export declare function Icon({ icon, className, style, svgPathColor, svgRectColor, svgStrokeColor }: IconProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const STIGG_WATERMARK_CLASSNAME = "stigg-watermark";
3
- export declare type PoweredByStiggSources = 'paywall' | 'customer_portal';
3
+ export declare type PoweredByStiggSources = 'paywall' | 'customer_portal' | 'checkout';
4
4
  declare type PoweredByStiggProps = {
5
5
  source: PoweredByStiggSources;
6
6
  showWatermark?: boolean;
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { PaywallPlan } from './types';
3
2
  import { PriceTierFragment } from '@stigg/js-client-sdk';
4
- export declare function TiersLayout({ plan, tiers, tierUnits, selectedTier, handleTierChange, }: {
5
- plan: PaywallPlan;
3
+ export declare function TiersSelectContainer({ componentId, tiers, tierUnits, selectedTier, handleTierChange, }: {
4
+ componentId: string;
6
5
  tiers?: PriceTierFragment[] | null;
7
6
  tierUnits?: string;
8
7
  selectedTier?: PriceTierFragment;
@@ -1,5 +1,19 @@
1
- import { ReactElement, SVGProps } from 'react';
2
- export declare const ICON_COMPONENTS: {
3
- [name: string]: ((props: SVGProps<SVGElement>) => ReactElement);
4
- };
5
- export declare type Icons = keyof typeof ICON_COMPONENTS;
1
+ export { default as Addons } from '../../assets/addons.svg';
2
+ export { default as BillingInfoCustomer } from '../../assets/billing-info-customer.svg';
3
+ export { default as ContactSupport } from '../../assets/contact-support.svg';
4
+ export { default as CreditCard } from '../../assets/credit-card.svg';
5
+ export { default as DollarCoin } from '../../assets/dollar-coin.svg';
6
+ export { default as MiniSchedule } from '../../assets/mini-schedule.svg';
7
+ export { default as Promotions } from '../../assets/promotions.svg';
8
+ export { default as Restore } from '../../assets/restore.svg';
9
+ export { default as ScheduleBox } from '../../assets/schedule-box.svg';
10
+ export { default as ScheduleClock } from '../../assets/schedule.svg';
11
+ export { default as RenewSubscription } from '../../assets/subscription-renews-icon.svg';
12
+ export { default as Trash } from '../../assets/trash.svg';
13
+ export { default as PaymentMethod } from '../../assets/payment-method.svg';
14
+ export { default as OutlinedCircle } from '../../assets/outlined-circle.svg';
15
+ export { default as OutlinedCheckedCircle } from '../../assets/outlined-checked-circle.svg';
16
+ export { default as OutlinedCheckedCircleDisabled } from '../../assets/outlined-checked-circle-disabled.svg';
17
+ export { default as ArrowForward } from '../../assets/arrow-forward.svg';
18
+ export { default as Close } from '../../assets/close.svg';
19
+ export { default as Check } from '../../assets/check.svg';
@@ -1,4 +1,5 @@
1
- import { CustomerPortalConfiguration, PaywallConfiguration } from '@stigg/js-client-sdk';
1
+ import { CheckoutConfiguration, CustomerPortalConfiguration, PaywallConfiguration } from '@stigg/js-client-sdk';
2
2
  import { CustomizedTheme } from '../../theme/Theme';
3
3
  export declare function mapCustomerPortalConfiguration(configuration: CustomerPortalConfiguration): CustomizedTheme;
4
4
  export declare function mapPaywallConfiguration(paywallConfiguration: PaywallConfiguration): CustomizedTheme;
5
+ export declare function mapCheckoutConfiguration(configuration: CheckoutConfiguration): CustomizedTheme;
@@ -9,4 +9,4 @@ export declare type SubscriptionTabsProps = {
9
9
  textOverrides: CustomerPortalLocalization;
10
10
  theme: CustomerPortalTheme;
11
11
  };
12
- export declare function SubscriptionTabs({ customerPortal, hiddenSections, textOverrides, theme, }: SubscriptionTabsProps): JSX.Element | null;
12
+ export declare function SubscriptionTabs({ customerPortal, hiddenSections, textOverrides, theme }: SubscriptionTabsProps): JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import { Price } from '@stigg/js-client-sdk';
2
+ export declare const sortCharges: (charges: Price[]) => Price[];
3
+ export declare const useChargesSort: (charges: Price[]) => Price[];
@@ -17,8 +17,6 @@ export declare type PaywallLocalization = {
17
17
  };
18
18
  price: {
19
19
  startingAtCaption: string;
20
- billingPeriod?: (billingPeriod: BillingPeriod) => string;
21
- pricePeriod: (billingPeriod: BillingPeriod) => string;
22
20
  custom: string;
23
21
  priceNotSet: string;
24
22
  free: PlanPriceText | ((currency?: PaywallCurrency) => PlanPriceText);
@@ -46,8 +44,6 @@ export declare function getResolvedPaywallLocalize(localizeOverride?: DeepPartia
46
44
  } | undefined;
47
45
  price?: {
48
46
  startingAtCaption?: string | undefined;
49
- billingPeriod?: {} | undefined;
50
- pricePeriod?: {} | undefined;
51
47
  custom?: string | undefined;
52
48
  priceNotSet?: string | undefined;
53
49
  free?: {
@@ -1,2 +1,3 @@
1
1
  import { PaywallPlan } from '../paywall';
2
+ export declare function calculateDiscountRate(monthlyPrice?: number | null, annuallyPrice?: number | null): number | null;
2
3
  export declare function calculatePaywallDiscountRate(plans: PaywallPlan[]): number;
@@ -1,7 +1,7 @@
1
1
  import { Currency } from '@stigg/js-client-sdk';
2
2
  export declare const currencyPriceFormatter: ({ amount, currency, locale, maximumFractionDigits, }: {
3
3
  amount: number;
4
- currency?: Currency | undefined;
4
+ currency?: string | undefined;
5
5
  locale?: string | undefined;
6
6
  maximumFractionDigits?: number | undefined;
7
7
  }) => string;
@@ -1,6 +1,5 @@
1
1
  import { BillingPeriod, PaywallCalculatedPricePoint, Price, PriceTierFragment } from '@stigg/js-client-sdk';
2
2
  import { PlanPriceText } from './getPlanPrice';
3
- import { PaywallLocalization } from '../paywall';
4
3
  declare type GetPaidPriceTextParams = {
5
4
  planPrices: Price[];
6
5
  paywallCalculatedPrice?: PaywallCalculatedPricePoint;
@@ -8,7 +7,6 @@ declare type GetPaidPriceTextParams = {
8
7
  locale: string;
9
8
  shouldShowMonthlyPriceAmount: boolean;
10
9
  selectedTierByFeature: Record<string, PriceTierFragment>;
11
- paywallLocale: PaywallLocalization;
12
10
  };
13
- export declare function getPaidPriceText({ planPrices, paywallCalculatedPrice, selectedBillingPeriod, locale, shouldShowMonthlyPriceAmount, selectedTierByFeature, paywallLocale, }: GetPaidPriceTextParams): PlanPriceText;
11
+ export declare function getPaidPriceText({ planPrices, paywallCalculatedPrice, selectedBillingPeriod, locale, shouldShowMonthlyPriceAmount, selectedTierByFeature, }: GetPaidPriceTextParams): PlanPriceText;
14
12
  export {};
@@ -1,5 +1,7 @@
1
- import { PaywallPlan } from './types';
1
+ import { PaywallPlan } from '../paywall/types';
2
2
  import { BillingPeriod, Price, PriceTierFragment, Subscription } from '@stigg/js-client-sdk';
3
+ export declare function getPriceFeatureUnit(price: Price): string;
4
+ export declare function getTierByQuantity(tiers: PriceTierFragment[], quantity: number): PriceTierFragment | undefined;
3
5
  export declare function calculateTierPrice(price: Price, currentTier: PriceTierFragment, selectedBillingPeriod: BillingPeriod, shouldShowMonthlyPriceAmount: boolean): number;
4
6
  export declare function getSelectedTier(plan: PaywallPlan, billingPeriod: BillingPeriod, currentSubscription: Subscription | null, selectedTierByFeature: Record<string, PriceTierFragment>): Record<string, PriceTierFragment>;
5
7
  export declare enum PriceTierComparison {
@@ -0,0 +1,2 @@
1
+ import { Price } from '@stigg/js-client-sdk';
2
+ export declare const getValidPriceQuantity: (price: Price, quantity: number) => number;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from '@stigg/js-client-sdk';
3
3
  export { Paywall, PaywallProps, OnPlanSelectedCallbackFn, PaywallPlan, SubscribeIntentionType, PaywallLocalization, } from './components/paywall';
4
4
  export { CustomerPortalProvider, CustomerPortal, CustomerPortalProps, CustomerPortalSection, AddonsList, PaymentDetailsSection, InvoicesSection, CustomerUsageData, CustomerUsageDataProps, SubscriptionsOverview, SubscriptionsOverviewProps, Promotions, } from './components/customerPortal';
5
5
  export { StiggProvider, StiggProviderProps, useStiggContext, StiggContextValue, StiggContext, } from './components/StiggProvider';
6
+ export { Checkout, CheckoutProps, CheckoutTheme } from './components/checkout';
6
7
  export { useWaitForCheckoutCompleted, ProvisionStatus } from './components/hooks';
7
8
  export { HorizontalAlignment, TextAlignment } from './theme/types';
8
9
  export { CustomizedTheme as Theme } from './theme/Theme';