@bigbinary/neeto-email-delivery-frontend 1.0.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.
Files changed (62) hide show
  1. package/README.md +150 -0
  2. package/app/javascript/src/translations/ar.json +5 -0
  3. package/app/javascript/src/translations/bg.json +5 -0
  4. package/app/javascript/src/translations/ca.json +5 -0
  5. package/app/javascript/src/translations/cs.json +5 -0
  6. package/app/javascript/src/translations/da.json +5 -0
  7. package/app/javascript/src/translations/de.json +5 -0
  8. package/app/javascript/src/translations/en.json +80 -0
  9. package/app/javascript/src/translations/es-MX.json +5 -0
  10. package/app/javascript/src/translations/es.json +5 -0
  11. package/app/javascript/src/translations/et.json +5 -0
  12. package/app/javascript/src/translations/fi.json +5 -0
  13. package/app/javascript/src/translations/fil.json +5 -0
  14. package/app/javascript/src/translations/fr.json +5 -0
  15. package/app/javascript/src/translations/hi.json +5 -0
  16. package/app/javascript/src/translations/hr.json +5 -0
  17. package/app/javascript/src/translations/id.json +5 -0
  18. package/app/javascript/src/translations/index.js +3 -0
  19. package/app/javascript/src/translations/it.json +5 -0
  20. package/app/javascript/src/translations/ja.json +5 -0
  21. package/app/javascript/src/translations/ko.json +5 -0
  22. package/app/javascript/src/translations/nl.json +5 -0
  23. package/app/javascript/src/translations/pl.json +5 -0
  24. package/app/javascript/src/translations/pt-BR.json +5 -0
  25. package/app/javascript/src/translations/pt.json +5 -0
  26. package/app/javascript/src/translations/ro.json +5 -0
  27. package/app/javascript/src/translations/ru.json +5 -0
  28. package/app/javascript/src/translations/sk.json +5 -0
  29. package/app/javascript/src/translations/sl.json +5 -0
  30. package/app/javascript/src/translations/sv.json +5 -0
  31. package/app/javascript/src/translations/th.json +5 -0
  32. package/app/javascript/src/translations/tr.json +5 -0
  33. package/app/javascript/src/translations/uk.json +5 -0
  34. package/app/javascript/src/translations/vi.json +5 -0
  35. package/app/javascript/src/translations/zh-CN.json +5 -0
  36. package/app/javascript/src/translations/zh-TW.json +5 -0
  37. package/dist/EmailDeliveryScreen.js +419 -0
  38. package/dist/EmailDeliveryScreen.js.map +1 -0
  39. package/dist/SparkpostDomainSetup.js +119 -0
  40. package/dist/SparkpostDomainSetup.js.map +1 -0
  41. package/dist/SparkpostDomainVerify.js +265 -0
  42. package/dist/SparkpostDomainVerify.js.map +1 -0
  43. package/dist/cjs/EmailDeliveryScreen.js +421 -0
  44. package/dist/cjs/EmailDeliveryScreen.js.map +1 -0
  45. package/dist/cjs/SparkpostDomainSetup.js +121 -0
  46. package/dist/cjs/SparkpostDomainSetup.js.map +1 -0
  47. package/dist/cjs/SparkpostDomainVerify.js +267 -0
  48. package/dist/cjs/SparkpostDomainVerify.js.map +1 -0
  49. package/dist/cjs/index.js +46 -0
  50. package/dist/cjs/index.js.map +1 -0
  51. package/dist/constants-9aNca_br.js +67 -0
  52. package/dist/constants-9aNca_br.js.map +1 -0
  53. package/dist/constants-DcHGgJC2.js +94 -0
  54. package/dist/constants-DcHGgJC2.js.map +1 -0
  55. package/dist/index.js +38 -0
  56. package/dist/index.js.map +1 -0
  57. package/dist/useSparkpostDomain-ByWd7ekp.js +183 -0
  58. package/dist/useSparkpostDomain-ByWd7ekp.js.map +1 -0
  59. package/dist/useSparkpostDomain-DogzCozg.js +193 -0
  60. package/dist/useSparkpostDomain-DogzCozg.js.map +1 -0
  61. package/package.json +235 -0
  62. package/types.d.ts +22 -0
