@pandacss/core
Advanced tools
Comparing version 0.0.0-dev-20221130103011 to 0.0.0-dev-20221130173625
@@ -510,3 +510,3 @@ "use strict"; | ||
this.breakpoints = breakpoints; | ||
const entries = Object.entries(conditions).map(([key, value]) => [key, parseCondition(value)]); | ||
const entries = Object.entries(conditions).map(([key, value]) => [`_${key}`, parseCondition(value)]); | ||
this.values = { | ||
@@ -521,6 +521,8 @@ ...Object.fromEntries(entries), | ||
return paths.map((path) => { | ||
if (this.has(path)) | ||
return path; | ||
if (/&|@/.test(path)) | ||
if (this.has(path)) { | ||
return path.replace(/^_/, ""); | ||
} | ||
if (/&|@/.test(path)) { | ||
return `[${(0, import_shared4.withoutSpace)(path.trim())}]`; | ||
} | ||
return path; | ||
@@ -527,0 +529,0 @@ }); |
{ | ||
"name": "@pandacss/core", | ||
"version": "0.0.0-dev-20221130103011", | ||
"version": "0.0.0-dev-20221130173625", | ||
"description": "core functions for extract-it", | ||
@@ -26,11 +26,11 @@ "main": "dist/index.js", | ||
"lodash.merge": "4.6.2", | ||
"@pandacss/error": "0.0.0-dev-20221130103011", | ||
"@pandacss/types": "0.0.0-dev-20221130103011", | ||
"@pandacss/shared": "0.0.0-dev-20221130103011", | ||
"@pandacss/logger": "0.0.0-dev-20221130103011", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20221130103011" | ||
"@pandacss/error": "0.0.0-dev-20221130173625", | ||
"@pandacss/types": "0.0.0-dev-20221130173625", | ||
"@pandacss/shared": "0.0.0-dev-20221130173625", | ||
"@pandacss/logger": "0.0.0-dev-20221130173625", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20221130173625" | ||
}, | ||
"devDependencies": { | ||
"@types/lodash.merge": "4.6.7", | ||
"@pandacss/fixture": "0.0.0-dev-20221130103011" | ||
"@pandacss/fixture": "0.0.0-dev-20221130173625" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
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
76580
2518
+ Added@pandacss/error@0.0.0-dev-20221130173625(transitive)
+ Added@pandacss/logger@0.0.0-dev-20221130173625(transitive)
+ Added@pandacss/shared@0.0.0-dev-20221130173625(transitive)
+ Added@pandacss/token-dictionary@0.0.0-dev-20221130173625(transitive)
+ Added@pandacss/types@0.0.0-dev-20221130173625(transitive)
- Removed@pandacss/error@0.0.0-dev-20221130103011(transitive)
- Removed@pandacss/logger@0.0.0-dev-20221130103011(transitive)
- Removed@pandacss/shared@0.0.0-dev-20221130103011(transitive)
- Removed@pandacss/token-dictionary@0.0.0-dev-20221130103011(transitive)
- Removed@pandacss/types@0.0.0-dev-20221130103011(transitive)