@bigbinary/neeto-slack-frontend 2.2.6 → 2.2.8
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/README.md +483 -162
- package/dist/index.cjs.js +25 -23
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +17 -15
- package/dist/index.js.map +1 -1
- package/package.json +68 -65
- package/types.d.ts +66 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-slack-frontend",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"description": "Slack integration step UI",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-slack-nano",
|
|
@@ -40,35 +40,36 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@babel/core": "7.
|
|
44
|
-
"@babel/eslint-parser": "7.22.
|
|
45
|
-
"@babel/plugin-transform-runtime": "7.
|
|
46
|
-
"@babel/preset-env": "7.
|
|
47
|
-
"@babel/preset-react": "7.22.
|
|
48
|
-
"@babel/preset-typescript": "7.
|
|
49
|
-
"@babel/runtime": "7.
|
|
50
|
-
"@bigbinary/babel-preset-neeto": "1.0.
|
|
51
|
-
"@bigbinary/eslint-plugin-neeto": "1.
|
|
52
|
-
"@bigbinary/neeto-audit-frontend": "
|
|
53
|
-
"@bigbinary/neeto-cist": "
|
|
54
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
55
|
-
"@bigbinary/neeto-filters-frontend": "
|
|
56
|
-
"@bigbinary/neeto-icons": "1.
|
|
57
|
-
"@bigbinary/neeto-molecules": "1.
|
|
58
|
-
"@bigbinary/neetoui": "
|
|
43
|
+
"@babel/core": "7.23.2",
|
|
44
|
+
"@babel/eslint-parser": "7.22.15",
|
|
45
|
+
"@babel/plugin-transform-runtime": "7.23.2",
|
|
46
|
+
"@babel/preset-env": "7.23.2",
|
|
47
|
+
"@babel/preset-react": "7.22.15",
|
|
48
|
+
"@babel/preset-typescript": "7.23.2",
|
|
49
|
+
"@babel/runtime": "7.23.2",
|
|
50
|
+
"@bigbinary/babel-preset-neeto": "1.0.6",
|
|
51
|
+
"@bigbinary/eslint-plugin-neeto": "1.5.0",
|
|
52
|
+
"@bigbinary/neeto-audit-frontend": "2.0.9",
|
|
53
|
+
"@bigbinary/neeto-cist": "1.0.8",
|
|
54
|
+
"@bigbinary/neeto-commons-frontend": "3.1.20",
|
|
55
|
+
"@bigbinary/neeto-filters-frontend": "3.1.3",
|
|
56
|
+
"@bigbinary/neeto-icons": "1.17.14",
|
|
57
|
+
"@bigbinary/neeto-molecules": "1.13.6",
|
|
58
|
+
"@bigbinary/neetoui": "6.3.3",
|
|
59
59
|
"@emotion/is-prop-valid": "1.2.0",
|
|
60
|
-
"@faker-js/faker": "8.0
|
|
61
|
-
"@honeybadger-io/
|
|
62
|
-
"@
|
|
63
|
-
"@rollup/plugin-
|
|
64
|
-
"@rollup/plugin-
|
|
65
|
-
"@rollup/plugin-
|
|
66
|
-
"@rollup/plugin-
|
|
67
|
-
"@rollup/plugin-
|
|
68
|
-
"@
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
60
|
+
"@faker-js/faker": "8.2.0",
|
|
61
|
+
"@honeybadger-io/js": "6.5.3",
|
|
62
|
+
"@honeybadger-io/react": "6.1.9",
|
|
63
|
+
"@rollup/plugin-alias": "5.0.1",
|
|
64
|
+
"@rollup/plugin-babel": "6.0.4",
|
|
65
|
+
"@rollup/plugin-commonjs": "25.0.7",
|
|
66
|
+
"@rollup/plugin-json": "6.0.1",
|
|
67
|
+
"@rollup/plugin-node-resolve": "15.2.3",
|
|
68
|
+
"@rollup/plugin-replace": "5.0.4",
|
|
69
|
+
"@svgr/rollup": "8.1.0",
|
|
70
|
+
"antd": "5.10.2",
|
|
71
|
+
"autoprefixer": "10.4.16",
|
|
72
|
+
"axios": "1.6.0",
|
|
72
73
|
"babel-loader": "9.1.3",
|
|
73
74
|
"babel-plugin-istanbul": "6.1.1",
|
|
74
75
|
"babel-plugin-js-logger": "1.0.17",
|
|
@@ -84,45 +85,45 @@
|
|
|
84
85
|
"css-loader": "6.8.1",
|
|
85
86
|
"dompurify": "3.0.2",
|
|
86
87
|
"dotenv-webpack": "^8.0.1",
|
|
87
|
-
"eslint": "8.
|
|
88
|
-
"eslint-config-prettier": "8.
|
|
89
|
-
"eslint-plugin-cypress": "2.
|
|
90
|
-
"eslint-plugin-import": "2.
|
|
88
|
+
"eslint": "8.52.0",
|
|
89
|
+
"eslint-config-prettier": "8.5.0",
|
|
90
|
+
"eslint-plugin-cypress": "2.15.1",
|
|
91
|
+
"eslint-plugin-import": "2.29.0",
|
|
91
92
|
"eslint-plugin-jam3": "0.2.3",
|
|
92
93
|
"eslint-plugin-json": "3.1.0",
|
|
93
|
-
"eslint-plugin-prettier": "
|
|
94
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
94
95
|
"eslint-plugin-promise": "6.1.1",
|
|
95
|
-
"eslint-plugin-react": "7.
|
|
96
|
+
"eslint-plugin-react": "7.33.2",
|
|
96
97
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
97
98
|
"eslint-plugin-security": "^1.7.1",
|
|
98
99
|
"eslint-plugin-sonarjs": "^0.21.0",
|
|
99
100
|
"eslint-plugin-unused-imports": "3.0.0",
|
|
100
101
|
"eslint-plugin-xss": "^0.1.12",
|
|
101
|
-
"formik": "2.4.
|
|
102
|
+
"formik": "2.4.5",
|
|
102
103
|
"html-webpack-plugin": "5.5.3",
|
|
103
104
|
"https-browserify": "1.0.0",
|
|
104
105
|
"husky": "8.0.3",
|
|
105
|
-
"i18next": "23.
|
|
106
|
+
"i18next": "23.6.0",
|
|
106
107
|
"i18next-browser-languagedetector": "7.0.1",
|
|
107
108
|
"js-logger": "1.6.1",
|
|
108
|
-
"lint-staged": "
|
|
109
|
+
"lint-staged": "15.0.2",
|
|
109
110
|
"mini-css-extract-plugin": "2.7.6",
|
|
110
111
|
"mixpanel-browser": "2.47.0",
|
|
111
112
|
"os-browserify": "0.3.0",
|
|
112
113
|
"path-browserify": "1.0.1",
|
|
113
|
-
"postcss": "8.4.
|
|
114
|
+
"postcss": "8.4.31",
|
|
114
115
|
"postcss-import": "15.1.0",
|
|
115
116
|
"postcss-loader": "7.3.3",
|
|
116
|
-
"postcss-preset-env": "9.
|
|
117
|
-
"prettier": "2.
|
|
118
|
-
"prettier-plugin-tailwindcss": "0.
|
|
117
|
+
"postcss-preset-env": "9.2.0",
|
|
118
|
+
"prettier": "2.6.2",
|
|
119
|
+
"prettier-plugin-tailwindcss": "0.1.10",
|
|
119
120
|
"process": "0.11.10",
|
|
120
121
|
"qs": "6.11.2",
|
|
121
|
-
"ramda": "0.29.
|
|
122
|
-
"react": "
|
|
123
|
-
"react-dom": "
|
|
122
|
+
"ramda": "0.29.1",
|
|
123
|
+
"react": "18.2.0",
|
|
124
|
+
"react-dom": "18.2.0",
|
|
124
125
|
"react-helmet": "6.1.0",
|
|
125
|
-
"react-i18next": "13.
|
|
126
|
+
"react-i18next": "13.3.1",
|
|
126
127
|
"react-query": "3.39.3",
|
|
127
128
|
"react-router-dom": "5.3.4",
|
|
128
129
|
"react-toastify": "8.2.0",
|
|
@@ -130,15 +131,16 @@
|
|
|
130
131
|
"rollup": "2.79.1",
|
|
131
132
|
"rollup-plugin-analyzer": "4.0.0",
|
|
132
133
|
"rollup-plugin-cleaner": "1.0.0",
|
|
134
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
133
135
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
134
136
|
"rollup-plugin-styles": "4.0.0",
|
|
135
|
-
"sass": "1.
|
|
137
|
+
"sass": "1.69.5",
|
|
136
138
|
"sass-loader": "13.3.2",
|
|
137
139
|
"shakapacker": "6.6.0",
|
|
138
140
|
"stream-browserify": "3.0.0",
|
|
139
141
|
"stream-http": "3.2.0",
|
|
140
142
|
"style-loader": "3.3.3",
|
|
141
|
-
"tailwindcss": "
|
|
143
|
+
"tailwindcss": "3.4.1",
|
|
142
144
|
"tty-browserify": "0.0.1",
|
|
143
145
|
"url": "0.11.1",
|
|
144
146
|
"util": "0.12.5",
|
|
@@ -147,31 +149,32 @@
|
|
|
147
149
|
"webpack-assets-manifest": "5.1.0",
|
|
148
150
|
"webpack-cli": "5.1.4",
|
|
149
151
|
"webpack-dev-server": "4.15.1",
|
|
150
|
-
"yup": "1.2
|
|
152
|
+
"yup": "1.3.2"
|
|
151
153
|
},
|
|
152
154
|
"peerDependencies": {
|
|
153
155
|
"@bigbinary/neeto-cist": "latest",
|
|
154
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
156
|
+
"@bigbinary/neeto-commons-frontend": "3.1.20",
|
|
155
157
|
"@bigbinary/neeto-editor": "^1.26.3",
|
|
156
|
-
"@bigbinary/neeto-filters-frontend": "
|
|
157
|
-
"@bigbinary/neeto-icons": "
|
|
158
|
-
"@bigbinary/neeto-molecules": "
|
|
159
|
-
"@bigbinary/neetoui": "
|
|
160
|
-
"@honeybadger-io/
|
|
161
|
-
"
|
|
158
|
+
"@bigbinary/neeto-filters-frontend": "3.1.3",
|
|
159
|
+
"@bigbinary/neeto-icons": "1.17.14",
|
|
160
|
+
"@bigbinary/neeto-molecules": "1.13.6",
|
|
161
|
+
"@bigbinary/neetoui": "6.3.3",
|
|
162
|
+
"@honeybadger-io/js": "^6.5.3",
|
|
163
|
+
"@honeybadger-io/react": "^6.1.9",
|
|
164
|
+
"axios": "^1.6.0",
|
|
162
165
|
"classnames": "^2.3.2",
|
|
163
|
-
"formik": "^2.
|
|
164
|
-
"i18next": "^
|
|
166
|
+
"formik": "^2.4.5",
|
|
167
|
+
"i18next": "^23.6.0",
|
|
165
168
|
"js-logger": "^1.6.1",
|
|
166
169
|
"mixpanel-browser": "^2.45.0",
|
|
167
|
-
"ramda": "^0.29.
|
|
168
|
-
"react": "
|
|
169
|
-
"react-dom": "
|
|
170
|
+
"ramda": "^0.29.1",
|
|
171
|
+
"react": "^18.2.0",
|
|
172
|
+
"react-dom": "^18.2.0",
|
|
170
173
|
"react-helmet": "^6.1.0",
|
|
171
|
-
"react-i18next": "^
|
|
172
|
-
"react-query": "3.39.
|
|
173
|
-
"react-router-dom": "5.3.
|
|
174
|
-
"react-toastify": "8.2.0",
|
|
174
|
+
"react-i18next": "^13.3.1",
|
|
175
|
+
"react-query": "^3.39.3",
|
|
176
|
+
"react-router-dom": "^5.3.4",
|
|
177
|
+
"react-toastify": "^8.2.0",
|
|
175
178
|
"yup": "^0.32.11",
|
|
176
179
|
"zustand": "4.3.2"
|
|
177
180
|
},
|
package/types.d.ts
CHANGED
|
@@ -1,3 +1,68 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { Fn } from "ramda";
|
|
3
|
+
import { ButtonProps, PaneProps } from "neetoui";
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
declare global {
|
|
6
|
+
declare module "assets/*"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function Connect(props: {
|
|
10
|
+
handleRedirectToSlack: Fn;
|
|
11
|
+
isAuthorizeUrlFetching: boolean;
|
|
12
|
+
}): JSX.Element;
|
|
13
|
+
|
|
14
|
+
export function Configure(props: {
|
|
15
|
+
children?: Fn | React.ReactNode;
|
|
16
|
+
teamName: string;
|
|
17
|
+
slackUrl: string;
|
|
18
|
+
initialFormValues: object;
|
|
19
|
+
handleSubmit: Fn;
|
|
20
|
+
isSubmitting: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
validationSchema?: object;
|
|
23
|
+
channelRefreshHandler?: Fn;
|
|
24
|
+
channelSelectLabel?: string;
|
|
25
|
+
}): JSX.Element;
|
|
26
|
+
|
|
27
|
+
export function Finish(props: {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
teamName: string;
|
|
30
|
+
fields?: {
|
|
31
|
+
name: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}[];
|
|
34
|
+
buttonProps?: Partial<ButtonProps>;
|
|
35
|
+
secondaryButtonProps?: Partial<ButtonProps>;
|
|
36
|
+
onSuccess: Fn;
|
|
37
|
+
onBack: Fn;
|
|
38
|
+
}): JSX.Element;
|
|
39
|
+
|
|
40
|
+
interface Field {
|
|
41
|
+
name: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}
|
|
44
|
+
interface SettingsProps {
|
|
45
|
+
children?: Fn | React.ReactNode;
|
|
46
|
+
teamName: string;
|
|
47
|
+
slackUrl: string;
|
|
48
|
+
fields: Field[];
|
|
49
|
+
className?: string;
|
|
50
|
+
onEdit: Fn;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface SettingsPaneProps {
|
|
54
|
+
initialFormValues: object;
|
|
55
|
+
handleSubmit: Fn;
|
|
56
|
+
isSubmitting?: boolean;
|
|
57
|
+
validationSchema?: object;
|
|
58
|
+
channelRefreshHandler?: Fn;
|
|
59
|
+
title?: string;
|
|
60
|
+
isPaneOpen: boolean;
|
|
61
|
+
children?: Fn | React.ReactNode;
|
|
62
|
+
onClose: Fn;
|
|
63
|
+
paneProps?: Partial<PaneProps>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export const Settings: React.FC<SettingsProps> & {
|
|
67
|
+
EditPane: React.FC<SettingsPaneProps>;
|
|
68
|
+
};
|