@ttoss/forms 0.24.2 → 0.24.4
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 = {};
|
|
@@ -912,7 +909,7 @@ var import_ui18 = require("@ttoss/ui");
|
|
|
912
909
|
// ../react-icons/src/Icon.tsx
|
|
913
910
|
var React4 = __toESM(require("react"));
|
|
914
911
|
|
|
915
|
-
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.
|
|
912
|
+
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.3.1/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
916
913
|
var import_react = __toESM(require("react"), 1);
|
|
917
914
|
|
|
918
915
|
// ../../node_modules/.pnpm/iconify-icon@2.1.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
@@ -3025,7 +3022,7 @@ var {
|
|
|
3025
3022
|
_api
|
|
3026
3023
|
} = IconifyIconComponent;
|
|
3027
3024
|
|
|
3028
|
-
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.
|
|
3025
|
+
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.3.1/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
3029
3026
|
var Icon = import_react.default.forwardRef((props, ref) => {
|
|
3030
3027
|
const newProps = {
|
|
3031
3028
|
...props,
|
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";
|
|
@@ -154,7 +154,7 @@ import { CloseButton, Flex as Flex4, Image as Image2, Text as Text4 } from "@tto
|
|
|
154
154
|
// ../react-icons/src/Icon.tsx
|
|
155
155
|
import * as React2 from "react";
|
|
156
156
|
|
|
157
|
-
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.
|
|
157
|
+
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.3.1/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
158
158
|
import React from "react";
|
|
159
159
|
|
|
160
160
|
// ../../node_modules/.pnpm/iconify-icon@2.1.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
@@ -2267,7 +2267,7 @@ var {
|
|
|
2267
2267
|
_api
|
|
2268
2268
|
} = IconifyIconComponent;
|
|
2269
2269
|
|
|
2270
|
-
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.
|
|
2270
|
+
// ../../node_modules/.pnpm/@iconify-icon+react@2.1.0_react@18.3.1/node_modules/@iconify-icon/react/dist/iconify.mjs
|
|
2271
2271
|
var Icon = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
2272
2272
|
const newProps = {
|
|
2273
2273
|
...props,
|
|
@@ -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.4",
|
|
4
4
|
"author": "ttoss",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Pedro Arantes <pedro@arantespp.com> (https://arantespp.com/contact)"
|
|
@@ -40,25 +40,24 @@
|
|
|
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",
|
|
49
|
-
"@types/react": "^18.
|
|
49
|
+
"@types/react": "^18.3.3",
|
|
50
50
|
"jest": "^29.7.0",
|
|
51
|
-
"react": "^18.
|
|
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/react-i18n": "^1.26.
|
|
58
|
-
"@ttoss/i18n-cli": "^0.7.
|
|
59
|
-
"@ttoss/react-icons": "^0.3.
|
|
60
|
-
"@ttoss/test-utils": "^2.1.
|
|
61
|
-
"@ttoss/ui": "^4.1.
|
|
55
|
+
"@ttoss/config": "^1.32.5",
|
|
56
|
+
"@ttoss/react-i18n": "^1.26.10",
|
|
57
|
+
"@ttoss/i18n-cli": "^0.7.14",
|
|
58
|
+
"@ttoss/react-icons": "^0.3.9",
|
|
59
|
+
"@ttoss/test-utils": "^2.1.9",
|
|
60
|
+
"@ttoss/ui": "^4.1.12"
|
|
62
61
|
},
|
|
63
62
|
"publishConfig": {
|
|
64
63
|
"access": "public",
|