@pandacss/shared 0.38.0 → 0.39.0
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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared.js +1 -1
- package/dist/shared.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -470,7 +470,7 @@ function createCss(context) {
|
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
472
|
function compactStyles(...styles) {
|
|
473
|
-
return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
473
|
+
return styles.flat().filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
474
474
|
}
|
|
475
475
|
function createMergeCss(context) {
|
|
476
476
|
function resolve(styles) {
|
package/dist/index.mjs
CHANGED
|
@@ -379,7 +379,7 @@ function createCss(context) {
|
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
381
|
function compactStyles(...styles) {
|
|
382
|
-
return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
382
|
+
return styles.flat().filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
383
383
|
}
|
|
384
384
|
function createMergeCss(context) {
|
|
385
385
|
function resolve(styles) {
|
package/dist/shared.js
CHANGED
|
@@ -224,7 +224,7 @@ function createCss(context) {
|
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
226
|
function compactStyles(...styles) {
|
|
227
|
-
return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
227
|
+
return styles.flat().filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
228
228
|
}
|
|
229
229
|
function createMergeCss(context) {
|
|
230
230
|
function resolve(styles) {
|
package/dist/shared.mjs
CHANGED
|
@@ -180,7 +180,7 @@ function createCss(context) {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
function compactStyles(...styles) {
|
|
183
|
-
return styles.filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
183
|
+
return styles.flat().filter((style) => isObject(style) && Object.keys(compact(style)).length > 0);
|
|
184
184
|
}
|
|
185
185
|
function createMergeCss(context) {
|
|
186
186
|
function resolve(styles) {
|