@bigbinary/neeto-team-members-frontend 2.8.9 → 2.8.11

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.8.9",
3
+ "version": "2.8.11",
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",
@@ -20,9 +20,9 @@
20
20
  "scripts": {
21
21
  "build": "NODE_ENV=production rollup -c --environment production",
22
22
  "dev": "(trap 'kill 0' SIGINT; vite & yarn server)",
23
- "start": "vite",
24
23
  "prepare": "husky install",
25
- "server": "node example/db"
24
+ "server": "node example/db",
25
+ "start": "vite"
26
26
  },
27
27
  "lint-staged": {
28
28
  "{src,example}/**/*.{js,jsx,json}": [
@@ -31,25 +31,26 @@
31
31
  ]
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/core": "7.22.8",
35
- "@babel/eslint-parser": "7.22.7",
36
- "@babel/plugin-transform-runtime": "7.22.7",
37
- "@babel/preset-env": "7.22.7",
34
+ "@babel/core": "7.22.9",
35
+ "@babel/eslint-parser": "7.22.9",
36
+ "@babel/plugin-transform-runtime": "7.22.9",
37
+ "@babel/preset-env": "7.22.9",
38
38
  "@babel/preset-react": "7.22.5",
39
39
  "@babel/preset-typescript": "7.22.5",
40
40
  "@babel/runtime": "7.22.6",
41
41
  "@bigbinary/babel-preset-neeto": "1.0.3",
42
- "@bigbinary/eslint-plugin-neeto": "1.0.64",
43
- "@bigbinary/neeto-commons-frontend": "2.0.94",
44
- "@bigbinary/neeto-filters-frontend": "2.11.18",
45
- "@bigbinary/neeto-icons": "1.12.3",
42
+ "@bigbinary/eslint-plugin-neeto": "1.1.2",
43
+ "@bigbinary/neeto-audit-frontend": "1.0.3",
44
+ "@bigbinary/neeto-commons-frontend": "2.0.99",
45
+ "@bigbinary/neeto-filters-frontend": "2.12.1",
46
+ "@bigbinary/neeto-icons": "1.13.0",
46
47
  "@bigbinary/neeto-molecules": "1.0.34",
47
- "@bigbinary/neetoui": "5.0.13",
48
+ "@bigbinary/neetoui": "5.0.15",
48
49
  "@faker-js/faker": "8.0.2",
49
50
  "@honeybadger-io/react": "2.0.1",
50
51
  "@rollup/plugin-alias": "5.0.0",
51
52
  "@rollup/plugin-babel": "6.0.3",
52
- "@rollup/plugin-commonjs": "25.0.2",
53
+ "@rollup/plugin-commonjs": "25.0.3",
53
54
  "@rollup/plugin-json": "6.0.0",
54
55
  "@rollup/plugin-node-resolve": "15.1.0",
55
56
  "@rollup/plugin-replace": "5.0.2",
@@ -66,37 +67,37 @@
66
67
  "babel-preset-react": "6.24.1",
67
68
  "babel-preset-typescript": "7.0.0-alpha.19",
68
69
  "classnames": "2.3.2",
69
- "eslint": "8.44.0",
70
+ "eslint": "8.45.0",
70
71
  "eslint-config-prettier": "8.8.0",
71
72
  "eslint-plugin-cypress": "2.13.3",
72
73
  "eslint-plugin-import": "2.27.5",
73
74
  "eslint-plugin-jam3": "0.2.3",
74
75
  "eslint-plugin-json": "3.1.0",
75
- "eslint-plugin-prettier": "4.2.1",
76
+ "eslint-plugin-prettier": "5.0.0",
76
77
  "eslint-plugin-promise": "6.1.1",
77
78
  "eslint-plugin-react": "7.32.2",
78
79
  "eslint-plugin-react-hooks": "4.6.0",
79
- "eslint-plugin-unused-imports": "2.0.0",
80
+ "eslint-plugin-unused-imports": "3.0.0",
80
81
  "formik": "2.4.2",
81
82
  "husky": "8.0.3",
82
- "i18next": "23.2.8",
83
+ "i18next": "23.2.11",
83
84
  "js-logger": "1.6.1",
84
85
  "json-server": "0.17.3",
85
86
  "lint-staged": "13.2.3",
86
87
  "mixpanel-browser": "2.47.0",
87
88
  "pluralize": "8.0.0",
88
- "postcss": "8.4.25",
89
+ "postcss": "8.4.26",
89
90
  "postcss-import": "15.1.0",
90
91
  "postcss-loader": "7.3.3",
91
92
  "postcss-preset-env": "9.0.0",
92
93
  "prettier": "2.8.8",
93
- "prettier-plugin-tailwindcss": "0.3.0",
94
+ "prettier-plugin-tailwindcss": "0.4.1",
94
95
  "qs": "6.11.2",
95
96
  "ramda": "0.29.0",
96
97
  "react": "17.0.2",
97
98
  "react-dom": "17.0.2",
98
99
  "react-helmet": "6.1.0",
99
- "react-i18next": "13.0.1",
100
+ "react-i18next": "13.0.2",
100
101
  "react-query": "3.39.3",
101
102
  "react-router-dom": "5.3.4",
102
103
  "react-scroll-sync": "0.11.0",
@@ -106,11 +107,11 @@
106
107
  "rollup-plugin-cleaner": "1.0.0",
107
108
  "rollup-plugin-peer-deps-external": "2.2.4",
108
109
  "rollup-plugin-styles": "4.0.0",
109
- "sass": "1.63.6",
110
+ "sass": "1.64.0",
110
111
  "tailwindcss": "npm:@tailwindcss/postcss7-compat",
111
112
  "util": "0.12.5",
112
- "vite": "4.4.2",
113
- "vite-plugin-inspect": "0.7.32",
113
+ "vite": "4.4.4",
114
+ "vite-plugin-inspect": "0.7.33",
114
115
  "yup": "1.2.0"
115
116
  },
116
117
  "peerDependencies": {
@@ -143,5 +144,6 @@
143
144
  "node": ">=18.12",
144
145
  "npm": ">=9",
145
146
  "yarn": ">=1.22"
146
- }
147
+ },
148
+ "dependencies": {}
147
149
  }
package/types.d.ts CHANGED
@@ -52,16 +52,21 @@ type SelectedMember = {
52
52
 
53
53
  type RowProps = { [key: string]: string[]; }
54
54
 
55
+ type TableDropdownClickProps = {
56
+ handleUpdateRole: (props: { member: object }) => void;
57
+ handleUpdateStatus: (props: { member: object }) => void;
58
+ };
59
+
60
+ type TableRowSelectProps = {
61
+ rows: RowProps;
62
+ resetSelectedRows: () => void;
63
+ rowData: object[];
64
+ };
65
+
55
66
  type TableProps = {
56
- onRowSelect?: (props: {
57
- rows: RowProps;
58
- resetSelectedRows: () => void;
59
- rowData: object[];
60
- }) => void;
61
- onDropdownClick?: (props: {
62
- handleUpdateRole: (props: { member: object }) => void;
63
- handleUpdateStatus: (props: { member: object }) => void;
64
- }) => void;
67
+ onRowSelect?: (props: TableRowSelectProps) => void;
68
+ dropdownProps?: (props: { member: object }) => void;
69
+ onDropdownClick?: (props: TableDropdownClickProps) => void;
65
70
  }
66
71
 
67
72
  type MembersHeader = {