@homebound/form-state 2.31.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.
@@ -1,5 +1,5 @@
1
1
  import { FieldState } from "./index";
2
- export declare function FormStateApp(): import("react/jsx-runtime").JSX.Element;
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/jsx-runtime").JSX.Element;
5
+ }): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { Meta } from "@storybook/react";
2
2
  declare const _default: Meta;
3
3
  export default _default;
4
- export declare function AppExample(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function AppExample(): import("react").JSX.Element;
@@ -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.31.0",
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": "2.66.2",
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.0",
53
- "@testing-library/jest-dom": "^6.6.2",
54
- "@testing-library/react": "^16.0.1",
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": "^18.3.11",
58
- "@types/react-dom": "^18.3.1",
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",
@@ -71,12 +71,12 @@
71
71
  "jest": "^29.7.0",
72
72
  "jest-environment-jsdom": "^29.7.0",
73
73
  "lint-staged": "^15.2.10",
74
- "mobx": "^6.13.5",
75
- "mobx-react": "^9.1.1",
74
+ "mobx": "^7.0.3",
75
+ "mobx-react": "^10.0.2",
76
76
  "prettier": "3.3.3",
77
77
  "prettier-plugin-organize-imports": "^4.1.0",
78
- "react": "^18.3.1",
79
- "react-dom": "^18.3.1",
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",
@@ -88,5 +88,5 @@
88
88
  "vite": "^5.4.9",
89
89
  "vite-tsconfig-paths": "^5.0.1"
90
90
  },
91
- "packageManager": "yarn@3.6.3"
91
+ "packageManager": "yarn@4.18.0"
92
92
  }