@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.
- package/README.md +1 -1
- package/dist/components/checkout/Checkout.d.ts +5 -0
- package/dist/components/checkout/CheckoutContainer.d.ts +22 -0
- package/dist/components/checkout/CheckoutContainer.style.d.ts +26 -0
- package/dist/components/checkout/CheckoutProvider.d.ts +34 -0
- package/dist/components/checkout/components/Button.d.ts +8 -0
- package/dist/components/checkout/components/ContentLoadingSkeleton.d.ts +2 -0
- package/dist/components/checkout/components/InputField.d.ts +8 -0
- package/dist/components/checkout/components/Skeletons.style.d.ts +97 -0
- package/dist/components/checkout/components/index.d.ts +3 -0
- package/dist/components/checkout/formatting.d.ts +2 -0
- package/dist/components/checkout/hooks/index.d.ts +8 -0
- package/dist/components/checkout/hooks/useAddonsStepModel.d.ts +21 -0
- package/dist/components/checkout/hooks/useCheckoutModel.d.ts +10 -0
- package/dist/components/checkout/hooks/useCouponModel.d.ts +7 -0
- package/dist/components/checkout/hooks/useLoadCheckout.d.ts +11 -0
- package/dist/components/checkout/hooks/usePaymentStepModel.d.ts +16 -0
- package/dist/components/checkout/hooks/usePlanStepModel.d.ts +23 -0
- package/dist/components/checkout/hooks/usePreviewSubscription.d.ts +13 -0
- package/dist/components/checkout/hooks/useProgressBarModel.d.ts +26 -0
- package/dist/components/checkout/hooks/useSubscriptionModel.d.ts +5 -0
- package/dist/components/checkout/hooks/useSubscriptionState.d.ts +2 -0
- package/dist/components/checkout/index.d.ts +3 -0
- package/dist/components/checkout/planHeader/PlanHeader.d.ts +7 -0
- package/dist/components/checkout/planHeader/PlanHeader.style.d.ts +25 -0
- package/dist/components/checkout/planHeader/index.d.ts +1 -0
- package/dist/components/checkout/progressBar/CheckoutProgressBar.d.ts +2 -0
- package/dist/components/checkout/progressBar/CheckoutProgressBar.style.d.ts +48 -0
- package/dist/components/checkout/promotionCode/AddPromotionCode.d.ts +5 -0
- package/dist/components/checkout/promotionCode/AddPromotionCodeButton.d.ts +7 -0
- package/dist/components/checkout/promotionCode/AppliedPromotionCode.d.ts +6 -0
- package/dist/components/checkout/promotionCode/PromotionCodeSection.d.ts +5 -0
- package/dist/components/checkout/promotionCode/index.d.ts +1 -0
- package/dist/components/checkout/steps/addons/CheckoutAddonsStep.d.ts +2 -0
- package/dist/components/checkout/steps/addons/CheckoutAddonsStep.style.d.ts +93 -0
- package/dist/components/checkout/steps/addons/addon.utils.d.ts +15 -0
- package/dist/components/checkout/steps/addons/index.d.ts +1 -0
- package/dist/components/checkout/steps/payment/PaymentMethods.d.ts +20 -0
- package/dist/components/checkout/steps/payment/PaymentMethods.style.d.ts +117 -0
- package/dist/components/checkout/steps/payment/PaymentStep.d.ts +2 -0
- package/dist/components/checkout/steps/payment/index.d.ts +1 -0
- package/dist/components/checkout/steps/payment/stripe/StripePaymentForm.d.ts +2 -0
- package/dist/components/checkout/steps/payment/stripe/index.d.ts +3 -0
- package/dist/components/checkout/steps/payment/stripe/stripe.utils.d.ts +33 -0
- package/dist/components/checkout/steps/payment/stripe/useStripeIntegration.d.ts +5 -0
- package/dist/components/checkout/steps/payment/stripe/useSubmit.d.ts +13 -0
- package/dist/components/checkout/steps/plan/BillingPeriodPicker.d.ts +9 -0
- package/dist/components/checkout/steps/plan/BillingPeriodPicker.style.d.ts +52 -0
- package/dist/components/checkout/steps/plan/CheckoutChargeList.d.ts +16 -0
- package/dist/components/checkout/steps/plan/CheckoutPlanStep.d.ts +2 -0
- package/dist/components/checkout/steps/plan/CheckoutPlanStep.style.d.ts +12 -0
- package/dist/components/checkout/steps/plan/index.d.ts +1 -0
- package/dist/components/checkout/steps/surprise/SurpriseStep.d.ts +2 -0
- package/dist/components/checkout/summary/CheckoutSuccess.d.ts +3 -0
- package/dist/components/checkout/summary/CheckoutSummary.d.ts +16 -0
- package/dist/components/checkout/summary/CheckoutSummarySkeleton.d.ts +2 -0
- package/dist/components/checkout/summary/components/CheckoutCaptions.d.ts +11 -0
- package/dist/components/checkout/summary/components/LineItems.d.ts +36 -0
- package/dist/components/checkout/summary/components/WithSkeleton.d.ts +6 -0
- package/dist/components/checkout/summary/index.d.ts +2 -0
- package/dist/components/checkout/textOverrides.d.ts +32 -0
- package/dist/components/checkout/theme.d.ts +12 -0
- package/dist/components/common/Icon.d.ts +3 -2
- package/dist/components/common/PoweredByStigg.d.ts +1 -1
- package/dist/components/{paywall/TiersLayout.d.ts → common/TiersSelectContainer.d.ts} +2 -3
- package/dist/components/common/customIcons.d.ts +19 -5
- package/dist/components/common/mapExternalTheme.d.ts +2 -1
- package/dist/components/customerPortal/subscriptionOverview/tabs/SubscriptionTabs.d.ts +1 -1
- package/dist/components/hooks/useChargeSort.d.ts +3 -0
- package/dist/components/paywall/paywallTextOverrides.d.ts +0 -4
- package/dist/components/utils/calculateDiscountRate.d.ts +1 -0
- package/dist/components/utils/currencyUtils.d.ts +1 -1
- package/dist/components/utils/getPaidPriceText.d.ts +1 -3
- package/dist/components/{paywall/planPriceTier.d.ts → utils/priceTierUtils.d.ts} +3 -1
- package/dist/components/utils/priceUtils.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/react-sdk.cjs.development.js +6934 -238
- package/dist/react-sdk.cjs.development.js.map +1 -1
- package/dist/react-sdk.cjs.production.min.js +1 -1
- package/dist/react-sdk.cjs.production.min.js.map +1 -1
- package/dist/react-sdk.esm.js +7093 -242
- package/dist/react-sdk.esm.js.map +1 -1
- package/dist/stories/Checkout.stories.d.ts +3 -0
- package/dist/stories/CustomerPortal.stories.d.ts +1 -1
- package/dist/theme/getResolvedTheme.d.ts +4 -0
- package/dist/theme/types.d.ts +4 -0
- package/package.json +11 -5
- package/src/assets/arrow-forward.svg +3 -0
- package/src/assets/arrow-right.svg +6 -0
- package/src/assets/check.svg +5 -0
- package/src/assets/close.svg +3 -0
- package/src/assets/lottie/checkout-success.json +1 -0
- package/src/assets/nyancat.svg +634 -0
- package/src/assets/outlined-checked-circle-disabled.svg +6 -0
- package/src/assets/outlined-checked-circle.svg +6 -0
- package/src/assets/outlined-circle.svg +3 -0
- package/src/assets/payment-method.svg +11 -0
- package/src/assets/plus-icon.svg +6 -0
- package/src/assets/trash.svg +8 -0
- package/src/components/checkout/Checkout.tsx +30 -0
- package/src/components/checkout/CheckoutContainer.style.ts +35 -0
- package/src/components/checkout/CheckoutContainer.tsx +99 -0
- package/src/components/checkout/CheckoutProvider.tsx +149 -0
- package/src/components/checkout/components/Button.tsx +51 -0
- package/src/components/checkout/components/ContentLoadingSkeleton.tsx +41 -0
- package/src/components/checkout/components/InputField.tsx +22 -0
- package/src/components/checkout/components/Skeletons.style.ts +27 -0
- package/src/components/checkout/components/index.ts +3 -0
- package/src/components/checkout/formatting.ts +12 -0
- package/src/components/checkout/hooks/index.ts +8 -0
- package/src/components/checkout/hooks/useAddonsStepModel.ts +96 -0
- package/src/components/checkout/hooks/useCheckoutModel.ts +32 -0
- package/src/components/checkout/hooks/useCouponModel.ts +28 -0
- package/src/components/checkout/hooks/useLoadCheckout.ts +39 -0
- package/src/components/checkout/hooks/usePaymentStepModel.ts +49 -0
- package/src/components/checkout/hooks/usePlanStepModel.ts +169 -0
- package/src/components/checkout/hooks/usePreviewSubscription.ts +82 -0
- package/src/components/checkout/hooks/useProgressBarModel.ts +89 -0
- package/src/components/checkout/hooks/useSubscriptionModel.ts +16 -0
- package/src/components/checkout/hooks/useSubscriptionState.ts +26 -0
- package/src/components/checkout/index.ts +3 -0
- package/src/components/checkout/planHeader/PlanHeader.style.tsx +23 -0
- package/src/components/checkout/planHeader/PlanHeader.tsx +59 -0
- package/src/components/checkout/planHeader/index.ts +1 -0
- package/src/components/checkout/progressBar/CheckoutProgressBar.style.ts +34 -0
- package/src/components/checkout/progressBar/CheckoutProgressBar.tsx +53 -0
- package/src/components/checkout/promotionCode/AddPromotionCode.tsx +85 -0
- package/src/components/checkout/promotionCode/AddPromotionCodeButton.tsx +39 -0
- package/src/components/checkout/promotionCode/AppliedPromotionCode.tsx +37 -0
- package/src/components/checkout/promotionCode/PromotionCodeSection.tsx +27 -0
- package/src/components/checkout/promotionCode/index.ts +1 -0
- package/src/components/checkout/steps/addons/CheckoutAddonsStep.style.tsx +24 -0
- package/src/components/checkout/steps/addons/CheckoutAddonsStep.tsx +125 -0
- package/src/components/checkout/steps/addons/addon.utils.ts +68 -0
- package/src/components/checkout/steps/addons/index.ts +1 -0
- package/src/components/checkout/steps/payment/PaymentMethods.style.ts +26 -0
- package/src/components/checkout/steps/payment/PaymentMethods.tsx +86 -0
- package/src/components/checkout/steps/payment/PaymentStep.tsx +50 -0
- package/src/components/checkout/steps/payment/index.ts +1 -0
- package/src/components/checkout/steps/payment/stripe/StripePaymentForm.tsx +45 -0
- package/src/components/checkout/steps/payment/stripe/index.ts +3 -0
- package/src/components/checkout/steps/payment/stripe/stripe.utils.ts +109 -0
- package/src/components/checkout/steps/payment/stripe/useStripeIntegration.ts +27 -0
- package/src/components/checkout/steps/payment/stripe/useSubmit.ts +104 -0
- package/src/components/checkout/steps/plan/BillingPeriodPicker.style.tsx +46 -0
- package/src/components/checkout/steps/plan/BillingPeriodPicker.tsx +63 -0
- package/src/components/checkout/steps/plan/CheckoutChargeList.tsx +138 -0
- package/src/components/checkout/steps/plan/CheckoutPlanStep.style.tsx +6 -0
- package/src/components/checkout/steps/plan/CheckoutPlanStep.tsx +20 -0
- package/src/components/checkout/steps/plan/index.ts +1 -0
- package/src/components/checkout/steps/surprise/SurpriseStep.tsx +27 -0
- package/src/components/checkout/summary/CheckoutSuccess.tsx +32 -0
- package/src/components/checkout/summary/CheckoutSummary.tsx +288 -0
- package/src/components/checkout/summary/CheckoutSummarySkeleton.tsx +40 -0
- package/src/components/checkout/summary/components/CheckoutCaptions.tsx +120 -0
- package/src/components/checkout/summary/components/LineItems.tsx +177 -0
- package/src/components/checkout/summary/components/WithSkeleton.tsx +16 -0
- package/src/components/checkout/summary/index.ts +2 -0
- package/src/components/checkout/textOverrides.ts +62 -0
- package/src/components/checkout/theme.ts +43 -0
- package/src/components/common/Icon.tsx +17 -22
- package/src/components/common/PoweredByStigg.tsx +1 -1
- package/src/components/{paywall/TiersLayout.tsx → common/TiersSelectContainer.tsx} +8 -7
- package/src/components/common/Typography.tsx +11 -1
- package/src/components/common/customIcons.ts +19 -28
- package/src/components/common/mapExternalTheme.ts +29 -9
- package/src/components/customerPortal/subscriptionOverview/tabs/SubscriptionTabs.tsx +6 -12
- package/src/components/hooks/useChargeSort.ts +17 -0
- package/src/components/paywall/Paywall.tsx +1 -1
- package/src/components/paywall/PlanOffering.tsx +1 -1
- package/src/components/paywall/PlanOfferingButton.tsx +1 -1
- package/src/components/paywall/PlanPrice.tsx +5 -13
- package/src/components/paywall/paywallTextOverrides.ts +0 -3
- package/src/components/paywall/utils/calculateUnitQuantityText.ts +9 -4
- package/src/components/utils/calculateDiscountRate.ts +1 -1
- package/src/components/utils/currencyUtils.ts +1 -1
- package/src/components/utils/getPaidPriceText.ts +4 -10
- package/src/components/utils/getPlanPrice.ts +1 -1
- package/src/components/{paywall/planPriceTier.ts → utils/priceTierUtils.ts} +25 -3
- package/src/components/utils/priceUtils.ts +10 -0
- package/src/index.ts +1 -0
- package/src/stories/Checkout.stories.tsx +61 -0
- package/src/stories/CustomerPortal.stories.tsx +1 -1
- package/src/theme/Theme.tsx +6 -6
- package/src/theme/getResolvedTheme.ts +7 -1
- package/src/theme/types.ts +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CheckoutPlanStep';
|
|
@@ -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,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,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
|
|
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
|
|
5
|
-
|
|
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
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
export
|
|
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
|
|
12
|
+
export declare function SubscriptionTabs({ customerPortal, hiddenSections, textOverrides, theme }: SubscriptionTabsProps): JSX.Element | null;
|
|
@@ -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,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?:
|
|
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,
|
|
11
|
+
export declare function getPaidPriceText({ planPrices, paywallCalculatedPrice, selectedBillingPeriod, locale, shouldShowMonthlyPriceAmount, selectedTierByFeature, }: GetPaidPriceTextParams): PlanPriceText;
|
|
14
12
|
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { PaywallPlan } from '
|
|
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 {
|
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';
|