@bigbinary/neeto-api-keys-frontend 1.0.2 → 1.0.4
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 +29 -26
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +29 -26
- package/dist/index.js.map +1 -1
- package/package.json +33 -30
- package/types.d.ts +17 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-api-keys-frontend",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-api-keys-nano",
|
|
@@ -18,11 +18,14 @@
|
|
|
18
18
|
"types": "types.d.ts",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "NODE_ENV=production rollup -c --environment production",
|
|
21
|
+
"build-preview": "NODE_ENV=production webpack",
|
|
21
22
|
"prepare": "husky install",
|
|
22
|
-
"release": "yarn build && yalc push --sig"
|
|
23
|
-
"build-preview": "NODE_ENV=production webpack"
|
|
23
|
+
"release": "yarn build && yalc push --sig"
|
|
24
24
|
},
|
|
25
25
|
"lint-staged": {
|
|
26
|
+
"./**/*.rb": [
|
|
27
|
+
"bundle exec rubocop -a --force-exclusion"
|
|
28
|
+
],
|
|
26
29
|
"./**/app/javascript/**/*.{js,jsx,json}": [
|
|
27
30
|
"prettier --write",
|
|
28
31
|
"eslint --fix"
|
|
@@ -31,42 +34,40 @@
|
|
|
31
34
|
"prettier --write",
|
|
32
35
|
"eslint --fix"
|
|
33
36
|
],
|
|
34
|
-
"./**/*.rb": [
|
|
35
|
-
"bundle exec rubocop -a --force-exclusion"
|
|
36
|
-
],
|
|
37
37
|
"{Gemfile,Rakefile,config.ru}": [
|
|
38
38
|
"bundle exec rubocop -a --force-exclusion"
|
|
39
39
|
]
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@babel/core": "7.22.
|
|
43
|
-
"@babel/eslint-parser": "7.22.
|
|
44
|
-
"@babel/plugin-transform-runtime": "7.22.
|
|
45
|
-
"@babel/preset-env": "7.22.
|
|
42
|
+
"@babel/core": "7.22.9",
|
|
43
|
+
"@babel/eslint-parser": "7.22.9",
|
|
44
|
+
"@babel/plugin-transform-runtime": "7.22.9",
|
|
45
|
+
"@babel/preset-env": "7.22.9",
|
|
46
46
|
"@babel/preset-react": "7.22.5",
|
|
47
47
|
"@babel/preset-typescript": "7.22.5",
|
|
48
48
|
"@babel/runtime": "7.22.6",
|
|
49
49
|
"@bigbinary/babel-preset-neeto": "1.0.3",
|
|
50
|
-
"@bigbinary/eslint-plugin-neeto": "1.
|
|
50
|
+
"@bigbinary/eslint-plugin-neeto": "1.1.2",
|
|
51
51
|
"@bigbinary/neeto-audit-frontend": "1.0.8",
|
|
52
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
53
|
-
"@bigbinary/neeto-
|
|
54
|
-
"@bigbinary/neeto-
|
|
55
|
-
"@bigbinary/
|
|
52
|
+
"@bigbinary/neeto-commons-frontend": "2.1.5",
|
|
53
|
+
"@bigbinary/neeto-filters-frontend": "2.12.1",
|
|
54
|
+
"@bigbinary/neeto-icons": "1.13.0",
|
|
55
|
+
"@bigbinary/neeto-molecules": "1.0.34",
|
|
56
|
+
"@bigbinary/neetoui": "5.0.15",
|
|
56
57
|
"@emotion/is-prop-valid": "1.2.0",
|
|
57
58
|
"@faker-js/faker": "8.0.2",
|
|
58
59
|
"@honeybadger-io/react": "2.0.1",
|
|
59
60
|
"@rollup/plugin-alias": "5.0.0",
|
|
60
61
|
"@rollup/plugin-babel": "6.0.3",
|
|
61
|
-
"@rollup/plugin-commonjs": "25.0.
|
|
62
|
+
"@rollup/plugin-commonjs": "25.0.3",
|
|
62
63
|
"@rollup/plugin-json": "6.0.0",
|
|
63
64
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
64
65
|
"@rollup/plugin-replace": "5.0.2",
|
|
65
66
|
"@svgr/rollup": "8.0.1",
|
|
66
|
-
"antd": "4.24.
|
|
67
|
+
"antd": "4.24.10",
|
|
67
68
|
"autoprefixer": "10.4.14",
|
|
68
69
|
"axios": "1.4.0",
|
|
69
|
-
"babel-loader": "9.1.
|
|
70
|
+
"babel-loader": "9.1.3",
|
|
70
71
|
"babel-plugin-istanbul": "6.1.1",
|
|
71
72
|
"babel-plugin-js-logger": "1.0.17",
|
|
72
73
|
"babel-plugin-macros": "3.1.0",
|
|
@@ -80,22 +81,22 @@
|
|
|
80
81
|
"css-loader": "6.8.1",
|
|
81
82
|
"dompurify": "3.0.2",
|
|
82
83
|
"dotenv-webpack": "^8.0.1",
|
|
83
|
-
"eslint": "8.
|
|
84
|
+
"eslint": "8.45.0",
|
|
84
85
|
"eslint-config-prettier": "8.8.0",
|
|
85
86
|
"eslint-plugin-cypress": "2.13.3",
|
|
86
87
|
"eslint-plugin-import": "2.27.5",
|
|
87
88
|
"eslint-plugin-jam3": "0.2.3",
|
|
88
89
|
"eslint-plugin-json": "3.1.0",
|
|
89
|
-
"eslint-plugin-prettier": "
|
|
90
|
+
"eslint-plugin-prettier": "5.0.0",
|
|
90
91
|
"eslint-plugin-promise": "6.1.1",
|
|
91
92
|
"eslint-plugin-react": "7.32.2",
|
|
92
93
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
93
|
-
"eslint-plugin-unused-imports": "
|
|
94
|
+
"eslint-plugin-unused-imports": "3.0.0",
|
|
94
95
|
"formik": "2.4.2",
|
|
95
96
|
"html-webpack-plugin": "5.5.3",
|
|
96
97
|
"https-browserify": "1.0.0",
|
|
97
98
|
"husky": "8.0.3",
|
|
98
|
-
"i18next": "23.2.
|
|
99
|
+
"i18next": "23.2.11",
|
|
99
100
|
"i18next-browser-languagedetector": "7.0.1",
|
|
100
101
|
"js-logger": "1.6.1",
|
|
101
102
|
"lint-staged": "13.2.3",
|
|
@@ -103,28 +104,29 @@
|
|
|
103
104
|
"mixpanel-browser": "2.47.0",
|
|
104
105
|
"os-browserify": "0.3.0",
|
|
105
106
|
"path-browserify": "1.0.1",
|
|
106
|
-
"postcss": "8.4.
|
|
107
|
+
"postcss": "8.4.26",
|
|
107
108
|
"postcss-import": "15.1.0",
|
|
108
109
|
"postcss-loader": "7.3.3",
|
|
109
110
|
"postcss-preset-env": "9.0.0",
|
|
110
111
|
"prettier": "2.8.8",
|
|
111
|
-
"prettier-plugin-tailwindcss": "0.
|
|
112
|
+
"prettier-plugin-tailwindcss": "0.4.1",
|
|
112
113
|
"process": "0.11.10",
|
|
114
|
+
"qs": "6.11.2",
|
|
113
115
|
"ramda": "0.29.0",
|
|
114
116
|
"react": "17.0.2",
|
|
115
117
|
"react-dom": "17.0.2",
|
|
116
118
|
"react-helmet": "6.1.0",
|
|
117
|
-
"react-i18next": "13.0.
|
|
119
|
+
"react-i18next": "13.0.2",
|
|
118
120
|
"react-query": "3.39.3",
|
|
119
|
-
"react-router-dom": "5.
|
|
120
|
-
"react-toastify": "8.0
|
|
121
|
+
"react-router-dom": "5.3.4",
|
|
122
|
+
"react-toastify": "8.2.0",
|
|
121
123
|
"react_ujs": "2.6.2",
|
|
122
124
|
"rollup": "2.79.1",
|
|
123
125
|
"rollup-plugin-analyzer": "4.0.0",
|
|
124
126
|
"rollup-plugin-cleaner": "1.0.0",
|
|
125
127
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
126
128
|
"rollup-plugin-styles": "4.0.0",
|
|
127
|
-
"sass": "1.
|
|
129
|
+
"sass": "1.64.0",
|
|
128
130
|
"sass-loader": "13.3.2",
|
|
129
131
|
"shakapacker": "6.6.0",
|
|
130
132
|
"stream-browserify": "3.0.0",
|
|
@@ -139,14 +141,15 @@
|
|
|
139
141
|
"webpack-assets-manifest": "5.1.0",
|
|
140
142
|
"webpack-cli": "5.1.4",
|
|
141
143
|
"webpack-dev-server": "4.15.1",
|
|
142
|
-
"yup": "
|
|
144
|
+
"yup": "1.2.0"
|
|
143
145
|
},
|
|
144
146
|
"peerDependencies": {
|
|
145
147
|
"@bigbinary/neeto-commons-frontend": "^2.0.54",
|
|
146
148
|
"@bigbinary/neeto-editor": "^1.26.3",
|
|
149
|
+
"@bigbinary/neeto-filters-frontend": "^2.8.1",
|
|
147
150
|
"@bigbinary/neeto-icons": "^1.9.22",
|
|
148
151
|
"@bigbinary/neeto-molecules": "^1.0.9",
|
|
149
|
-
"@bigbinary/neetoui": "^
|
|
152
|
+
"@bigbinary/neetoui": "^5.0.4",
|
|
150
153
|
"@honeybadger-io/react": "^2.0.1",
|
|
151
154
|
"axios": "^0.27.2",
|
|
152
155
|
"classnames": "^2.3.2",
|
package/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DropdownProps, NoDataProps } from "@bigbinary/neetoui";
|
|
1
2
|
import React from "react";
|
|
2
3
|
|
|
3
4
|
type Breadcrumb = {
|
|
@@ -5,8 +6,22 @@ type Breadcrumb = {
|
|
|
5
6
|
link: string;
|
|
6
7
|
};
|
|
7
8
|
|
|
9
|
+
type HeaderProps = {
|
|
10
|
+
title?: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
actionBlock?: React.ReactNode;
|
|
13
|
+
searchProps?: object;
|
|
14
|
+
breadcrumbs?: {
|
|
15
|
+
text: string;
|
|
16
|
+
link: string;
|
|
17
|
+
}[];
|
|
18
|
+
dropdownProps?: DropdownProps;
|
|
19
|
+
menuBarToggle?: (...args: any[]) => any;
|
|
20
|
+
};
|
|
21
|
+
|
|
8
22
|
interface ApiKeys {
|
|
9
|
-
|
|
23
|
+
noDataProps?: NoDataProps;
|
|
24
|
+
headerProps?: HeaderProps;
|
|
10
25
|
}
|
|
11
26
|
|
|
12
|
-
export const ApiKeys = React.FC<
|
|
27
|
+
export const ApiKeys = React.FC<ApiKeys>;
|