@pandacss/shared 0.32.1 → 0.33.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 CHANGED
@@ -308,13 +308,16 @@ function mapObject(obj, fn) {
308
308
 
309
309
  // src/normalize-style-object.ts
310
310
  function toResponsiveObject(values, breakpoints) {
311
- return values.reduce((acc, current, index) => {
312
- const key = breakpoints[index];
313
- if (current != null) {
314
- acc[key] = current;
315
- }
316
- return acc;
317
- }, {});
311
+ return values.reduce(
312
+ (acc, current, index) => {
313
+ const key = breakpoints[index];
314
+ if (current != null) {
315
+ acc[key] = current;
316
+ }
317
+ return acc;
318
+ },
319
+ {}
320
+ );
318
321
  }
319
322
  function normalizeStyleObject(styles, context, shorthand = true) {
320
323
  const { utility, conditions } = context;
package/dist/index.mjs CHANGED
@@ -221,13 +221,16 @@ function mapObject(obj, fn) {
221
221
 
222
222
  // src/normalize-style-object.ts
223
223
  function toResponsiveObject(values, breakpoints) {
224
- return values.reduce((acc, current, index) => {
225
- const key = breakpoints[index];
226
- if (current != null) {
227
- acc[key] = current;
228
- }
229
- return acc;
230
- }, {});
224
+ return values.reduce(
225
+ (acc, current, index) => {
226
+ const key = breakpoints[index];
227
+ if (current != null) {
228
+ acc[key] = current;
229
+ }
230
+ return acc;
231
+ },
232
+ {}
233
+ );
231
234
  }
232
235
  function normalizeStyleObject(styles, context, shorthand = true) {
233
236
  const { utility, conditions } = context;
package/dist/shared.js CHANGED
@@ -157,13 +157,16 @@ function mapObject(obj, fn) {
157
157
 
158
158
  // src/normalize-style-object.ts
159
159
  function toResponsiveObject(values, breakpoints) {
160
- return values.reduce((acc, current, index) => {
161
- const key = breakpoints[index];
162
- if (current != null) {
163
- acc[key] = current;
164
- }
165
- return acc;
166
- }, {});
160
+ return values.reduce(
161
+ (acc, current, index) => {
162
+ const key = breakpoints[index];
163
+ if (current != null) {
164
+ acc[key] = current;
165
+ }
166
+ return acc;
167
+ },
168
+ {}
169
+ );
167
170
  }
168
171
  function normalizeStyleObject(styles, context, shorthand = true) {
169
172
  const { utility, conditions } = context;
package/dist/shared.mjs CHANGED
@@ -113,13 +113,16 @@ function mapObject(obj, fn) {
113
113
 
114
114
  // src/normalize-style-object.ts
115
115
  function toResponsiveObject(values, breakpoints) {
116
- return values.reduce((acc, current, index) => {
117
- const key = breakpoints[index];
118
- if (current != null) {
119
- acc[key] = current;
120
- }
121
- return acc;
122
- }, {});
116
+ return values.reduce(
117
+ (acc, current, index) => {
118
+ const key = breakpoints[index];
119
+ if (current != null) {
120
+ acc[key] = current;
121
+ }
122
+ return acc;
123
+ },
124
+ {}
125
+ );
123
126
  }
124
127
  function normalizeStyleObject(styles, context, shorthand = true) {
125
128
  const { utility, conditions } = context;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.32.1",
3
+ "version": "0.33.0",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",