@bigbinary/neeto-integrations-frontend 4.0.4 → 4.0.5
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 +19 -17
- package/types.d.ts +50 -15
- package/types/ZapierForm.d.ts +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-integrations-frontend",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "UI for integrations in neeto products",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-integrations-nano",
|
|
@@ -12,19 +12,21 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"dist",
|
|
14
14
|
"types.d.ts",
|
|
15
|
-
"types",
|
|
16
15
|
"app/javascript/src/translations"
|
|
17
16
|
],
|
|
17
|
+
"module": "./dist/index.js",
|
|
18
|
+
"main": "./dist/cjs/index.cjs.js",
|
|
19
|
+
"types": "types.d.ts",
|
|
18
20
|
"exports": {
|
|
19
21
|
".": {
|
|
20
22
|
"import": "./dist/index.js",
|
|
21
|
-
"
|
|
23
|
+
"require": "./dist/cjs/index.js",
|
|
22
24
|
"types": "./types.d.ts"
|
|
23
25
|
},
|
|
24
26
|
"./*": {
|
|
25
27
|
"import": "./dist/*.js",
|
|
26
|
-
"require": "./dist/*.
|
|
27
|
-
"types": "./types
|
|
28
|
+
"require": "./dist/cjs/*.js",
|
|
29
|
+
"types": "./types.d.ts"
|
|
28
30
|
}
|
|
29
31
|
},
|
|
30
32
|
"scripts": {
|
|
@@ -60,12 +62,12 @@
|
|
|
60
62
|
"@babel/runtime": "7.26.10",
|
|
61
63
|
"@bigbinary/babel-preset-neeto": "^1.0.3",
|
|
62
64
|
"@bigbinary/eslint-plugin-neeto": "1.5.8",
|
|
63
|
-
"@bigbinary/neeto-cist": "1.0.
|
|
65
|
+
"@bigbinary/neeto-cist": "1.0.17",
|
|
64
66
|
"@bigbinary/neeto-commons-frontend": "4.13.30",
|
|
65
|
-
"@bigbinary/neeto-filters-frontend": "4.3.
|
|
66
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
67
|
-
"@bigbinary/neeto-molecules": "3.16.
|
|
68
|
-
"@bigbinary/neetoui": "8.
|
|
67
|
+
"@bigbinary/neeto-filters-frontend": "4.3.19",
|
|
68
|
+
"@bigbinary/neeto-icons": "1.20.44",
|
|
69
|
+
"@bigbinary/neeto-molecules": "3.16.35",
|
|
70
|
+
"@bigbinary/neetoui": "8.3.0",
|
|
69
71
|
"@emotion/is-prop-valid": "1.2.0",
|
|
70
72
|
"@faker-js/faker": "8.2.0",
|
|
71
73
|
"@honeybadger-io/js": "6.10.1",
|
|
@@ -166,16 +168,16 @@
|
|
|
166
168
|
"webpack-cli": "5.1.4",
|
|
167
169
|
"webpack-dev-server": "4.15.1",
|
|
168
170
|
"yup": "0.32.11",
|
|
169
|
-
"zustand": "4.
|
|
171
|
+
"zustand": "4.4.2"
|
|
170
172
|
},
|
|
171
173
|
"peerDependencies": {
|
|
172
174
|
"@babel/runtime": "7.26.10",
|
|
173
|
-
"@bigbinary/neeto-cist": "1.0.
|
|
175
|
+
"@bigbinary/neeto-cist": "1.0.17",
|
|
174
176
|
"@bigbinary/neeto-commons-frontend": "4.13.30",
|
|
175
|
-
"@bigbinary/neeto-filters-frontend": "4.3.
|
|
176
|
-
"@bigbinary/neeto-icons": "1.20.
|
|
177
|
-
"@bigbinary/neeto-molecules": "3.16.
|
|
178
|
-
"@bigbinary/neetoui": "8.
|
|
177
|
+
"@bigbinary/neeto-filters-frontend": "4.3.19",
|
|
178
|
+
"@bigbinary/neeto-icons": "1.20.44",
|
|
179
|
+
"@bigbinary/neeto-molecules": "3.16.35",
|
|
180
|
+
"@bigbinary/neetoui": "8.3.0",
|
|
179
181
|
"@honeybadger-io/js": "6.10.1",
|
|
180
182
|
"@honeybadger-io/react": "6.1.25",
|
|
181
183
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
@@ -212,7 +214,7 @@
|
|
|
212
214
|
"util": "^0.12.5",
|
|
213
215
|
"vm-browserify": "1.1.2",
|
|
214
216
|
"yup": "0.32.11",
|
|
215
|
-
"zustand": "4.
|
|
217
|
+
"zustand": "4.4.2"
|
|
216
218
|
},
|
|
217
219
|
"resolutions": {
|
|
218
220
|
"postcss": "^8",
|
package/types.d.ts
CHANGED
|
@@ -6,6 +6,31 @@ declare global {
|
|
|
6
6
|
declare module "assets/*";
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
interface ManageProps {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
integration: string;
|
|
13
|
+
isDisconnectAlertOpen: boolean;
|
|
14
|
+
setIsDisconnectAlertOpen: (...args: any[]) => any;
|
|
15
|
+
isDisconnecting: boolean;
|
|
16
|
+
onConnect: (...args: any[]) => any;
|
|
17
|
+
onDisconnect?: (...args: any[]) => any;
|
|
18
|
+
onClose: (...args: any[]) => any;
|
|
19
|
+
Icon: React.FC<IconProps>;
|
|
20
|
+
isConnected: boolean;
|
|
21
|
+
connectPath?: string;
|
|
22
|
+
connectUrl?: string;
|
|
23
|
+
helpDocUrl?: string;
|
|
24
|
+
managePath?: string;
|
|
25
|
+
manageUrl?: string;
|
|
26
|
+
integrationName: string;
|
|
27
|
+
disconnectMessage: string;
|
|
28
|
+
disconnectTitle: string;
|
|
29
|
+
isConnectDisabled?: boolean;
|
|
30
|
+
connectTooltipProps?: Partial<TooltipProps>;
|
|
31
|
+
buttonProps?: Partial<ButtonProps>;
|
|
32
|
+
secondaryButtonProps?: Partial<ButtonProps>;
|
|
33
|
+
}
|
|
9
34
|
interface CardProps {
|
|
10
35
|
icon: React.FC<IconProps>;
|
|
11
36
|
subIcons?: React.FC<IconProps>[];
|
|
@@ -27,7 +52,6 @@ interface CardProps {
|
|
|
27
52
|
customDropDown?: React.ReactNode;
|
|
28
53
|
children?: React.ReactNode;
|
|
29
54
|
}
|
|
30
|
-
|
|
31
55
|
interface ModalProps {
|
|
32
56
|
isOpen: (...args: any[]) => any;
|
|
33
57
|
onClose: (...args: any[]) => any;
|
|
@@ -103,36 +127,47 @@ interface DailyProps {
|
|
|
103
127
|
onDisconnect: (...args: any[]) => any;
|
|
104
128
|
}
|
|
105
129
|
|
|
130
|
+
interface DailyFormProps {
|
|
131
|
+
onSubmit: (...args: any[]) => any;
|
|
132
|
+
onBack?: (...args: any[]) => any;
|
|
133
|
+
isLoading?: boolean;
|
|
134
|
+
initialValues?: any;
|
|
135
|
+
}
|
|
136
|
+
|
|
106
137
|
interface ZoomProps {
|
|
107
138
|
connectUrl?: string;
|
|
108
139
|
description?: string;
|
|
109
140
|
onDisconnect: (...args: any[]) => any;
|
|
110
141
|
}
|
|
111
142
|
|
|
112
|
-
interface
|
|
143
|
+
interface GoogleCalendarProps {
|
|
113
144
|
permissionImage?: any;
|
|
114
145
|
fetchAuthorizationUrl: (...args: any[]) => any;
|
|
115
146
|
handleClose: (...args: any[]) => any;
|
|
116
147
|
handleRedirect: (...args: any[]) => any;
|
|
117
148
|
}
|
|
118
149
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
isDisconnecting: boolean;
|
|
122
|
-
title: string;
|
|
123
|
-
message?: string;
|
|
124
|
-
onClose: (...args: any[]) => any;
|
|
125
|
-
onDisconnect: (...args: any[]) => any;
|
|
150
|
+
type ZapierFormApiKey = {
|
|
151
|
+
[key: string]: string;
|
|
126
152
|
};
|
|
127
153
|
|
|
128
|
-
interface
|
|
154
|
+
interface ZapierFormProps {
|
|
155
|
+
newlyCreatedApiKey: string;
|
|
129
156
|
videoUrl: string;
|
|
130
|
-
|
|
131
|
-
|
|
157
|
+
helpDocUrl: string;
|
|
158
|
+
apiKeys: ZapierFormApiKey[];
|
|
159
|
+
isGenerating: boolean;
|
|
160
|
+
isLoading: boolean;
|
|
161
|
+
isDeleting: boolean;
|
|
162
|
+
deleteApiKey: (...args: any[]) => any;
|
|
163
|
+
handleGenerateApiKey: (...args: any[]) => any;
|
|
164
|
+
setNewlyCreatedApiKey: (...args: any[]) => any;
|
|
165
|
+
setIsDemoModalOpen: (...args: any[]) => any;
|
|
132
166
|
}
|
|
133
167
|
|
|
134
168
|
export const Card: React.FC<CardProps>;
|
|
135
169
|
export const Modal: React.FC<ModalProps>;
|
|
170
|
+
export const Manage: React.FC<ManageProps>;
|
|
136
171
|
export const Connect: React.FC<ConnectProps>;
|
|
137
172
|
export const Finish: React.FC<FinishProps>;
|
|
138
173
|
export const Demo: React.FC<DemoProps>;
|
|
@@ -140,7 +175,7 @@ export const WalkthroughModal: React.FC<WalkthroughModalProps>;
|
|
|
140
175
|
export const DisconnectAlert: React.FC<DisconnectAlertProps>;
|
|
141
176
|
export const Twilio: React.FC<TwilioProps>;
|
|
142
177
|
export const Daily: React.FC<DailyProps>;
|
|
178
|
+
export const DailyForm: React.FC<DailyFormProps>;
|
|
143
179
|
export const Zoom: React.FC<ZoomProps>;
|
|
144
|
-
export const
|
|
145
|
-
export const
|
|
146
|
-
export const WalkthroughModal: React.FC<WalkthroughModalProps>;
|
|
180
|
+
export const GoogleCalendar: React.FC<GoogleCalendarProps>;
|
|
181
|
+
export const ZapierForm: React.FC<ZapierFormProps>;
|
package/types/ZapierForm.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
type ZapierFormApiKey = {
|
|
4
|
-
[key: string]: string,
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface ZapierFormProps {
|
|
8
|
-
newlyCreatedApiKey: string;
|
|
9
|
-
videoUrl: string;
|
|
10
|
-
helpDocUrl: string;
|
|
11
|
-
apiKeys: ZapierFormApiKey[];
|
|
12
|
-
isGenerating: boolean;
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
isDeleting: boolean;
|
|
15
|
-
deleteApiKey: (...args: any[]) => any;
|
|
16
|
-
handleGenerateApiKey: (...args: any[]) => any;
|
|
17
|
-
setNewlyCreatedApiKey: (...args: any[]) => any;
|
|
18
|
-
setIsDemoModalOpen: (...args: any[]) => any;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const ZapierForm: React.FC<ZapierFormProps>;
|
|
22
|
-
|
|
23
|
-
export default ZapierForm;
|