@bigbinary/neeto-rules-frontend 0.3.5 → 0.3.6
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/README.md +12 -458
- package/dist/index.cjs.js +705 -2816
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +685 -2795
- package/dist/index.js.map +1 -1
- package/package.json +140 -113
- package/types.d.ts +3 -0
- package/dist/main.css +0 -2
- package/dist/main.css.map +0 -1
- /package/{src → app/javascript/src}/translations/en.json +0 -0
- /package/{src → app/javascript/src}/translations/fr.json +0 -0
- /package/{src → app/javascript/src}/translations/index.js +0 -0
package/package.json
CHANGED
|
@@ -1,161 +1,188 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-rules-frontend",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.3.6",
|
|
4
|
+
"description": "A repo acts as the source of truth for the new nano's structure, configs, data etc.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"homepage": "https://github.com/bigbinary/neeto-rules-nano",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/bigbinary/neeto-rules-nano/issues"
|
|
9
|
+
},
|
|
10
|
+
"repository": "neeto-rules-nano",
|
|
5
11
|
"author": "BigBinary",
|
|
6
|
-
"
|
|
7
|
-
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"types.d.ts",
|
|
15
|
+
"app/javascript/src/translations"
|
|
16
|
+
],
|
|
8
17
|
"main": "dist/index.cjs.js",
|
|
9
18
|
"module": "dist/index.js",
|
|
10
|
-
"
|
|
11
|
-
"node": "18.12",
|
|
12
|
-
"npm": "9.x",
|
|
13
|
-
"yarn": "1.22.x"
|
|
14
|
-
},
|
|
19
|
+
"types": "types.d.ts",
|
|
15
20
|
"scripts": {
|
|
16
21
|
"build": "NODE_ENV=production rollup -c --environment production",
|
|
17
22
|
"prepare": "husky install",
|
|
18
|
-
"
|
|
23
|
+
"release": "yarn build && yalc push --sig",
|
|
24
|
+
"build-preview": "NODE_ENV=production webpack"
|
|
19
25
|
},
|
|
20
26
|
"lint-staged": {
|
|
21
|
-
"
|
|
27
|
+
"./**/app/javascript/**/*.{js,jsx,json}": [
|
|
22
28
|
"prettier --write",
|
|
23
29
|
"eslint --fix"
|
|
30
|
+
],
|
|
31
|
+
"./test/dummy/**/app/javascript/**/*.{js,jsx,json}": [
|
|
32
|
+
"prettier --write",
|
|
33
|
+
"eslint --fix"
|
|
34
|
+
],
|
|
35
|
+
"./**/*.rb": [
|
|
36
|
+
"bundle exec rubocop -a --force-exclusion"
|
|
37
|
+
],
|
|
38
|
+
"{Gemfile,Rakefile,config.ru}": [
|
|
39
|
+
"bundle exec rubocop -a --force-exclusion"
|
|
24
40
|
]
|
|
25
41
|
},
|
|
26
42
|
"devDependencies": {
|
|
27
|
-
"@babel/core": "
|
|
28
|
-
"@babel/eslint-parser": "7.
|
|
29
|
-
"@babel/plugin-transform-runtime": "
|
|
30
|
-
"@babel/preset-env": "7.
|
|
31
|
-
"@babel/preset-react": "7.
|
|
32
|
-
"@babel/preset-typescript": "
|
|
33
|
-
"@babel/runtime": "
|
|
34
|
-
"@bigbinary/babel-preset-neeto": "
|
|
43
|
+
"@babel/core": "7.22.6",
|
|
44
|
+
"@babel/eslint-parser": "7.22.6",
|
|
45
|
+
"@babel/plugin-transform-runtime": "7.22.6",
|
|
46
|
+
"@babel/preset-env": "7.22.6",
|
|
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",
|
|
35
51
|
"@bigbinary/eslint-plugin-neeto": "1.1.27",
|
|
36
|
-
"@bigbinary/neeto-audit-frontend": "1.0.
|
|
52
|
+
"@bigbinary/neeto-audit-frontend": "1.0.8",
|
|
37
53
|
"@bigbinary/neeto-cist": "^1.0.2",
|
|
38
54
|
"@bigbinary/neeto-commons-frontend": "^2.1.29",
|
|
39
|
-
"@bigbinary/neeto-
|
|
40
|
-
"@bigbinary/neeto-
|
|
41
|
-
"@bigbinary/
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
55
|
+
"@bigbinary/neeto-icons": "1.12.3",
|
|
56
|
+
"@bigbinary/neeto-molecules": "^1.0.92",
|
|
57
|
+
"@bigbinary/neetoui": "5.0.13",
|
|
58
|
+
"@emotion/is-prop-valid": "1.2.0",
|
|
59
|
+
"@faker-js/faker": "8.0.2",
|
|
44
60
|
"@honeybadger-io/react": "2.0.1",
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@rollup/plugin-
|
|
48
|
-
"@rollup/plugin-
|
|
49
|
-
"@rollup/plugin-
|
|
50
|
-
"@rollup/plugin-
|
|
51
|
-
"@rollup
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"autoprefixer": "^10.4.5",
|
|
58
|
-
"axios": "0.27.2",
|
|
59
|
-
"babel-loader": "^8.2.5",
|
|
60
|
-
"babel-plugin-istanbul": "^6.1.1",
|
|
61
|
+
"@rollup/plugin-alias": "5.0.0",
|
|
62
|
+
"@rollup/plugin-babel": "6.0.3",
|
|
63
|
+
"@rollup/plugin-commonjs": "25.0.2",
|
|
64
|
+
"@rollup/plugin-json": "6.0.0",
|
|
65
|
+
"@rollup/plugin-node-resolve": "15.1.0",
|
|
66
|
+
"@rollup/plugin-replace": "5.0.2",
|
|
67
|
+
"@svgr/rollup": "8.0.1",
|
|
68
|
+
"antd": "4.24.12",
|
|
69
|
+
"autoprefixer": "10.4.14",
|
|
70
|
+
"axios": "1.4.0",
|
|
71
|
+
"babel-loader": "9.1.2",
|
|
72
|
+
"babel-plugin-istanbul": "6.1.1",
|
|
61
73
|
"babel-plugin-js-logger": "1.0.17",
|
|
62
74
|
"babel-plugin-macros": "3.1.0",
|
|
63
75
|
"babel-plugin-preval": "^5.1.0",
|
|
64
76
|
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
65
77
|
"babel-preset-react": "6.24.1",
|
|
66
|
-
"babel-preset-typescript": "
|
|
67
|
-
"browserify-zlib": "
|
|
68
|
-
"buffer": "
|
|
69
|
-
"classnames": "2.3.
|
|
70
|
-
"crypto-browserify": "
|
|
71
|
-
"css-loader": "6.
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"eslint
|
|
75
|
-
"eslint-
|
|
76
|
-
"eslint-plugin-
|
|
78
|
+
"babel-preset-typescript": "7.0.0-alpha.19",
|
|
79
|
+
"browserify-zlib": "0.2.0",
|
|
80
|
+
"buffer": "6.0.3",
|
|
81
|
+
"classnames": "2.3.2",
|
|
82
|
+
"crypto-browserify": "3.12.0",
|
|
83
|
+
"css-loader": "6.8.1",
|
|
84
|
+
"dompurify": "3.0.2",
|
|
85
|
+
"dotenv-webpack": "^8.0.1",
|
|
86
|
+
"eslint": "8.44.0",
|
|
87
|
+
"eslint-config-prettier": "8.8.0",
|
|
88
|
+
"eslint-plugin-cypress": "2.13.3",
|
|
89
|
+
"eslint-plugin-import": "2.27.5",
|
|
77
90
|
"eslint-plugin-jam3": "0.2.3",
|
|
78
91
|
"eslint-plugin-json": "3.1.0",
|
|
79
|
-
"eslint-plugin-prettier": "4.
|
|
80
|
-
"eslint-plugin-promise": "6.
|
|
81
|
-
"eslint-plugin-react": "7.
|
|
82
|
-
"eslint-plugin-react-hooks": "4.
|
|
92
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
93
|
+
"eslint-plugin-promise": "6.1.1",
|
|
94
|
+
"eslint-plugin-react": "7.32.2",
|
|
95
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
96
|
+
"eslint-plugin-security": "^1.7.1",
|
|
97
|
+
"eslint-plugin-sonarjs": "^0.21.0",
|
|
83
98
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"html-webpack-plugin": "
|
|
87
|
-
"https-browserify": "
|
|
88
|
-
"husky": "
|
|
99
|
+
"eslint-plugin-xss": "^0.1.12",
|
|
100
|
+
"formik": "2.4.2",
|
|
101
|
+
"html-webpack-plugin": "5.5.3",
|
|
102
|
+
"https-browserify": "1.0.0",
|
|
103
|
+
"husky": "8.0.3",
|
|
89
104
|
"i18next": "23.2.7",
|
|
90
|
-
"i18next-browser-languagedetector": "
|
|
91
|
-
"js-logger": "
|
|
92
|
-
"lint-staged": "
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"postcss
|
|
98
|
-
"postcss-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
105
|
+
"i18next-browser-languagedetector": "7.0.1",
|
|
106
|
+
"js-logger": "1.6.1",
|
|
107
|
+
"lint-staged": "13.2.3",
|
|
108
|
+
"mini-css-extract-plugin": "2.7.6",
|
|
109
|
+
"mixpanel-browser": "2.47.0",
|
|
110
|
+
"os-browserify": "0.3.0",
|
|
111
|
+
"path-browserify": "1.0.1",
|
|
112
|
+
"postcss": "8.4.31",
|
|
113
|
+
"postcss-import": "15.1.0",
|
|
114
|
+
"postcss-loader": "7.3.3",
|
|
115
|
+
"postcss-preset-env": "9.0.0",
|
|
116
|
+
"prettier": "2.8.8",
|
|
117
|
+
"prettier-plugin-tailwindcss": "0.3.0",
|
|
118
|
+
"process": "0.11.10",
|
|
102
119
|
"ramda": "0.29.0",
|
|
103
120
|
"react": "^18.2.0",
|
|
104
121
|
"react-dom": "^18.2.0",
|
|
105
|
-
"react-helmet": "
|
|
122
|
+
"react-helmet": "6.1.0",
|
|
106
123
|
"react-i18next": "13.0.1",
|
|
107
|
-
"react-query": "
|
|
124
|
+
"react-query": "3.39.3",
|
|
108
125
|
"react-router-dom": "5.3.3",
|
|
109
|
-
"react-select": "^5.2.1",
|
|
110
126
|
"react-toastify": "8.0.2",
|
|
111
|
-
"
|
|
127
|
+
"react_ujs": "^3.1.1",
|
|
128
|
+
"rollup": "2.79.1",
|
|
112
129
|
"rollup-plugin-analyzer": "4.0.0",
|
|
113
|
-
"rollup-plugin-bundle-html": "0.2.2",
|
|
114
130
|
"rollup-plugin-cleaner": "1.0.0",
|
|
115
|
-
"rollup-plugin-generate-html-template": "1.7.0",
|
|
116
|
-
"rollup-plugin-livereload": "2.0.5",
|
|
117
131
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
118
|
-
"rollup-plugin-polyfill-node": "0.9.0",
|
|
119
|
-
"rollup-plugin-serve": "2.0.0",
|
|
120
132
|
"rollup-plugin-styles": "4.0.0",
|
|
121
|
-
"sass": "
|
|
122
|
-
"sass-loader": "
|
|
123
|
-
"
|
|
124
|
-
"stream-
|
|
125
|
-
"
|
|
133
|
+
"sass": "1.63.6",
|
|
134
|
+
"sass-loader": "13.3.2",
|
|
135
|
+
"shakapacker": "6.6.0",
|
|
136
|
+
"stream-browserify": "3.0.0",
|
|
137
|
+
"stream-http": "3.2.0",
|
|
138
|
+
"style-loader": "3.3.3",
|
|
126
139
|
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
|
|
127
|
-
"tty-browserify": "
|
|
128
|
-
"url": "
|
|
129
|
-
"util": "
|
|
130
|
-
"
|
|
131
|
-
"webpack
|
|
132
|
-
"webpack-
|
|
140
|
+
"tty-browserify": "0.0.1",
|
|
141
|
+
"url": "0.11.1",
|
|
142
|
+
"util": "0.12.5",
|
|
143
|
+
"vm-browserify": "1.1.2",
|
|
144
|
+
"webpack": "5.88.1",
|
|
145
|
+
"webpack-assets-manifest": "5.1.0",
|
|
146
|
+
"webpack-cli": "5.1.4",
|
|
147
|
+
"webpack-dev-server": "4.15.1",
|
|
133
148
|
"yup": "0.32.11"
|
|
134
149
|
},
|
|
135
150
|
"peerDependencies": {
|
|
136
151
|
"@bigbinary/neeto-cist": "latest",
|
|
137
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
138
|
-
"@bigbinary/neeto-editor": "
|
|
139
|
-
"@bigbinary/neeto-icons": "
|
|
140
|
-
"@bigbinary/neeto-molecules": "
|
|
141
|
-
"@bigbinary/neetoui": "
|
|
142
|
-
"@honeybadger-io/react": "^2.1
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"dayjs": "1.11.1",
|
|
147
|
-
"formik": "2.2.9",
|
|
152
|
+
"@bigbinary/neeto-commons-frontend": "^2.1.28",
|
|
153
|
+
"@bigbinary/neeto-editor": "^1.26.3",
|
|
154
|
+
"@bigbinary/neeto-icons": "^1.9.22",
|
|
155
|
+
"@bigbinary/neeto-molecules": "^1.0.9",
|
|
156
|
+
"@bigbinary/neetoui": "^4.4.10",
|
|
157
|
+
"@honeybadger-io/react": "^2.0.1",
|
|
158
|
+
"axios": "^0.27.2",
|
|
159
|
+
"classnames": "^2.3.2",
|
|
160
|
+
"formik": "^2.2.9",
|
|
148
161
|
"i18next": "23.2.7",
|
|
149
162
|
"js-logger": "^1.6.1",
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"react
|
|
163
|
+
"mixpanel-browser": "^2.45.0",
|
|
164
|
+
"ramda": "^0.29.0",
|
|
165
|
+
"react": "18.2.0",
|
|
166
|
+
"react-dom": "18.2.0",
|
|
167
|
+
"react-helmet": "^6.1.0",
|
|
153
168
|
"react-i18next": "13.0.1",
|
|
154
|
-
"react-query": "
|
|
155
|
-
"
|
|
169
|
+
"react-query": "3.39.2",
|
|
170
|
+
"react-router-dom": "5.3.3",
|
|
171
|
+
"react-toastify": "8.2.0",
|
|
172
|
+
"yup": "^0.32.11",
|
|
173
|
+
"zustand": "4.3.2"
|
|
156
174
|
},
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
175
|
+
"resolutions": {
|
|
176
|
+
"postcss": "^8"
|
|
177
|
+
},
|
|
178
|
+
"engines": {
|
|
179
|
+
"node": ">=18.12",
|
|
180
|
+
"npm": ">=9",
|
|
181
|
+
"yarn": ">=1.22"
|
|
182
|
+
},
|
|
183
|
+
"dependencies": {
|
|
184
|
+
"react-router-nav-prompt": "0.4.1",
|
|
185
|
+
"source-map-loader": "^4.0.1",
|
|
186
|
+
"zustand": "4.3.2"
|
|
187
|
+
}
|
|
161
188
|
}
|
package/types.d.ts
ADDED
package/dist/main.css
DELETED
package/dist/main.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/stylesheets/components/_error-boundary.scss","../src/stylesheets/abstracts/_neeto-ui-variables.scss","../src/stylesheets/main.scss"],"names":[],"mappings":"AAAA,8BAIE,kBAAA,CAGA,wBCKkB,CDNlB,iBCeoB,CDlBpB,YAAA,CAEA,QAAA,CAHA,kBAAA,CADA,gBEOF,CFCE,gCACE,aECJ","file":"main.css","sourcesContent":[".neeto-filters-error-boundary {\n padding: 8px 20px;\n margin-bottom: 12px;\n display: flex;\n align-items: center;\n gap: 16px;\n border-radius: $neeto-ui-rounded-sm;\n background-color: $neeto-ui-gray-100;\n\n p {\n color: $neeto-ui-gray-800;\n }\n}\n","// Color pelette\n\n// primary\n$neeto-ui-white: #ffffff;\n// grays\n$neeto-ui-gray-800: #2f3941;\n$neeto-ui-gray-700: #49545c;\n$neeto-ui-gray-600: #68737d;\n$neeto-ui-gray-500: #87929d;\n$neeto-ui-gray-400: #c2c8cc;\n$neeto-ui-gray-300: #d8dcde;\n$neeto-ui-gray-200: #e9ebed;\n$neeto-ui-gray-100: #f8f9f9;\n// pastels\n$neeto-ui-pastel-blue: #eaf3fc;\n\n// Font weights\n$neeto-ui-font-semibold: 600;\n$neeto-ui-font-normal: 400;\n\n// Border Radius\n$neeto-ui-rounded-sm: 2px;\n\n// Box Shadows\n$neeto-ui-shadow-s: 0px 3px 12px -1px rgba(28, 52, 84, 0.12),\n 0px 2px 4px -1px rgba(28, 55, 90, 0.08);\n\n// Transition\n$neeto-ui-transition: all 0.3s ease-in-out;\n",".neeto-filters-error-boundary {\n padding: 8px 20px;\n margin-bottom: 12px;\n display: flex;\n align-items: center;\n gap: 16px;\n border-radius: 2px;\n background-color: #f8f9f9;\n}\n.neeto-filters-error-boundary p {\n color: #2f3941;\n}"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|