@bigbinary/neeto-integrations-frontend 2.8.0 → 2.10.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.
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-integrations-frontend",
3
- "version": "2.8.0",
3
+ "version": "2.10.1",
4
4
  "description": "UI for integrations in neeto products",
5
- "author": "Abhijith Sheheer",
6
5
  "license": "UNLICENSED",
7
- "repository": "",
8
- "types": "types.d.ts",
9
- "engines": {
10
- "node": ">=18.12"
6
+ "homepage": "https://github.com/bigbinary/neeto-integrations-nano",
7
+ "bugs": {
8
+ "url": "https://github.com/bigbinary/neeto-integrations-nano/issues"
11
9
  },
10
+ "repository": "neeto-integrations-nano",
11
+ "author": "BigBinary",
12
12
  "files": [
13
13
  "dist",
14
14
  "types.d.ts",
15
15
  "types",
16
- "src/translations"
16
+ "app/javascript/src/translations"
17
17
  ],
18
18
  "exports": {
19
19
  ".": {
@@ -28,121 +28,135 @@
28
28
  }
29
29
  },
30
30
  "scripts": {
31
+ "build": "NODE_ENV=production rollup -c --environment production",
31
32
  "prepare": "husky install",
32
- "start": "NODE_ENV=development rm -rf dist && webpack-dev-server --mode development",
33
- "build": "NODE_ENV=production rollup -c rollup.config.js",
34
- "build-preview": "NODE_ENV=production webpack",
35
- "release": "yarn build && yalc push --sig"
33
+ "release": "yarn build && yalc push --sig",
34
+ "build-preview": "NODE_ENV=production webpack"
36
35
  },
37
36
  "lint-staged": {
38
- "{src,example}/**/*.{js,jsx,json}": [
37
+ "./**/app/javascript/**/*.{js,jsx,json}": [
39
38
  "prettier --write",
40
39
  "eslint --fix"
41
40
  ],
42
- "{package.json,.eslintrc.js,.prettierrc.js}": [
41
+ "./test/dummy/**/app/javascript/**/*.{js,jsx,json}": [
43
42
  "prettier --write",
44
43
  "eslint --fix"
45
44
  ],
46
- ".eslint-rules/**/*": [
47
- "prettier --write",
48
- "eslint --fix"
45
+ "./**/*.rb": [
46
+ "bundle exec rubocop -a --force-exclusion"
47
+ ],
48
+ "{Gemfile,Rakefile,config.ru}": [
49
+ "bundle exec rubocop -a --force-exclusion"
49
50
  ]
50
51
  },
51
52
  "devDependencies": {
52
- "@babel/core": "^7.19.1",
53
- "@babel/eslint-parser": "7.17.0",
54
- "@babel/plugin-transform-runtime": "^7.19.1",
55
- "@babel/preset-env": "7.17.10",
56
- "@babel/preset-react": "7.16.7",
57
- "@babel/preset-typescript": "^7.18.6",
58
- "@babel/runtime": "^7.19.0",
53
+ "@babel/core": "7.22.6",
54
+ "@babel/eslint-parser": "7.22.6",
55
+ "@babel/plugin-transform-runtime": "7.22.6",
56
+ "@babel/preset-env": "7.22.6",
57
+ "@babel/preset-react": "7.22.5",
58
+ "@babel/preset-typescript": "7.22.5",
59
+ "@babel/runtime": "7.22.6",
59
60
  "@bigbinary/babel-preset-neeto": "^1.0.3",
60
61
  "@bigbinary/eslint-plugin-neeto": "1.1.24",
62
+ "@bigbinary/neeto-audit-frontend": "1.0.8",
61
63
  "@bigbinary/neeto-cist": "^1.0.2",
62
64
  "@bigbinary/neeto-commons-frontend": "^2.1.29",
63
65
  "@bigbinary/neeto-icons": "1.9.12",
64
66
  "@bigbinary/neeto-molecules": "^1.1.6",
65
67
  "@bigbinary/neetoui": "5.0.13",
66
68
  "@emotion/is-prop-valid": "1.2.0",
67
- "@honeybadger-io/js": "^5.1.5-alpha-3",
68
- "@honeybadger-io/react": "^5.1.3",
69
- "@rollup/plugin-alias": "3.1.9",
70
- "@rollup/plugin-babel": "5.3.1",
71
- "@rollup/plugin-commonjs": "22.0.2",
72
- "@rollup/plugin-html": "0.2.4",
73
- "@rollup/plugin-json": "4.1.0",
74
- "@rollup/plugin-node-resolve": "14.1.0",
75
- "@rollup/plugin-replace": "4.0.0",
76
- "@svgr/rollup": "^6.5.1",
77
- "@svgr/webpack": "^6.5.1",
78
- "antd": "4.24.3",
79
- "autoprefixer": "^10.4.5",
80
- "axios": "0.27.2",
81
- "babel-loader": "^8.2.5",
82
- "babel-plugin-istanbul": "^6.1.1",
69
+ "@faker-js/faker": "8.0.2",
70
+ "@honeybadger-io/react": "2.0.1",
71
+ "@rollup/plugin-alias": "5.0.0",
72
+ "@rollup/plugin-babel": "6.0.3",
73
+ "@rollup/plugin-commonjs": "25.0.2",
74
+ "@rollup/plugin-json": "6.0.0",
75
+ "@rollup/plugin-node-resolve": "15.1.0",
76
+ "@rollup/plugin-replace": "5.0.2",
77
+ "@svgr/rollup": "8.0.1",
78
+ "antd": "4.24.12",
79
+ "autoprefixer": "10.4.14",
80
+ "axios": "1.4.0",
81
+ "babel-loader": "9.1.2",
82
+ "babel-plugin-istanbul": "6.1.1",
83
83
  "babel-plugin-js-logger": "1.0.17",
84
84
  "babel-plugin-macros": "3.1.0",
85
85
  "babel-plugin-preval": "^5.1.0",
86
86
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
87
87
  "babel-preset-react": "6.24.1",
88
- "babel-preset-typescript": "^7.0.0-alpha.19",
89
- "classnames": "^2.3.2",
90
- "css-loader": "6.7.1",
91
- "eslint": "8.14.0",
92
- "eslint-config-prettier": "8.5.0",
93
- "eslint-plugin-cypress": "2.12.1",
94
- "eslint-plugin-import": "2.26.0",
88
+ "babel-preset-typescript": "7.0.0-alpha.19",
89
+ "browserify-zlib": "0.2.0",
90
+ "buffer": "6.0.3",
91
+ "classnames": "2.3.2",
92
+ "crypto-browserify": "3.12.0",
93
+ "css-loader": "6.8.1",
94
+ "dompurify": "3.0.2",
95
+ "dotenv-webpack": "^8.0.1",
96
+ "eslint": "8.44.0",
97
+ "eslint-config-prettier": "8.8.0",
98
+ "eslint-plugin-cypress": "2.13.3",
99
+ "eslint-plugin-import": "2.27.5",
95
100
  "eslint-plugin-jam3": "0.2.3",
96
101
  "eslint-plugin-json": "3.1.0",
97
- "eslint-plugin-prettier": "4.0.0",
98
- "eslint-plugin-promise": "6.0.0",
99
- "eslint-plugin-react": "7.29.4",
100
- "eslint-plugin-react-hooks": "4.5.0",
102
+ "eslint-plugin-prettier": "4.2.1",
103
+ "eslint-plugin-promise": "6.1.1",
104
+ "eslint-plugin-react": "7.32.2",
105
+ "eslint-plugin-react-hooks": "4.6.0",
106
+ "eslint-plugin-security": "^1.7.1",
107
+ "eslint-plugin-sonarjs": "^0.21.0",
101
108
  "eslint-plugin-unused-imports": "2.0.0",
102
- "file-loader": "^6.2.0",
103
- "formik": "^2.4.2",
104
- "html-loader": "4.2.0",
105
- "html-webpack-plugin": "5.5.0",
106
- "husky": "7.0.4",
107
- "i18next": "22.5.1",
108
- "js-logger": "^1.6.1",
109
- "lint-staged": "12.4.1",
110
- "mixpanel-browser": "^2.47.0",
111
- "postcss": "^8.4.17",
112
- "postcss-import": "^15.0.0",
113
- "postcss-loader": "^7.0.1",
114
- "postcss-preset-env": "7.8.2",
115
- "prettier": "2.6.2",
116
- "prettier-plugin-tailwindcss": "0.1.10",
109
+ "eslint-plugin-xss": "^0.1.12",
110
+ "formik": "2.4.2",
111
+ "html-webpack-plugin": "5.5.3",
112
+ "https-browserify": "1.0.0",
113
+ "husky": "8.0.3",
114
+ "i18next": "23.2.7",
115
+ "i18next-browser-languagedetector": "7.0.1",
116
+ "js-logger": "1.6.1",
117
+ "lint-staged": "13.2.3",
118
+ "mini-css-extract-plugin": "2.7.6",
119
+ "mixpanel-browser": "2.47.0",
120
+ "os-browserify": "0.3.0",
121
+ "path-browserify": "1.0.1",
122
+ "postcss": "8.4.31",
123
+ "postcss-import": "15.1.0",
124
+ "postcss-loader": "7.3.3",
125
+ "postcss-preset-env": "9.0.0",
126
+ "prettier": "2.8.8",
127
+ "prettier-plugin-tailwindcss": "0.3.0",
128
+ "process": "0.11.10",
117
129
  "ramda": "0.29.0",
118
130
  "react": "^18.2.0",
119
131
  "react-dom": "^18.2.0",
120
- "react-helmet": "^6.1.0",
121
- "react-i18next": "12.3.1",
122
- "react-query": "3.39.2",
132
+ "react-helmet": "6.1.0",
133
+ "react-i18next": "13.0.1",
134
+ "react-query": "3.39.3",
123
135
  "react-router-dom": "5.3.3",
124
136
  "react-toastify": "8.0.2",
125
137
  "react-transition-group": "4.4.5",
138
+ "react_ujs": "^3.1.1",
126
139
  "rollup": "2.79.1",
127
140
  "rollup-plugin-analyzer": "4.0.0",
128
- "rollup-plugin-bundle-html": "0.2.2",
129
141
  "rollup-plugin-cleaner": "1.0.0",
130
- "rollup-plugin-generate-html-template": "1.7.0",
131
- "rollup-plugin-livereload": "2.0.5",
132
142
  "rollup-plugin-peer-deps-external": "2.2.4",
133
- "rollup-plugin-polyfill-node": "0.10.2",
134
- "rollup-plugin-serve": "2.0.1",
135
143
  "rollup-plugin-styles": "4.0.0",
136
- "sass": "1.55.0",
137
- "sass-loader": "13.0.2",
138
- "style-loader": "3.3.1",
144
+ "sass": "1.63.6",
145
+ "sass-loader": "13.3.2",
146
+ "shakapacker": "6.6.0",
147
+ "stream-browserify": "3.0.0",
148
+ "stream-http": "3.2.0",
149
+ "style-loader": "3.3.3",
139
150
  "tailwindcss": "npm:@tailwindcss/postcss7-compat",
140
- "util": "^0.12.5",
141
- "webpack": "5.76.0",
142
- "webpack-cli": "4.10.0",
143
- "webpack-dev-server": "4.11.1",
144
- "yup": "0.32.11",
145
- "zustand": "^4.3.6"
151
+ "tty-browserify": "0.0.1",
152
+ "url": "0.11.1",
153
+ "util": "0.12.5",
154
+ "vm-browserify": "1.1.2",
155
+ "webpack": "5.88.1",
156
+ "webpack-assets-manifest": "5.1.0",
157
+ "webpack-cli": "5.1.4",
158
+ "webpack-dev-server": "4.15.1",
159
+ "yup": "0.32.11"
146
160
  },
147
161
  "peerDependencies": {
148
162
  "@bigbinary/neeto-cist": "latest",
@@ -150,17 +164,35 @@
150
164
  "@bigbinary/neeto-icons": "latest",
151
165
  "@bigbinary/neeto-molecules": "latest",
152
166
  "@bigbinary/neetoui": "latest",
153
- "antd": "4.24.3",
154
- "axios": "0.27.2",
155
- "classnames": "2.3.1",
156
- "i18next": "21.7.0",
157
- "ramda": "0.29.0",
167
+ "@honeybadger-io/react": "^2.0.1",
168
+ "axios": "^0.27.2",
169
+ "classnames": "^2.3.2",
170
+ "formik": "^2.2.9",
171
+ "i18next": "23.2.7",
172
+ "js-logger": "^1.6.1",
173
+ "mixpanel-browser": "^2.45.0",
174
+ "ramda": "^0.29.0",
158
175
  "react": "18.2.0",
159
176
  "react-dom": "18.2.0",
160
- "react-i18next": "11.16.8",
177
+ "react-helmet": "^6.1.0",
178
+ "react-i18next": "13.0.1",
161
179
  "react-query": "3.39.2",
162
180
  "react-router-dom": "5.3.3",
163
- "react-toastify": "8.0.2",
164
- "yup": "0.32.11"
181
+ "react-toastify": "8.2.0",
182
+ "yup": "^0.32.11",
183
+ "zustand": "4.3.2"
184
+ },
185
+ "resolutions": {
186
+ "postcss": "^8"
187
+ },
188
+ "engines": {
189
+ "node": ">=18.12",
190
+ "npm": ">=9",
191
+ "yarn": ">=1.22"
192
+ },
193
+ "dependencies": {
194
+ "react-router-nav-prompt": "0.4.1",
195
+ "source-map-loader": "^4.0.1",
196
+ "zustand": "4.3.2"
165
197
  }
166
198
  }
package/types.d.ts CHANGED
@@ -86,8 +86,6 @@ interface TwilioProps {
86
86
  integrableId: string;
87
87
  integrableType: string;
88
88
  } | null;
89
- isModal?: boolean;
90
- isModalOpen?: boolean;
91
89
  onClose: (...args: any[]) => any;
92
90
  onConnect: (...args: any[]) => any;
93
91
  }
@@ -104,6 +102,13 @@ interface ZoomProps {
104
102
  onDisconnect: (...args: any[]) => any;
105
103
  }
106
104
 
105
+ interface GoogleCalenderProps {
106
+ permissionImage?: any;
107
+ fetchAuthorizationUrl: (...args: any[]) => any;
108
+ handleClose: (...args: any[]) => any;
109
+ handleRedirect: (...args: any[]) => any;
110
+ }
111
+
107
112
  export const Card: React.FC<CardProps>;
108
113
  export const Modal: React.FC<ModalProps>;
109
114
  export const Connect: React.FC<ConnectProps>;
@@ -114,3 +119,4 @@ export const DisconnectAlert: React.FC<DisconnectAlertProps>;
114
119
  export const Twilio: React.FC<TwilioProps>;
115
120
  export const Daily: React.FC<DailyProps>;
116
121
  export const Zoom: React.FC<ZoomProps>;
122
+ export const GoogleCalender: React.FC<GoogleCalenderProps>;