package/package.json ADDED
@@ -0,0 +1,235 @@
1
+ {
2
+ "name": "@bigbinary/neeto-email-delivery-frontend",
3
+ "version": "1.0.1",
4
+ "description": "This repo is for implementing custom email delivery functionality for the Neeto platform.",
5
+ "license": "UNLICENSED",
6
+ "homepage": "https://github.com/bigbinary/neeto-email-delivery-nano",
7
+ "bugs": {
8
+ "url": "https://github.com/bigbinary/neeto-email-delivery-nano/issues"
9
+ },
10
+ "repository": "neeto-email-delivery-nano",
11
+ "author": "BigBinary",
12
+ "private": false,
13
+ "publishConfig": {
14
+ "access": "public",
15
+ "registry": "https://registry.npmjs.org/"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "types.d.ts",
20
+ "app/javascript/src/translations"
21
+ ],
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "require": "./dist/cjs/index.js",
26
+ "types": "./types.d.ts"
27
+ },
28
+ "./*": {
29
+ "import": "./dist/*.js",
30
+ "require": "./dist/cjs/*.js",
31
+ "types": "./types.d.ts"
32
+ }
33
+ },
34
+ "main": "dist/index.cjs.js",
35
+ "module": "dist/index.js",
36
+ "types": "types.d.ts",
37
+ "scripts": {
38
+ "build": "NODE_ENV=production rollup --bundleConfigAsCjs -c --environment production",
39
+ "build-preview": "NODE_ENV=production webpack",
40
+ "prepare": "husky install",
41
+ "release": "yarn build && yalc push --sig"
42
+ },
43
+ "lint-staged": {
44
+ "./**/*.rb": [
45
+ "bundle exec rubocop -a --force-exclusion"
46
+ ],
47
+ "./**/app/javascript/**/*.{js,jsx,json}": [
48
+ "prettier --write",
49
+ "eslint --fix"
50
+ ],
51
+ "./test/dummy/**/app/javascript/**/*.{js,jsx,json}": [
52
+ "prettier --write",
53
+ "eslint --fix"
54
+ ],
55
+ "{Gemfile,Rakefile,config.ru}": [
56
+ "bundle exec rubocop -a --force-exclusion"
57
+ ]
58
+ },
59
+ "devDependencies": {
60
+ "@babel/core": "7.26.0",
61
+ "@babel/eslint-parser": "7.25.9",
62
+ "@babel/plugin-transform-runtime": "7.25.9",
63
+ "@babel/preset-env": "7.26.0",
64
+ "@babel/preset-react": "7.25.9",
65
+ "@babel/preset-typescript": "7.26.0",
66
+ "@babel/runtime": "7.26.10",
67
+ "@bigbinary/babel-preset-neeto": "^1.0.3",
68
+ "@bigbinary/eslint-plugin-neeto": "1.8.0",
69
+ "@bigbinary/neeto-cist": "1.0.17",
70
+ "@bigbinary/neeto-commons-frontend": "4.13.84",
71
+ "@bigbinary/neeto-filters-frontend": "4.3.24",
72
+ "@bigbinary/neeto-icons": "1.20.64",
73
+ "@bigbinary/neeto-molecules": "4.0.94",
74
+ "@bigbinary/neetoui": "8.3.44",
75
+ "@emotion/is-prop-valid": "1.2.0",
76
+ "@faker-js/faker": "8.2.0",
77
+ "@honeybadger-io/js": "6.10.1",
78
+ "@honeybadger-io/react": "6.1.25",
79
+ "@rollup/plugin-alias": "5.1.1",
80
+ "@rollup/plugin-babel": "6.0.4",
81
+ "@rollup/plugin-commonjs": "25.0.7",
82
+ "@rollup/plugin-json": "6.1.0",
83
+ "@rollup/plugin-node-resolve": "15.3.0",
84
+ "@rollup/plugin-replace": "5.0.4",
85
+ "@svgr/rollup": "8.1.0",
86
+ "@tanstack/react-query": "5.59.20",
87
+ "@tanstack/react-query-devtools": "5.59.20",
88
+ "antd": "5.22.0",
89
+ "autoprefixer": "^10.4.5",
90
+ "axios": "1.12.0",
91
+ "babel-loader": "^8.2.5",
92
+ "babel-plugin-istanbul": "^6.1.1",
93
+ "babel-plugin-js-logger": "1.0.17",
94
+ "babel-plugin-macros": "3.1.0",
95
+ "babel-plugin-module-resolver": "^5.0.0",
96
+ "babel-plugin-preval": "^5.1.0",
97
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
98
+ "babel-preset-react": "6.24.1",
99
+ "babel-preset-typescript": "^7.0.0-alpha.19",
100
+ "browserify-zlib": "0.2.0",
101
+ "buffer": "^6.0.3",
102
+ "classnames": "2.5.1",
103
+ "crypto-browserify": "3.12.1",
104
+ "css-loader": "6.8.1",
105
+ "dompurify": "^3.2.4",
106
+ "dotenv-webpack": "^8.0.1",
107
+ "eslint": "^9.25.1",
108
+ "eslint-config-prettier": "^10.1.2",
109
+ "eslint-plugin-cypress": "2.12.1",
110
+ "eslint-plugin-import": "^2.31.0",
111
+ "eslint-plugin-jam3": "^0.2.3",
112
+ "eslint-plugin-json": "^4.0.1",
113
+ "eslint-plugin-prettier": "^5.2.6",
114
+ "eslint-plugin-promise": "^7.2.1",
115
+ "eslint-plugin-react": "^7.37.5",
116
+ "eslint-plugin-react-hooks": "^5.2.0",
117
+ "eslint-plugin-security": "^3.0.1",
118
+ "eslint-plugin-sonarjs": "^3.0.2",
119
+ "eslint-plugin-unused-imports": "^4.1.4",
120
+ "eslint-plugin-xss": "^0.1.12",
121
+ "formik": "2.4.6",
122
+ "globals": "16.0.0",
123
+ "globby": "^14.1.0",
124
+ "html-webpack-plugin": "5.5.3",
125
+ "https-browserify": "1.0.0",
126
+ "husky": "7.0.4",
127
+ "i18next": "22.5.1",
128
+ "i18next-browser-languagedetector": "7.0.1",
129
+ "js-logger": "1.6.1",
130
+ "lint-staged": "12.4.1",
131
+ "mini-css-extract-plugin": "2.7.6",
132
+ "mixpanel-browser": "2.47.0",
133
+ "os-browserify": "0.3.0",
134
+ "path-browserify": "^1.0.1",
135
+ "postcss": "8.4.49",
136
+ "postcss-import": "^15.0.0",
137
+ "postcss-loader": "^7.0.1",
138
+ "postcss-preset-env": "7.8.2",
139
+ "prettier": "3",
140
+ "prettier-plugin-tailwindcss": "0.6.14",
141
+ "process": "0.11.10",
142
+ "qs": "^6.11.2",
143
+ "ramda": "0.29.0",
144
+ "react": "18.3.1",
145
+ "react-dom": "18.3.1",
146
+ "react-helmet": "^6.1.0",
147
+ "react-i18next": "12.3.1",
148
+ "react-router-dom": "5.3.3",
149
+ "react-toastify": "8.0.2",
150
+ "react_ujs": "^3.1.1",
151
+ "rollup": "4.25.0",
152
+ "rollup-plugin-analyzer": "4.0.0",
153
+ "rollup-plugin-cleaner": "1.0.0",
154
+ "rollup-plugin-copy": "3.5.0",
155
+ "rollup-plugin-peer-deps-external": "2.2.4",
156
+ "rollup-plugin-styles": "4.0.0",
157
+ "sass": "1.89.0",
158
+ "sass-loader": "^13.0.2",
159
+ "shakapacker": "6.6.0",
160
+ "source-map-loader": "4.0.1",
161
+ "stream-browserify": "^3.0.0",
162
+ "stream-http": "3.2.0",
163
+ "style-loader": "^3.3.1",
164
+ "tailwindcss": "3.4.14",
165
+ "tty-browserify": "0.0.1",
166
+ "url": "^0.11.0",
167
+ "util": "^0.12.5",
168
+ "vm-browserify": "1.1.2",
169
+ "webpack": "5.94.0",
170
+ "webpack-assets-manifest": "5.1.0",
171
+ "webpack-cli": "5.1.4",
172
+ "webpack-dev-server": "5.2.1",
173
+ "yup": "0.32.11",
174
+ "zustand": "4.4.2"
175
+ },
176
+ "peerDependencies": {
177
+ "@babel/runtime": "7.26.10",
178
+ "@bigbinary/neeto-cist": "1.0.17",
179
+ "@bigbinary/neeto-commons-frontend": "4.13.84",
180
+ "@bigbinary/neeto-filters-frontend": "4.3.24",
181
+ "@bigbinary/neeto-icons": "1.20.64",
182
+ "@bigbinary/neeto-molecules": "4.0.94",
183
+ "@bigbinary/neetoui": "8.3.44",
184
+ "@honeybadger-io/js": "6.10.1",
185
+ "@honeybadger-io/react": "6.1.25",
186
+ "@tanstack/react-query": "5.59.20",
187
+ "@tanstack/react-query-devtools": "5.59.20",
188
+ "antd": "5.22.0",
189
+ "axios": "1.12.0",
190
+ "buffer": "^6.0.3",
191
+ "classnames": "2.5.1",
192
+ "crypto-browserify": "3.12.1",
193
+ "dompurify": "^3.2.4",
194
+ "formik": "2.4.6",
195
+ "https-browserify": "1.0.0",
196
+ "i18next": "22.5.1",
197
+ "js-logger": "1.6.1",
198
+ "mixpanel-browser": "^2.45.0",
199
+ "os-browserify": "0.3.0",
200
+ "path-browserify": "^1.0.1",
201
+ "qs": "^6.11.2",
202
+ "ramda": "0.29.0",
203
+ "react": "18.3.1",
204
+ "react-dom": "18.3.1",
205
+ "react-helmet": "^6.1.0",
206
+ "react-i18next": "12.3.1",
207
+ "react-router-dom": "5.3.3",
208
+ "react-toastify": "8.0.2",
209
+ "source-map-loader": "4.0.1",
210
+ "stream-browserify": "^3.0.0",
211
+ "stream-http": "3.2.0",
212
+ "tailwindcss": "3.4.14",
213
+ "tty-browserify": "0.0.1",
214
+ "url": "^0.11.0",
215
+ "util": "^0.12.5",
216
+ "vm-browserify": "1.1.2",
217
+ "yup": "0.32.11",
218
+ "zustand": "4.4.2"
219
+ },
220
+ "resolutions": {
221
+ "postcss": "^8",
222
+ "wrap-ansi": "7.0.0",
223
+ "string-width": "4.1.0"
224
+ },
225
+ "engines": {
226
+ "node": ">=22.13",
227
+ "npm": ">=9",
228
+ "yarn": ">=1.22"
229
+ },
230
+ "dependencies": {
231
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
232
+ "babel-plugin-transform-imports": "^2.0.0",
233
+ "react-router-nav-prompt": "0.4.1"
234
+ }
235
+ }
package/types.d.ts ADDED
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+
3
+ export const EmailDeliveryScreen: React.FC<{
4
+ canManageIntegrations: boolean;
5
+ ownerId: string;
6
+ indexRoute: string;
7
+ ownDomainSetupRoute: string;
8
+ }>;
9
+
10
+ export const SparkpostDomainSetup: React.FC<{
11
+ canManageIntegrations: boolean;
12
+ ownerId: string;
13
+ alreadyVerifiedRoute: string;
14
+ verifyRoute: string;
15
+ onCancelRoute: string;
16
+ }>;
17
+
18
+ export const SparkpostDomainVerify: React.FC<{
19
+ canManageIntegrations: boolean;
20
+ ownerId: string;
21
+ emailDeliveryIndexRoute: string;
22
+ }>;