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

@govuk-react/label

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/label - npm Package Compare versions

Comparing version 0.1.27 to 0.1.28

5

es/index.js

@@ -13,2 +13,3 @@ var _glamorous$label;

import { MEDIA_QUERIES, SITE_WIDTH, SPACING } from '@govuk-react/constants';
import { withWhiteSpace } from '@govuk-react/hoc';
var GLabel = glamorous.label((_glamorous$label = {

@@ -50,3 +51,5 @@ display: 'flex',

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

8

lib/index.js

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

var _hoc = require("@govuk-react/hoc");
var _glamorous$label;

@@ -61,5 +63,9 @@

} : {};
var _default = Label;
var _default = (0, _hoc.withWhiteSpace)({
marginBottom: 0
})(Label);
exports.default = _default;
module.exports = exports["default"];
//# sourceMappingURL=index.js.map
{
"name": "@govuk-react/label",
"version": "0.1.27",
"version": "0.1.28",
"dependencies": {
"@govuk-react/constants": "^0.1.26",
"@govuk-react/constants": "^0.1.28",
"@govuk-react/hoc": "^0.1.28",
"govuk-colours": "^1.0.3"

@@ -13,12 +14,2 @@ },

},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.40",
"@govuk-react/api-docs": "^0.1.27",
"@storybook/addon-actions": "^3.3.14",
"@storybook/react": "^3.3.14",
"cross-env": "^5.1.4",
"enzyme": "^3.3.0",
"react-dom": "^16.2.0",
"rimraf": "^2.6.2"
},
"scripts": {

@@ -25,0 +16,0 @@ "build": "npm run build:lib && npm run build:es",

@@ -9,2 +9,3 @@ // https://github.com/alphagov/govuk-frontend/tree/master/src/components/

import { MEDIA_QUERIES, SITE_WIDTH, SPACING } from '@govuk-react/constants';
import { withWhiteSpace } from '@govuk-react/hoc';

@@ -43,2 +44,2 @@ const GLabel = glamorous.label(

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

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