@bigbinary/neeto-integrations-frontend 2.1.0 → 2.1.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +20 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-integrations-frontend",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "UI for integrations in neeto products",
5
5
  "author": "Abhijith Sheheer",
6
6
  "license": "UNLICENSED",
package/types.d.ts CHANGED
@@ -28,9 +28,7 @@ interface CardProps {
28
28
  children?: React.ReactNode;
29
29
  };
30
30
 
31
- export const Card: React.FC<CardProps>;
32
-
33
- export function IntegrationModal(props: {
31
+ interface ModalProps {
34
32
  isOpen: (...args: any[]) => any;
35
33
  onClose: (...args: any[]) => any;
36
34
  steps?: {
@@ -40,43 +38,51 @@ export function IntegrationModal(props: {
40
38
  isCompleted: boolean;
41
39
  };
42
40
  children?: React.ReactNode;
43
- }): JSX.Element;
41
+ }
44
42
 
45
- export function Connect(props: {
43
+ interface ConnectProps {
46
44
  Icon: React.ReactNode;
47
45
  title: string;
48
46
  description: string;
49
47
  onConnect: () => void;
50
48
  buttonProps?: Partial<ButtonProps>;
51
49
  children?: React.ReactNode;
52
- }): JSX.Element;
50
+ }
53
51
 
54
- export function Finish(props: {
52
+ interface FinishProps {
55
53
  onClick: () => void;
56
54
  title: string;
57
55
  buttonProps?: Partial<ButtonProps>;
58
56
  secondaryButtonProps?: Partial<ButtonProps>;
59
57
  children?: React.ReactNode;
60
- }): JSX.Element;
58
+ }
61
59
 
62
- export function Demo(props: {
60
+ interface DemoProps {
63
61
  onClose: () => void;
64
62
  videoUrl: string;
65
63
  children?: React.ReactNode;
66
- }): JSX.Element;
64
+ }
67
65
 
68
- export function WalkthroughModal(props: {
66
+ interface WalkthroughModalProps {
69
67
  videoUrl: string;
70
68
  isOpen: boolean;
71
69
  onClose: () => void;
72
70
  children?: React.ReactNode;
73
- }): JSX.Element;
71
+ }
74
72
 
75
- export const DisconnectAlert: React.FC<{
73
+ interface DisconnectAlertProps {
76
74
  isOpen: boolean;
77
75
  isDisconnecting?: boolean;
78
76
  title: string;
79
77
  message?: string;
80
78
  onClose: (...args: any[]) => any;
81
79
  onDisconnect: (...args: any[]) => any;
82
- }>;
80
+ }
81
+
82
+ export const Card: React.FC<CardProps>;
83
+ export const Modal: React.FC<ModalProps>;
84
+ export const Connect: React.FC<ConnectProps>;
85
+ export const Finish: React.FC<FinishProps>;
86
+ export const Demo: React.FC<DemoProps>;
87
+ export const WalkthroughModal: React.FC<WalkthroughModalProps>;
88
+ export const DisconnectAlert: React.FC<DisconnectAlertProps>;