@bigbinary/neeto-wheel-frontend 2.0.0 → 2.1.1

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.
@@ -0,0 +1,13 @@
1
+ import { useTranslation } from 'react-i18next';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ var WelcomeScreen = function WelcomeScreen() {
5
+ var _useTranslation = useTranslation(),
6
+ t = _useTranslation.t;
7
+ return /*#__PURE__*/jsx("div", {
8
+ children: t("neetoWheel.welcomeScreen")
9
+ });
10
+ };
11
+
12
+ export { WelcomeScreen as default };
13
+ //# sourceMappingURL=WelcomeScreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WelcomeScreen.js","sources":["../app/javascript/src/components/WelcomeScreen/index.jsx"],"sourcesContent":["import { useTranslation } from \"react-i18next\";\n\nconst WelcomeScreen = () => {\n const { t } = useTranslation();\n\n return <div>{t(\"neetoWheel.welcomeScreen\")}</div>;\n};\nexport default WelcomeScreen;\n"],"names":["WelcomeScreen","_useTranslation","useTranslation","t","_jsx","children"],"mappings":";;;AAEA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,GAAS;AAC1B,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC,CAAA;AAET,EAAA,oBAAOC,GAAA,CAAA,KAAA,EAAA;IAAAC,QAAA,EAAMF,CAAC,CAAC,0BAA0B,CAAA;AAAC,GAAM,CAAC,CAAA;AACnD;;;;"}
@@ -1,8 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- require('react');
6
3
  var reactI18next = require('react-i18next');
7
4
  var jsxRuntime = require('react/jsx-runtime');
8
5
 
@@ -14,5 +11,5 @@ var WelcomeScreen = function WelcomeScreen() {
14
11
  });
15
12
  };
16
13
 
17
- exports.WelcomeScreen = WelcomeScreen;
18
- //# sourceMappingURL=index.cjs.js.map
14
+ module.exports = WelcomeScreen;
15
+ //# sourceMappingURL=WelcomeScreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WelcomeScreen.js","sources":["../../app/javascript/src/components/WelcomeScreen/index.jsx"],"sourcesContent":["import { useTranslation } from \"react-i18next\";\n\nconst WelcomeScreen = () => {\n const { t } = useTranslation();\n\n return <div>{t(\"neetoWheel.welcomeScreen\")}</div>;\n};\nexport default WelcomeScreen;\n"],"names":["WelcomeScreen","_useTranslation","useTranslation","t","_jsx","children"],"mappings":";;;;;AAEA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,GAAS;AAC1B,EAAA,IAAAC,eAAA,GAAcC,2BAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC,CAAA;AAET,EAAA,oBAAOC,cAAA,CAAA,KAAA,EAAA;IAAAC,QAAA,EAAMF,CAAC,CAAC,0BAA0B,CAAA;AAAC,GAAM,CAAC,CAAA;AACnD;;;;"}
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var WelcomeScreen = require('./WelcomeScreen.js');
4
+ require('react-i18next');
5
+ require('react/jsx-runtime');
6
+
7
+
8
+
9
+ exports.WelcomeScreen = WelcomeScreen;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index.js CHANGED
@@ -1,14 +1,4 @@
1
- import 'react';
2
- import { useTranslation } from 'react-i18next';
3
- import { jsx } from 'react/jsx-runtime';
4
-
5
- var WelcomeScreen = function WelcomeScreen() {
6
- var _useTranslation = useTranslation(),
7
- t = _useTranslation.t;
8
- return /*#__PURE__*/jsx("div", {
9
- children: t("neetoWheel.welcomeScreen")
10
- });
11
- };
12
-
13
- export { WelcomeScreen };
1
+ export { default as WelcomeScreen } from './WelcomeScreen.js';
2
+ import 'react-i18next';
3
+ import 'react/jsx-runtime';
14
4
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../app/javascript/src/components/WelcomeScreen/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nconst WelcomeScreen = () => {\n const { t } = useTranslation();\n\n return <div>{t(\"neetoWheel.welcomeScreen\")}</div>;\n};\nexport default WelcomeScreen;\n"],"names":["WelcomeScreen","_useTranslation","useTranslation","t","_jsx","children"],"mappings":";;;;AAIA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,GAAS;AAC1B,EAAA,IAAAC,eAAA,GAAcC,cAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC,CAAA;AAET,EAAA,oBAAOC,GAAA,CAAA,KAAA,EAAA;IAAAC,QAAA,EAAMF,CAAC,CAAC,0BAA0B,CAAA;AAAC,GAAM,CAAC,CAAA;AACnD;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-wheel-frontend",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
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-wheel-nano",
@@ -14,11 +14,23 @@
14
14
  "types.d.ts",
15
15
  "app/javascript/src/translations"
16
16
  ],
17
+ "exports": {
18
+ ".": {
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/cjs/index.js",
21
+ "types": "./types.d.ts"
22
+ },
23
+ "./*": {
24
+ "import": "./dist/*.js",
25
+ "require": "./dist/cjs/*.js",
26
+ "types": "./types.d.ts"
27
+ }
28
+ },
17
29
  "main": "dist/index.cjs.js",
18
30
  "module": "dist/index.js",
19
31
  "types": "types.d.ts",
20
32
  "scripts": {
21
- "build": "NODE_ENV=production rollup -c --environment production",
33
+ "build": "NODE_ENV=production rollup --bundleConfigAsCjs -c --environment production",
22
34
  "build-preview": "NODE_ENV=production webpack",
23
35
  "prepare": "husky install",
24
36
  "release": "yarn build && yalc push --sig"
@@ -40,26 +52,25 @@
40
52
  ]
41
53
  },
