New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@guardian/src-foundations

Package Overview
Dependencies
Maintainers
22
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/src-foundations - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

17

dist/foundations.esm.js

@@ -61,2 +61,7 @@ var fontSizes = [12, 15, 17, 20, 24, 28, 34, 42, 50, 70];

var size = [24, 36, 44];
var breakpoints = [740, 980, 1140, 1300]; // Diverges from https://system-ui.com
// At these widths, there are tweaks to the
// fluid grid on mobile devices
var tweakpoints = [375, 480, 660];
var transitions = [".2s cubic-bezier(.64, .57, .67, 1.53)", ".3s ease-in-out", ".65s ease-in-out"];

@@ -70,2 +75,12 @@

var breakpoints$1 = {
mobileMedium: tweakpoints[0],
mobileLandscape: tweakpoints[1],
phablet: tweakpoints[2],
tablet: breakpoints[0],
desktop: breakpoints[1],
leftCol: breakpoints[2],
wide: breakpoints[3]
};
var palette = {

@@ -293,2 +308,2 @@ brand: {

export { body, bodySizes, headline, headlineSizes, palette, size$1 as size, space$1 as space, textSans, textSansSizes, transitions$1 as transitions };
export { body, bodySizes, breakpoints$1 as breakpoints, headline, headlineSizes, palette, size$1 as size, space$1 as space, textSans, textSansSizes, transitions$1 as transitions };

@@ -65,2 +65,7 @@ 'use strict';

var size = [24, 36, 44];
var breakpoints = [740, 980, 1140, 1300]; // Diverges from https://system-ui.com
// At these widths, there are tweaks to the
// fluid grid on mobile devices
var tweakpoints = [375, 480, 660];
var transitions = [".2s cubic-bezier(.64, .57, .67, 1.53)", ".3s ease-in-out", ".65s ease-in-out"];

@@ -74,2 +79,12 @@

var breakpoints$1 = {
mobileMedium: tweakpoints[0],
mobileLandscape: tweakpoints[1],
phablet: tweakpoints[2],
tablet: breakpoints[0],
desktop: breakpoints[1],
leftCol: breakpoints[2],
wide: breakpoints[3]
};
var palette = {

@@ -299,2 +314,3 @@ brand: {

exports.bodySizes = bodySizes;
exports.breakpoints = breakpoints$1;
exports.headline = headline;

@@ -301,0 +317,0 @@ exports.headlineSizes = headlineSizes;

export * from "./animation"
export * from "./breakpoints"
export * from "./palette"

@@ -3,0 +4,0 @@ export * from "./size"

2

package.json
{
"name": "@guardian/src-foundations",
"version": "0.3.0",
"version": "0.3.1",
"main": "dist/foundations.js",

@@ -5,0 +5,0 @@ "module": "dist/foundations.esm.js",

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