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

@entur/tokens

Package Overview
Dependencies
Maintainers
9
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/tokens - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@2.0.0...@entur/tokens@2.0.1) (2020-12-04)
### Bug Fixes
- **zindex:** change typing from string to number ([87491c6](https://bitbucket.org/enturas/design-system/commits/87491c668ceba7b1ec75983c85968ffce6638890))
# [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.4.0...@entur/tokens@2.0.0) (2020-09-02)

@@ -8,0 +14,0 @@

14

dist/index.d.ts

@@ -148,9 +148,9 @@ export declare const colors: {

export declare const zIndexes: {
behind: string;
default: string;
sticky: string;
popover: string;
overlay: string;
modal: string;
toast: string;
behind: number;
default: number;
sticky: number;
popover: number;
overlay: number;
modal: number;
toast: number;
};

@@ -157,0 +157,0 @@ export declare const timings: {

@@ -188,3 +188,3 @@ 'use strict';

var zIndexScale = ['-1', '0', '10', '20', '30', '40', '50'];
var zIndexScale = [-1, 0, 10, 20, 30, 40, 50];
var zIndexes = {

@@ -191,0 +191,0 @@ behind: zIndexScale[0],

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,a=(e=require("hex-rgb"))&&"object"==typeof e&&"default"in e?e.default:e,r={brand:{blue:"#181c56",lavender:"#aeb7e2",white:"#ffffff",coral:"#ff5959",peach:"#ffbf9e"},blues:{blue10:"#292b6a",blue20:"#393d79",blue30:"#54568c",blue40:"#656782",blue50:"#8285a8",blue60:"#babbcf",blue70:"#d1d4e3",blue80:"#ebebf1",blue90:"#f5f5f8"},greys:{grey:"#949494",grey10:"#d1d3d3",grey20:"#e9e9e9",grey30:"#f3f3f3",grey40:"#f8f8f8"},validation:{sky:"#0082b9",skyContrast:"#64b3e7",skyTint:"#e1eff8",lava:"#d31b1b",lavaContrast:"#ff9494",lavaTint:"#ffcece",mint:"#1a8e60",mintContrast:"#5ac39a",mintTint:"#d0f1e3",canary:"#efd358"},misc:{focus:"rgba(68, 192, 255, 0.5)",black:"#1a1a1a"},transport:{default:{metro:"#de8108",bus:"#c5044e",plane:"#800664",helicopter:"#800664",tram:"#642e88",funicular:"#642e88",cableway:"#642e88",taxi:"#181c56",bicycle:"#181c56",walk:"#181c56",train:"#00367f",ferry:"#0497bc",carferry:"#0497bc",mobility:"#388f76"},contrast:{metro:"#f08901",bus:"#ff6392",plane:"#fbafea",helicopter:"#e258c3",tram:"#b482fb",funicular:"#a476e5",cableway:"#a476e5",taxi:"#ffffff",bicycle:"#ffffff",walk:"#ffffff",train:"#42a5f5",ferry:"#6fdfff",carferry:"#6fdfff",mobility:"#00db9b"}}},t=a(r.greys.grey10,{format:"array"}).toString().slice(0,-2),f=a(r.blues.blue20,{format:"array"}).toString().slice(0,-2),l={focus:"0 0 0 0.25rem "+r.misc.focus,focusContrast:"0 0 0 0.25rem rgba("+a(r.brand.white,{format:"array"}).toString().slice(0,-2)+", 0.3)",cardShadow:"0 0.125rem 0.1875rem 0 rgba("+t+", 0.7)",cardShadowHover:"0 0.125rem 1rem 0 rgba("+t+", 0.7)",cardShadowContrast:"0 0.125rem 0.1875rem 0 rgba("+f+", 0.7)",cardShadowHoverContrast:"0 0.125rem 1rem 0 rgba("+f+", 0.7)"},s=[0,4,8,12,16,24,32,40,48,56,64,72,80,88,96],o={none:s[0],default:s[4],extraSmall2:s[1],extraSmall:s[2],small:s[3],medium:s[4],large:s[5],extraLarge:s[6],extraLarge2:s[7],extraLarge3:s[8],extraLarge4:s[9],extraLarge5:s[10],extraLarge6:s[11],extraLarge7:s[12],extraLarge8:s[13],extraLarge9:s[14]},b=[10,12,14,16,20,24,28,32,40],i={extraSmall:b[0],small:b[1],medium:b[2],large:b[3],extraLarge:b[4],extraLarge2:b[5],extraLarge3:b[6],extraLarge4:b[7],extraLarge5:b[8]},d=[14,16,20,22,24,28,30,36,42,48,60],c={extraSmall:d[0],small:d[1],medium:d[2],large:d[3],extraLarge:d[4],extraLarge2:d[5],extraLarge3:d[6],extraLarge4:d[7],extraLarge5:d[8],extraLarge6:d[9],extraLarge7:d[10]},g=[1,2,4],m={default:g[1],small:g[0],medium:g[1],large:g[2]},x=[1,4],u=["-1","0","10","20","30","40","50"],n={behind:u[0],default:u[1],sticky:u[2],popover:u[3],overlay:u[4],modal:u[5],toast:u[6]},y=["0.1s","0.2s","0.5s"],p={fast:y[0],medium:y[1],slow:y[2]};exports.borderRadiuses={default:x[0],small:x[0],medium:x[1]},exports.borderWidths=m,exports.breakpoints={large:800,extraLarge:1200},exports.colors=r,exports.fontSizes=i,exports.fontWeights={body:"500",heading:"600"},exports.lineHeights=c,exports.shadows=l,exports.space=o,exports.timings=p,exports.zIndexes=n;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,a=(e=require("hex-rgb"))&&"object"==typeof e&&"default"in e?e.default:e,r={brand:{blue:"#181c56",lavender:"#aeb7e2",white:"#ffffff",coral:"#ff5959",peach:"#ffbf9e"},blues:{blue10:"#292b6a",blue20:"#393d79",blue30:"#54568c",blue40:"#656782",blue50:"#8285a8",blue60:"#babbcf",blue70:"#d1d4e3",blue80:"#ebebf1",blue90:"#f5f5f8"},greys:{grey:"#949494",grey10:"#d1d3d3",grey20:"#e9e9e9",grey30:"#f3f3f3",grey40:"#f8f8f8"},validation:{sky:"#0082b9",skyContrast:"#64b3e7",skyTint:"#e1eff8",lava:"#d31b1b",lavaContrast:"#ff9494",lavaTint:"#ffcece",mint:"#1a8e60",mintContrast:"#5ac39a",mintTint:"#d0f1e3",canary:"#efd358"},misc:{focus:"rgba(68, 192, 255, 0.5)",black:"#1a1a1a"},transport:{default:{metro:"#de8108",bus:"#c5044e",plane:"#800664",helicopter:"#800664",tram:"#642e88",funicular:"#642e88",cableway:"#642e88",taxi:"#181c56",bicycle:"#181c56",walk:"#181c56",train:"#00367f",ferry:"#0497bc",carferry:"#0497bc",mobility:"#388f76"},contrast:{metro:"#f08901",bus:"#ff6392",plane:"#fbafea",helicopter:"#e258c3",tram:"#b482fb",funicular:"#a476e5",cableway:"#a476e5",taxi:"#ffffff",bicycle:"#ffffff",walk:"#ffffff",train:"#42a5f5",ferry:"#6fdfff",carferry:"#6fdfff",mobility:"#00db9b"}}},t=a(r.greys.grey10,{format:"array"}).toString().slice(0,-2),f=a(r.blues.blue20,{format:"array"}).toString().slice(0,-2),l={focus:"0 0 0 0.25rem "+r.misc.focus,focusContrast:"0 0 0 0.25rem rgba("+a(r.brand.white,{format:"array"}).toString().slice(0,-2)+", 0.3)",cardShadow:"0 0.125rem 0.1875rem 0 rgba("+t+", 0.7)",cardShadowHover:"0 0.125rem 1rem 0 rgba("+t+", 0.7)",cardShadowContrast:"0 0.125rem 0.1875rem 0 rgba("+f+", 0.7)",cardShadowHoverContrast:"0 0.125rem 1rem 0 rgba("+f+", 0.7)"},s=[0,4,8,12,16,24,32,40,48,56,64,72,80,88,96],o={none:s[0],default:s[4],extraSmall2:s[1],extraSmall:s[2],small:s[3],medium:s[4],large:s[5],extraLarge:s[6],extraLarge2:s[7],extraLarge3:s[8],extraLarge4:s[9],extraLarge5:s[10],extraLarge6:s[11],extraLarge7:s[12],extraLarge8:s[13],extraLarge9:s[14]},b=[10,12,14,16,20,24,28,32,40],i={extraSmall:b[0],small:b[1],medium:b[2],large:b[3],extraLarge:b[4],extraLarge2:b[5],extraLarge3:b[6],extraLarge4:b[7],extraLarge5:b[8]},d=[14,16,20,22,24,28,30,36,42,48,60],c={extraSmall:d[0],small:d[1],medium:d[2],large:d[3],extraLarge:d[4],extraLarge2:d[5],extraLarge3:d[6],extraLarge4:d[7],extraLarge5:d[8],extraLarge6:d[9],extraLarge7:d[10]},g=[1,2,4],m={default:g[1],small:g[0],medium:g[1],large:g[2]},x=[1,4],u=[-1,0,10,20,30,40,50],n={behind:u[0],default:u[1],sticky:u[2],popover:u[3],overlay:u[4],modal:u[5],toast:u[6]},y=["0.1s","0.2s","0.5s"],p={fast:y[0],medium:y[1],slow:y[2]};exports.borderRadiuses={default:x[0],small:x[0],medium:x[1]},exports.borderWidths=m,exports.breakpoints={large:800,extraLarge:1200},exports.colors=r,exports.fontSizes=i,exports.fontWeights={body:"500",heading:"600"},exports.lineHeights=c,exports.shadows=l,exports.space=o,exports.timings=p,exports.zIndexes=n;
//# sourceMappingURL=tokens.cjs.production.min.js.map

@@ -182,3 +182,3 @@ import hexRgb from 'hex-rgb';

var zIndexScale = ['-1', '0', '10', '20', '30', '40', '50'];
var zIndexScale = [-1, 0, 10, 20, 30, 40, 50];
var zIndexes = {

@@ -185,0 +185,0 @@ behind: zIndexScale[0],

{
"name": "@entur/tokens",
"version": "2.0.0",
"version": "2.0.1",
"license": "EUPL-1.2",

@@ -36,3 +36,3 @@ "main": "dist/index.js",

},
"gitHead": "f5fa30db2fc72b4565c244ac6ef81a22a35b33c6"
"gitHead": "2016f005f88a8a1ebd8b31801d266dcbc367d5bc"
}

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