@bigbinary/neeto-integrations-frontend 1.0.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 ADDED
@@ -0,0 +1,144 @@
1
+ {
2
+ "name": "@bigbinary/neeto-integrations-frontend",
3
+ "version": "1.0.0",
4
+ "description": "UI for integrations in neeto products",
5
+ "author": "Abhijith Sheheer",
6
+ "license": "UNLICENSED",
7
+ "repository": "",
8
+ "main": "dist/index.cjs.js",
9
+ "module": "dist/index.js",
10
+ "typings": "types.d.ts",
11
+ "engines": {
12
+ "node": ">=18.12"
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "types.d.ts"
17
+ ],
18
+ "scripts": {
19
+ "prepare": "husky install",
20
+ "start": "NODE_ENV=development rm -rf dist && webpack-dev-server --mode development",
21
+ "build": "NODE_ENV=production rollup -c rollup.config.js",
22
+ "build-preview": "NODE_ENV=production webpack"
23
+ },
24
+ "lint-staged": {
25
+ "{src,example}/**/*.{js,jsx,json}": [
26
+ "prettier --write",
27
+ "eslint --fix"
28
+ ],
29
+ "{package.json,.eslintrc.js,.prettierrc.js}": [
30
+ "prettier --write",
31
+ "eslint --fix"
32
+ ],
33
+ ".eslint-rules/**/*": [
34
+ "prettier --write",
35
+ "eslint --fix"
36
+ ]
37
+ },
38
+ "devDependencies": {
39
+ "@babel/core": "^7.19.1",
40
+ "@babel/eslint-parser": "7.17.0",
41
+ "@babel/plugin-transform-runtime": "^7.19.1",
42
+ "@babel/preset-env": "7.17.10",
43
+ "@babel/preset-react": "7.16.7",
44
+ "@babel/preset-typescript": "^7.18.6",
45
+ "@babel/runtime": "^7.19.0",
46
+ "@bigbinary/babel-preset-neeto": "^1.0.3",
47
+ "@bigbinary/eslint-plugin-neeto": "^1.0.54",
48
+ "@bigbinary/neeto-commons-frontend": "^2.0.74",
49
+ "@bigbinary/neeto-icons": "1.9.12",
50
+ "@bigbinary/neeto-molecules": "^1.0.19",
51
+ "@bigbinary/neetoui": "4.4.0",
52
+ "@emotion/is-prop-valid": "1.2.0",
53
+ "@honeybadger-io/js": "^5.1.5-alpha-3",
54
+ "@honeybadger-io/react": "^5.1.3",
55
+ "@rollup/plugin-alias": "3.1.9",
56
+ "@rollup/plugin-babel": "5.3.1",
57
+ "@rollup/plugin-commonjs": "22.0.2",
58
+ "@rollup/plugin-html": "0.2.4",
59
+ "@rollup/plugin-json": "4.1.0",
60
+ "@rollup/plugin-node-resolve": "14.1.0",
61
+ "@rollup/plugin-replace": "4.0.0",
62
+ "@svgr/rollup": "^6.5.1",
63
+ "@svgr/webpack": "^6.5.1",
64
+ "antd": "4.24.3",
65
+ "autoprefixer": "^10.4.5",
66
+ "axios": "0.27.2",
67
+ "babel-loader": "^8.2.5",
68
+ "babel-plugin-istanbul": "^6.1.1",
69
+ "babel-plugin-js-logger": "1.0.17",
70
+ "babel-plugin-macros": "3.1.0",
71
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
72
+ "babel-preset-react": "6.24.1",
73
+ "babel-preset-typescript": "^7.0.0-alpha.19",
74
+ "classnames": "^2.3.2",
75
+ "css-loader": "6.7.1",
76
+ "eslint": "8.14.0",
77
+ "eslint-config-prettier": "8.5.0",
78
+ "eslint-plugin-cypress": "2.12.1",
79
+ "eslint-plugin-import": "2.26.0",
80
+ "eslint-plugin-jam3": "0.2.3",
81
+ "eslint-plugin-json": "3.1.0",
82
+ "eslint-plugin-prettier": "4.0.0",
83
+ "eslint-plugin-promise": "6.0.0",
84
+ "eslint-plugin-react": "7.29.4",
85
+ "eslint-plugin-react-hooks": "4.5.0",
86
+ "eslint-plugin-unused-imports": "2.0.0",
87
+ "file-loader": "^6.2.0",
88
+ "formik": "^2.4.2",
89
+ "html-loader": "4.2.0",
90
+ "html-webpack-plugin": "5.5.0",
91
+ "husky": "7.0.4",
92
+ "i18next": "21.7.0",
93
+ "lint-staged": "12.4.1",
94
+ "postcss": "^8.4.17",
95
+ "postcss-import": "^15.0.0",
96
+ "postcss-loader": "^7.0.1",
97
+ "postcss-preset-env": "7.8.2",
98
+ "prettier": "2.6.2",
99
+ "prettier-plugin-tailwindcss": "0.1.10",
100
+ "ramda": "0.29.0",
101
+ "react": "17.0.2",
102
+ "react-dom": "17.0.2",
103
+ "react-helmet": "^6.1.0",
104
+ "react-i18next": "11.16.8",
105
+ "react-query": "3.39.2",
106
+ "react-router-dom": "5.3.1",
107
+ "react-toastify": "8.0.2",
108
+ "react-transition-group": "4.4.5",
109
+ "rollup": "2.79.1",
110
+ "rollup-plugin-analyzer": "4.0.0",
111
+ "rollup-plugin-bundle-html": "0.2.2",
112
+ "rollup-plugin-cleaner": "1.0.0",
113
+ "rollup-plugin-generate-html-template": "1.7.0",
114
+ "rollup-plugin-livereload": "2.0.5",
115
+ "rollup-plugin-peer-deps-external": "2.2.4",
116
+ "rollup-plugin-polyfill-node": "0.10.2",
117
+ "rollup-plugin-serve": "2.0.1",
118
+ "rollup-plugin-styles": "4.0.0",
119
+ "sass": "1.55.0",
120
+ "sass-loader": "13.0.2",
121
+ "style-loader": "3.3.1",
122
+ "tailwindcss": "npm:@tailwindcss/postcss7-compat",
123
+ "webpack": "5.76.0",
124
+ "webpack-cli": "4.10.0",
125
+ "webpack-dev-server": "4.11.1",
126
+ "yup": "0.32.11",
127
+ "zustand": "^4.3.6"
128
+ },
129
+ "peerDependencies": {
130
+ "@bigbinary/neeto-commons-frontend": "latest",
131
+ "@bigbinary/neeto-icons": "latest",
132
+ "@bigbinary/neetoui": "latest",
133
+ "antd": "4.24.3",
134
+ "axios": "0.27.2",
135
+ "classnames": "2.3.1",
136
+ "ramda": "0.29.0",
137
+ "react": "17.0.2",
138
+ "react-dom": "17.0.2",
139
+ "react-query": "3.39.2",
140
+ "react-router-dom": "5.3.1",
141
+ "react-toastify": "8.0.2",
142
+ "yup": "0.32.11"
143
+ }
144
+ }
package/types.d.ts ADDED
@@ -0,0 +1,54 @@
1
+ import { IconProps } from "neetoicons";
2
+ import { ButtonProps } from "neetoui";
3
+ import React from "react";
4
+
5
+ declare global {
6
+ declare module "assets/*"
7
+ }
8
+
9
+ export function Card(props: {
10
+ label: string;
11
+ description: string;
12
+ Icon: React.FC<IconProps>;
13
+ className?: string;
14
+ isConnected: boolean;
15
+ isStatusLoading?: boolean;
16
+ customDropdown?: React.ReactNode;
17
+ onDisconnect?: (...args: any[]) => any;
18
+ onConnect: (...args: any[]) => any;
19
+ onManage?: (...args: any[]) => any;
20
+ }) : JSX.Element;
21
+
22
+ export function Modal(props: {
23
+ isOpen: (...args: any[]) => any;
24
+ onClose: (...args: any[]) => any;
25
+ steps?: {
26
+ step: string;
27
+ label: string;
28
+ isActive: boolean;
29
+ isCompleted: boolean;
30
+ };
31
+ children?: React.ReactNode;
32
+ }) : JSX.Element;
33
+
34
+ export function Connect(props:{
35
+ Icon: React.ReactNode;
36
+ title: string;
37
+ description: string;
38
+ onConnect: () => void;
39
+ buttonProps?: Partial<ButtonProps>;
40
+ children?: React.ReactNode;
41
+ }): JSX.Element;
42
+
43
+ export function Finish(props: {
44
+ onClick: () => void;
45
+ title: string;
46
+ secondaryButtonProps?: Partial<ButtonProps>;
47
+ children?: React.ReactNode;
48
+ }) : JSX.Element;
49
+
50
+ export function Demo(props: {
51
+ onClose: () => void;
52
+ videoUrl: string;
53
+ children?: React.ReactNode;
54
+ }) : JSX.Element