@lightspeed/cirrus-tokens
Advanced tools
Comparing version 2.2.1 to 2.3.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.3.0"></a> | ||
# [2.3.0](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-tokens@2.2.1...@lightspeed/cirrus-tokens@2.3.0) (2017-12-12) | ||
### Features | ||
* **button:** Add positioning support for childrens ([#284](https://github.com/lightspeedretail/cirrus/issues/284)) ([20f40ed](https://github.com/lightspeedretail/cirrus/commit/20f40ed)) | ||
<a name="2.2.1"></a> | ||
@@ -8,0 +19,0 @@ ## [2.2.1](https://github.com/lightspeedretail/cirrus/compare/@lightspeed/cirrus-tokens@2.2.0...@lightspeed/cirrus-tokens@2.2.1) (2017-11-24) |
{ | ||
"name": "@lightspeed/cirrus-tokens", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "Cirrus's Foundation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,9 +17,9 @@ const { pxToRem } = require('./utils'); | ||
const fontSizesValues = [ | ||
{ name: 'xxl', value: 36 }, | ||
{ name: 'xl', value: 24 }, | ||
{ name: 'l', value: 18 }, | ||
{ name: '', value: 16 }, | ||
{ name: 's', value: 14 }, | ||
{ name: 'xs', value: 12 }, | ||
{ name: 'xxs', value: 8 }, | ||
{ name: 'xxl', alias: 'xxlarge', value: 36 }, | ||
{ name: 'xl', alias: 'xlarge', value: 24 }, | ||
{ name: 'l', alias: 'large', value: 18 }, | ||
{ name: '', alias: '', value: 16 }, | ||
{ name: 's', alias: 'small', value: 14 }, | ||
{ name: 'xs', alias: 'xsmall', value: 12 }, | ||
{ name: 'xxs', alias: 'xxsmall', value: 8 }, | ||
]; | ||
@@ -32,2 +32,8 @@ const fontSizes = fontSizesValues.reduce((obj, { name, value }) => { | ||
const fontSizeAliases = fontSizesValues.reduce((obj, { alias, value }) => { | ||
// eslint-disable-next-line no-param-reassign | ||
obj[alias] = pxToRem(value); | ||
return obj; | ||
}, {}); | ||
const letterSpacingValues = [0.5, 1.0, 1.5]; | ||
@@ -45,3 +51,4 @@ const letterSpacings = letterSpacingValues.reduce((obj, value, index) => { | ||
fontSizes, | ||
fontSizeAliases, | ||
letterSpacings, | ||
}; |
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
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
33326
255