42
54
  "devDependencies": {
43
- "@babel/core": "7.23.2",
44
- "@babel/eslint-parser": "7.22.15",
45
- "@babel/plugin-transform-runtime": "7.23.2",
46
- "@babel/preset-env": "7.23.2",
47
- "@babel/preset-react": "7.22.15",
48
- "@babel/preset-typescript": "7.23.2",
49
- "@babel/runtime": "7.23.2",
50
- "@bigbinary/babel-preset-neeto": "1.0.6",
51
- "@bigbinary/eslint-plugin-neeto": "1.5.2",
52
- "@bigbinary/neeto-audit-frontend": "2.0.11",
53
- "@bigbinary/neeto-cist": "1.0.10",
54
- "@bigbinary/neeto-commons-frontend": "3.6.0",
55
- "@bigbinary/neeto-filters-frontend": "3.3.5",
56
- "@bigbinary/neeto-icons": "1.19.0",
57
- "@bigbinary/neeto-molecules": "2.0.4",
58
- "@bigbinary/neetoui": "6.5.13",
55
+ "@babel/core": "^7.19.1",
56
+ "@babel/eslint-parser": "7.17.0",
57
+ "@babel/plugin-transform-runtime": "^7.19.1",
58
+ "@babel/preset-env": "7.17.10",
59
+ "@babel/preset-react": "7.16.7",
60
+ "@babel/preset-typescript": "^7.18.6",
61
+ "@babel/runtime": "7.19.0",
62
+ "@bigbinary/babel-preset-neeto": "^1.0.3",
63
+ "@bigbinary/eslint-plugin-neeto": "1.5.4",
64
+ "@bigbinary/neeto-cist": "1.0.12",
65
+ "@bigbinary/neeto-commons-frontend": "4.8.6",
66
+ "@bigbinary/neeto-filters-frontend": "4.3.5",
67
+ "@bigbinary/neeto-icons": "1.20.8",
68
+ "@bigbinary/neeto-molecules": "3.7.24",
69
+ "@bigbinary/neetoui": "8.2.25",
59
70
  "@emotion/is-prop-valid": "1.2.0",
60
71
  "@faker-js/faker": "8.2.0",
61
- "@honeybadger-io/js": "6.5.3",
62
- "@honeybadger-io/react": "6.1.9",
72
+ "@honeybadger-io/js": "^6.4.1",
73
+ "@honeybadger-io/react": "^6.1.3",
63
74
  "@rollup/plugin-alias": "5.0.1",
64
75
  "@rollup/plugin-babel": "6.0.4",
65
76
  "@rollup/plugin-commonjs": "25.0.7",
@@ -68,117 +79,140 @@
68
79
  "@rollup/plugin-replace": "5.0.4",
69
80
  "@svgr/rollup": "8.1.0",
70
81
  "@tanstack/react-query": "5.40.0",
71
- "antd": "5.10.2",
72
- "autoprefixer": "10.4.16",
73
- "axios": "1.6.0",
74
- "babel-loader": "9.1.3",
75
- "babel-plugin-istanbul": "6.1.1",
82
+ "@tanstack/react-query-devtools": "5.40.0",
83
+ "antd": "5.16.0",
84
+ "autoprefixer": "^10.4.5",
85
+ "axios": "1.7.4",
86
+ "babel-loader": "^8.2.5",
87
+ "babel-plugin-istanbul": "^6.1.1",
76
88
  "babel-plugin-js-logger": "1.0.17",
77
89
  "babel-plugin-macros": "3.1.0",
78
90
  "babel-plugin-preval": "^5.1.0",
79
91
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
80
92
  "babel-preset-react": "6.24.1",
81
- "babel-preset-typescript": "7.0.0-alpha.19",
93
+ "babel-preset-typescript": "^7.0.0-alpha.19",
82
94
  "browserify-zlib": "0.2.0",
83
- "buffer": "6.0.3",
84
- "classnames": "2.3.2",
85
- "crypto-browserify": "3.12.0",
95
+ "buffer": "^6.0.3",
96
+ "classnames": "2.3.1",
97
+ "crypto-browserify": "^3.12.0",
86
98
  "css-loader": "6.8.1",
87
- "dompurify": "3.0.2",
99
+ "dompurify": "^2.4.0",
88
100
  "dotenv-webpack": "^8.0.1",
89
- "eslint": "8.52.0",
101
+ "eslint": "8.14.0",
90
102
  "eslint-config-prettier": "8.5.0",
91
- "eslint-plugin-cypress": "2.15.1",
92
- "eslint-plugin-import": "2.29.0",
103
+ "eslint-plugin-cypress": "2.12.1",
104
+ "eslint-plugin-import": "2.26.0",
93
105
  "eslint-plugin-jam3": "0.2.3",
94
106
  "eslint-plugin-json": "3.1.0",
95
107
  "eslint-plugin-prettier": "4.0.0",
96
- "eslint-plugin-promise": "6.1.1",
97
- "eslint-plugin-react": "7.33.2",
98
- "eslint-plugin-react-hooks": "4.6.0",
108
+ "eslint-plugin-promise": "6.0.0",
109
+ "eslint-plugin-react": "7.29.4",
110
+ "eslint-plugin-react-hooks": "4.5.0",
99
111
  "eslint-plugin-security": "^1.7.1",
100
112
  "eslint-plugin-sonarjs": "^0.21.0",
101
- "eslint-plugin-unused-imports": "3.0.0",
113
+ "eslint-plugin-unused-imports": "2.0.0",
102
114
  "eslint-plugin-xss": "^0.1.12",
103
- "formik": "2.4.5",
115
+ "formik": "2.2.9",
104
116
  "html-webpack-plugin": "5.5.3",
105
117
  "https-browserify": "1.0.0",
106
- "husky": "8.0.3",
107
- "i18next": "23.6.0",
118
+ "husky": "7.0.4",
119
+ "i18next": "22.5.1",
108
120
  "i18next-browser-languagedetector": "7.0.1",
109
121
  "js-logger": "1.6.1",
110
- "lint-staged": "15.0.2",
122
+ "lint-staged": "12.4.1",
111
123
  "mini-css-extract-plugin": "2.7.6",
112
124
  "mixpanel-browser": "2.47.0",
113
125
  "os-browserify": "0.3.0",
114
- "path-browserify": "1.0.1",
115
- "postcss": "8.4.31",
116
- "postcss-import": "15.1.0",
117
- "postcss-loader": "7.3.3",
118
- "postcss-preset-env": "9.2.0",
126
+ "path-browserify": "^1.0.1",
127
+ "postcss": "^8.4.31",
128
+ "postcss-import": "^15.0.0",
129
+ "postcss-loader": "^7.0.1",
130
+ "postcss-preset-env": "7.8.2",
119
131
  "prettier": "2.6.2",
120
132
  "prettier-plugin-tailwindcss": "0.1.10",
121
133
  "process": "0.11.10",
122
- "qs": "6.11.2",
123
- "ramda": "0.29.1",
134
+ "qs": "^6.11.2",
135
+ "ramda": "0.29.0",
124
136
  "react": "18.2.0",
125
137
  "react-dom": "18.2.0",
126
- "react-helmet": "6.1.0",
127
- "react-i18next": "13.3.1",
128
- "react-router-dom": "5.3.4",
129
- "react-toastify": "8.2.0",
138
+ "react-helmet": "^6.1.0",
139
+ "react-i18next": "12.3.1",
140
+ "react-router-dom": "5.3.3",
141
+ "react-toastify": "8.0.2",
130
142
  "react_ujs": "^3.1.1",
131
- "rollup": "2.79.1",
143
+ "rollup": "^4.24.0",
132
144
  "rollup-plugin-analyzer": "4.0.0",
133
145
  "rollup-plugin-cleaner": "1.0.0",
134
146
  "rollup-plugin-copy": "^3.5.0",
135
147
  "rollup-plugin-peer-deps-external": "2.2.4",
136
148
  "rollup-plugin-styles": "4.0.0",
137
- "sass": "1.69.5",
138
- "sass-loader": "13.3.2",
149
+ "sass": "^1.54.9",
150
+ "sass-loader": "^13.0.2",
139
151
  "shakapacker": "6.6.0",
140
- "stream-browserify": "3.0.0",
152
+ "source-map-loader": "4.0.1",
153
+ "stream-browserify": "^3.0.0",
141
154
  "stream-http": "3.2.0",
142
- "style-loader": "3.3.3",
143
- "tailwindcss": "3.4.1",
155
+ "style-loader": "^3.3.1",
156
+ "tailwindcss": "^3.4.1",
144
157
  "tty-browserify": "0.0.1",
145
- "url": "0.11.1",
146
- "util": "0.12.5",
158
+ "url": "^0.11.0",
159
+ "util": "^0.12.5",
147
160
  "vm-browserify": "1.1.2",
148
- "webpack": "5.88.1",
161
+ "webpack": "5.94.0",
149
162
  "webpack-assets-manifest": "5.1.0",
150
163
  "webpack-cli": "5.1.4",
151
164
  "webpack-dev-server": "4.15.1",
152
- "yup": "1.3.2"
165
+ "yup": "0.32.11",
166
+ "zustand": "4.3.2"
153
167
  },
