@bigbinary/neeto-message-templates-frontend 0.4.3 → 0.4.5
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 +10 -0
- package/app/javascript/src/translations/en.json +1 -0
- package/dist/index.cjs.js +325 -274
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +326 -275
- package/dist/index.js.map +1 -1
- package/package.json +76 -73
- package/types.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-message-templates-frontend",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "To manage message templates across neeto products.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"homepage": "https://github.com/bigbinary/neeto-message-templates-nano",
|
|
@@ -19,11 +19,14 @@
|
|
|
19
19
|
"types": "types.d.ts",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "NODE_ENV=production rollup -c --environment production",
|
|
22
|
+
"build-preview": "NODE_ENV=production webpack",
|
|
22
23
|
"prepare": "husky install",
|
|
23
|
-
"release": "yarn build && yalc push --sig"
|
|
24
|
-
"build-preview": "NODE_ENV=production webpack"
|
|
24
|
+
"release": "yarn build && yalc push --sig"
|
|
25
25
|
},
|
|
26
26
|
"lint-staged": {
|
|
27
|
+
"./**/*.rb": [
|
|
28
|
+
"bundle exec rubocop -a --force-exclusion"
|
|
29
|
+
],
|
|
27
30
|
"./**/app/javascript/**/*.{js,jsx,json}": [
|
|
28
31
|
"prettier --write",
|
|
29
32
|
"eslint --fix"
|
|
@@ -32,46 +35,44 @@
|
|
|
32
35
|
"prettier --write",
|
|
33
36
|
"eslint --fix"
|
|
34
37
|
],
|
|
35
|
-
"./**/*.rb": [
|
|
36
|
-
"bundle exec rubocop -a --force-exclusion"
|
|
37
|
-
],
|
|
38
38
|
"{Gemfile,Rakefile,config.ru}": [
|
|
39
39
|
"bundle exec rubocop -a --force-exclusion"
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@babel/core": "7.
|
|
44
|
-
"@babel/eslint-parser": "7.
|
|
45
|
-
"@babel/plugin-transform-runtime": "7.
|
|
46
|
-
"@babel/preset-env": "7.
|
|
47
|
-
"@babel/preset-react": "7.
|
|
48
|
-
"@babel/preset-typescript": "7.
|
|
49
|
-
"@babel/runtime": "7.
|
|
50
|
-
"@bigbinary/babel-preset-neeto": "1.0.
|
|
51
|
-
"@bigbinary/eslint-plugin-neeto": "1.1.
|
|
52
|
-
"@bigbinary/neeto-audit-frontend": "
|
|
53
|
-
"@bigbinary/neeto-cist": "
|
|
54
|
-
"@bigbinary/neeto-commons-frontend": "3.
|
|
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.1.39",
|
|
52
|
+
"@bigbinary/neeto-audit-frontend": "2.0.7",
|
|
53
|
+
"@bigbinary/neeto-cist": "1.0.7",
|
|
54
|
+
"@bigbinary/neeto-commons-frontend": "3.1.3",
|
|
55
55
|
"@bigbinary/neeto-editor": "^1.28.26",
|
|
56
|
-
"@bigbinary/neeto-filters-frontend": "3.0.
|
|
57
|
-
"@bigbinary/neeto-icons": "
|
|
58
|
-
"@bigbinary/neeto-molecules": "1.3.
|
|
56
|
+
"@bigbinary/neeto-filters-frontend": "3.0.14",
|
|
57
|
+
"@bigbinary/neeto-icons": "1.17.9",
|
|
58
|
+
"@bigbinary/neeto-molecules": "1.3.15",
|
|
59
59
|
"@bigbinary/neeto-team-members-frontend": "2.9.2",
|
|
60
|
-
"@bigbinary/neetoui": "
|
|
60
|
+
"@bigbinary/neetoui": "6.1.2",
|
|
61
61
|
"@emotion/is-prop-valid": "1.2.0",
|
|
62
|
-
"@faker-js/faker": "
|
|
63
|
-
"@honeybadger-io/
|
|
64
|
-
"@
|
|
65
|
-
"@rollup/plugin-
|
|
66
|
-
"@rollup/plugin-
|
|
67
|
-
"@rollup/plugin-
|
|
68
|
-
"@rollup/plugin-
|
|
69
|
-
"@rollup/plugin-
|
|
70
|
-
"@
|
|
71
|
-
"
|
|
72
|
-
"
|
|
62
|
+
"@faker-js/faker": "8.2.0",
|
|
63
|
+
"@honeybadger-io/js": "6.5.3",
|
|
64
|
+
"@honeybadger-io/react": "6.1.9",
|
|
65
|
+
"@rollup/plugin-alias": "5.0.1",
|
|
66
|
+
"@rollup/plugin-babel": "6.0.4",
|
|
67
|
+
"@rollup/plugin-commonjs": "25.0.7",
|
|
68
|
+
"@rollup/plugin-json": "6.0.1",
|
|
69
|
+
"@rollup/plugin-node-resolve": "15.2.3",
|
|
70
|
+
"@rollup/plugin-replace": "5.0.4",
|
|
71
|
+
"@svgr/rollup": "8.1.0",
|
|
72
|
+
"antd": "5.10.2",
|
|
73
|
+
"autoprefixer": "10.4.16",
|
|
73
74
|
"axios": "1.6.0",
|
|
74
|
-
"babel-loader": "9.1.
|
|
75
|
+
"babel-loader": "9.1.3",
|
|
75
76
|
"babel-plugin-istanbul": "6.1.1",
|
|
76
77
|
"babel-plugin-js-logger": "1.0.17",
|
|
77
78
|
"babel-plugin-macros": "3.1.0",
|
|
@@ -86,54 +87,55 @@
|
|
|
86
87
|
"css-loader": "^6.7.1",
|
|
87
88
|
"dompurify": "3.0.2",
|
|
88
89
|
"dotenv-webpack": "^8.0.1",
|
|
89
|
-
"eslint": "8.
|
|
90
|
-
"eslint-config-prettier": "8.
|
|
91
|
-
"eslint-plugin-cypress": "2.
|
|
92
|
-
"eslint-plugin-import": "2.
|
|
90
|
+
"eslint": "8.52.0",
|
|
91
|
+
"eslint-config-prettier": "8.5.0",
|
|
92
|
+
"eslint-plugin-cypress": "2.15.1",
|
|
93
|
+
"eslint-plugin-import": "2.29.0",
|
|
93
94
|
"eslint-plugin-jam3": "0.2.3",
|
|
94
95
|
"eslint-plugin-json": "3.1.0",
|
|
95
|
-
"eslint-plugin-prettier": "4.
|
|
96
|
+
"eslint-plugin-prettier": "4.0.0",
|
|
96
97
|
"eslint-plugin-promise": "6.1.1",
|
|
97
|
-
"eslint-plugin-react": "7.
|
|
98
|
+
"eslint-plugin-react": "7.33.2",
|
|
98
99
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
99
100
|
"eslint-plugin-security": "1.7.1",
|
|
100
101
|
"eslint-plugin-sonarjs": "0.23.0",
|
|
101
|
-
"eslint-plugin-unused-imports": "
|
|
102
|
+
"eslint-plugin-unused-imports": "3.0.0",
|
|
102
103
|
"eslint-plugin-xss": "0.1.12",
|
|
103
|
-
"formik": "2.
|
|
104
|
+
"formik": "2.4.5",
|
|
104
105
|
"html-webpack-plugin": "5.5.0",
|
|
105
106
|
"https-browserify": "^1.0.0",
|
|
106
107
|
"husky": "8.0.3",
|
|
107
|
-
"i18next": "
|
|
108
|
+
"i18next": "23.6.0",
|
|
108
109
|
"i18next-browser-languagedetector": "7.0.1",
|
|
109
110
|
"js-logger": "1.6.1",
|
|
110
|
-
"lint-staged": "
|
|
111
|
+
"lint-staged": "15.0.2",
|
|
111
112
|
"mini-css-extract-plugin": "^2.6.1",
|
|
112
113
|
"mixpanel-browser": "2.46.0",
|
|
113
114
|
"os-browserify": "^0.3.0",
|
|
114
115
|
"path-browserify": "^1.0.1",
|
|
115
|
-
"postcss": "8.4.
|
|
116
|
+
"postcss": "8.4.31",
|
|
116
117
|
"postcss-import": "15.1.0",
|
|
117
|
-
"postcss-loader": "7.3.
|
|
118
|
-
"postcss-preset-env": "
|
|
119
|
-
"prettier": "2.
|
|
120
|
-
"prettier-plugin-tailwindcss": "0.
|
|
118
|
+
"postcss-loader": "7.3.3",
|
|
119
|
+
"postcss-preset-env": "9.2.0",
|
|
120
|
+
"prettier": "2.6.2",
|
|
121
|
+
"prettier-plugin-tailwindcss": "0.1.10",
|
|
121
122
|
"process": "^0.11.10",
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"react
|
|
123
|
+
"qs": "6.11.2",
|
|
124
|
+
"ramda": "0.29.1",
|
|
125
|
+
"react": "18.2.0",
|
|
126
|
+
"react-dom": "18.2.0",
|
|
125
127
|
"react-helmet": "6.1.0",
|
|
126
|
-
"react-i18next": "
|
|
128
|
+
"react-i18next": "13.3.1",
|
|
127
129
|
"react-query": "3.39.3",
|
|
128
|
-
"react-router-dom": "5.3.
|
|
129
|
-
"react-toastify": "8.0
|
|
130
|
+
"react-router-dom": "5.3.4",
|
|
131
|
+
"react-toastify": "8.2.0",
|
|
130
132
|
"react_ujs": "^3.1.1",
|
|
131
133
|
"rollup": "2.79.1",
|
|
132
134
|
"rollup-plugin-analyzer": "4.0.0",
|
|
133
135
|
"rollup-plugin-cleaner": "1.0.0",
|
|
134
136
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
135
137
|
"rollup-plugin-styles": "4.0.0",
|
|
136
|
-
"sass": "1.
|
|
138
|
+
"sass": "1.69.5",
|
|
137
139
|
"sass-loader": "^13.0.2",
|
|
138
140
|
"shakapacker": "^6.6.0",
|
|
139
141
|
"stream-browserify": "^3.0.0",
|
|
@@ -148,31 +150,32 @@
|
|
|
148
150
|
"webpack-assets-manifest": "^5.1.0",
|
|
149
151
|
"webpack-cli": "4.10.0",
|
|
150
152
|
"webpack-dev-server": "^4.15.0",
|
|
151
|
-
"yup": "
|
|
153
|
+
"yup": "1.3.2"
|
|
152
154
|
},
|
|
153
155
|
"peerDependencies": {
|
|
154
156
|
"@bigbinary/neeto-cist": "latest",
|
|
155
|
-
"@bigbinary/neeto-commons-frontend": "
|
|
157
|
+
"@bigbinary/neeto-commons-frontend": "3.1.3",
|
|
156
158
|
"@bigbinary/neeto-editor": "^1.26.3",
|
|
157
|
-
"@bigbinary/neeto-filters-frontend": "
|
|
158
|
-
"@bigbinary/neeto-icons": "
|
|
159
|
-
"@bigbinary/neeto-molecules": "
|
|
160
|
-
"@bigbinary/neetoui": "
|
|
161
|
-
"@honeybadger-io/
|
|
162
|
-
"
|
|
159
|
+
"@bigbinary/neeto-filters-frontend": "3.0.14",
|
|
160
|
+
"@bigbinary/neeto-icons": "1.17.9",
|
|
161
|
+
"@bigbinary/neeto-molecules": "1.3.15",
|
|
162
|
+
"@bigbinary/neetoui": "6.1.2",
|
|
163
|
+
"@honeybadger-io/js": "^6.5.3",
|
|
164
|
+
"@honeybadger-io/react": "^6.1.9",
|
|
165
|
+
"axios": "^1.6.0",
|
|
163
166
|
"classnames": "^2.3.2",
|
|
164
|
-
"formik": "^2.
|
|
165
|
-
"i18next": "23.
|
|
167
|
+
"formik": "^2.4.5",
|
|
168
|
+
"i18next": "^23.6.0",
|
|
166
169
|
"js-logger": "^1.6.1",
|
|
167
170
|
"mixpanel-browser": "^2.45.0",
|
|
168
|
-
"ramda": "^0.29.
|
|
169
|
-
"react": "18.2.0",
|
|
170
|
-
"react-dom": "18.2.0",
|
|
171
|
+
"ramda": "^0.29.1",
|
|
172
|
+
"react": "^18.2.0",
|
|
173
|
+
"react-dom": "^18.2.0",
|
|
171
174
|
"react-helmet": "^6.1.0",
|
|
172
|
-
"react-i18next": "13.
|
|
173
|
-
"react-query": "3.39.
|
|
174
|
-
"react-router-dom": "5.3.
|
|
175
|
-
"react-toastify": "8.2.0",
|
|
175
|
+
"react-i18next": "^13.3.1",
|
|
176
|
+
"react-query": "^3.39.3",
|
|
177
|
+
"react-router-dom": "^5.3.4",
|
|
178
|
+
"react-toastify": "^8.2.0",
|
|
176
179
|
"yup": "^0.32.11",
|
|
177
180
|
"zustand": "4.3.2"
|
|
178
181
|
},
|
package/types.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ interface MessageTemplatesProps {
|
|
|
17
17
|
isTestMessageLoading?: boolean;
|
|
18
18
|
templateVariables?: TemplateVariables[];
|
|
19
19
|
ownerId?: string;
|
|
20
|
+
isTestingTemplateDisabled?: boolean;
|
|
21
|
+
manageTemplatesPaneCustomFields?: ReactNode;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
interface SendMessagePaneProps {
|