tokenami 0.0.92 → 0.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -1
- package/package.json +7 -4
package/dist/cli.js
CHANGED
|
@@ -851,6 +851,7 @@ var Sheet = class {
|
|
|
851
851
|
return rules.join(" ");
|
|
852
852
|
}
|
|
853
853
|
#generateThemeTokens(styleSelector) {
|
|
854
|
+
if (styleSelector.length === 0) return "";
|
|
854
855
|
const theme = getThemeFromConfig(this.config.theme);
|
|
855
856
|
const rootSelector = this.config.themeSelector("root");
|
|
856
857
|
const gridStyles = `${rootSelector} { ${Tokenami2.gridProperty()}: ${this.config.grid}; }`;
|
|
@@ -1141,7 +1142,7 @@ function parseSelectorList(selector) {
|
|
|
1141
1142
|
|
|
1142
1143
|
// package.json
|
|
1143
1144
|
var package_default = {
|
|
1144
|
-
version: "0.0.
|
|
1145
|
+
version: "0.0.92"};
|
|
1145
1146
|
|
|
1146
1147
|
// src/ts-plugin/error-codes.ts
|
|
1147
1148
|
var INVALID_PROPERTY = 2353;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tokenami",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.93",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
"bin": {
|
|
26
26
|
"tokenami": "bin.js"
|
|
27
27
|
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=20"
|
|
30
|
+
},
|
|
28
31
|
"files": [
|
|
29
32
|
"dist",
|
|
30
33
|
"stubs",
|
|
@@ -45,8 +48,8 @@
|
|
|
45
48
|
},
|
|
46
49
|
"dependencies": {
|
|
47
50
|
"@stitches/stringify": "^1.2.8",
|
|
48
|
-
"@tokenami/config": "0.0.
|
|
49
|
-
"@tokenami/ds": "0.0.
|
|
51
|
+
"@tokenami/config": "0.0.93",
|
|
52
|
+
"@tokenami/ds": "0.0.93",
|
|
50
53
|
"acorn": "^8.11.3",
|
|
51
54
|
"acorn-walk": "^8.3.2",
|
|
52
55
|
"browserslist": "^4.26.3",
|
|
@@ -67,5 +70,5 @@
|
|
|
67
70
|
"peerDependencies": {
|
|
68
71
|
"typescript": ">= 5"
|
|
69
72
|
},
|
|
70
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "14032fd5f267bca53a2e6e471e7ef62a0b9254e0"
|
|
71
74
|
}
|