154
168
  "peerDependencies": {
155
- "@bigbinary/neeto-cist": "latest",
156
- "@bigbinary/neeto-commons-frontend": "3.6.0",
157
- "@bigbinary/neeto-editor": "^1.26.3",
158
- "@bigbinary/neeto-filters-frontend": "3.3.5",
159
- "@bigbinary/neeto-icons": "1.19.0",
160
- "@bigbinary/neeto-molecules": "2.0.4",
161
- "@bigbinary/neetoui": "6.5.13",
162
- "@honeybadger-io/js": "^6.5.3",
163
- "@honeybadger-io/react": "^6.1.9",
164
- "axios": "^1.6.0",
165
- "classnames": "^2.3.2",
166
- "formik": "^2.4.5",
167
- "i18next": "^23.6.0",
168
- "js-logger": "^1.6.1",
169
+ "@babel/runtime": "7.19.0",
170
+ "@bigbinary/neeto-cist": "1.0.12",
171
+ "@bigbinary/neeto-commons-frontend": "4.8.6",
172
+ "@bigbinary/neeto-filters-frontend": "4.3.5",
173
+ "@bigbinary/neeto-icons": "1.20.8",
174
+ "@bigbinary/neeto-molecules": "3.7.24",
175
+ "@bigbinary/neetoui": "8.2.25",
176
+ "@honeybadger-io/js": "^6.4.1",
177
+ "@honeybadger-io/react": "^6.1.3",
178
+ "@tanstack/react-query": "5.40.0",
179
+ "@tanstack/react-query-devtools": "5.40.0",
180
+ "antd": "5.16.0",
181
+ "axios": "1.7.4",
182
+ "buffer": "^6.0.3",
183
+ "classnames": "2.3.1",
184
+ "crypto-browserify": "^3.12.0",
185
+ "dompurify": "^2.4.0",
186
+ "formik": "2.2.9",
187
+ "https-browserify": "1.0.0",
188
+ "i18next": "22.5.1",
189
+ "js-logger": "1.6.1",
169
190
  "mixpanel-browser": "^2.45.0",
170
- "ramda": "^0.29.1",
171
- "react": "^18.2.0",
172
- "react-dom": "^18.2.0",
191
+ "os-browserify": "0.3.0",
192
+ "path-browserify": "^1.0.1",
193
+ "qs": "^6.11.2",
194
+ "ramda": "0.29.0",
195
+ "react": "18.2.0",
196
+ "react-dom": "18.2.0",
173
197
  "react-helmet": "^6.1.0",
174
- "react-i18next": "^13.3.1",
175
- "react-router-dom": "^5.3.4",
176
- "react-toastify": "^8.2.0",
177
- "yup": "^0.32.11",
198
+ "react-i18next": "12.3.1",
199
+ "react-router-dom": "5.3.3",
200
+ "react-toastify": "8.0.2",
201
+ "source-map-loader": "4.0.1",
202
+ "stream-browserify": "^3.0.0",
203
+ "stream-http": "3.2.0",
204
+ "tailwindcss": "^3.4.1",
205
+ "tty-browserify": "0.0.1",
206
+ "url": "^0.11.0",
207
+ "util": "^0.12.5",
208
+ "vm-browserify": "1.1.2",
209
+ "yup": "0.32.11",
178
210
  "zustand": "4.3.2"
179
211
  },
