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

@govuk-react/constants

Package Overview
Dependencies
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/constants - npm Package Compare versions

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

3

es/index.js

@@ -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

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