@ttoss/forms 0.26.4 → 0.26.6
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/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-VFAUAKN6.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,
|
|
2
|
+
import { Form, useForm, yupResolver } from "../chunk-VFAUAKN6.js";
|
|
3
3
|
|
|
4
4
|
// src/MultistepForm/MultistepForm.tsx
|
|
5
5
|
import * as React3 from "react";
|
|
@@ -1930,24 +1930,24 @@ function defineIconifyIcon(name = "iconify-icon") {
|
|
|
1930
1930
|
// Customisations
|
|
1931
1931
|
"width", "height", "rotate", "flip"];
|
|
1932
1932
|
const IconifyIcon2 = class extends ParentClass {
|
|
1933
|
+
// Root
|
|
1934
|
+
_shadowRoot;
|
|
1935
|
+
// Initialised
|
|
1936
|
+
_initialised = false;
|
|
1937
|
+
// Icon state
|
|
1938
|
+
_state;
|
|
1939
|
+
// Attributes check queued
|
|
1940
|
+
_checkQueued = false;
|
|
1941
|
+
// Connected
|
|
1942
|
+
_connected = false;
|
|
1943
|
+
// Observer
|
|
1944
|
+
_observer = null;
|
|
1945
|
+
_visible = true;
|
|
1933
1946
|
/**
|
|
1934
1947
|
* Constructor
|
|
1935
1948
|
*/
|
|
1936
1949
|
constructor() {
|
|
1937
1950
|
super();
|
|
1938
|
-
// Root
|
|
1939
|
-
__publicField(this, "_shadowRoot");
|
|
1940
|
-
// Initialised
|
|
1941
|
-
__publicField(this, "_initialised", false);
|
|
1942
|
-
// Icon state
|
|
1943
|
-
__publicField(this, "_state");
|
|
1944
|
-
// Attributes check queued
|
|
1945
|
-
__publicField(this, "_checkQueued", false);
|
|
1946
|
-
// Connected
|
|
1947
|
-
__publicField(this, "_connected", false);
|
|
1948
|
-
// Observer
|
|
1949
|
-
__publicField(this, "_observer", null);
|
|
1950
|
-
__publicField(this, "_visible", true);
|
|
1951
1951
|
const root = this._shadowRoot = this.attachShadow({
|
|
1952
1952
|
mode: "open"
|
|
1953
1953
|
});
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
/** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
|
|
4
|
-
enumerable: true,
|
|
5
|
-
configurable: true,
|
|
6
|
-
writable: true,
|
|
7
|
-
value
|
|
8
|
-
}) : obj[key] = value;
|
|
9
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
2
|
|
|
11
3
|
// src/index.ts
|
|
12
4
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
@@ -740,4 +732,4 @@ var FormGroup = props => {
|
|
|
740
732
|
// src/index.ts
|
|
741
733
|
import { useForm, useFormContext as useFormContext2, useWatch, useFieldArray, useController as useController4, useFormState, Controller, FormProvider as FormProvider2 } from "react-hook-form";
|
|
742
734
|
export * from "react-hook-form";
|
|
743
|
-
export {
|
|
735
|
+
export { isCnpjValid, FormFieldCNPJ, yup2 as yup, Form, FormErrorMessage, FormField, FormFieldCheckbox, FormFieldPatternFormat, FormFieldCreditCardNumber, FormFieldNumericFormat, FormFieldCurrencyInput, FormFieldInput, FormFieldPassword, FormFieldRadio, FormFieldSelect, FormFieldTextarea, useFormGroup, FormGroup, yupResolver, useForm, useFormContext2 as useFormContext, useWatch, useFieldArray, useController4 as useController, useFormState, Controller, FormProvider2 as FormProvider };
|
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-VFAUAKN6.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.26.
|
|
3
|
+
"version": "0.26.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=16.8.0",
|
|
42
|
-
"@ttoss/react-i18n": "^2.0.
|
|
43
|
-
"@ttoss/ui": "^5.0.
|
|
42
|
+
"@ttoss/react-i18n": "^2.0.6",
|
|
43
|
+
"@ttoss/ui": "^5.0.12"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/jest": "^29.5.14",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"react-error-boundary": "^4.1.2",
|
|
51
51
|
"tsup": "^8.3.5",
|
|
52
52
|
"yup": "^1.4.0",
|
|
53
|
-
"@ttoss/config": "^1.
|
|
54
|
-
"@ttoss/i18n-cli": "^0.7.
|
|
55
|
-
"@ttoss/react-
|
|
56
|
-
"@ttoss/react-
|
|
57
|
-
"@ttoss/test-utils": "^2.1.
|
|
58
|
-
"@ttoss/ui": "^5.0.
|
|
53
|
+
"@ttoss/config": "^1.35.0",
|
|
54
|
+
"@ttoss/i18n-cli": "^0.7.24",
|
|
55
|
+
"@ttoss/react-i18n": "^2.0.6",
|
|
56
|
+
"@ttoss/react-icons": "^0.4.6",
|
|
57
|
+
"@ttoss/test-utils": "^2.1.19",
|
|
58
|
+
"@ttoss/ui": "^5.0.12"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public",
|