180
212
  "resolutions": {
181
- "postcss": "^8"
213
+ "postcss": "^8",
214
+ "wrap-ansi": "7.0.0",
215
+ "string-width": "4.1.0"
182
216
  },
183
217
  "engines": {
184
218
  "node": ">=18.12",
@@ -187,8 +221,6 @@
187
221
  },
188
222
  "dependencies": {
189
223
  "babel-plugin-transform-imports": "^2.0.0",
190
- "react-router-nav-prompt": "0.4.1",
191
- "source-map-loader": "^4.0.1",
192
- "zustand": "4.3.2"
224
+ "react-router-nav-prompt": "0.4.1"
193
225
  }
194
226
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../app/javascript/src/components/WelcomeScreen/index.jsx"],"sourcesContent":["import React from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nconst WelcomeScreen = () => {\n const { t } = useTranslation();\n\n return <div>{t(\"neetoWheel.welcomeScreen\")}</div>;\n};\nexport default WelcomeScreen;\n"],"names":["WelcomeScreen","_useTranslation","useTranslation","t","_jsx","children"],"mappings":";;;;;;;;AAIA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,GAAS;AAC1B,EAAA,IAAAC,eAAA,GAAcC,2BAAc,EAAE;IAAtBC,CAAC,GAAAF,eAAA,CAADE,CAAC,CAAA;AAET,EAAA,oBAAOC,cAAA,CAAA,KAAA,EAAA;IAAAC,QAAA,EAAMF,CAAC,CAAC,0BAA0B,CAAA;AAAC,GAAM,CAAC,CAAA;AACnD;;;;"}