pasika 0.10.149 → 0.10.150
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.
|
@@ -11674,15 +11674,15 @@ function scopeOf(symbol, sheet) {
|
|
|
11674
11674
|
return "top-level";
|
|
11675
11675
|
}
|
|
11676
11676
|
function groupForConsumers(consumers) {
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
|
|
11681
|
-
|
|
11682
|
-
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
].sort().join(", ");
|
|
11677
|
+
const scopes = /* @__PURE__ */ new Map();
|
|
11678
|
+
for (const consumer of consumers) {
|
|
11679
|
+
const parts = consumer.split("/");
|
|
11680
|
+
const scope = parts[0] === "features" ? parts.slice(0, 2).join("/") : parts[0] ?? "";
|
|
11681
|
+
const paths = scopes.get(scope) ?? [];
|
|
11682
|
+
paths.push(consumer);
|
|
11683
|
+
scopes.set(scope, paths);
|
|
11684
|
+
}
|
|
11685
|
+
return [...scopes].map(([scope, paths]) => paths.length === 1 ? paths[0] ?? scope : scope).sort().join(", ");
|
|
11686
11686
|
}
|
|
11687
11687
|
var themeTokenOrderRule = {
|
|
11688
11688
|
meta: {
|