@pandacss/shared 0.0.0-dev-20230710172704 → 0.0.0-dev-20230710184443

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
@@ -228,13 +228,16 @@ function mapObject(obj, fn) {
228
228
 
229
229
  // src/normalize-style-object.ts
230
230
  function toResponsiveObject(values, breakpoints) {
231
- return values.reduce((acc, current, index) => {
232
- const key = breakpoints[index];
233
- if (current != null) {
234
- acc[key] = current;
235
- }
236
- return acc;
237
- }, {});
231
+ return values.reduce(
232
+ (acc, current, index) => {
233
+ const key = breakpoints[index];
234
+ if (current != null) {
235
+ acc[key] = current;
236
+ }
237
+ return acc;
238
+ },
239
+ {}
240
+ );
238
241
  }
239
242
  function normalizeShorthand(styles, context) {
240
243
  const { hasShorthand, resolveShorthand } = context.utility;
package/dist/index.mjs CHANGED
@@ -164,13 +164,16 @@ function mapObject(obj, fn) {
164
164
 
165
165
  // src/normalize-style-object.ts
166
166
  function toResponsiveObject(values, breakpoints) {
167
- return values.reduce((acc, current, index) => {
168
- const key = breakpoints[index];
169
- if (current != null) {
170
- acc[key] = current;
171
- }
172
- return acc;
173
- }, {});
167
+ return values.reduce(
168
+ (acc, current, index) => {
169
+ const key = breakpoints[index];
170
+ if (current != null) {
171
+ acc[key] = current;
172
+ }
173
+ return acc;
174
+ },
175
+ {}
176
+ );
174
177
  }
175
178
  function normalizeShorthand(styles, context) {
176
179
  const { hasShorthand, resolveShorthand } = context.utility;
package/dist/shared.js CHANGED
@@ -150,13 +150,16 @@ function mapObject(obj, fn) {
150
150
 
151
151
  // src/normalize-style-object.ts
152
152
  function toResponsiveObject(values, breakpoints) {
153
- return values.reduce((acc, current, index) => {
154
- const key = breakpoints[index];
155
- if (current != null) {
156
- acc[key] = current;
157
- }
158
- return acc;
159
- }, {});
153
+ return values.reduce(
154
+ (acc, current, index) => {
155
+ const key = breakpoints[index];
156
+ if (current != null) {
157
+ acc[key] = current;
158
+ }
159
+ return acc;
160
+ },
161
+ {}
162
+ );
160
163
  }
161
164
  function normalizeShorthand(styles, context) {
162
165
  const { hasShorthand, resolveShorthand } = context.utility;
package/dist/shared.mjs CHANGED
@@ -110,13 +110,16 @@ function mapObject(obj, fn) {
110
110
 
111
111
  // src/normalize-style-object.ts
112
112
  function toResponsiveObject(values, breakpoints) {
113
- return values.reduce((acc, current, index) => {
114
- const key = breakpoints[index];
115
- if (current != null) {
116
- acc[key] = current;
117
- }
118
- return acc;
119
- }, {});
113
+ return values.reduce(
114
+ (acc, current, index) => {
115
+ const key = breakpoints[index];
116
+ if (current != null) {
117
+ acc[key] = current;
118
+ }
119
+ return acc;
120
+ },
121
+ {}
122
+ );
120
123
  }
121
124
  function normalizeShorthand(styles, context) {
122
125
  const { hasShorthand, resolveShorthand } = context.utility;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/shared",
3
- "version": "0.0.0-dev-20230710172704",
3
+ "version": "0.0.0-dev-20230710184443",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",