@bigbinary/neeto-slack-frontend 2.2.6 → 2.2.7

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-slack-frontend",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
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.22.9",
44
- "@babel/eslint-parser": "7.22.9",
45
- "@babel/plugin-transform-runtime": "7.22.9",
46
- "@babel/preset-env": "7.22.9",
47
- "@babel/preset-react": "7.22.5",
48
- "@babel/preset-typescript": "7.22.5",
49
- "@babel/runtime": "7.22.6",
50
- "@bigbinary/babel-preset-neeto": "1.0.3",
51
- "@bigbinary/eslint-plugin-neeto": "1.1.2",
52
- "@bigbinary/neeto-audit-frontend": "1.0.7",
53
- "@bigbinary/neeto-cist": "^1.0.3",
54
- "@bigbinary/neeto-commons-frontend": "2.0.99",
55
- "@bigbinary/neeto-filters-frontend": "2.12.1",
56
- "@bigbinary/neeto-icons": "1.13.0",
57
- "@bigbinary/neeto-molecules": "1.0.34",
58
- "@bigbinary/neetoui": "5.0.15",
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.1.41",
52
+ "@bigbinary/neeto-audit-frontend": "2.0.9",
53
+ "@bigbinary/neeto-cist": "1.0.8",
54
+ "@bigbinary/neeto-commons-frontend": "3.1.10",
55
+ "@bigbinary/neeto-filters-frontend": "3.0.15",
56
+ "@bigbinary/neeto-icons": "1.17.11",
57
+ "@bigbinary/neeto-molecules": "1.6.3",
58
+ "@bigbinary/neetoui": "6.1.2",
59
59
  "@emotion/is-prop-valid": "1.2.0",
60
- "@faker-js/faker": "8.0.2",
61
- "@honeybadger-io/react": "2.0.1",
62
- "@rollup/plugin-alias": "5.0.0",
63
- "@rollup/plugin-babel": "6.0.3",
64
- "@rollup/plugin-commonjs": "25.0.3",
65
- "@rollup/plugin-json": "6.0.0",
66
- "@rollup/plugin-node-resolve": "15.1.0",
67
- "@rollup/plugin-replace": "5.0.2",
68
- "@svgr/rollup": "8.0.1",
69
- "antd": "4.24.10",
70
- "autoprefixer": "10.4.14",
71
- "axios": "1.4.0",
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.45.0",
88
- "eslint-config-prettier": "8.8.0",
89
- "eslint-plugin-cypress": "2.13.3",
90
- "eslint-plugin-import": "2.27.5",
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": "5.0.0",
94
+ "eslint-plugin-prettier": "4.0.0",
94
95
  "eslint-plugin-promise": "6.1.1",
95
- "eslint-plugin-react": "7.32.2",
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.2",
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.2.11",
106
+ "i18next": "23.6.0",
106
107
  "i18next-browser-languagedetector": "7.0.1",
107
108
  "js-logger": "1.6.1",
108
- "lint-staged": "13.2.3",
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.26",
114
+ "postcss": "8.4.31",
114
115
  "postcss-import": "15.1.0",
115
116
  "postcss-loader": "7.3.3",
116
- "postcss-preset-env": "9.0.0",
117
- "prettier": "2.8.8",
118
- "prettier-plugin-tailwindcss": "0.4.1",
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.0",
122
- "react": "17.0.2",
123
- "react-dom": "17.0.2",
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.0.2",
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.64.0",
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": "npm:@tailwindcss/postcss7-compat",
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.0"
152
+ "yup": "1.3.2"
151
153
  },
152
154
  "peerDependencies": {
153
155
  "@bigbinary/neeto-cist": "latest",
154
- "@bigbinary/neeto-commons-frontend": "^2.0.54",
156
+ "@bigbinary/neeto-commons-frontend": "3.1.10",
155
157
  "@bigbinary/neeto-editor": "^1.26.3",
156
- "@bigbinary/neeto-filters-frontend": "^2.8.1",
157
- "@bigbinary/neeto-icons": "^1.9.22",
158
- "@bigbinary/neeto-molecules": "^1.0.9",
159
- "@bigbinary/neetoui": "^5.0.4",
160
- "@honeybadger-io/react": "^2.0.1",
161
- "axios": "^0.27.2",
158
+ "@bigbinary/neeto-filters-frontend": "3.0.15",
159
+ "@bigbinary/neeto-icons": "1.17.11",
160
+ "@bigbinary/neeto-molecules": "1.6.3",
161
+ "@bigbinary/neetoui": "6.1.2",
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.2.9",
164
- "i18next": "^22.5.1",
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.0",
168
- "react": "17.0.2",
169
- "react-dom": "17.0.2",
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": "^12.3.1",
172
- "react-query": "3.39.2",
173
- "react-router-dom": "5.3.0",
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
- export const WelcomeScreen = React.FC<{}>;
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
+ };