@shopify/react-form-state
Advanced tools
Comparing version 2.1.1 to 2.1.2
import React from 'react'; | ||
import { FieldDescriptor, FieldDescriptors } from '../types'; | ||
import type { FieldDescriptor, FieldDescriptors } from '../types'; | ||
interface Props<Fields> { | ||
@@ -4,0 +4,0 @@ field: FieldDescriptor<Fields[]>; |
import React from 'react'; | ||
import { FieldDescriptor, FieldDescriptors } from '../types'; | ||
import type { FieldDescriptor, FieldDescriptors } from '../types'; | ||
interface Props<Fields> { | ||
@@ -4,0 +4,0 @@ field: FieldDescriptor<Fields>; |
import React from 'react'; | ||
import { FieldDescriptors, FieldStates, ValidationFunction } from './types'; | ||
import type { FieldDescriptors, FieldStates, ValidationFunction } from './types'; | ||
import { List, Nested } from './components'; | ||
@@ -4,0 +4,0 @@ export interface RemoteError { |
import isEqual from 'fast-deep-equal'; | ||
import { FieldDescriptor } from './types'; | ||
import type { FieldDescriptor } from './types'; | ||
export { isEqual }; | ||
@@ -4,0 +4,0 @@ export declare function mapObject<Input extends object, Output>(input: Input, mapper: (value: any, key: string & keyof Input) => any): Output; |
@@ -1,2 +0,2 @@ | ||
import { StringMapper } from './types'; | ||
import type { StringMapper } from './types'; | ||
interface Matcher<Input, Fields = any> { | ||
@@ -3,0 +3,0 @@ (input: Input, fields: Fields): boolean; |
{ | ||
"name": "@shopify/react-form-state", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"license": "MIT", | ||
@@ -33,3 +33,3 @@ "description": "Manage React forms tersely and type-safely with no magic", | ||
"devDependencies": { | ||
"@shopify/react-testing": "^5.1.0" | ||
"@shopify/react-testing": "^5.1.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
77565