@govuk-react/input
Advanced tools
Comparing version 0.2.7 to 0.2.12
@@ -64,8 +64,2 @@ var _styled; | ||
}; | ||
Input.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** | ||
* HTML `<Input />` type | ||
*/ | ||
type: PropTypes.string | ||
} : {}; | ||
export default withWhiteSpace({ | ||
@@ -72,0 +66,0 @@ marginBottom: 0 |
@@ -77,8 +77,2 @@ "use strict"; | ||
}; | ||
Input.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** | ||
* HTML `<Input />` type | ||
*/ | ||
type: _propTypes.default.string | ||
} : {}; | ||
@@ -85,0 +79,0 @@ var _default = (0, _hoc.withWhiteSpace)({ |
{ | ||
"name": "@govuk-react/input", | ||
"version": "0.2.7", | ||
"version": "0.2.12", | ||
"dependencies": { | ||
@@ -25,4 +25,4 @@ "@govuk-react/constants": "^0.2.7", | ||
"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/input", | ||
"description": "Styled input component with optional type prop, defaulting to 'text'.", | ||
"private": false, | ||
@@ -29,0 +29,0 @@ "publishConfig": { |
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
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
29792
333