@bigbinary/neeto-form-frontend 1.0.11 → 1.0.13

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 (5) hide show
  1. package/README.md +23 -5
  2. package/dist/index.js +56432 -26380
  3. package/dist/main.css +2 -1620
  4. package/index.d.ts +2 -0
  5. package/package.json +62 -59
package/index.d.ts CHANGED
@@ -37,6 +37,8 @@ interface ExternalFormProps {
37
37
  preserveValues?: boolean;
38
38
  clearValuesOnReset?: boolean;
39
39
  clearValuesOnSubmit?: boolean;
40
+ onChange?: (values: any) => void;
41
+ initialValues?: any;
40
42
  formDomProps?: FormHTMLAttributes<HTMLFormElement>;
41
43
  }
42
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-form-frontend",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Neeto Form Engine Frontend",
5
5
  "author": "BigBinary",
6
6
  "license": "MIT",
@@ -9,7 +9,9 @@
9
9
  "module": "dist/index.js",
10
10
  "types": "./index.d.ts",
11
11
  "engines": {
12
- "node": ">=10"
12
+ "node": "18.12",
13
+ "npm": "9.x",
14
+ "yarn": "1.22.x"
13
15
  },
14
16
  "scripts": {
15
17
  "build": "NODE_ENV=production rollup -c --environment production",
@@ -20,28 +22,21 @@
20
22
  "{src,example}/**/*.{js,jsx,json}": [
21
23
  "prettier --write",
22
24
  "eslint --fix"
23
- ],
24
- "{package.json,.eslintrc.js,.prettierrc.js}": [
25
- "prettier --write",
26
- "eslint --fix"
27
- ],
28
- ".eslint-rules/**/*": [
29
- "prettier --write",
30
- "eslint --fix"
31
25
  ]
32
26
  },
