@guardian/src-helpers
Advanced tools
Comparing version 2.5.0 to 2.6.0-rc.0
import { background, brandBackground, brandAltBackground } from '@guardian/src-foundations/palette'; | ||
var storybookBackgrounds = { | ||
inverse: { | ||
name: "inverse", | ||
value: background.inverse | ||
}, | ||
"default": { | ||
@@ -5,0 +9,0 @@ name: "default", |
@@ -8,2 +8,6 @@ 'use strict'; | ||
var storybookBackgrounds = { | ||
inverse: { | ||
name: "inverse", | ||
value: palette.background.inverse | ||
}, | ||
"default": { | ||
@@ -10,0 +14,0 @@ name: "default", |
{ | ||
"name": "@guardian/src-helpers", | ||
"version": "2.5.0", | ||
"version": "2.6.0-rc.0", | ||
"license": "Apache-2.0", | ||
@@ -29,7 +29,7 @@ "main": "dist/helpers.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.10.0", | ||
"@babel/core": "^7.12.3", | ||
"@babel/preset-env": "^7.10.0", | ||
"@babel/preset-react": "^7.10.0", | ||
"@babel/preset-typescript": "^7.9.0", | ||
"@guardian/src-foundations": "^2.5.0", | ||
"@guardian/src-foundations": "^2.6.0-rc.0", | ||
"rollup": "^1.17.0", | ||
@@ -39,7 +39,7 @@ "rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"typescript": "^4.0.3" | ||
"typescript": "^4.0.5" | ||
}, | ||
"dependencies": { | ||
"@guardian/src-foundations": "^2.5.0" | ||
"@guardian/src-foundations": "^2.6.0-rc.0" | ||
} | ||
} |
import { ThemeName } from "./types"; | ||
declare type Background = ThemeName | "inverse"; | ||
declare const storybookBackgrounds: { | ||
[key in ThemeName]: { | ||
name: ThemeName; | ||
[key in Background]: { | ||
name: Background; | ||
value: string; | ||
@@ -6,0 +7,0 @@ }; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3101
61
0
2