@govuk-react/label
Advanced tools
Comparing version 0.1.27 to 0.1.28
@@ -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 |
@@ -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
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
24169
0
241
6
+ Added@govuk-react/hoc@^0.1.28
+ Added@govuk-react/hoc@0.1.28(transitive)
+ Added@govuk-react/icons@0.1.28(transitive)