reactivated 0.28.2-a1422 → 0.28.2-a1434
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 +13 -11
- package/src/forms/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reactivated",
|
|
3
|
-
"version": "0.28.2-
|
|
3
|
+
"version": "0.28.2-a1434",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -17,23 +17,19 @@
|
|
|
17
17
|
"build.renderer.js": "./dist/build.renderer.js"
|
|
18
18
|
},
|
|
19
19
|
"license": "ISC",
|
|
20
|
-
"dependencies": {},
|
|
21
20
|
"peerDependencies": {
|
|
22
|
-
"@babel
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"@linaria/
|
|
26
|
-
"@linaria/
|
|
27
|
-
"@linaria/esbuild": "3.0.0-beta.21",
|
|
28
|
-
"@linaria/react": "3.0.0-beta.21",
|
|
29
|
-
"@linaria/shaker": "3.0.0-beta.21",
|
|
21
|
+
"@linaria/babel-preset": "^4.4.5",
|
|
22
|
+
"@linaria/core": "^4.2.10",
|
|
23
|
+
"@linaria/esbuild": "^4.2.11",
|
|
24
|
+
"@linaria/react": "^4.3.8",
|
|
25
|
+
"@linaria/shaker": "^4.2.11",
|
|
30
26
|
"@types/react": "^18.0.12",
|
|
31
27
|
"@types/react-dom": "^18.0.5",
|
|
32
28
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
33
29
|
"@typescript-eslint/parser": "^5.59.6",
|
|
34
30
|
"@vanilla-extract/css": "^1.6.8",
|
|
35
31
|
"@vanilla-extract/esbuild-plugin": "^2.0.2",
|
|
36
|
-
"babel-plugin-module-resolver": "^
|
|
32
|
+
"babel-plugin-module-resolver": "^5.0.0",
|
|
37
33
|
"esbuild-plugin-import-glob": "^0.1.1",
|
|
38
34
|
"eslint": "^8.40.0",
|
|
39
35
|
"eslint-config-prettier": "^8.8.0",
|
|
@@ -44,11 +40,17 @@
|
|
|
44
40
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
45
41
|
"immer": "^9.0.7",
|
|
46
42
|
"json-schema-to-typescript": "^13.0.1",
|
|
43
|
+
"prettier": "^2.8.8",
|
|
47
44
|
"react": "^18.1.0",
|
|
48
45
|
"react-dom": "^18.1.0",
|
|
49
46
|
"react-helmet-async": "^1.3.0",
|
|
50
47
|
"terser": "^5.10.0",
|
|
51
48
|
"ts-morph": "^18.0.0",
|
|
52
49
|
"typescript": "^5.0.4"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@babel/core": "^7.21.8",
|
|
53
|
+
"@babel/preset-react": "^7.18.6",
|
|
54
|
+
"@babel/preset-typescript": "^7.21.5"
|
|
53
55
|
}
|
|
54
56
|
}
|
package/src/forms/index.tsx
CHANGED
|
@@ -625,7 +625,7 @@ export const useFormSet = <T extends FieldMap>(options: {
|
|
|
625
625
|
|
|
626
626
|
const addForm = () => {
|
|
627
627
|
const {total_form_count} = formSet;
|
|
628
|
-
type AdditionalForm = typeof formSet["forms"][number];
|
|
628
|
+
type AdditionalForm = (typeof formSet)["forms"][number];
|
|
629
629
|
|
|
630
630
|
const extraForm = produce(formSet.empty_form, (draftState) => {
|
|
631
631
|
for (const fieldName of draftState.iterator) {
|