gotrip-fx-transaction-form 1.0.196-dev → 1.0.198-dev

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.196-dev",
3
+ "version": "1.0.198-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -6,5 +6,6 @@ export type EmbededIndividualAppProps = {
6
6
  defaultBank?: string;
7
7
  displayDefaultBankLogo?: boolean;
8
8
  type?: ESdkFormType;
9
+ scrollable?: boolean;
9
10
  };
10
- export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, displayDefaultBankLogo, type, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const EmbededIndividualApp: ({ apiKey, externalCssUrl, hide, defaultBank, displayDefaultBankLogo, type, scrollable, }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,8 @@
1
1
  export interface CreateInsuranceTransactionFormProps {
2
2
  storageKey: string;
3
3
  title?: string;
4
- backButtonText?: string;
5
4
  onBack?: () => void;
6
5
  onSuccess?: (transactionData: any) => void;
7
- containerMaxWidth?: string;
8
- showBackButton?: boolean;
6
+ scrollable?: boolean;
9
7
  }
10
- export declare const CreateInsuranceTransactionForm: ({ storageKey, title, backButtonText, onBack, onSuccess, containerMaxWidth, showBackButton, }: CreateInsuranceTransactionFormProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const CreateInsuranceTransactionForm: ({ storageKey, title, onBack, onSuccess, scrollable, }: CreateInsuranceTransactionFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -5,6 +5,7 @@ interface StepTwoPlansProps {
5
5
  onPlanSelect: (plan: CoveragePlanPremium) => void;
6
6
  insuranceType?: 'travel' | 'car' | 'motorcycle' | string;
7
7
  travelPlan?: TravelPlanFormValues | null;
8
+ allowDiscount?: boolean;
8
9
  }
9
- export declare const StepTwoPlans: ({ requestPayload, selectedPlanId, onPlanSelect, insuranceType, travelPlan, }: StepTwoPlansProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const StepTwoPlans: ({ requestPayload, selectedPlanId, onPlanSelect, insuranceType, travelPlan, allowDiscount, }: StepTwoPlansProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -5,6 +5,7 @@ type Step = {
5
5
  interface StepIndicatorHorizontalProps {
6
6
  currentStep: number;
7
7
  steps: Step[];
8
+ onStepClick?: (stepNumber: number) => void;
8
9
  }
9
- export declare const StepIndicatorHorizontal: ({ currentStep, steps }: StepIndicatorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const StepIndicatorHorizontal: ({ currentStep, steps, onStepClick, }: StepIndicatorHorizontalProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -4,6 +4,7 @@ type InitProps = {
4
4
  container?: HTMLElement;
5
5
  apiKey: string;
6
6
  type?: ESdkFormType;
7
+ scrollable?: boolean;
7
8
  };
8
9
  interface GoTripSDKProps {
9
10
  init: (props: InitProps) => void;
@@ -1 +1,5 @@
1
- export declare const CreateGuestInsuranceTransactionPage: () => import("react/jsx-runtime").JSX.Element;
1
+ interface CreateGuestInsuranceTransactionPageProps {
2
+ scrollable?: boolean;
3
+ }
4
+ export declare const CreateGuestInsuranceTransactionPage: ({ scrollable, }: CreateGuestInsuranceTransactionPageProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};