@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-message-templates-frontend",
3
- "version": "0.4.3",
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.21.5",
44
- "@babel/eslint-parser": "7.21.3",
45
- "@babel/plugin-transform-runtime": "7.21.4",
46
- "@babel/preset-env": "7.21.5",
47
- "@babel/preset-react": "7.18.6",
48
- "@babel/preset-typescript": "7.21.5",
49
- "@babel/runtime": "7.21.5",
50
- "@bigbinary/babel-preset-neeto": "1.0.3",
51
- "@bigbinary/eslint-plugin-neeto": "1.1.37",
52
- "@bigbinary/neeto-audit-frontend": "1.0.8",
53
- "@bigbinary/neeto-cist": "^1.0.6",
54
- "@bigbinary/neeto-commons-frontend": "3.0.16",
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.12",
57
- "@bigbinary/neeto-icons": "^1.11.0",
58
- "@bigbinary/neeto-molecules": "1.3.6",
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": "^5.0.11",
60
+ "@bigbinary/neetoui": "6.1.2",
61
61
  "@emotion/is-prop-valid": "1.2.0",
62
- "@faker-js/faker": "7.6.0",
63
- "@honeybadger-io/react": "2.0.1",
64
- "@rollup/plugin-alias": "5.0.0",
65
- "@rollup/plugin-babel": "6.0.3",
66
- "@rollup/plugin-commonjs": "24.1.0",
67
- "@rollup/plugin-json": "6.0.0",
68
- "@rollup/plugin-node-resolve": "^15.0.2",
69
- "@rollup/plugin-replace": "5.0.2",
70
- "@svgr/rollup": "7.0.0",
71
- "antd": "4.18.7",
72
- "autoprefixer": "10.4.14",
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.2",
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.39.0",
90
- "eslint-config-prettier": "8.8.0",
91
- "eslint-plugin-cypress": "2.13.3",
92
- "eslint-plugin-import": "2.27.5",
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.2.1",
96
+ "eslint-plugin-prettier": "4.0.0",
96
97
  "eslint-plugin-promise": "6.1.1",
97
- "eslint-plugin-react": "7.32.2",
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": "2.0.0",
102
+ "eslint-plugin-unused-imports": "3.0.0",
102
103
  "eslint-plugin-xss": "0.1.12",
103
- "formik": "2.2.9",
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": "22.4.10",
108
+ "i18next": "23.6.0",
108
109
  "i18next-browser-languagedetector": "7.0.1",
109
110
  "js-logger": "1.6.1",
110
- "lint-staged": "13.2.2",
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.23",
116
+ "postcss": "8.4.31",
116
117
  "postcss-import": "15.1.0",
117
- "postcss-loader": "7.3.0",
118
- "postcss-preset-env": "8.3.2",
119
- "prettier": "2.8.8",
120
- "prettier-plugin-tailwindcss": "0.2.8",
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
- "ramda": "0.29.0",
123
- "react": "^18.2.0",
124
- "react-dom": "^18.2.0",
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": "11.16.8",
128
+ "react-i18next": "13.3.1",
127
129
  "react-query": "3.39.3",
128
- "react-router-dom": "5.3.3",
129
- "react-toastify": "8.0.2",
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.62.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": "0.32.11"
153
+ "yup": "1.3.2"
152
154
  },
153
155
  "peerDependencies": {
154
156
  "@bigbinary/neeto-cist": "latest",
155
- "@bigbinary/neeto-commons-frontend": "^2.1.28",
157
+ "@bigbinary/neeto-commons-frontend": "3.1.3",
156
158
  "@bigbinary/neeto-editor": "^1.26.3",
157
- "@bigbinary/neeto-filters-frontend": "^2.8.1",
158
- "@bigbinary/neeto-icons": "^1.9.22",
159
- "@bigbinary/neeto-molecules": "^1.0.9",
160
- "@bigbinary/neetoui": "^4.4.10",
161
- "@honeybadger-io/react": "^2.0.1",
162
- "axios": "^0.27.2",
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.2.9",
165
- "i18next": "23.2.7",
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.0",
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.0.1",
173
- "react-query": "3.39.2",
174
- "react-router-dom": "5.3.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 {