@pandacss/shared 0.0.0-dev-20230712211057 → 0.0.0-dev-20230713084209

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,16 +228,13 @@ function mapObject(obj, fn) {
228
228
 
229
229
  // src/normalize-style-object.ts
230
230
  function toResponsiveObject(values, breakpoints) {
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
- );
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
+ }, {});
241
238
  }
242
239
  function normalizeShorthand(styles, context) {
243
240
  const { hasShorthand, resolveShorthand } = context.utility;
package/dist/index.mjs CHANGED
@@ -164,16 +164,13 @@ function mapObject(obj, fn) {
164
164
 
165
165
  // src/normalize-style-object.ts
166
166
  function toResponsiveObject(values, breakpoints) {
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
- );
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
+ }, {});
177
174
  }
178
175
  function normalizeShorthand(styles, context) {
179
176
  const { hasShorthand, resolveShorthand } = context.utility;
package/dist/shared.js CHANGED
@@ -150,16 +150,13 @@ function mapObject(obj, fn) {
150
150
 
151
151
  // src/normalize-style-object.ts
152
152
  function toResponsiveObject(values, breakpoints) {
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
- );
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
+ }, {});
163
160
  }
164
161
  function normalizeShorthand(styles, context) {
165
162
  const { hasShorthand, resolveShorthand } = context.utility;
package/dist/shared.mjs CHANGED
@@ -110,16 +110,13 @@ function mapObject(obj, fn) {
110
110
 
111
111
  // src/normalize-style-object.ts
112
112
  function toResponsiveObject(values, breakpoints) {
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
- );
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
+ }, {});
123
120
  }
124
121
  function normalizeShorthand(styles, context) {
125
122
  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-20230712211057",
3
+ "version": "0.0.0-dev-20230713084209",
4
4
  "description": "Shared utilities for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",