@payabli/components-react 0.3.0 → 0.4.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.
@@ -0,0 +1,14 @@
1
+ import { type ComponentProps, type ComponentRef } from './createComponent.js';
2
+ export type OnboardingProps = ComponentProps<'onboarding'>;
3
+ export type OnboardingRef = ComponentRef;
4
+ export declare const Onboarding: import("react").ForwardRefExoticComponent<import("./createComponent.js").ComponentEventProps<"onboarding"> & {
5
+ componentKey?: string;
6
+ appearance?: import("@payabli/component-contracts").AppearanceOptions;
7
+ options?: Record<string, never> | undefined;
8
+ prefill?: undefined;
9
+ locale?: string;
10
+ timeout?: number;
11
+ className?: string;
12
+ style?: import("react").CSSProperties;
13
+ id?: string;
14
+ } & import("react").RefAttributes<ComponentRef>>;
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ import { createComponent, } from './createComponent.js';
3
+ export const Onboarding = createComponent('onboarding');
package/dist/index.d.ts CHANGED
@@ -2,9 +2,11 @@ export { createComponent } from './createComponent.js';
2
2
  export type { ComponentEventProps, ComponentProps, ComponentRef, } from './createComponent.js';
3
3
  export { PayabliProvider } from './PayabliProvider.js';
4
4
  export type { PayabliProviderProps } from './PayabliProvider.js';
5
+ export { Onboarding } from './Onboarding.js';
6
+ export type { OnboardingProps, OnboardingRef } from './Onboarding.js';
5
7
  export { PayIn } from './PayIn.js';
6
8
  export type { PayInProps, PayInRef } from './PayIn.js';
7
9
  export { usePayabli } from './context.js';
8
10
  export type { PayabliContextValue } from './context.js';
9
11
  export { ErrorCodes, loadPayabli } from '@payabli/components-web';
10
- export type { AppearanceOptions, CardBrand, PayInEvents, ComponentEventKey, ComponentEventMap, ComponentHandle, ComponentOptions, ComponentType, CreateOptions, LoadOptions, PayInOptions, PayabliConfig, PaymentMethodName, PayabliInstance, Session, SessionEventKey, SessionEventMap, SessionEventPayload, } from '@payabli/components-web';
12
+ export type { AppearanceOptions, CardBrand, PayInEvents, ComponentEventKey, ComponentEventMap, ComponentHandle, ComponentOptions, ComponentType, CreateOptions, LoadOptions, OnboardingEvents, OnboardingOptions, PayInOptions, PayabliConfig, PaymentMethodName, PayabliInstance, Session, SessionEventKey, SessionEventMap, SessionEventPayload, } from '@payabli/components-web';
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export { createComponent } from './createComponent.js';
2
2
  export { PayabliProvider } from './PayabliProvider.js';
3
+ export { Onboarding } from './Onboarding.js';
3
4
  export { PayIn } from './PayIn.js';
4
5
  export { usePayabli } from './context.js';
5
6
  export { ErrorCodes, loadPayabli } from '@payabli/components-web';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payabli/components-react",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "React bindings for the Payabli embedded components SDK.",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -25,8 +25,8 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@payabli/component-contracts": "0.4.0",
29
- "@payabli/components-web": "0.3.0"
28
+ "@payabli/component-contracts": "0.5.0",
29
+ "@payabli/components-web": "0.4.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^18.0.0 || ^19.0.0"