@pandacss/shared
Advanced tools
Comparing version 0.0.0-dev-20240722130804 to 0.0.0-dev-20240726092655
@@ -587,2 +587,7 @@ "use strict"; | ||
// src/flatten.ts | ||
function filterDefault(path) { | ||
if (path[0] === "DEFAULT") | ||
return path; | ||
return path.filter((item) => item !== "DEFAULT"); | ||
} | ||
function flatten(values, stop) { | ||
@@ -593,2 +598,3 @@ const result = {}; | ||
(token, paths) => { | ||
paths = filterDefault(paths); | ||
if (token) { | ||
@@ -595,0 +601,0 @@ result[paths.join(".")] = token.value; |
{ | ||
"name": "@pandacss/shared", | ||
"version": "0.0.0-dev-20240722130804", | ||
"version": "0.0.0-dev-20240726092655", | ||
"description": "Shared utilities for css panda", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
110714
2985