@rebasepro/forms 0.16.0 → 0.16.1-canary.g701140a
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/Field.d.ts +1 -1
- package/dist/Formex.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/useCreateFormex.d.ts +1 -1
- package/package.json +2 -2
package/dist/Field.d.ts
CHANGED
package/dist/Formex.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { FormexController } from "./types";
|
|
2
|
+
import { FormexController } from "./types.js";
|
|
3
3
|
export declare const useFormex: <T = any>() => FormexController<T>;
|
|
4
4
|
export declare const Formex: <T = any>({ value, children }: {
|
|
5
5
|
value: FormexController<T>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./Field";
|
|
2
|
-
export * from "./Formex";
|
|
3
|
-
export * from "./types";
|
|
4
|
-
export * from "./utils";
|
|
5
|
-
export * from "./useCreateFormex";
|
|
1
|
+
export * from "./Field.js";
|
|
2
|
+
export * from "./Formex.js";
|
|
3
|
+
export * from "./types.js";
|
|
4
|
+
export * from "./utils.js";
|
|
5
|
+
export * from "./useCreateFormex.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormexController } from "./types";
|
|
1
|
+
import { FormexController } from "./types.js";
|
|
2
2
|
export declare function useCreateFormex<T = any>({ initialValues, initialModifiedValues, initialErrors, initialDirty, initialTouched, validation, validateOnChange, validateOnInitialRender, onSubmit, onReset, onValuesChangeDeferred, debugId }: {
|
|
3
3
|
/**
|
|
4
4
|
* The **baseline**: what the values are stored as. Everything the form
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/forms",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.1-canary.g701140a",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"dev": "vite",
|
|
75
|
-
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
|
|
75
|
+
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
|
|
76
76
|
"clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f",
|
|
77
77
|
"test": "jest --passWithNoTests"
|
|
78
78
|
}
|