react-final-form
Advanced tools
Comparing version 6.2.0 to 6.2.1
@@ -575,3 +575,3 @@ 'use strict'; | ||
if (component === 'input') { | ||
value = defaultFormat(value, name); | ||
value = defaultFormat(value); | ||
} | ||
@@ -578,0 +578,0 @@ } else { |
import _extends from '@babel/runtime/helpers/esm/extends'; | ||
import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose'; | ||
import * as React from 'react'; | ||
import React__default, { createElement, createContext, useState, useEffect, useContext, useRef, useCallback } from 'react'; | ||
@@ -569,3 +568,3 @@ import { formSubscriptionItems, createForm, version as version$1, fieldSubscriptionItems } from 'final-form'; | ||
if (component === 'input') { | ||
value = defaultFormat(value, name); | ||
value = defaultFormat(value); | ||
} | ||
@@ -572,0 +571,0 @@ } else { |
@@ -604,3 +604,3 @@ (function (global, factory) { | ||
if (component === 'input') { | ||
value = defaultFormat(value, name); | ||
value = defaultFormat(value); | ||
} | ||
@@ -607,0 +607,0 @@ } else { |
{ | ||
"name": "react-final-form", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "🏁 High performance subscription-based form state management for React", | ||
@@ -48,3 +48,4 @@ "main": "dist/react-final-form.cjs.js", | ||
"@babel/preset-react": "^7.0.0", | ||
"@types/react": "^16.8.18", | ||
"@testing-library/react": "^8.0.1", | ||
"@types/react": "^16.8.20", | ||
"babel-core": "^7.0.0-bridge.0", | ||
@@ -55,7 +56,7 @@ "babel-eslint": "^10.0.1", | ||
"doctoc": "^1.4.0", | ||
"dtslint": "^0.7.6", | ||
"dtslint": "^0.8.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-react-app": "^4.0.0", | ||
"eslint-plugin-babel": "^5.2.1", | ||
"eslint-plugin-flowtype": "^3.9.1", | ||
"eslint-plugin-flowtype": "^3.10.3", | ||
"eslint-plugin-import": "^2.17.3", | ||
@@ -66,30 +67,29 @@ "eslint-plugin-jsx-a11y": "^6.2.1", | ||
"fast-deep-equal": "^2.0.1", | ||
"final-form": "^4.14.0", | ||
"final-form": "^4.15.0", | ||
"flow-bin": "^0.98.1", | ||
"glow": "^1.2.2", | ||
"husky": "^2.3.0", | ||
"husky": "^2.4.1", | ||
"jest": "^24.8.0", | ||
"jest-dom": "^3.4.0", | ||
"jest-dom": "^3.5.0", | ||
"jest-mock-console": "^1.0.0", | ||
"lint-staged": "^8.1.7", | ||
"lint-staged": "^8.2.1", | ||
"nps": "^5.9.4", | ||
"nps-utils": "^1.7.0", | ||
"opencollective": "^1.0.3", | ||
"prettier": "^1.17.0", | ||
"prettier": "^1.18.2", | ||
"prettier-eslint-cli": "^4.7.1", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"react-testing-library": "^7.0.1", | ||
"rollup": "^1.12.4", | ||
"rollup": "^1.15.4", | ||
"rollup-plugin-babel": "^4.3.2", | ||
"rollup-plugin-commonjs": "^10.0.0", | ||
"rollup-plugin-node-resolve": "^5.0.0", | ||
"rollup-plugin-node-resolve": "^5.0.2", | ||
"rollup-plugin-replace": "^2.2.0", | ||
"rollup-plugin-uglify": "^6.0.2", | ||
"tar": "^4.4.8", | ||
"tslint": "^5.16.0", | ||
"typescript": "^3.4.5" | ||
"tar": "^4.4.10", | ||
"tslint": "^5.17.0", | ||
"typescript": "^3.5.2" | ||
}, | ||
"peerDependencies": { | ||
"final-form": "^4.14.0", | ||
"final-form": "^4.15.0", | ||
"react": "^16.8.0" | ||
@@ -129,4 +129,4 @@ }, | ||
"@babel/runtime": "^7.4.5", | ||
"ts-essentials": "^2.0.2" | ||
"ts-essentials": "^2.0.8" | ||
} | ||
} |
@@ -20,4 +20,4 @@ import * as React from 'react'; | ||
export type FieldMetaState = Omit< | ||
FieldState, | ||
export type FieldMetaState<FieldValue> = Omit< | ||
FieldState<FieldValue>, | ||
'blur' | 'change' | 'focus' | 'name' | 'value' | ||
@@ -43,3 +43,3 @@ >; | ||
input: FieldInputProps<FieldValue, T>; | ||
meta: FieldMetaState; | ||
meta: FieldMetaState<FieldValue>; | ||
} | ||
@@ -88,3 +88,3 @@ | ||
type?: string; | ||
validate?: FieldValidator; | ||
validate?: FieldValidator<FieldValue>; | ||
validateFields?: string[]; | ||
@@ -91,0 +91,0 @@ value?: FieldValue; |
Sorry, the diff of this file is not supported yet
213053
2129
Updatedts-essentials@^2.0.8