Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react/input-field

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/input-field - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

9

es/index.js

@@ -14,3 +14,2 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import Input from '@govuk-react/input';
import { withWhiteSpace } from '@govuk-react/hoc';
/**

@@ -82,5 +81,7 @@ *

};
export default withWhiteSpace({
marginBottom: 0
})(InputField);
/** Component is not exported withWhitespace because Label
* is also exported withWhitespace and therefore takes precedence.
*/
export default InputField;
//# sourceMappingURL=index.js.map

@@ -20,4 +20,2 @@ "use strict";

var _hoc = require("@govuk-react/hoc");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -95,8 +93,8 @@

var _default = (0, _hoc.withWhiteSpace)({
marginBottom: 0
})(InputField);
/** Component is not exported withWhitespace because Label
* is also exported withWhitespace and therefore takes precedence.
*/
var _default = InputField;
exports.default = _default;
module.exports = exports.default;
//# sourceMappingURL=index.js.map
{
"name": "@govuk-react/input-field",
"version": "0.5.0",
"version": "0.5.1",
"dependencies": {
"@govuk-react/constants": "^0.5.0",
"@govuk-react/error-text": "^0.5.0",
"@govuk-react/hint-text": "^0.5.0",
"@govuk-react/hoc": "^0.5.0",
"@govuk-react/input": "^0.5.0",
"@govuk-react/label": "^0.5.0",
"@govuk-react/label-text": "^0.5.0",
"@govuk-react/constants": "^0.5.1",
"@govuk-react/error-text": "^0.5.1",
"@govuk-react/hint-text": "^0.5.1",
"@govuk-react/hoc": "^0.5.1",
"@govuk-react/input": "^0.5.1",
"@govuk-react/label": "^0.5.1",
"@govuk-react/label-text": "^0.5.1",
"govuk-colours": "^1.0.3"

@@ -13,0 +13,0 @@ },

@@ -11,3 +11,2 @@ // https://github.com/alphagov/govuk-frontend/blob/master/src/components/input/_input.scss

import Input from '@govuk-react/input';
import { withWhiteSpace } from '@govuk-react/hoc';

@@ -104,2 +103,5 @@ /**

export default withWhiteSpace({ marginBottom: 0 })(InputField);
/** Component is not exported withWhitespace because Label
* is also exported withWhitespace and therefore takes precedence.
*/
export default InputField;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc