@homebound/form-state 2.32.0 → 2.33.0
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/dist/FormStateApp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldState } from "./index";
|
|
2
|
-
export declare function FormStateApp(): import("react
|
|
2
|
+
export declare function FormStateApp(): import("react").JSX.Element;
|
|
3
3
|
export declare function TextField(props: {
|
|
4
4
|
field: FieldState<string | null | undefined>;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
package/dist/setupTests.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("@testing-library/jest-dom");
|
|
4
4
|
const mobx_1 = require("mobx");
|
|
5
|
+
// rtl-utils looks for the test runner on globalThis, and jest only injects `jest` into module scope
|
|
6
|
+
globalThis.jest = jest;
|
|
5
7
|
// formState doesn't use actions
|
|
6
8
|
(0, mobx_1.configure)({ enforceActions: "never" });
|
|
7
9
|
beforeEach(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@homebound/form-state",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.33.0",
|
|
4
4
|
"author": "Homebound",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react": ">=16"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@homebound/rtl-utils": "
|
|
44
|
+
"@homebound/rtl-utils": "^3.0.2",
|
|
45
45
|
"@semantic-release/exec": "^6.0.3",
|
|
46
46
|
"@semantic-release/git": "^10.0.1",
|
|
47
47
|
"@storybook/addon-essentials": "^8.3.5",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"@storybook/react": "^8.3.5",
|
|
50
50
|
"@storybook/react-vite": "^8.3.5",
|
|
51
51
|
"@storybook/types": "^8.3.5",
|
|
52
|
-
"@testing-library/dom": "^10.4.
|
|
53
|
-
"@testing-library/jest-dom": "^
|
|
54
|
-
"@testing-library/react": "^16.
|
|
52
|
+
"@testing-library/dom": "^10.4.1",
|
|
53
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
54
|
+
"@testing-library/react": "^16.3.3",
|
|
55
55
|
"@tsconfig/recommended": "^1.0.7",
|
|
56
56
|
"@types/jest": "^29.5.13",
|
|
57
|
-
"@types/react": "^
|
|
58
|
-
"@types/react-dom": "^
|
|
57
|
+
"@types/react": "^19.2.18",
|
|
58
|
+
"@types/react-dom": "^19.2.7",
|
|
59
59
|
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
|
60
60
|
"@typescript-eslint/parser": "^4.17.0",
|
|
61
61
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"mobx-react": "^10.0.2",
|
|
76
76
|
"prettier": "3.3.3",
|
|
77
77
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
78
|
-
"react": "^
|
|
79
|
-
"react-dom": "^
|
|
78
|
+
"react": "^19.2.8",
|
|
79
|
+
"react-dom": "^19.2.8",
|
|
80
80
|
"semantic-release": "^24.1.2",
|
|
81
81
|
"storybook": "^8.3.5",
|
|
82
82
|
"ts-jest": "^29.2.5",
|