rc-picker
Advanced tools
Comparing version 0.0.1-alpha.8 to 0.0.1-alpha.9
@@ -168,4 +168,4 @@ "use strict"; | ||
function getInputSize(picker, format) { | ||
var defaultSize = picker === 'time' ? 9 : 11; | ||
return Math.max(defaultSize, format.length + 2); | ||
var defaultSize = picker === 'time' ? 8 : 10; | ||
return Math.max(defaultSize, format.length); | ||
} | ||
@@ -172,0 +172,0 @@ |
@@ -168,4 +168,4 @@ "use strict"; | ||
function getInputSize(picker, format) { | ||
var defaultSize = picker === 'time' ? 9 : 11; | ||
return Math.max(defaultSize, format.length + 2); | ||
var defaultSize = picker === 'time' ? 8 : 10; | ||
return Math.max(defaultSize, format.length); | ||
} | ||
@@ -172,0 +172,0 @@ |
{ | ||
"name": "rc-picker", | ||
"version": "0.0.1-alpha.8", | ||
"version": "0.0.1-alpha.9", | ||
"description": "React date & time picker", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
415921