@chakra-ui/styled-system
Advanced tools
Comparing version 0.0.0-dev-20230213131136 to 0.0.0-dev-20230215112011
@@ -676,7 +676,5 @@ "use strict"; | ||
transform: (value, theme) => { | ||
var _a, _b; | ||
const { minWQuery = value } = (_b = (_a = theme.__breakpoints) == null ? void 0 : _a.get(value)) != null ? _b : {}; | ||
return { | ||
[`@media screen and (min-width: ${minWQuery})`]: { display: "none" } | ||
}; | ||
var _a, _b, _c; | ||
const mq = (_c = (_b = (_a = theme.__breakpoints) == null ? void 0 : _a.get(value)) == null ? void 0 : _b.minWQuery) != null ? _c : `@media screen and (min-width: ${value})`; | ||
return { [mq]: { display: "none" } }; | ||
} | ||
@@ -687,7 +685,5 @@ }, | ||
transform: (value, theme) => { | ||
var _a, _b; | ||
const { maxWQuery = value } = (_b = (_a = theme.__breakpoints) == null ? void 0 : _a.get(value)) != null ? _b : {}; | ||
return { | ||
[`@media screen and (max-width: ${maxWQuery})`]: { display: "none" } | ||
}; | ||
var _a, _b, _c; | ||
const mq = (_c = (_b = (_a = theme.__breakpoints) == null ? void 0 : _a.get(value)) == null ? void 0 : _b.maxWQuery) != null ? _c : `@media screen and (max-width: ${value})`; | ||
return { [mq]: { display: "none" } }; | ||
} | ||
@@ -694,0 +690,0 @@ }, |
{ | ||
"name": "@chakra-ui/styled-system", | ||
"version": "0.0.0-dev-20230213131136", | ||
"version": "0.0.0-dev-20230215112011", | ||
"description": "Style function for css-in-js building component libraries", | ||
@@ -45,3 +45,3 @@ "keywords": [ | ||
"clean-package": "2.1.1", | ||
"@chakra-ui/breakpoint-utils": "0.0.0-dev-20230213131136", | ||
"@chakra-ui/breakpoint-utils": "2.0.8", | ||
"@chakra-ui/merge-utils": "2.0.7", | ||
@@ -48,0 +48,0 @@ "@chakra-ui/object-utils": "2.0.8" |
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
207854
6265