Socket
Socket
Sign inDemoInstall

@entur/tokens

Package Overview
Dependencies
Maintainers
13
Versions
68
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 1.0.2 to 1.1.0

10

CHANGELOG.md

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

# [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.0.2...@entur/tokens@1.1.0) (2019-11-29)
### Bug Fixes
- updating focus color to be a rgba color ([a99dab6](https://bitbucket.org/enturas/design-system/commits/a99dab6177ddfb3bd6724e1106286595d0bab192))
### Features
- adding boxshadow tokens ([abe861f](https://bitbucket.org/enturas/design-system/commits/abe861f943c06a9743a12fe1144a3249bbc3a4aa))
## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.0.1...@entur/tokens@1.0.2) (2019-11-22)

@@ -8,0 +18,0 @@

6

dist/index.d.ts

@@ -77,2 +77,6 @@ declare const colors: {

};
declare const shadows: {
focus: string;
cardShadow: string;
};
declare const space: {

@@ -147,2 +151,2 @@ none: number;

};
export { colors, space, fontWeights, fontSizes, lineHeights, breakpoints, borderWidths, borderRadiuses, zIndexes, timings };
export { colors, shadows, space, fontWeights, fontSizes, lineHeights, breakpoints, borderWidths, borderRadiuses, zIndexes, timings };

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

misc: {
focus: '#44c0ff',
focus: 'rgba(68, 192, 255, 0.5)',
black: '#1a1a1a'

@@ -93,2 +93,8 @@ },

}
};
var shadows = {
focus:
/*#__PURE__*/
"0 0 0.125rem 0.125rem ".concat(colors.misc.focus),
cardShadow: '0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.2)'
}; // Dimensions

@@ -184,2 +190,3 @@

exports.lineHeights = lineHeights;
exports.shadows = shadows;
exports.space = space;

@@ -186,0 +193,0 @@ exports.timings = timings;

2

dist/tokens.cjs.production.min.js

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

"use strict";var e=[0,4,8,12,16,24,32,40,48,56,64,72,80,88,96],a={none:e[0],default:e[4],extraSmall2:e[1],extraSmall:e[2],small:e[3],medium:e[4],large:e[5],extraLarge:e[6],extraLarge2:e[7],extraLarge3:e[8],extraLarge4:e[9],extraLarge5:e[10],extraLarge6:e[11],extraLarge7:e[12],extraLarge8:e[13],extraLarge9:e[14]},r=[10,12,14,16,22,28,34],t={extraSmall:r[0],small:r[1],medium:r[2],large:r[3],extraLarge:r[4],extraLarge2:r[5],extraLarge3:r[6]},f=[14,16,20,22,24,28,30,36,42],l={extraSmall:f[0],small:f[1],medium:f[2],large:f[3],extraLarge:f[4],extraLarge2:f[5],extraLarge3:f[6],extraLarge4:f[7],extraLarge5:f[8]},s=[1,2,4],i={default:s[1],small:s[0],medium:s[1],large:s[2]},b=[1,4],o=["-1","0","10","20","30","40","50"],c={behind:o[0],default:o[1],sticky:o[2],popover:o[3],overlay:o[4],modal:o[5],toast:o[6]},d=["0.1s","0.5s"],x={fast:d[0],slow:d[1]};exports.borderRadiuses={default:b[0],small:b[0],medium:b[1]},exports.borderWidths=i,exports.breakpoints={large:800},exports.colors={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"},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:"#44c0ff",black:"#1a1a1a"},transport:{default:{metro:"#de8108",bus:"#dd5415",plane:"#800664",helicopter:"#800664",tram:"#78469a",funicular:"#642e88",cableway:"#642e88",taxi:"#181c56",bicycle:"#181c56",walk:"#181c56",train:"#00367f",ferry:"#0497bc",carferry:"#0497bc",mobility:"#388f76"},contrast:{metro:"#f08901",bus:"#ff5974",plane:"#e258c3",helicopter:"#e258c3",tram:"#a476e5",funicular:"#a476e5",cableway:"#a476e5",taxi:"#ffffff",bicycle:"#ffffff",walk:"#ffffff",train:"#42a5f5",ferry:"#6fdfff",carferry:"#6fdfff",mobility:"#00db9b"}}},exports.fontSizes=t,exports.fontWeights={body:"500",heading:"600"},exports.lineHeights=l,exports.space=a,exports.timings=x,exports.zIndexes=c;
"use strict";var e={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"},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:"#dd5415",plane:"#800664",helicopter:"#800664",tram:"#78469a",funicular:"#642e88",cableway:"#642e88",taxi:"#181c56",bicycle:"#181c56",walk:"#181c56",train:"#00367f",ferry:"#0497bc",carferry:"#0497bc",mobility:"#388f76"},contrast:{metro:"#f08901",bus:"#ff5974",plane:"#e258c3",helicopter:"#e258c3",tram:"#a476e5",funicular:"#a476e5",cableway:"#a476e5",taxi:"#ffffff",bicycle:"#ffffff",walk:"#ffffff",train:"#42a5f5",ferry:"#6fdfff",carferry:"#6fdfff",mobility:"#00db9b"}}},a={focus:"0 0 0.125rem 0.125rem ".concat(e.misc.focus),cardShadow:"0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.2)"},r=[0,4,8,12,16,24,32,40,48,56,64,72,80,88,96],t={none:r[0],default:r[4],extraSmall2:r[1],extraSmall:r[2],small:r[3],medium:r[4],large:r[5],extraLarge:r[6],extraLarge2:r[7],extraLarge3:r[8],extraLarge4:r[9],extraLarge5:r[10],extraLarge6:r[11],extraLarge7:r[12],extraLarge8:r[13],extraLarge9:r[14]},f=[10,12,14,16,22,28,34],l={extraSmall:f[0],small:f[1],medium:f[2],large:f[3],extraLarge:f[4],extraLarge2:f[5],extraLarge3:f[6]},s=[14,16,20,22,24,28,30,36,42],o={extraSmall:s[0],small:s[1],medium:s[2],large:s[3],extraLarge:s[4],extraLarge2:s[5],extraLarge3:s[6],extraLarge4:s[7],extraLarge5:s[8]},b=[1,2,4],i={default:b[1],small:b[0],medium:b[1],large:b[2]},c=[1,4],d=["-1","0","10","20","30","40","50"],m={behind:d[0],default:d[1],sticky:d[2],popover:d[3],overlay:d[4],modal:d[5],toast:d[6]},x=["0.1s","0.5s"],g={fast:x[0],slow:x[1]};exports.borderRadiuses={default:c[0],small:c[0],medium:c[1]},exports.borderWidths=i,exports.breakpoints={large:800},exports.colors=e,exports.fontSizes=l,exports.fontWeights={body:"500",heading:"600"},exports.lineHeights=o,exports.shadows=a,exports.space=t,exports.timings=g,exports.zIndexes=m;
//# sourceMappingURL=tokens.cjs.production.min.js.map

@@ -53,3 +53,3 @@ /*

misc: {
focus: '#44c0ff',
focus: 'rgba(68, 192, 255, 0.5)',
black: '#1a1a1a'

@@ -91,2 +91,8 @@ },

}
};
var shadows = {
focus:
/*#__PURE__*/
"0 0 0.125rem 0.125rem ".concat(colors.misc.focus),
cardShadow: '0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.2)'
}; // Dimensions

@@ -175,3 +181,3 @@

export { borderRadiuses, borderWidths, breakpoints, colors, fontSizes, fontWeights, lineHeights, space, timings, zIndexes };
export { borderRadiuses, borderWidths, breakpoints, colors, fontSizes, fontWeights, lineHeights, shadows, space, timings, zIndexes };
//# sourceMappingURL=tokens.esm.js.map
{
"name": "@entur/tokens",
"version": "1.0.2",
"version": "1.1.0",
"license": "EUPL-1.2",

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

},
"gitHead": "1361952e906665487ca35fa5eacae5922a759c28"
"gitHead": "063faba53aff9f8a3248ca8880f9f1dd3db36a9d"
}

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

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