@spectrum-css/tokens
Advanced tools
Comparing version 6.3.0 to 7.0.0
@@ -6,2 +6,17 @@ # Change Log | ||
<a name="7.0.0"></a> | ||
# 7.0.0 | ||
🗓 2023-02-01 • 📝 [Commits](https://github.com/adobe/spectrum-css/compare/@spectrum-css/tokens@6.3.0...@spectrum-css/tokens@7.0.0) | ||
* chore(tokens)!: use latest dependency & fix build error (#1591) ([f2532e7](https://github.com/adobe/spectrum-css/commit/f2532e7)), closes [#1591](https://github.com/adobe/spectrum-css/issues/1591) | ||
### 🛑 BREAKING CHANGES | ||
* uses latest `@adobe/spectrum-tokens` dependency which includes token renames | ||
<a name="6.3.0"></a> | ||
@@ -8,0 +23,0 @@ # 6.3.0 |
@@ -19,2 +19,10 @@ /* | ||
/** | ||
* @note This references the package.json because we want the root folder and | ||
* not a nested folder which might be returned if the `main` property | ||
* in the package.json is present. | ||
*/ | ||
const tokensPath = require.resolve('@adobe/spectrum-tokens/package.json'); | ||
const tokensDir = path.dirname(tokensPath); | ||
StyleDictionary.registerTransform(NameKebabTransfom); | ||
@@ -130,5 +138,4 @@ StyleDictionary.registerTransform(AttributeSetsTransform); | ||
const tokenGlob = path.dirname(require.resolve('@adobe/spectrum-tokens')) + '/src/**/*.json'; | ||
module.exports = { | ||
source: [tokenGlob], | ||
source: [`${tokensDir}/src/*.json`], | ||
platforms: { | ||
@@ -135,0 +142,0 @@ CSS: { |
{ | ||
"name": "@spectrum-css/tokens", | ||
"version": "6.3.0", | ||
"version": "7.0.0", | ||
"description": "The Spectrum CSS tokens package", | ||
@@ -22,3 +22,3 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@adobe/spectrum-tokens": "12.0.0-beta.63", | ||
"@adobe/spectrum-tokens": "12.0.0-beta.67", | ||
"gulp": "^4.0.0", | ||
@@ -33,3 +33,3 @@ "gulp-concat": "^2.6.1", | ||
}, | ||
"gitHead": "c8e4ef66a62bc9bbe4b77130f72d207772848c90" | ||
"gitHead": "c17374bf102ea20c90502dd2cfa63425fc5aa5d0" | ||
} |
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
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
274985
4780