@govuk-react/text-area
Advanced tools
Comparing version 0.2.9 to 0.2.12
@@ -95,34 +95,8 @@ var _styled; | ||
}; | ||
TextArea.propTypes = process.env.NODE_ENV !== "production" ? { | ||
hint: PropTypes.string, | ||
input: PropTypes.shape({ | ||
name: PropTypes.string, | ||
onBlur: PropTypes.func, | ||
onChange: PropTypes.func, | ||
onFocus: PropTypes.func, | ||
value: PropTypes.any | ||
}), | ||
meta: PropTypes.shape({ | ||
active: PropTypes.bool, | ||
dirty: PropTypes.bool, | ||
dirtySinceLastSubmit: PropTypes.bool, | ||
error: PropTypes.any, | ||
initial: PropTypes.any, | ||
invalid: PropTypes.bool, | ||
pristine: PropTypes.bool, | ||
submitError: PropTypes.any, | ||
submitFailed: PropTypes.bool, | ||
submitSucceeded: PropTypes.bool, | ||
touched: PropTypes.bool, | ||
valid: PropTypes.bool, | ||
visited: PropTypes.bool | ||
}), | ||
children: PropTypes.node.isRequired | ||
} : {}; | ||
/** Component is not exported withWhitespace because Label | ||
* is also exported withWhitespace and therefore takes precedence. | ||
*/ | ||
export default TextArea; | ||
export { TextAreaField }; | ||
//# sourceMappingURL=index.js.map |
@@ -112,34 +112,8 @@ "use strict"; | ||
}; | ||
TextArea.propTypes = process.env.NODE_ENV !== "production" ? { | ||
hint: _propTypes.default.string, | ||
input: _propTypes.default.shape({ | ||
name: _propTypes.default.string, | ||
onBlur: _propTypes.default.func, | ||
onChange: _propTypes.default.func, | ||
onFocus: _propTypes.default.func, | ||
value: _propTypes.default.any | ||
}), | ||
meta: _propTypes.default.shape({ | ||
active: _propTypes.default.bool, | ||
dirty: _propTypes.default.bool, | ||
dirtySinceLastSubmit: _propTypes.default.bool, | ||
error: _propTypes.default.any, | ||
initial: _propTypes.default.any, | ||
invalid: _propTypes.default.bool, | ||
pristine: _propTypes.default.bool, | ||
submitError: _propTypes.default.any, | ||
submitFailed: _propTypes.default.bool, | ||
submitSucceeded: _propTypes.default.bool, | ||
touched: _propTypes.default.bool, | ||
valid: _propTypes.default.bool, | ||
visited: _propTypes.default.bool | ||
}), | ||
children: _propTypes.default.node.isRequired | ||
} : {}; | ||
/** Component is not exported withWhitespace because Label | ||
* is also exported withWhitespace and therefore takes precedence. | ||
*/ | ||
var _default = TextArea; | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@govuk-react/text-area", | ||
"version": "0.2.9", | ||
"version": "0.2.12", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.2.7", | ||
"@govuk-react/error-text": "^0.2.7", | ||
"@govuk-react/hint-text": "^0.2.7", | ||
"@govuk-react/error-text": "^0.2.12", | ||
"@govuk-react/hint-text": "^0.2.12", | ||
"@govuk-react/hoc": "^0.2.7", | ||
"@govuk-react/label": "^0.2.9", | ||
"@govuk-react/label-text": "^0.2.7", | ||
"@govuk-react/label": "^0.2.12", | ||
"@govuk-react/label-text": "^0.2.12", | ||
"govuk-colours": "^1.0.3" | ||
@@ -29,4 +29,4 @@ }, | ||
"license": "MIT", | ||
"homepage": "https://github.com/UKHomeOffice/govuk-react#readme", | ||
"description": "govuk-react: A port of the govuk-frontend components for React using Emotion.", | ||
"homepage": "https://github.com/UKHomeOffice/govuk-react/tree/master/components/text-area", | ||
"description": "Styled textarea supporting additional parameters via props.", | ||
"private": false, | ||
@@ -33,0 +33,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
51623
534