@rmwc/textfield
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -358,10 +358,9 @@ [ | ||
"textarea": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Makes a multiline TextField." | ||
}, | ||
"value": { | ||
"required": false, | ||
"flowType": { | ||
@@ -379,20 +378,20 @@ "name": "union", | ||
}, | ||
"required": false, | ||
"description": "Sets the value for controlled TextFields." | ||
}, | ||
"fullwidth": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Makes the TextField fullwidth." | ||
}, | ||
"box": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Makes the TextField have a visual box." | ||
}, | ||
"inputRef": { | ||
"required": false, | ||
"flowType": { | ||
@@ -407,41 +406,41 @@ "name": "ReactRef", | ||
}, | ||
"required": false, | ||
"description": "A ref for the native input." | ||
}, | ||
"disabled": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Disables the input." | ||
}, | ||
"required": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Mark the input as required." | ||
}, | ||
"invalid": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Makes the TextField visually invalid. This is sometimes automatically applied in cases where required or pattern is used." | ||
}, | ||
"dense": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Makes the TextField dense" | ||
}, | ||
"outlined": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Outline the TextField" | ||
}, | ||
"label": { | ||
"required": false, | ||
"flowType": { | ||
@@ -451,6 +450,6 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "A label for the input." | ||
}, | ||
"withLeadingIcon": { | ||
"required": false, | ||
"flowType": { | ||
@@ -460,6 +459,6 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Add a leading icon." | ||
}, | ||
"withTrailingIcon": { | ||
"required": false, | ||
"flowType": { | ||
@@ -469,16 +468,17 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Add a trailing icon." | ||
}, | ||
"rootProps": { | ||
"required": false, | ||
"flowType": { | ||
"name": "Object" | ||
}, | ||
"required": false, | ||
"description": "By default, props spread to the input. These props are for the component's root container." | ||
}, | ||
"type": { | ||
"required": false, | ||
"flowType": { | ||
"name": "string" | ||
}, | ||
"required": false, | ||
"description": "The type of input field to render" | ||
@@ -494,13 +494,13 @@ } | ||
"persistent": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make the help text always visible" | ||
}, | ||
"validationMsg": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make the help a validation message style" | ||
@@ -507,0 +507,0 @@ } |
@@ -135,5 +135,3 @@ 'use strict'; | ||
elementRef: inputRef, | ||
id: rest['id'] || (0, _base.randomId)('text-field'), | ||
// fixes an issue with the deprecated non box input | ||
style: box === undefined && outlined === undefined ? { marginTop: '3px' } : {} | ||
id: rest['id'] || (0, _base.randomId)('text-field') | ||
}); | ||
@@ -140,0 +138,0 @@ |
{ | ||
"name": "@rmwc/textfield", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "RMWC TextField component", | ||
@@ -32,3 +32,3 @@ "main": "index.js", | ||
"@rmwc/floating-label": "^2.0.2", | ||
"@rmwc/icon": "^2.0.2", | ||
"@rmwc/icon": "^2.1.0", | ||
"@rmwc/line-ripple": "^2.0.2", | ||
@@ -35,0 +35,0 @@ "@rmwc/notched-outline": "^2.0.2" |
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
45304
845
Updated@rmwc/icon@^2.1.0