@bigbinary/neeto-team-members-frontend 2.3.2 → 2.3.3
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/dist/index.cjs.js +13 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +13 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +17 -33
- package/types.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-team-members-frontend",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "To manage team members across neeto products.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-team-members-frontend#readme",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"types": "types.d.ts",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "NODE_ENV=production rollup -c --environment production",
|
|
21
|
-
"dev": "(trap 'kill 0' SIGINT;
|
|
21
|
+
"dev": "(trap 'kill 0' SIGINT; rollup -wc & vite & yarn server)",
|
|
22
22
|
"prepare": "husky install",
|
|
23
23
|
"server": "node example/db",
|
|
24
24
|
"start": "NODE_ENV=development webpack-dev-server --open --mode development --config webpack.dev.config.js"
|
|
@@ -39,37 +39,34 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@babel/core": "7.
|
|
42
|
+
"@babel/core": "7.19.0",
|
|
43
43
|
"@babel/eslint-parser": "7.18.9",
|
|
44
44
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
45
45
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
|
|
46
46
|
"@babel/plugin-proposal-numeric-separator": "7.18.6",
|
|
47
|
+
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
47
48
|
"@babel/plugin-transform-runtime": "7.18.10",
|
|
48
|
-
"@babel/preset-env": "7.
|
|
49
|
+
"@babel/preset-env": "7.19.0",
|
|
49
50
|
"@babel/preset-react": "7.18.6",
|
|
50
|
-
"@babel/runtime": "7.
|
|
51
|
+
"@babel/runtime": "7.19.0",
|
|
51
52
|
"@bigbinary/eslint-plugin-neeto": "1.0.12",
|
|
52
|
-
"@bigbinary/neeto-icons": "1.8.
|
|
53
|
+
"@bigbinary/neeto-icons": "1.8.38",
|
|
53
54
|
"@bigbinary/neetoui": "3.5.17",
|
|
54
55
|
"@faker-js/faker": "7.5.0",
|
|
55
|
-
"@pmmmwh/react-refresh-webpack-plugin": "0.5.7",
|
|
56
56
|
"@rollup/plugin-alias": "3.1.9",
|
|
57
57
|
"@rollup/plugin-babel": "5.3.1",
|
|
58
58
|
"@rollup/plugin-commonjs": "22.0.2",
|
|
59
59
|
"@rollup/plugin-json": "4.1.0",
|
|
60
|
-
"@rollup/plugin-node-resolve": "
|
|
60
|
+
"@rollup/plugin-node-resolve": "14.0.1",
|
|
61
61
|
"@rollup/plugin-replace": "4.0.0",
|
|
62
62
|
"@svgr/rollup": "6.3.1",
|
|
63
|
-
"
|
|
63
|
+
"@vitejs/plugin-react": "^2.1.0",
|
|
64
|
+
"antd": "4.23.1",
|
|
64
65
|
"axios": "0.27.2",
|
|
65
|
-
"babel-loader": "8.2.5",
|
|
66
66
|
"babel-plugin-macros": "3.1.0",
|
|
67
67
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
68
68
|
"classnames": "2.3.1",
|
|
69
|
-
"
|
|
70
|
-
"css-loader": "6.7.1",
|
|
71
|
-
"dotenv": "16.0.2",
|
|
72
|
-
"eslint": "8.23.0",
|
|
69
|
+
"eslint": "8.23.1",
|
|
73
70
|
"eslint-config-prettier": "8.5.0",
|
|
74
71
|
"eslint-plugin-cypress": "2.12.1",
|
|
75
72
|
"eslint-plugin-import": "2.26.0",
|
|
@@ -77,33 +74,24 @@
|
|
|
77
74
|
"eslint-plugin-json": "3.1.0",
|
|
78
75
|
"eslint-plugin-prettier": "4.2.1",
|
|
79
76
|
"eslint-plugin-promise": "6.0.1",
|
|
80
|
-
"eslint-plugin-react": "7.31.
|
|
77
|
+
"eslint-plugin-react": "7.31.8",
|
|
81
78
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
82
79
|
"eslint-plugin-unicorn": "43.0.2",
|
|
83
80
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
84
|
-
"file-loader": "6.2.0",
|
|
85
81
|
"formik": "2.2.9",
|
|
86
|
-
"html-loader": "4.1.0",
|
|
87
|
-
"html-webpack-plugin": "5.5.0",
|
|
88
82
|
"husky": "8.0.1",
|
|
89
83
|
"i18next": "21.9.1",
|
|
90
84
|
"i18next-browser-languagedetector": "6.1.5",
|
|
91
85
|
"json-server": "0.17.0",
|
|
92
86
|
"lint-staged": "13.0.3",
|
|
93
|
-
"mini-css-extract-plugin": "2.6.1",
|
|
94
|
-
"mixpanel-browser": "2.45.0",
|
|
95
|
-
"postcss": "8.4.16",
|
|
96
|
-
"postcss-loader": "7.0.1",
|
|
97
|
-
"postcss-preset-env": "7.8.0",
|
|
98
87
|
"prettier": "2.7.1",
|
|
99
88
|
"prop-types": "15.8.1",
|
|
100
89
|
"ramda": "0.28.0",
|
|
101
90
|
"react": "17.0.2",
|
|
102
91
|
"react-dom": "17.0.2",
|
|
103
92
|
"react-dropzone": "14.2.2",
|
|
104
|
-
"react-i18next": "11.18.
|
|
93
|
+
"react-i18next": "11.18.6",
|
|
105
94
|
"react-query": "3.39.2",
|
|
106
|
-
"react-refresh": "0.14.0",
|
|
107
95
|
"react-router-dom": "5.3.3",
|
|
108
96
|
"react-router-nav-prompt": "0.4.1",
|
|
109
97
|
"react-scroll-sync": "0.11.0",
|
|
@@ -114,17 +102,13 @@
|
|
|
114
102
|
"rollup-plugin-cleaner": "1.0.0",
|
|
115
103
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
116
104
|
"rollup-plugin-styles": "4.0.0",
|
|
117
|
-
"sass": "1.54.
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"uuid": "8.3.2",
|
|
121
|
-
"webpack": "5.74.0",
|
|
122
|
-
"webpack-cli": "4.10.0",
|
|
123
|
-
"webpack-dev-server": "4.10.1",
|
|
105
|
+
"sass": "1.54.9",
|
|
106
|
+
"uuid": "9.0.0",
|
|
107
|
+
"vite": "^3.1.0",
|
|
124
108
|
"yup": "0.32.11"
|
|
125
109
|
},
|
|
126
110
|
"peerDependencies": {
|
|
127
|
-
"@bigbinary/neeto-icons": "1.8.
|
|
111
|
+
"@bigbinary/neeto-icons": "1.8.38",
|
|
128
112
|
"@bigbinary/neetoui": "3.5.17",
|
|
129
113
|
"axios": "0.27.2",
|
|
130
114
|
"classnames": "2.3.1",
|
package/types.d.ts
CHANGED
|
@@ -35,10 +35,19 @@ type Breadcrumb = {
|
|
|
35
35
|
link: string;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
type onSuccess = {
|
|
39
|
+
callback: () => void;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
type CreateMember = {
|
|
43
|
+
onSuccess: Only<onSuccess>;
|
|
44
|
+
}
|
|
45
|
+
|
|
38
46
|
type Header = { breadcrumbs: Breadcrumb[]; };
|
|
39
47
|
|
|
40
48
|
type TeamMembersConfig = {
|
|
41
49
|
alert?: Only<Alert>;
|
|
50
|
+
createMember?: Only<CreateMember>;
|
|
42
51
|
permissions: Except<Permission, "delete">;
|
|
43
52
|
rolesButtonProps?: ButtonProps;
|
|
44
53
|
};
|