@govuk-react/constants
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -5,9 +5,8 @@ export * from './focus'; | ||
export var BORDER_WIDTH = '5px'; | ||
export var BORDER_WIDTH_WIDE = '10px'; | ||
export var BORDER_WIDTH_MOBILE = '4px'; | ||
export var BORDER_WIDTH_TABLET = '5px'; | ||
export var BORDER_WIDTH_FORM_ELEMENT = '2px'; | ||
export var BORDER_WIDTH_FORM_ELEMENT_ERROR = '4px'; | ||
export var BORDER_WIDTH_ERROR = '4px'; | ||
export var BORDER_WIDTH = '5px'; | ||
export var BORDER_WIDTH_WIDE = '10px'; | ||
export var BORDER_WIDTH_FORM_GROUP_ERROR = BORDER_WIDTH; | ||
export var SITE_WIDTH_PX = 960; | ||
@@ -14,0 +13,0 @@ export var SITE_WIDTH = SITE_WIDTH_PX + "px"; |
@@ -5,9 +5,8 @@ "use strict"; | ||
var _exportNames = { | ||
BORDER_WIDTH: true, | ||
BORDER_WIDTH_WIDE: true, | ||
BORDER_WIDTH_MOBILE: true, | ||
BORDER_WIDTH_TABLET: true, | ||
BORDER_WIDTH_FORM_ELEMENT: true, | ||
BORDER_WIDTH_FORM_ELEMENT_ERROR: true, | ||
BORDER_WIDTH_ERROR: true, | ||
BORDER_WIDTH: true, | ||
BORDER_WIDTH_WIDE: true, | ||
BORDER_WIDTH_FORM_GROUP_ERROR: true, | ||
SITE_WIDTH_PX: true, | ||
@@ -32,3 +31,3 @@ SITE_WIDTH: true, | ||
}; | ||
exports.LINE_HEIGHT = exports.FONT_SIZE = exports.FONT_STACK_PRINT = exports.FONT_STACK_TABULAR = exports.FONT_STACK = exports.NTA_LIGHT_TABULAR = exports.NTA_LIGHT = exports.MEDIA_QUERIES = exports.SITE_WIDTH_PLUS_GUTTERS = exports.SPACING = exports.GUTTER_ONE_THIRD = exports.GUTTER_HALF = exports.GUTTER = exports.GUTTER_PX = exports.BREAKPOINTS = exports.FULL_WIDTH = exports.SITE_WIDTH = exports.SITE_WIDTH_PX = exports.BORDER_WIDTH_WIDE = exports.BORDER_WIDTH = exports.BORDER_WIDTH_ERROR = exports.BORDER_WIDTH_FORM_ELEMENT_ERROR = exports.BORDER_WIDTH_FORM_ELEMENT = exports.BORDER_WIDTH_TABLET = exports.BORDER_WIDTH_MOBILE = void 0; | ||
exports.LINE_HEIGHT = exports.FONT_SIZE = exports.FONT_STACK_PRINT = exports.FONT_STACK_TABULAR = exports.FONT_STACK = exports.NTA_LIGHT_TABULAR = exports.NTA_LIGHT = exports.MEDIA_QUERIES = exports.SITE_WIDTH_PLUS_GUTTERS = exports.SPACING = exports.GUTTER_ONE_THIRD = exports.GUTTER_HALF = exports.GUTTER = exports.GUTTER_PX = exports.BREAKPOINTS = exports.FULL_WIDTH = exports.SITE_WIDTH = exports.SITE_WIDTH_PX = exports.BORDER_WIDTH_FORM_GROUP_ERROR = exports.BORDER_WIDTH_FORM_ELEMENT_ERROR = exports.BORDER_WIDTH_FORM_ELEMENT = exports.BORDER_WIDTH_MOBILE = exports.BORDER_WIDTH_WIDE = exports.BORDER_WIDTH = void 0; | ||
@@ -59,6 +58,8 @@ var _focus = require("./focus"); | ||
// Tracks https://github.com/alphagov/govuk-frontend/blob/master/src/settings/_measurements.scss | ||
var BORDER_WIDTH = '5px'; | ||
exports.BORDER_WIDTH = BORDER_WIDTH; | ||
var BORDER_WIDTH_WIDE = '10px'; | ||
exports.BORDER_WIDTH_WIDE = BORDER_WIDTH_WIDE; | ||
var BORDER_WIDTH_MOBILE = '4px'; | ||
exports.BORDER_WIDTH_MOBILE = BORDER_WIDTH_MOBILE; | ||
var BORDER_WIDTH_TABLET = '5px'; | ||
exports.BORDER_WIDTH_TABLET = BORDER_WIDTH_TABLET; | ||
var BORDER_WIDTH_FORM_ELEMENT = '2px'; | ||
@@ -68,8 +69,4 @@ exports.BORDER_WIDTH_FORM_ELEMENT = BORDER_WIDTH_FORM_ELEMENT; | ||
exports.BORDER_WIDTH_FORM_ELEMENT_ERROR = BORDER_WIDTH_FORM_ELEMENT_ERROR; | ||
var BORDER_WIDTH_ERROR = '4px'; | ||
exports.BORDER_WIDTH_ERROR = BORDER_WIDTH_ERROR; | ||
var BORDER_WIDTH = '5px'; | ||
exports.BORDER_WIDTH = BORDER_WIDTH; | ||
var BORDER_WIDTH_WIDE = '10px'; | ||
exports.BORDER_WIDTH_WIDE = BORDER_WIDTH_WIDE; | ||
var BORDER_WIDTH_FORM_GROUP_ERROR = BORDER_WIDTH; | ||
exports.BORDER_WIDTH_FORM_GROUP_ERROR = BORDER_WIDTH_FORM_GROUP_ERROR; | ||
var SITE_WIDTH_PX = 960; | ||
@@ -76,0 +73,0 @@ exports.SITE_WIDTH_PX = SITE_WIDTH_PX; |
{ | ||
"name": "@govuk-react/constants", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "govuk-colours": "^1.0.3" |
@@ -6,9 +6,8 @@ export * from './focus'; | ||
// Tracks https://github.com/alphagov/govuk-frontend/blob/master/src/settings/_measurements.scss | ||
export const BORDER_WIDTH = '5px'; | ||
export const BORDER_WIDTH_WIDE = '10px'; | ||
export const BORDER_WIDTH_MOBILE = '4px'; | ||
export const BORDER_WIDTH_TABLET = '5px'; | ||
export const BORDER_WIDTH_FORM_ELEMENT = '2px'; | ||
export const BORDER_WIDTH_FORM_ELEMENT_ERROR = '4px'; | ||
export const BORDER_WIDTH_ERROR = '4px'; | ||
export const BORDER_WIDTH = '5px'; | ||
export const BORDER_WIDTH_WIDE = '10px'; | ||
export const BORDER_WIDTH_FORM_GROUP_ERROR = BORDER_WIDTH; | ||
export const SITE_WIDTH_PX = 960; | ||
@@ -15,0 +14,0 @@ export const SITE_WIDTH = `${SITE_WIDTH_PX}px`; |
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
71935
1180