@raketa-builder/next-form 1.1.7 → 1.3.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.
Files changed (2) hide show
  1. package/dist/index.js +9 -7
  2. package/package.json +10 -10
package/dist/index.js CHANGED
@@ -47,17 +47,21 @@ var __copyProps = (to, from, except, desc) => {
47
47
  return to;
48
48
  };
49
49
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
50
54
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
51
55
  mod
52
56
  ));
53
57
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
54
58
 
55
59
  // src/index.js
56
- var src_exports = {};
57
- __export(src_exports, {
58
- default: () => src_default
60
+ var index_exports = {};
61
+ __export(index_exports, {
62
+ default: () => index_default
59
63
  });
60
- module.exports = __toCommonJS(src_exports);
64
+ module.exports = __toCommonJS(index_exports);
61
65
 
62
66
  // src/Form.js
63
67
  var import_react2 = __toESM(require("react"));
@@ -326,6 +330,4 @@ Form_default.Checkbox = Checkbox;
326
330
  Form_default.Submit = Submit_default;
327
331
  Form_default.Fieldset = Fieldset_default;
328
332
  Form_default.FormNavigation = FormNavigation_default;
329
- var src_default = Form_default;
330
- // Annotate the CommonJS export names for ESM import in node:
331
- 0 && (module.exports = {});
333
+ var index_default = Form_default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-builder/next-form",
3
- "version": "1.1.7",
3
+ "version": "1.3.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
@@ -11,20 +11,20 @@
11
11
  "lint": "biome lint --max-diagnostics=5000 ."
12
12
  },
13
13
  "peerDependencies": {
14
- "react": "18.2.0",
15
- "react-dom": "18.2.0"
14
+ "react": "19.0.0",
15
+ "react-dom": "19.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@raketa-builder/ui": "1.1.7"
18
+ "@raketa-builder/ui": "1.3.0"
19
19
  },
20
20
  "devDependencies": {
21
- "@biomejs/biome": "1.5.2",
22
- "@types/react": "17.0.37",
23
- "@types/react-dom": "17.0.11",
21
+ "@biomejs/biome": "1.9.4",
22
+ "@types/react": "19.0.12",
23
+ "@types/react-dom": "19.0.4",
24
24
  "prettier": "3.2.4",
25
- "react": "18.2.0",
25
+ "react": "19.0.0",
26
26
  "tsconfig": "*",
27
- "tsup": "6.5.0",
28
- "typescript": "4.5.2"
27
+ "tsup": "8.4.0",
28
+ "typescript": "5.8.2"
29
29
  }
30
30
  }