@schematichq/schematic-react 0.2.0-rc.3 → 0.2.0-rc.4

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.
@@ -450,6 +450,12 @@ declare interface ChangeSubscriptionRequestBody {
450
450
  * @memberof ChangeSubscriptionRequestBody
451
451
  */
452
452
  newPriceId: string;
453
+ /**
454
+ *
455
+ * @type {string}
456
+ * @memberof ChangeSubscriptionRequestBody
457
+ */
458
+ paymentMethodId?: string | null;
453
459
  }
454
460
 
455
461
  /**
@@ -2103,18 +2109,20 @@ export declare const OverlayHeader: ({ children, onClose, }: {
2103
2109
  onClose?: () => void;
2104
2110
  }) => JSX_2.Element;
2105
2111
 
2106
- export declare const OverlaySideBar: ({ pricePeriod, setPricePeriod, checkoutStage, setCheckoutStage, currentPlan, selectedPlan, }: {
2112
+ export declare const OverlaySideBar: ({ pricePeriod, setPricePeriod, checkoutStage, setCheckoutStage, currentPlan, selectedPlan, paymentMethodId, }: {
2107
2113
  pricePeriod: "month" | "year";
2108
2114
  setPricePeriod: Dispatch<SetStateAction<"month" | "year">>;
2109
2115
  checkoutStage: "plan" | "checkout";
2110
2116
  setCheckoutStage: Dispatch<SetStateAction<"plan" | "checkout">>;
2111
2117
  currentPlan?: BillingPlan;
2112
2118
  selectedPlan?: CompanyPlanDetailResponseData;
2119
+ paymentMethodId?: string;
2113
2120
  }) => JSX_2.Element;
2114
2121
 
2115
- export declare const OverlayWrapper: ({ children, size, }: {
2122
+ export declare const OverlayWrapper: ({ children, size, onClose, }: {
2116
2123
  children: ReactNode;
2117
2124
  size?: "md" | "lg";
2125
+ onClose?: () => void;
2118
2126
  }) => JSX_2.Element;
2119
2127
 
2120
2128
  export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
@@ -2907,6 +2915,12 @@ declare interface StripeEmbedInfo {
2907
2915
  * @memberof StripeEmbedInfo
2908
2916
  */
2909
2917
  publishableKey: string;
2918
+ /**
2919
+ *
2920
+ * @type {string}
2921
+ * @memberof StripeEmbedInfo
2922
+ */
2923
+ setupIntentClientSecret?: string | null;
2910
2924
  }
2911
2925
 
2912
2926
  declare const Text_2: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TextProps>> & string;