@pandacss/shared
Advanced tools
Comparing version 0.0.0-dev-20240227110217 to 0.0.0-dev-20240227162118
@@ -311,9 +311,12 @@ "use strict"; | ||
function toResponsiveObject(values, breakpoints) { | ||
return values.reduce((acc, current, index) => { | ||
const key = breakpoints[index]; | ||
if (current != null) { | ||
acc[key] = current; | ||
} | ||
return acc; | ||
}, {}); | ||
return values.reduce( | ||
(acc, current, index) => { | ||
const key = breakpoints[index]; | ||
if (current != null) { | ||
acc[key] = current; | ||
} | ||
return acc; | ||
}, | ||
{} | ||
); | ||
} | ||
@@ -320,0 +323,0 @@ function normalizeStyleObject(styles, context, shorthand = true) { |
@@ -160,9 +160,12 @@ "use strict"; | ||
function toResponsiveObject(values, breakpoints) { | ||
return values.reduce((acc, current, index) => { | ||
const key = breakpoints[index]; | ||
if (current != null) { | ||
acc[key] = current; | ||
} | ||
return acc; | ||
}, {}); | ||
return values.reduce( | ||
(acc, current, index) => { | ||
const key = breakpoints[index]; | ||
if (current != null) { | ||
acc[key] = current; | ||
} | ||
return acc; | ||
}, | ||
{} | ||
); | ||
} | ||
@@ -169,0 +172,0 @@ function normalizeStyleObject(styles, context, shorthand = true) { |
{ | ||
"name": "@pandacss/shared", | ||
"version": "0.0.0-dev-20240227110217", | ||
"version": "0.0.0-dev-20240227162118", | ||
"description": "Shared utilities for css panda", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
102458
2693