@justeat/pie-design-tokens
Advanced tools
Comparing version 6.2.1 to 6.3.0
@@ -20,2 +20,3 @@ const { | ||
GLOBAL_TOKEN_KEY, | ||
CATEGORY_WITH_TIMING, | ||
} = CONSTANTS; | ||
@@ -109,2 +110,6 @@ | ||
if (category === 'motion' && name.includes(CATEGORY_WITH_TIMING)) { | ||
compiledValue = `${value}ms`; | ||
} | ||
if (category === 'elevation' && !value.length) { | ||
@@ -111,0 +116,0 @@ compiledValue = '\'none\''; |
@@ -17,2 +17,3 @@ const { | ||
CATEGORIES_WITH_UNITS, | ||
CATEGORY_WITH_TIMING, | ||
GLOBAL_TOKEN_KEY, | ||
@@ -71,2 +72,6 @@ } = CONSTANTS; | ||
if (category === 'motion' && name.includes(CATEGORY_WITH_TIMING)) { | ||
compiledValue = `${value}ms`; | ||
} | ||
if (category === 'elevation' && !value.length) { | ||
@@ -73,0 +78,0 @@ compiledValue = '\'none\''; |
@@ -10,2 +10,3 @@ const fs = require('fs'); | ||
CATEGORIES_WITH_UNITS: ['radius', 'spacing'], // list of categories that needs units to be added to the values | ||
CATEGORY_WITH_TIMING: 'timing', | ||
DESTINATION_DIR: 'dist', | ||
@@ -12,0 +13,0 @@ GLOBAL_TOKEN_KEY: 'global', |
@@ -749,2 +749,16 @@ { | ||
}, | ||
"motion": { | ||
"global": { | ||
"easing-in": "cubic-bezier(0.8, 0, 1, 1)", | ||
"easing-out": "cubic-bezier(0, 0, 0.18, 0.99)", | ||
"easing-persistent-expressive": "cubic-bezier(0.95, 0, 0, 0.95)", | ||
"easing-persistent-functional": "cubic-bezier(0.45, 0, 0.55, 1)", | ||
"timing-100": "100", | ||
"timing-150": "150", | ||
"timing-200": "200", | ||
"timing-250": "250", | ||
"timing-300": "300", | ||
"timing-350": "350" | ||
} | ||
}, | ||
"spacing": { | ||
@@ -2050,3 +2064,3 @@ "global": { | ||
}, | ||
"version": "6.2.1" | ||
"version": "6.3.0" | ||
} |
{ | ||
"name": "@justeat/pie-design-tokens", | ||
"version": "6.2.1", | ||
"version": "6.3.0", | ||
"description": "Design Tokens for the PIE Component System", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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 too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
536602
6977