@s_mart/form 8.0.6 → 8.1.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.d.mts +1 -1
  2. package/package.json +9 -9
package/dist/index.d.mts CHANGED
@@ -67,7 +67,7 @@ declare const useForm: <TValues extends FieldValues>({ disableDefaultValuesUpdat
67
67
  declare function FormProvider<TFieldValues extends FieldValues>({ children, style, onSubmit, ...methods }: IFormProviderProps<TFieldValues>): react_jsx_runtime.JSX.Element;
68
68
 
69
69
  type ControllerTextField = Omit<ControllerProps, 'render' | 'control'>;
70
- type Masks = 'cpf' | 'cnpj' | 'cpfCnpj' | 'cep' | 'telefone' | 'decimal' | 'decimal3' | 'decimal4' | 'decimal5' | 'porcentagem' | 'porcentagem0' | 'nome' | 'numero' | 'numeroPontuacao' | 'placa' | 'valor';
70
+ type Masks = 'cpf' | 'cnpj' | 'cpfCnpj' | 'cep' | 'telefone' | 'decimal' | 'decimal3' | 'decimal4' | 'decimal5' | 'porcentagem' | 'porcentagem0' | 'nome' | 'numero' | 'numeroPontuacao' | 'placa' | 'valor' | 'valor3' | 'valor4';
71
71
  type TextFieldProps = TextFieldProps$1 & ControllerTextField & {
72
72
  mask?: Masks;
73
73
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_mart/form",
3
- "version": "8.0.6",
3
+ "version": "8.1.0",
4
4
  "main": "./dist/index.mjs",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.mts",
@@ -13,8 +13,8 @@
13
13
  "@hookform/resolvers": "^3.1.0",
14
14
  "lodash-es": "^4.17.21",
15
15
  "tsup": "8.0.2",
16
- "@s_mart/regular-icons": "6.0.4",
17
- "@s_mart/solid-icons": "6.0.1"
16
+ "@s_mart/regular-icons": "6.0.6",
17
+ "@s_mart/solid-icons": "6.0.3"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@emotion/react": "^11.11.4",
@@ -31,11 +31,11 @@
31
31
  "react-hook-form": "^7.51.0",
32
32
  "typescript": ">=5.4.2",
33
33
  "zod": "^3.22.4",
34
- "@s_mart/core": "8.0.2",
35
- "@s_mart/masks": "5.1.2",
34
+ "@s_mart/core": "8.0.3",
35
+ "@s_mart/masks": "5.2.0",
36
36
  "@s_mart/rules": "5.1.1",
37
37
  "@s_mart/tokens": "5.1.1",
38
- "@s_mart/typed": "7.0.1",
38
+ "@s_mart/typed": "7.2.1",
39
39
  "@s_mart/utils": "5.1.1"
40
40
  },
41
41
  "devDependencies": {
@@ -48,11 +48,11 @@
48
48
  "@types/react-dom": ">=18.3.1",
49
49
  "dayjs": "^1.11.10",
50
50
  "typescript": ">=5.4.2",
51
- "@s_mart/core": "8.0.2",
52
- "@s_mart/masks": "5.1.2",
53
51
  "@s_mart/rules": "5.1.1",
52
+ "@s_mart/masks": "5.2.0",
54
53
  "@s_mart/tokens": "5.1.1",
55
- "@s_mart/typed": "7.0.1",
54
+ "@s_mart/core": "8.0.3",
55
+ "@s_mart/typed": "7.2.1",
56
56
  "@s_mart/utils": "5.1.1"
57
57
  },
58
58
  "scripts": {