@ttoss/forms 0.24.3 → 0.24.5
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.
|
@@ -41,10 +41,7 @@ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
|
41
41
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
42
42
|
value: true
|
|
43
43
|
}), mod);
|
|
44
|
-
var __publicField = (obj, key, value) =>
|
|
45
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
46
|
-
return value;
|
|
47
|
-
};
|
|
44
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
48
45
|
|
|
49
46
|
// src/MultistepForm/index.ts
|
|
50
47
|
var MultistepForm_exports = {};
|
package/dist/esm/Brazil/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { FormField, FormFieldCNPJ, FormFieldPatternFormat, isCnpjValid } from "../chunk-
|
|
2
|
+
import { FormField, FormFieldCNPJ, FormFieldPatternFormat, isCnpjValid } from "../chunk-GR2OHRRF.js";
|
|
3
3
|
|
|
4
4
|
// src/Brazil/FormFieldPhone.tsx
|
|
5
5
|
import { Input } from "@ttoss/ui";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { Form, __publicField, useForm, yupResolver } from "../chunk-
|
|
2
|
+
import { Form, __publicField, useForm, yupResolver } from "../chunk-GR2OHRRF.js";
|
|
3
3
|
|
|
4
4
|
// src/MultistepForm/MultistepForm.tsx
|
|
5
5
|
import * as React3 from "react";
|
|
@@ -6,10 +6,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
|
6
6
|
writable: true,
|
|
7
7
|
value
|
|
8
8
|
}) : obj[key] = value;
|
|
9
|
-
var __publicField = (obj, key, value) =>
|
|
10
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
-
return value;
|
|
12
|
-
};
|
|
9
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
13
10
|
|
|
14
11
|
// src/index.ts
|
|
15
12
|
import { yupResolver } from "@hookform/resolvers/yup";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
import { Controller, Form, FormErrorMessage, FormField, FormFieldCheckbox, FormFieldCreditCardNumber, FormFieldCurrencyInput, FormFieldInput, FormFieldNumericFormat, FormFieldPassword, FormFieldPatternFormat, FormFieldRadio, FormFieldSelect, FormFieldTextarea, FormGroup, FormProvider, useController, useFieldArray, useForm, useFormContext, useFormGroup, useFormState, useWatch, yup, yupResolver } from "./chunk-
|
|
2
|
+
import { Controller, Form, FormErrorMessage, FormField, FormFieldCheckbox, FormFieldCreditCardNumber, FormFieldCurrencyInput, FormFieldInput, FormFieldNumericFormat, FormFieldPassword, FormFieldPatternFormat, FormFieldRadio, FormFieldSelect, FormFieldTextarea, FormGroup, FormProvider, useController, useFieldArray, useForm, useFormContext, useFormGroup, useFormState, useWatch, yup, yupResolver } from "./chunk-GR2OHRRF.js";
|
|
3
3
|
export { Controller, Form, FormErrorMessage, FormField, FormFieldCheckbox, FormFieldCreditCardNumber, FormFieldCurrencyInput, FormFieldInput, FormFieldNumericFormat, FormFieldPassword, FormFieldPatternFormat, FormFieldRadio, FormFieldSelect, FormFieldTextarea, FormGroup, FormProvider, useController, useFieldArray, useForm, useFormContext, useFormGroup, useFormState, useWatch, yup, yupResolver };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/forms",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.5",
|
|
4
4
|
"author": "ttoss",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Pedro Arantes <pedro@arantespp.com> (https://arantespp.com/contact)"
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"yup": "^1.4.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"react": "
|
|
44
|
-
"@ttoss/
|
|
45
|
-
"
|
|
43
|
+
"@ttoss/react-i18n": "^1",
|
|
44
|
+
"@ttoss/ui": "^4",
|
|
45
|
+
"react": ">=16.8.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/jest": "^29.5.12",
|
|
@@ -50,15 +50,14 @@
|
|
|
50
50
|
"jest": "^29.7.0",
|
|
51
51
|
"react": "^18.3.1",
|
|
52
52
|
"react-error-boundary": "^4.0.13",
|
|
53
|
-
"
|
|
54
|
-
"tsup": "^8.0.2",
|
|
53
|
+
"tsup": "^8.1.0",
|
|
55
54
|
"yup": "^1.4.0",
|
|
56
|
-
"@ttoss/config": "^1.32.
|
|
57
|
-
"@ttoss/
|
|
58
|
-
"@ttoss/
|
|
59
|
-
"@ttoss/
|
|
60
|
-
"@ttoss/
|
|
61
|
-
"@ttoss/
|
|
55
|
+
"@ttoss/config": "^1.32.5",
|
|
56
|
+
"@ttoss/react-icons": "^0.3.9",
|
|
57
|
+
"@ttoss/test-utils": "^2.1.9",
|
|
58
|
+
"@ttoss/ui": "^4.1.12",
|
|
59
|
+
"@ttoss/i18n-cli": "^0.7.14",
|
|
60
|
+
"@ttoss/react-i18n": "^1.26.11"
|
|
62
61
|
},
|
|
63
62
|
"publishConfig": {
|
|
64
63
|
"access": "public",
|