@govuk-react/constants
Advanced tools
Comparing version 0.6.0-alpha.4 to 0.6.0-rc.1
@@ -42,3 +42,4 @@ export * from './focus'; | ||
PRINT: '@media print', | ||
TABLET: "@media only screen and (min-width: " + BREAKPOINTS.TABLET + ")" | ||
TABLET: "@media only screen and (min-width: " + BREAKPOINTS.TABLET + ")", | ||
DESKTOP: "@media only screen and (min-width: " + BREAKPOINTS.DESKTOP + ")" | ||
}; // TODO: figure out how to optionally include locally installed font, e.g. "GDS Transport Website" | ||
@@ -45,0 +46,0 @@ |
@@ -55,3 +55,12 @@ // https://github.com/alphagov/govuk-frontend/blob/master/src/settings/_spacing.scss | ||
9: 60 | ||
}; // Ref: https://github.com/alphagov/govuk-frontend/blob/68bd09bb3e54b7ef4b4084ad2b3336858923a041/src/settings/_measurements.scss#L23 | ||
export var WIDTHS = { | ||
'one-quarter': '25%', | ||
'one-third': '33.3333%', | ||
'one-half': '50%', | ||
'two-thirds': '66.6666%', | ||
'three-quarters': '75%', | ||
full: '100%' | ||
}; | ||
//# sourceMappingURL=spacing.js.map |
@@ -111,3 +111,4 @@ "use strict"; | ||
PRINT: '@media print', | ||
TABLET: "@media only screen and (min-width: " + BREAKPOINTS.TABLET + ")" | ||
TABLET: "@media only screen and (min-width: " + BREAKPOINTS.TABLET + ")", | ||
DESKTOP: "@media only screen and (min-width: " + BREAKPOINTS.DESKTOP + ")" | ||
}; // TODO: figure out how to optionally include locally installed font, e.g. "GDS Transport Website" | ||
@@ -114,0 +115,0 @@ |
"use strict"; | ||
exports.__esModule = true; | ||
exports.SPACING_POINTS = exports.SPACING_MAP_INDEX = exports.SPACING_MAP = exports.RESPONSIVE_9 = exports.RESPONSIVE_8 = exports.RESPONSIVE_7 = exports.RESPONSIVE_6 = exports.RESPONSIVE_5 = exports.RESPONSIVE_4 = exports.RESPONSIVE_3 = exports.RESPONSIVE_2 = exports.RESPONSIVE_1 = exports.RESPONSIVE_0 = void 0; | ||
exports.WIDTHS = exports.SPACING_POINTS = exports.SPACING_MAP_INDEX = exports.SPACING_MAP = exports.RESPONSIVE_9 = exports.RESPONSIVE_8 = exports.RESPONSIVE_7 = exports.RESPONSIVE_6 = exports.RESPONSIVE_5 = exports.RESPONSIVE_4 = exports.RESPONSIVE_3 = exports.RESPONSIVE_2 = exports.RESPONSIVE_1 = exports.RESPONSIVE_0 = void 0; | ||
// https://github.com/alphagov/govuk-frontend/blob/master/src/settings/_spacing.scss | ||
@@ -71,4 +71,14 @@ var RESPONSIVE_0 = { | ||
9: 60 | ||
}; // Ref: https://github.com/alphagov/govuk-frontend/blob/68bd09bb3e54b7ef4b4084ad2b3336858923a041/src/settings/_measurements.scss#L23 | ||
exports.SPACING_POINTS = SPACING_POINTS; | ||
var WIDTHS = { | ||
'one-quarter': '25%', | ||
'one-third': '33.3333%', | ||
'one-half': '50%', | ||
'two-thirds': '66.6666%', | ||
'three-quarters': '75%', | ||
full: '100%' | ||
}; | ||
exports.SPACING_POINTS = SPACING_POINTS; | ||
exports.WIDTHS = WIDTHS; | ||
//# sourceMappingURL=spacing.js.map |
{ | ||
"name": "@govuk-react/constants", | ||
"version": "0.6.0-alpha.4", | ||
"version": "0.6.0-rc.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "govuk-colours": "^1.0.3" |
@@ -47,2 +47,3 @@ export * from './focus'; | ||
TABLET: `@media only screen and (min-width: ${BREAKPOINTS.TABLET})`, | ||
DESKTOP: `@media only screen and (min-width: ${BREAKPOINTS.DESKTOP})`, | ||
}; | ||
@@ -49,0 +50,0 @@ |
@@ -80,1 +80,11 @@ // https://github.com/alphagov/govuk-frontend/blob/master/src/settings/_spacing.scss | ||
}; | ||
// Ref: https://github.com/alphagov/govuk-frontend/blob/68bd09bb3e54b7ef4b4084ad2b3336858923a041/src/settings/_measurements.scss#L23 | ||
export const WIDTHS = { | ||
'one-quarter': '25%', | ||
'one-third': '33.3333%', | ||
'one-half': '50%', | ||
'two-thirds': '66.6666%', | ||
'three-quarters': '75%', | ||
full: '100%', | ||
}; |
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
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
72202
1185