@bigbinary/neeto-team-members-frontend 2.4.17 → 2.5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-team-members-frontend",
3
- "version": "2.4.17",
3
+ "version": "2.5.0",
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",
@@ -36,28 +36,29 @@
36
36
  "eslint --fix"
37
37
  ]
38
38
  },
39
- "dependencies": {},
40
39
  "devDependencies": {
41
- "@babel/core": "7.20.5",
40
+ "@babel/core": "7.20.7",
42
41
  "@babel/eslint-parser": "7.19.1",
43
42
  "@babel/plugin-proposal-class-properties": "7.18.6",
44
43
  "@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
45
44
  "@babel/plugin-proposal-numeric-separator": "7.18.6",
46
- "@babel/plugin-proposal-optional-chaining": "7.18.9",
45
+ "@babel/plugin-proposal-optional-chaining": "7.20.7",
47
46
  "@babel/plugin-transform-runtime": "7.19.6",
48
47
  "@babel/preset-env": "7.20.2",
49
48
  "@babel/preset-react": "7.18.6",
50
- "@babel/runtime": "7.20.6",
49
+ "@babel/runtime": "7.20.7",
51
50
  "@bigbinary/eslint-plugin-neeto": "1.0.16",
52
- "@bigbinary/neeto-icons": "1.8.41",
53
- "@bigbinary/neetoui": "4.1.24",
51
+ "@bigbinary/neeto-commons-frontend": "2.0.23",
52
+ "@bigbinary/neeto-filters-frontend": "2.1.11",
53
+ "@bigbinary/neeto-icons": "1.8.46",
54
+ "@bigbinary/neetoui": "4.1.35",
54
55
  "@faker-js/faker": "7.6.0",
55
56
  "@rollup/plugin-alias": "4.0.2",
56
57
  "@rollup/plugin-babel": "6.0.3",
57
- "@rollup/plugin-commonjs": "23.0.4",
58
- "@rollup/plugin-json": "5.0.2",
58
+ "@rollup/plugin-commonjs": "24.0.0",
59
+ "@rollup/plugin-json": "6.0.0",
59
60
  "@rollup/plugin-node-resolve": "15.0.1",
60
- "@rollup/plugin-replace": "5.0.1",
61
+ "@rollup/plugin-replace": "5.0.2",
61
62
  "@svgr/rollup": "6.5.1",
62
63
  "@vitejs/plugin-react": "^3.0.0",
63
64
  "antd": "4.24.3",
@@ -65,7 +66,7 @@
65
66
  "babel-plugin-macros": "3.1.0",
66
67
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
67
68
  "classnames": "2.3.2",
68
- "eslint": "8.29.0",
69
+ "eslint": "8.30.0",
69
70
  "eslint-config-prettier": "8.5.0",
70
71
  "eslint-plugin-cypress": "2.12.1",
71
72
  "eslint-plugin-import": "2.26.0",
@@ -79,13 +80,14 @@
79
80
  "eslint-plugin-unused-imports": "2.0.0",
80
81
  "formik": "2.2.9",
81
82
  "husky": "8.0.2",
82
- "i18next": "22.4.4",
83
+ "i18next": "22.4.6",
83
84
  "i18next-browser-languagedetector": "7.0.1",
84
85
  "json-server": "0.17.1",
85
86
  "lint-staged": "13.1.0",
86
87
  "pluralize": "8.0.0",
87
88
  "prettier": "2.8.1",
88
89
  "prop-types": "15.8.1",
90
+ "qs": "6.11.0",
89
91
  "ramda": "0.28.0",
90
92
  "react": "17.0.2",
91
93
  "react-dom": "17.0.2",
@@ -101,14 +103,15 @@
101
103
  "rollup-plugin-cleaner": "1.0.0",
102
104
  "rollup-plugin-peer-deps-external": "2.2.4",
103
105
  "rollup-plugin-styles": "4.0.0",
104
- "sass": "1.56.2",
106
+ "sass": "1.57.1",
105
107
  "uuid": "9.0.0",
106
- "vite": "4.0.1",
108
+ "vite": "4.0.3",
107
109
  "yup": "0.32.11"
108
110
  },
109
111
  "peerDependencies": {
110
- "@bigbinary/neeto-icons": "1.8.41",
111
- "@bigbinary/neetoui": "4.1.24",
112
+ "@bigbinary/neeto-filters-frontend": "2.1.11",
113
+ "@bigbinary/neeto-icons": "1.8.46",
114
+ "@bigbinary/neetoui": "4.1.35",
112
115
  "axios": "1.2.1",
113
116
  "classnames": "2.3.2",
114
117
  "formik": "2.2.9",
package/types.d.ts CHANGED
@@ -89,13 +89,18 @@ type TableProps = {
89
89
 
90
90
  type MembersHeader = {
91
91
  otherActionBlock?: React.FC;
92
+ otherProps?: object;
92
93
  }
93
94
 
95
+ type DefaultBulkActions = "activate" | "deactivate" | "role"
96
+
94
97
  type TeamMembersConfig = {
95
98
  alert?: Only<Alert>;
96
99
  createMember?: Only<CreateMember>;
100
+ defaultFilterValues?: object;
97
101
  fetchApiResponse?: (response: object) => void;
98
102
  header?: Only<MembersHeader>;
103
+ hiddenBulkActions?: DefaultBulkActions[];
99
104
  manageMember?: Only<ManageMember>;
100
105
  otherBulkActions?: React.FC;
101
106
  otherColumns?: object[];