@pandacss/preset-base 0.17.0 → 0.17.1

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.d.mts CHANGED
@@ -94,7 +94,15 @@ declare const preset: {
94
94
  utilities: _pandacss_types.UtilityConfig;
95
95
  patterns: {
96
96
  box: {
97
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): _pandacss_types.Props<_pandacss_types.PatternProperties>;
97
+ transform(props: {
98
+ [x: string]: any;
99
+ [x: number]: any;
100
+ [x: string & Record<never, never>]: any;
101
+ }): {
102
+ [x: string]: any;
103
+ [x: number]: any;
104
+ [x: string & Record<never, never>]: any;
105
+ };
98
106
  };
99
107
  flex: {
100
108
  properties: {
@@ -127,7 +135,11 @@ declare const preset: {
127
135
  value: "flexShrink";
128
136
  };
129
137
  };
130
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
138
+ transform(props: {
139
+ [x: string]: any;
140
+ [x: number]: any;
141
+ [x: string & Record<never, never>]: any;
142
+ }): {
131
143
  display: "flex";
132
144
  flexDirection: any;
133
145
  alignItems: any;
@@ -157,7 +169,11 @@ declare const preset: {
157
169
  value: "gap";
158
170
  };
159
171
  };
160
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
172
+ transform(props: {
173
+ [x: string]: any;
174
+ [x: number]: any;
175
+ [x: string & Record<never, never>]: any;
176
+ }): {
161
177
  display: "flex";
162
178
  flexDirection: any;
163
179
  alignItems: any;
@@ -177,7 +193,11 @@ declare const preset: {
177
193
  value: "gap";
178
194
  };
179
195
  };
180
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
196
+ transform(props: {
197
+ [x: string]: any;
198
+ [x: number]: any;
199
+ [x: string & Record<never, never>]: any;
200
+ }): {
181
201
  display: "flex";
182
202
  alignItems: "center";
183
203
  justifyContent: any;
@@ -197,7 +217,11 @@ declare const preset: {
197
217
  value: "gap";
198
218
  };
199
219
  };
200
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
220
+ transform(props: {
221
+ [x: string]: any;
222
+ [x: number]: any;
223
+ [x: string & Record<never, never>]: any;
224
+ }): {
201
225
  display: "flex";
202
226
  alignItems: "center";
203
227
  justifyContent: any;
@@ -212,7 +236,11 @@ declare const preset: {
212
236
  value: "spacing";
213
237
  };
214
238
  };
215
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
239
+ transform(props: {
240
+ [x: string]: any;
241
+ [x: number]: any;
242
+ [x: string & Record<never, never>]: any;
243
+ }, { map }: _pandacss_types.PatternHelpers): {
216
244
  alignSelf: "stretch";
217
245
  justifySelf: "stretch";
218
246
  flex: any;
@@ -225,7 +253,11 @@ declare const preset: {
225
253
  value: "width";
226
254
  };
227
255
  };
228
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
256
+ transform(props: {
257
+ [x: string]: any;
258
+ [x: number]: any;
259
+ [x: string & Record<never, never>]: any;
260
+ }): {
229
261
  display: "flex";
230
262
  alignItems: "center";
231
263
  justifyContent: "center";
@@ -241,7 +273,11 @@ declare const preset: {
241
273
  value: "width";
242
274
  };
243
275
  };
244
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
276
+ transform(props: {
277
+ [x: string]: any;
278
+ [x: number]: any;
279
+ [x: string & Record<never, never>]: any;
280
+ }): {
245
281
  display: "flex";
246
282
  alignItems: "center";
247
283
  justifyContent: "center";
@@ -257,14 +293,22 @@ declare const preset: {
257
293
  type: "boolean";
258
294
  };
259
295
  };
260
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
296
+ transform(props: {
297
+ [x: string]: any;
298
+ [x: number]: any;
299
+ [x: string & Record<never, never>]: any;
300
+ }): {
261
301
  display: "flex" | "inline-flex";
262
302
  alignItems: "center";
263
303
  justifyContent: "center";
264
304
  };
265
305
  };
266
306
  linkBox: {
267
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
307
+ transform(props: {
308
+ [x: string]: any;
309
+ [x: number]: any;
310
+ [x: string & Record<never, never>]: any;
311
+ }): {
268
312
  position: "relative";
269
313
  '& :where(a, abbr)': {
270
314
  position: "relative";
@@ -274,7 +318,11 @@ declare const preset: {
274
318
  };
275
319
  linkOverlay: {
276
320
  jsxElement: string;
277
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
321
+ transform(props: {
322
+ [x: string]: any;
323
+ [x: number]: any;
324
+ [x: string & Record<never, never>]: any;
325
+ }): {
278
326
  position: "static";
279
327
  _before: any;
280
328
  };
@@ -286,7 +334,11 @@ declare const preset: {
286
334
  };
287
335
  };
288
336
  blocklist: "aspectRatio"[];
289
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
337
+ transform(props: {
338
+ [x: string]: any;
339
+ [x: number]: any;
340
+ [x: string & Record<never, never>]: any;
341
+ }, { map }: _pandacss_types.PatternHelpers): {
290
342
  position: "relative";
291
343
  _before: {
292
344
  content: "\"\"";
@@ -332,7 +384,11 @@ declare const preset: {
332
384
  property: "width";
333
385
  };
334
386
  };
335
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
387
+ transform(props: {
388
+ [x: string]: any;
389
+ [x: number]: any;
390
+ [x: string & Record<never, never>]: any;
391
+ }, { map }: _pandacss_types.PatternHelpers): {
336
392
  display: "grid";
337
393
  gridTemplateColumns: any;
338
394
  gap: any;
@@ -361,7 +417,11 @@ declare const preset: {
361
417
  type: "number";
362
418
  };
363
419
  };
364
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
420
+ transform(props: {
421
+ [x: string]: any;
422
+ [x: number]: any;
423
+ [x: string & Record<never, never>]: any;
424
+ }, { map }: _pandacss_types.PatternHelpers): {
365
425
  gridColumn: any;
366
426
  gridRow: any;
367
427
  gridColumnStart: any;
@@ -393,7 +453,11 @@ declare const preset: {
393
453
  value: "justifyContent";
394
454
  };
395
455
  };
396
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
456
+ transform(props: {
457
+ [x: string]: any;
458
+ [x: number]: any;
459
+ [x: string & Record<never, never>]: any;
460
+ }): {
397
461
  display: "flex";
398
462
  flexWrap: "wrap";
399
463
  alignItems: any;
@@ -404,7 +468,11 @@ declare const preset: {
404
468
  };
405
469
  };
406
470
  container: {
407
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
471
+ transform(props: {
472
+ [x: string]: any;
473
+ [x: number]: any;
474
+ [x: string & Record<never, never>]: any;
475
+ }): {
408
476
  position: "relative";
409
477
  maxWidth: "8xl";
410
478
  mx: string;
@@ -432,7 +500,11 @@ declare const preset: {
432
500
  property: "borderColor";
433
501
  };
434
502
  };
435
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
503
+ transform(props: {
504
+ [x: string]: any;
505
+ [x: number]: any;
506
+ [x: string & Record<never, never>]: any;
507
+ }, { map }: _pandacss_types.PatternHelpers): {
436
508
  '--thickness': any;
437
509
  width: any;
438
510
  height: any;
@@ -463,7 +535,11 @@ declare const preset: {
463
535
  value: string[];
464
536
  };
465
537
  };
466
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
538
+ transform(props: {
539
+ [x: string]: any;
540
+ [x: number]: any;
541
+ [x: string & Record<never, never>]: any;
542
+ }, { map }: _pandacss_types.PatternHelpers): {
467
543
  display: "inline-flex";
468
544
  justifyContent: "center";
469
545
  alignItems: "center";
@@ -486,7 +562,11 @@ declare const preset: {
486
562
  value: "marginBlock";
487
563
  };
488
564
  };
489
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
565
+ transform(props: {
566
+ [x: string]: any;
567
+ [x: number]: any;
568
+ [x: string & Record<never, never>]: any;
569
+ }): {
490
570
  '--bleed-x': string;
491
571
  '--bleed-y': string;
492
572
  marginInline: "calc(var(--bleed-x, 0) * -1)";
@@ -494,7 +574,11 @@ declare const preset: {
494
574
  };
495
575
  };
496
576
  visuallyHidden: {
497
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
577
+ transform(props: {
578
+ [x: string]: any;
579
+ [x: number]: any;
580
+ [x: string & Record<never, never>]: any;
581
+ }): {
498
582
  srOnly: true;
499
583
  };
500
584
  };
package/dist/index.d.ts CHANGED
@@ -94,7 +94,15 @@ declare const preset: {
94
94
  utilities: _pandacss_types.UtilityConfig;
95
95
  patterns: {
96
96
  box: {
97
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): _pandacss_types.Props<_pandacss_types.PatternProperties>;
97
+ transform(props: {
98
+ [x: string]: any;
99
+ [x: number]: any;
100
+ [x: string & Record<never, never>]: any;
101
+ }): {
102
+ [x: string]: any;
103
+ [x: number]: any;
104
+ [x: string & Record<never, never>]: any;
105
+ };
98
106
  };
99
107
  flex: {
100
108
  properties: {
@@ -127,7 +135,11 @@ declare const preset: {
127
135
  value: "flexShrink";
128
136
  };
129
137
  };
130
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
138
+ transform(props: {
139
+ [x: string]: any;
140
+ [x: number]: any;
141
+ [x: string & Record<never, never>]: any;
142
+ }): {
131
143
  display: "flex";
132
144
  flexDirection: any;
133
145
  alignItems: any;
@@ -157,7 +169,11 @@ declare const preset: {
157
169
  value: "gap";
158
170
  };
159
171
  };
160
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
172
+ transform(props: {
173
+ [x: string]: any;
174
+ [x: number]: any;
175
+ [x: string & Record<never, never>]: any;
176
+ }): {
161
177
  display: "flex";
162
178
  flexDirection: any;
163
179
  alignItems: any;
@@ -177,7 +193,11 @@ declare const preset: {
177
193
  value: "gap";
178
194
  };
179
195
  };
180
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
196
+ transform(props: {
197
+ [x: string]: any;
198
+ [x: number]: any;
199
+ [x: string & Record<never, never>]: any;
200
+ }): {
181
201
  display: "flex";
182
202
  alignItems: "center";
183
203
  justifyContent: any;
@@ -197,7 +217,11 @@ declare const preset: {
197
217
  value: "gap";
198
218
  };
199
219
  };
200
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
220
+ transform(props: {
221
+ [x: string]: any;
222
+ [x: number]: any;
223
+ [x: string & Record<never, never>]: any;
224
+ }): {
201
225
  display: "flex";
202
226
  alignItems: "center";
203
227
  justifyContent: any;
@@ -212,7 +236,11 @@ declare const preset: {
212
236
  value: "spacing";
213
237
  };
214
238
  };
215
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
239
+ transform(props: {
240
+ [x: string]: any;
241
+ [x: number]: any;
242
+ [x: string & Record<never, never>]: any;
243
+ }, { map }: _pandacss_types.PatternHelpers): {
216
244
  alignSelf: "stretch";
217
245
  justifySelf: "stretch";
218
246
  flex: any;
@@ -225,7 +253,11 @@ declare const preset: {
225
253
  value: "width";
226
254
  };
227
255
  };
228
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
256
+ transform(props: {
257
+ [x: string]: any;
258
+ [x: number]: any;
259
+ [x: string & Record<never, never>]: any;
260
+ }): {
229
261
  display: "flex";
230
262
  alignItems: "center";
231
263
  justifyContent: "center";
@@ -241,7 +273,11 @@ declare const preset: {
241
273
  value: "width";
242
274
  };
243
275
  };
244
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
276
+ transform(props: {
277
+ [x: string]: any;
278
+ [x: number]: any;
279
+ [x: string & Record<never, never>]: any;
280
+ }): {
245
281
  display: "flex";
246
282
  alignItems: "center";
247
283
  justifyContent: "center";
@@ -257,14 +293,22 @@ declare const preset: {
257
293
  type: "boolean";
258
294
  };
259
295
  };
260
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
296
+ transform(props: {
297
+ [x: string]: any;
298
+ [x: number]: any;
299
+ [x: string & Record<never, never>]: any;
300
+ }): {
261
301
  display: "flex" | "inline-flex";
262
302
  alignItems: "center";
263
303
  justifyContent: "center";
264
304
  };
265
305
  };
266
306
  linkBox: {
267
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
307
+ transform(props: {
308
+ [x: string]: any;
309
+ [x: number]: any;
310
+ [x: string & Record<never, never>]: any;
311
+ }): {
268
312
  position: "relative";
269
313
  '& :where(a, abbr)': {
270
314
  position: "relative";
@@ -274,7 +318,11 @@ declare const preset: {
274
318
  };
275
319
  linkOverlay: {
276
320
  jsxElement: string;
277
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
321
+ transform(props: {
322
+ [x: string]: any;
323
+ [x: number]: any;
324
+ [x: string & Record<never, never>]: any;
325
+ }): {
278
326
  position: "static";
279
327
  _before: any;
280
328
  };
@@ -286,7 +334,11 @@ declare const preset: {
286
334
  };
287
335
  };
288
336
  blocklist: "aspectRatio"[];
289
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
337
+ transform(props: {
338
+ [x: string]: any;
339
+ [x: number]: any;
340
+ [x: string & Record<never, never>]: any;
341
+ }, { map }: _pandacss_types.PatternHelpers): {
290
342
  position: "relative";
291
343
  _before: {
292
344
  content: "\"\"";
@@ -332,7 +384,11 @@ declare const preset: {
332
384
  property: "width";
333
385
  };
334
386
  };
335
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
387
+ transform(props: {
388
+ [x: string]: any;
389
+ [x: number]: any;
390
+ [x: string & Record<never, never>]: any;
391
+ }, { map }: _pandacss_types.PatternHelpers): {
336
392
  display: "grid";
337
393
  gridTemplateColumns: any;
338
394
  gap: any;
@@ -361,7 +417,11 @@ declare const preset: {
361
417
  type: "number";
362
418
  };
363
419
  };
364
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
420
+ transform(props: {
421
+ [x: string]: any;
422
+ [x: number]: any;
423
+ [x: string & Record<never, never>]: any;
424
+ }, { map }: _pandacss_types.PatternHelpers): {
365
425
  gridColumn: any;
366
426
  gridRow: any;
367
427
  gridColumnStart: any;
@@ -393,7 +453,11 @@ declare const preset: {
393
453
  value: "justifyContent";
394
454
  };
395
455
  };
396
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
456
+ transform(props: {
457
+ [x: string]: any;
458
+ [x: number]: any;
459
+ [x: string & Record<never, never>]: any;
460
+ }): {
397
461
  display: "flex";
398
462
  flexWrap: "wrap";
399
463
  alignItems: any;
@@ -404,7 +468,11 @@ declare const preset: {
404
468
  };
405
469
  };
406
470
  container: {
407
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
471
+ transform(props: {
472
+ [x: string]: any;
473
+ [x: number]: any;
474
+ [x: string & Record<never, never>]: any;
475
+ }): {
408
476
  position: "relative";
409
477
  maxWidth: "8xl";
410
478
  mx: string;
@@ -432,7 +500,11 @@ declare const preset: {
432
500
  property: "borderColor";
433
501
  };
434
502
  };
435
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
503
+ transform(props: {
504
+ [x: string]: any;
505
+ [x: number]: any;
506
+ [x: string & Record<never, never>]: any;
507
+ }, { map }: _pandacss_types.PatternHelpers): {
436
508
  '--thickness': any;
437
509
  width: any;
438
510
  height: any;
@@ -463,7 +535,11 @@ declare const preset: {
463
535
  value: string[];
464
536
  };
465
537
  };
466
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
538
+ transform(props: {
539
+ [x: string]: any;
540
+ [x: number]: any;
541
+ [x: string & Record<never, never>]: any;
542
+ }, { map }: _pandacss_types.PatternHelpers): {
467
543
  display: "inline-flex";
468
544
  justifyContent: "center";
469
545
  alignItems: "center";
@@ -486,7 +562,11 @@ declare const preset: {
486
562
  value: "marginBlock";
487
563
  };
488
564
  };
489
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
565
+ transform(props: {
566
+ [x: string]: any;
567
+ [x: number]: any;
568
+ [x: string & Record<never, never>]: any;
569
+ }): {
490
570
  '--bleed-x': string;
491
571
  '--bleed-y': string;
492
572
  marginInline: "calc(var(--bleed-x, 0) * -1)";
@@ -494,7 +574,11 @@ declare const preset: {
494
574
  };
495
575
  };
496
576
  visuallyHidden: {
497
- transform(props: _pandacss_types.Props<_pandacss_types.PatternProperties>): {
577
+ transform(props: {
578
+ [x: string]: any;
579
+ [x: number]: any;
580
+ [x: string & Record<never, never>]: any;
581
+ }): {
498
582
  srOnly: true;
499
583
  };
500
584
  };
package/package.json CHANGED
@@ -1,20 +1,32 @@
1
1
  {
2
2
  "name": "@pandacss/preset-base",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "The base preset for Panda CSS that contains the conditions and utilities",
5
+ "author": "Segun Adebayo <joseshegs@gmail.com>",
5
6
  "main": "dist/index.js",
6
7
  "module": "dist/index.mjs",
7
8
  "types": "dist/index.d.ts",
8
- "author": "Segun Adebayo <joseshegs@gmail.com>",
9
9
  "sideEffects": false,
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
13
+ "exports": {
14
+ ".": {
15
+ "source": "./src/index.ts",
16
+ "types": "./dist/index.d.ts",
17
+ "require": "./dist/index.js",
18
+ "import": {
19
+ "types": "./dist/index.d.mts",
20
+ "default": "./dist/index.mjs"
21
+ }
22
+ },
23
+ "./package.json": "./package.json"
24
+ },
13
25
  "files": [
14
26
  "dist"
15
27
  ],
16
28
  "dependencies": {
17
- "@pandacss/types": "0.17.0"
29
+ "@pandacss/types": "0.17.1"
18
30
  },
19
31
  "scripts": {
20
32
  "build": "tsup src/index.ts --format=esm,cjs --dts",