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

@govuk-react/input

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/input - npm Package Compare versions

Comparing version 0.6.0-alpha.4 to 0.6.0-rc.1

11

es/index.js

@@ -9,5 +9,4 @@ 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 { BLACK, ERROR_COLOUR } from 'govuk-colours';
import { withWhiteSpace } from '@govuk-react/hoc';
import { BORDER_WIDTH_FORM_ELEMENT, BORDER_WIDTH_FORM_ELEMENT_ERROR, FOCUSABLE, SPACING_POINTS } from '@govuk-react/constants';
import { typography } from '@govuk-react/lib';
import { spacing, typography } from '@govuk-react/lib';
export var StyledInput = styled('input')(typography.font({

@@ -38,3 +37,5 @@ size: 19

};
});
}, spacing.withWhiteSpace({
marginBottom: 0
}));
/**

@@ -68,5 +69,3 @@ *

};
export default withWhiteSpace({
marginBottom: 0
})(Input);
export default Input;
//# sourceMappingURL=index.js.map

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

var _hoc = require("@govuk-react/hoc");
var _constants = require("@govuk-react/constants");

@@ -52,3 +50,5 @@

};
});
}, _lib.spacing.withWhiteSpace({
marginBottom: 0
}));
/**

@@ -84,8 +84,4 @@ *

};
var _default = (0, _hoc.withWhiteSpace)({
marginBottom: 0
})(Input);
var _default = Input;
exports.default = _default;
//# sourceMappingURL=index.js.map
{
"name": "@govuk-react/input",
"version": "0.6.0-alpha.4",
"version": "0.6.0-rc.1",
"dependencies": {
"@govuk-react/constants": "^0.6.0-alpha.4",
"@govuk-react/hoc": "^0.6.0-alpha.4",
"@govuk-react/lib": "^0.6.0-alpha.4",
"@govuk-react/constants": "^0.6.0-rc.1",
"@govuk-react/lib": "^0.6.0-rc.1",
"govuk-colours": "^1.0.3"

@@ -9,0 +8,0 @@ },

@@ -6,3 +6,2 @@ import React from 'react';

import { BLACK, ERROR_COLOUR } from 'govuk-colours';
import { withWhiteSpace } from '@govuk-react/hoc';
import {

@@ -14,3 +13,3 @@ BORDER_WIDTH_FORM_ELEMENT,

} from '@govuk-react/constants';
import { typography } from '@govuk-react/lib';
import { spacing, typography } from '@govuk-react/lib';

@@ -45,2 +44,3 @@ export const StyledInput = styled('input')(

}),
spacing.withWhiteSpace({ marginBottom: 0 }),
);

@@ -76,2 +76,2 @@

export default withWhiteSpace({ marginBottom: 0 })(Input);
export default Input;

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