33
27
  "devDependencies": {
34
- "@babel/core": "^7.13.15",
35
- "@babel/eslint-parser": "^7.17.0",
36
- "@babel/plugin-proposal-class-properties": "^7.13.0",
37
- "@babel/plugin-transform-runtime": "^7.19.6",
38
- "@babel/preset-env": "^7.13.15",
39
- "@babel/preset-react": "^7.16.7",
40
- "@babel/runtime": "^7.17.9",
41
- "@bigbinary/neeto-commons-frontend": "^2.0.35",
42
- "@bigbinary/neeto-editor": "^1.0.3",
43
- "@bigbinary/neeto-icons": "^1.8.35",
44
- "@bigbinary/neetoui": "^4.0.6",
28
+ "@babel/core": "^7.19.1",
29
+ "@babel/eslint-parser": "7.17.0",
30
+ "@babel/plugin-transform-runtime": "^7.19.1",
31
+ "@babel/preset-env": "7.17.10",
32
+ "@babel/preset-react": "7.16.7",
33
+ "@babel/preset-typescript": "^7.18.6",
34
+ "@babel/runtime": "^7.19.0",
35
+ "@bigbinary/eslint-plugin-neeto": "^1.0.20",
36
+ "@bigbinary/neeto-commons-frontend": "^2.0.38",
37
+ "@bigbinary/neeto-editor": "1.20.0",
38
+ "@bigbinary/neeto-icons": "1.9.12",
39
+ "@bigbinary/neetoui": "4.4.0",
45
40
  "@honeybadger-io/js": "^5.1.1",
46
41
  "@honeybadger-io/react": "^5.1.3",
47
42
  "@rollup/plugin-alias": "^3.1.9",
@@ -52,40 +47,49 @@
52
47
  "@rollup/plugin-replace": "^4.0.0",
53
48
  "@svgr/rollup": "^6.2.1",
54
49
  "@vitejs/plugin-react": "^3.1.0",
55
- "antd": "^4.24.2",
56
- "axios": "^0.27.2",
57
- "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
58
- "classnames": "^2.3.1",
59
- "dayjs": "^1.11.0",
60
- "eslint": "^8.12.0",
61
- "eslint-config-prettier": "^8.5.0",
62
- "eslint-plugin-cypress": "^2.12.1",
63
- "eslint-plugin-import": "^2.25.4",
64
- "eslint-plugin-jam3": "^0.2.3",
65
- "eslint-plugin-json": "^3.1.0",
66
- "eslint-plugin-prettier": "^4.0.0",
67
- "eslint-plugin-promise": "^6.0.0",
68
- "eslint-plugin-react": "^7.29.4",
69
- "eslint-plugin-react-hooks": "4.4.0",
70
- "eslint-plugin-unused-imports": "^2.0.0",
71
- "formik": "^2.2.9",
72
- "husky": "^7.0.4",
73
- "i18next": "^21.8.0",
50
+ "antd": "4.24.3",
51
+ "autoprefixer": "^10.4.5",
52
+ "axios": "0.27.2",
53
+ "babel-loader": "^8.2.5",
54
+ "babel-plugin-istanbul": "^6.1.1",
55
+ "babel-plugin-js-logger": "1.0.17",
56
+ "babel-plugin-macros": "3.1.0",
57
+ "babel-plugin-transform-react-remove-prop-types": "0.4.24",
58
+ "babel-preset-react": "6.24.1",
59
+ "babel-preset-typescript": "^7.0.0-alpha.19",
60
+ "classnames": "2.3.1",
61
+ "dayjs": "1.11.1",
62
+ "eslint": "8.14.0",
63
+ "eslint-config-prettier": "8.5.0",
64
+ "eslint-plugin-cypress": "2.12.1",
65
+ "eslint-plugin-import": "2.26.0",
66
+ "eslint-plugin-jam3": "0.2.3",
67
+ "eslint-plugin-json": "3.1.0",
68
+ "eslint-plugin-prettier": "4.0.0",
69
+ "eslint-plugin-promise": "6.0.0",
70
+ "eslint-plugin-react": "7.29.4",
71
+ "eslint-plugin-react-hooks": "4.5.0",
72
+ "eslint-plugin-unused-imports": "2.0.0",
73
+ "formik": "2.2.9",
74
+ "husky": "7.0.4",
75
+ "i18next": "21.7.0",
74
76
  "libphonenumber-js": "^1.10.9",
75
- "lint-staged": "^12.3.7",
76
- "postcss": "^8.2.15",
77
- "postcss-preset-env": "^6.7.0",
78
- "prettier": "^2.6.1",
79
- "prop-types": "^15.8.1",
80
- "ramda": "^0.28.0",
81
- "react": "^17.0.1",
77
+ "lint-staged": "12.4.1",
78
+ "postcss": "^8.4.17",
79
+ "postcss-import": "^15.0.0",
80
+ "postcss-loader": "^7.0.1",
81
+ "postcss-preset-env": "7.8.2",
82
+ "prettier": "2.6.2",
83
+ "prettier-plugin-tailwindcss": "0.1.10",
84
+ "prop-types": "15.8.1",
85
+ "ramda": "0.28.0",
86
+ "react": "17.0.2",
82
87
  "react-beautiful-dnd": "^13.1.0",
83
- "react-dom": "^17.0.1",
88
+ "react-dom": "17.0.2",
84
89
  "react-helmet": "^6.1.0",
85
- "react-i18next": "^11.16.9",
86
- "react-query": "^3.39.2",
87
- "react-router-dom": "5.3.0",
88
- "react-router-nav-prompt": "0.4.1",
90
+ "react-i18next": "11.16.8",
91
+ "react-query": "3.39.2",
92
+ "react-router-dom": "5.3.1",
89
93
  "react-select": "^5.3.2",
90
94
  "react-svg-loader": "^3.0.3",
91
95
  "react-toastify": "8.0.2",
@@ -93,7 +97,7 @@
93
97
  "rollup-plugin-peer-deps-external": "^2.2.4",
94
98
  "rollup-plugin-styles": "^4.0.0",
95
99
  "sass": "^1.26.11",
96
- "tailwindcss": "^3.0.24",
100
+ "tailwindcss": "npm:@tailwindcss/postcss7-compat",
97
101
  "uuid": "^9.0.0",
98
102
  "vite": "^4.1.4",
99
103
  "vite-plugin-external": "^1.2.8",
@@ -106,16 +110,15 @@
106
110
  "@bigbinary/neeto-editor": "latest",
107
111
  "@bigbinary/neeto-icons": "latest",
108
112
  "@bigbinary/neetoui": "latest",
109
- "antd": "latest",
110
- "classnames": "^2.3.1",
111
- "dayjs": "^1.11.0",
112
- "formik": "^2.2.9",
113
- "ramda": "^0.28.0",
113
+ "antd": "4.24.3",
114
+ "classnames": "2.3.1",
115
+ "dayjs": "1.11.1",
116
+ "formik": "2.2.9",
117
+ "ramda": "0.28.0",
114
118
  "react": "17.0.2",
115
119
  "react-dom": "17.0.2",
116
120
  "react-router-dom": "5.3.0",
117
121
  "react-toastify": "8.0.2",
118
- "tailwindcss": "^3.0.24",
119
122
  "yup": "^1.0.0",
120
123
  "zustand": "latest"
121
124
  },