@mantine/form
Advanced tools
Comparing version 7.0.0 to 7.0.1-alpha.0
@@ -19,3 +19,3 @@ /// <reference types="react" /> | ||
export type FormRule<Value, Values> = NonNullable<Value> extends Array<infer ListValue> ? Partial<{ | ||
[Key in keyof ListValue]: ListValue[Key] extends Array<infer NestedListItem> ? FormRulesRecord<NestedListItem> | Rule<ListValue[Key], Values> : FormRulesRecord<ListValue[Key]> | Rule<ListValue[Key], Values>; | ||
[Key in keyof ListValue]: ListValue[Key] extends Array<infer NestedListItem> ? FormRulesRecord<NestedListItem, Values> | Rule<ListValue[Key], Values> : FormRulesRecord<ListValue[Key], Values> | Rule<ListValue[Key], Values>; | ||
}> | Rule<Value, Values> : NonNullable<Value> extends Record<string, any> ? FormRulesRecord<Value, Values> | Rule<Value, Values> : Rule<Value, Values>; | ||
@@ -22,0 +22,0 @@ export type FormRulesRecord<Values, InitValues = Values> = Partial<{ |
{ | ||
"name": "@mantine/form", | ||
"description": "Mantine form management library", | ||
"version": "7.0.0", | ||
"version": "7.0.1-alpha.0", | ||
"main": "./cjs/index.js", | ||
"types": "./lib/index.d.ts", | ||
"module": "./esm/index.js", | ||
"module": "./esm/index.mjs", | ||
"exports": { | ||
".": { | ||
"import": "./esm/index.js", | ||
"require": "./cjs/index.js", | ||
"types": "./lib/index.d.ts" | ||
"import": { | ||
"types": "./lib/index.d.mts", | ||
"default": "./esm/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./cjs/index.js" | ||
} | ||
} | ||
@@ -13,0 +19,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222586
199
1987
1