@pandacss/core
Advanced tools
Comparing version 0.0.0-dev-20221126124930 to 0.0.0-dev-20221126164420
@@ -62,2 +62,4 @@ "use strict"; | ||
build = ({ min, max }) => { | ||
if (min == null && max == null) | ||
return ""; | ||
return ["screen", min && `(min-width: ${min})`, max && `(max-width: ${max})`].filter(Boolean).join(" and "); | ||
@@ -87,6 +89,7 @@ }; | ||
const min = breakpoints[index]; | ||
const down = [`${min}Down`, this.down(min)]; | ||
const up = [min, this.up(min)]; | ||
const only = [`${min}Only`, this.only(min)]; | ||
return [up, only]; | ||
}).concat(permuations.map(([min, max]) => [`${min}To${(0, import_shared.capitalize)(max)}`, this.between(min, max)])); | ||
return [up, only, down]; | ||
}).filter(([_, value]) => value !== "").concat(permuations.map(([min, max]) => [`${min}To${(0, import_shared.capitalize)(max)}`, this.between(min, max)])); | ||
return Object.fromEntries(values); | ||
@@ -93,0 +96,0 @@ } |
{ | ||
"name": "@pandacss/core", | ||
"version": "0.0.0-dev-20221126124930", | ||
"version": "0.0.0-dev-20221126164420", | ||
"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-20221126124930", | ||
"@pandacss/types": "0.0.0-dev-20221126124930", | ||
"@pandacss/shared": "0.0.0-dev-20221126124930", | ||
"@pandacss/logger": "0.0.0-dev-20221126124930", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20221126124930" | ||
"@pandacss/error": "0.0.0-dev-20221126164420", | ||
"@pandacss/types": "0.0.0-dev-20221126164420", | ||
"@pandacss/shared": "0.0.0-dev-20221126164420", | ||
"@pandacss/logger": "0.0.0-dev-20221126164420", | ||
"@pandacss/token-dictionary": "0.0.0-dev-20221126164420" | ||
}, | ||
"devDependencies": { | ||
"@types/lodash.merge": "4.6.7", | ||
"@pandacss/fixture": "0.0.0-dev-20221126124930" | ||
"@pandacss/fixture": "0.0.0-dev-20221126164420" | ||
}, | ||
@@ -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
76333
2512
+ Added@pandacss/error@0.0.0-dev-20221126164420(transitive)
+ Added@pandacss/logger@0.0.0-dev-20221126164420(transitive)
+ Added@pandacss/shared@0.0.0-dev-20221126164420(transitive)
+ Added@pandacss/token-dictionary@0.0.0-dev-20221126164420(transitive)
+ Added@pandacss/types@0.0.0-dev-20221126164420(transitive)
- Removed@pandacss/error@0.0.0-dev-20221126124930(transitive)
- Removed@pandacss/logger@0.0.0-dev-20221126124930(transitive)
- Removed@pandacss/shared@0.0.0-dev-20221126124930(transitive)
- Removed@pandacss/token-dictionary@0.0.0-dev-20221126124930(transitive)
- Removed@pandacss/types@0.0.0-dev-20221126124930(transitive)