@bigbinary/neeto-integrations-frontend 1.2.1 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-integrations-frontend",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "UI for integrations in neeto products",
5
5
  "author": "Abhijith Sheheer",
6
6
  "license": "UNLICENSED",
@@ -130,6 +130,7 @@
130
130
  "peerDependencies": {
131
131
  "@bigbinary/neeto-commons-frontend": "latest",
132
132
  "@bigbinary/neeto-icons": "latest",
133
+ "@bigbinary/neeto-molecules": "latest",
133
134
  "@bigbinary/neetoui": "latest",
134
135
  "antd": "4.24.3",
135
136
  "axios": "0.27.2",
package/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { IconProps } from "neetoicons";
2
- import { ButtonProps } from "neetoui";
2
+ import { ButtonProps, TooltipProps } from "neetoui";
3
3
  import React from "react";
4
4
 
5
5
  declare global {
@@ -7,16 +7,25 @@ declare global {
7
7
  }
8
8
 
9
9
  export function Card(props: {
10
+ icon: React.FC<IconProps>;
11
+ subIcons?: React.FC<IconProps>[];
10
12
  label: string;
11
13
  description: string;
12
- Icon: React.FC<IconProps>;
13
14
  className?: string;
14
- isConnected: boolean;
15
- isStatusLoading?: boolean;
16
- customDropdown?: React.ReactNode;
17
- onDisconnect?: (...args: any[]) => any;
18
15
  onConnect: (...args: any[]) => any;
16
+ onDisconnect?: (...args: any[]) => any;
19
17
  onManage?: (...args: any[]) => any;
18
+ onClick?: (...args: any[]) => any;
19
+ isLoading?: boolean;
20
+ isConnected?: boolean;
21
+ isFailed?: boolean;
22
+ isExpired?: boolean;
23
+ disabled?: boolean;
24
+ hidden?: boolean;
25
+ hideDisconnect?: boolean;
26
+ tooltipProps?: Partial<TooltipProps>;
27
+ customDropDown?: React.ReactNode;
28
+ children?: ReactNode;
20
29
  }) : JSX.Element;
21
30
 
22
31
  export function Modal(props: {