@pandacss/preset-base 0.16.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
@@ -1,4 +1,3 @@
1
- import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
2
1
  import * as _pandacss_types from '@pandacss/types';
3
2
 
4
3
  declare const preset: {
@@ -95,7 +94,15 @@ declare const preset: {
95
94
  utilities: _pandacss_types.UtilityConfig;
96
95
  patterns: {
97
96
  box: {
98
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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
+ };
99
106
  };
100
107
  flex: {
101
108
  properties: {
@@ -128,7 +135,11 @@ declare const preset: {
128
135
  value: "flexShrink";
129
136
  };
130
137
  };
131
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
138
+ transform(props: {
139
+ [x: string]: any;
140
+ [x: number]: any;
141
+ [x: string & Record<never, never>]: any;
142
+ }): {
132
143
  display: "flex";
133
144
  flexDirection: any;
134
145
  alignItems: any;
@@ -158,7 +169,11 @@ declare const preset: {
158
169
  value: "gap";
159
170
  };
160
171
  };
161
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
172
+ transform(props: {
173
+ [x: string]: any;
174
+ [x: number]: any;
175
+ [x: string & Record<never, never>]: any;
176
+ }): {
162
177
  display: "flex";
163
178
  flexDirection: any;
164
179
  alignItems: any;
@@ -178,7 +193,11 @@ declare const preset: {
178
193
  value: "gap";
179
194
  };
180
195
  };
181
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
196
+ transform(props: {
197
+ [x: string]: any;
198
+ [x: number]: any;
199
+ [x: string & Record<never, never>]: any;
200
+ }): {
182
201
  display: "flex";
183
202
  alignItems: "center";
184
203
  justifyContent: any;
@@ -198,7 +217,11 @@ declare const preset: {
198
217
  value: "gap";
199
218
  };
200
219
  };
201
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
220
+ transform(props: {
221
+ [x: string]: any;
222
+ [x: number]: any;
223
+ [x: string & Record<never, never>]: any;
224
+ }): {
202
225
  display: "flex";
203
226
  alignItems: "center";
204
227
  justifyContent: any;
@@ -213,7 +236,11 @@ declare const preset: {
213
236
  value: "spacing";
214
237
  };
215
238
  };
216
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
217
244
  alignSelf: "stretch";
218
245
  justifySelf: "stretch";
219
246
  flex: any;
@@ -226,7 +253,11 @@ declare const preset: {
226
253
  value: "width";
227
254
  };
228
255
  };
229
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
256
+ transform(props: {
257
+ [x: string]: any;
258
+ [x: number]: any;
259
+ [x: string & Record<never, never>]: any;
260
+ }): {
230
261
  display: "flex";
231
262
  alignItems: "center";
232
263
  justifyContent: "center";
@@ -242,7 +273,11 @@ declare const preset: {
242
273
  value: "width";
243
274
  };
244
275
  };
245
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
276
+ transform(props: {
277
+ [x: string]: any;
278
+ [x: number]: any;
279
+ [x: string & Record<never, never>]: any;
280
+ }): {
246
281
  display: "flex";
247
282
  alignItems: "center";
248
283
  justifyContent: "center";
@@ -258,14 +293,22 @@ declare const preset: {
258
293
  type: "boolean";
259
294
  };
260
295
  };
261
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
296
+ transform(props: {
297
+ [x: string]: any;
298
+ [x: number]: any;
299
+ [x: string & Record<never, never>]: any;
300
+ }): {
262
301
  display: "flex" | "inline-flex";
263
302
  alignItems: "center";
264
303
  justifyContent: "center";
265
304
  };
266
305
  };
267
306
  linkBox: {
268
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
307
+ transform(props: {
308
+ [x: string]: any;
309
+ [x: number]: any;
310
+ [x: string & Record<never, never>]: any;
311
+ }): {
269
312
  position: "relative";
270
313
  '& :where(a, abbr)': {
271
314
  position: "relative";
@@ -275,7 +318,11 @@ declare const preset: {
275
318
  };
276
319
  linkOverlay: {
277
320
  jsxElement: string;
278
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
321
+ transform(props: {
322
+ [x: string]: any;
323
+ [x: number]: any;
324
+ [x: string & Record<never, never>]: any;
325
+ }): {
279
326
  position: "static";
280
327
  _before: any;
281
328
  };
@@ -287,7 +334,11 @@ declare const preset: {
287
334
  };
288
335
  };
289
336
  blocklist: "aspectRatio"[];
290
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
291
342
  position: "relative";
292
343
  _before: {
293
344
  content: "\"\"";
@@ -333,7 +384,11 @@ declare const preset: {
333
384
  property: "width";
334
385
  };
335
386
  };
336
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
337
392
  display: "grid";
338
393
  gridTemplateColumns: any;
339
394
  gap: any;
@@ -362,7 +417,11 @@ declare const preset: {
362
417
  type: "number";
363
418
  };
364
419
  };
365
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
366
425
  gridColumn: any;
367
426
  gridRow: any;
368
427
  gridColumnStart: any;
@@ -394,7 +453,11 @@ declare const preset: {
394
453
  value: "justifyContent";
395
454
  };
396
455
  };
397
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
456
+ transform(props: {
457
+ [x: string]: any;
458
+ [x: number]: any;
459
+ [x: string & Record<never, never>]: any;
460
+ }): {
398
461
  display: "flex";
399
462
  flexWrap: "wrap";
400
463
  alignItems: any;
@@ -405,7 +468,11 @@ declare const preset: {
405
468
  };
406
469
  };
407
470
  container: {
408
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
471
+ transform(props: {
472
+ [x: string]: any;
473
+ [x: number]: any;
474
+ [x: string & Record<never, never>]: any;
475
+ }): {
409
476
  position: "relative";
410
477
  maxWidth: "8xl";
411
478
  mx: string;
@@ -433,7 +500,11 @@ declare const preset: {
433
500
  property: "borderColor";
434
501
  };
435
502
  };
436
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
437
508
  '--thickness': any;
438
509
  width: any;
439
510
  height: any;
@@ -464,7 +535,11 @@ declare const preset: {
464
535
  value: string[];
465
536
  };
466
537
  };
467
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
468
543
  display: "inline-flex";
469
544
  justifyContent: "center";
470
545
  alignItems: "center";
@@ -487,7 +562,11 @@ declare const preset: {
487
562
  value: "marginBlock";
488
563
  };
489
564
  };
490
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
565
+ transform(props: {
566
+ [x: string]: any;
567
+ [x: number]: any;
568
+ [x: string & Record<never, never>]: any;
569
+ }): {
491
570
  '--bleed-x': string;
492
571
  '--bleed-y': string;
493
572
  marginInline: "calc(var(--bleed-x, 0) * -1)";
@@ -495,7 +574,11 @@ declare const preset: {
495
574
  };
496
575
  };
497
576
  visuallyHidden: {
498
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
577
+ transform(props: {
578
+ [x: string]: any;
579
+ [x: number]: any;
580
+ [x: string & Record<never, never>]: any;
581
+ }): {
499
582
  srOnly: true;
500
583
  };
501
584
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
2
1
  import * as _pandacss_types from '@pandacss/types';
3
2
 
4
3
  declare const preset: {
@@ -95,7 +94,15 @@ declare const preset: {
95
94
  utilities: _pandacss_types.UtilityConfig;
96
95
  patterns: {
97
96
  box: {
98
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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
+ };
99
106
  };
100
107
  flex: {
101
108
  properties: {
@@ -128,7 +135,11 @@ declare const preset: {
128
135
  value: "flexShrink";
129
136
  };
130
137
  };
131
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
138
+ transform(props: {
139
+ [x: string]: any;
140
+ [x: number]: any;
141
+ [x: string & Record<never, never>]: any;
142
+ }): {
132
143
  display: "flex";
133
144
  flexDirection: any;
134
145
  alignItems: any;
@@ -158,7 +169,11 @@ declare const preset: {
158
169
  value: "gap";
159
170
  };
160
171
  };
161
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
172
+ transform(props: {
173
+ [x: string]: any;
174
+ [x: number]: any;
175
+ [x: string & Record<never, never>]: any;
176
+ }): {
162
177
  display: "flex";
163
178
  flexDirection: any;
164
179
  alignItems: any;
@@ -178,7 +193,11 @@ declare const preset: {
178
193
  value: "gap";
179
194
  };
180
195
  };
181
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
196
+ transform(props: {
197
+ [x: string]: any;
198
+ [x: number]: any;
199
+ [x: string & Record<never, never>]: any;
200
+ }): {
182
201
  display: "flex";
183
202
  alignItems: "center";
184
203
  justifyContent: any;
@@ -198,7 +217,11 @@ declare const preset: {
198
217
  value: "gap";
199
218
  };
200
219
  };
201
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
220
+ transform(props: {
221
+ [x: string]: any;
222
+ [x: number]: any;
223
+ [x: string & Record<never, never>]: any;
224
+ }): {
202
225
  display: "flex";
203
226
  alignItems: "center";
204
227
  justifyContent: any;
@@ -213,7 +236,11 @@ declare const preset: {
213
236
  value: "spacing";
214
237
  };
215
238
  };
216
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
217
244
  alignSelf: "stretch";
218
245
  justifySelf: "stretch";
219
246
  flex: any;
@@ -226,7 +253,11 @@ declare const preset: {
226
253
  value: "width";
227
254
  };
228
255
  };
229
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
256
+ transform(props: {
257
+ [x: string]: any;
258
+ [x: number]: any;
259
+ [x: string & Record<never, never>]: any;
260
+ }): {
230
261
  display: "flex";
231
262
  alignItems: "center";
232
263
  justifyContent: "center";
@@ -242,7 +273,11 @@ declare const preset: {
242
273
  value: "width";
243
274
  };
244
275
  };
245
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
276
+ transform(props: {
277
+ [x: string]: any;
278
+ [x: number]: any;
279
+ [x: string & Record<never, never>]: any;
280
+ }): {
246
281
  display: "flex";
247
282
  alignItems: "center";
248
283
  justifyContent: "center";
@@ -258,14 +293,22 @@ declare const preset: {
258
293
  type: "boolean";
259
294
  };
260
295
  };
261
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
296
+ transform(props: {
297
+ [x: string]: any;
298
+ [x: number]: any;
299
+ [x: string & Record<never, never>]: any;
300
+ }): {
262
301
  display: "flex" | "inline-flex";
263
302
  alignItems: "center";
264
303
  justifyContent: "center";
265
304
  };
266
305
  };
267
306
  linkBox: {
268
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
307
+ transform(props: {
308
+ [x: string]: any;
309
+ [x: number]: any;
310
+ [x: string & Record<never, never>]: any;
311
+ }): {
269
312
  position: "relative";
270
313
  '& :where(a, abbr)': {
271
314
  position: "relative";
@@ -275,7 +318,11 @@ declare const preset: {
275
318
  };
276
319
  linkOverlay: {
277
320
  jsxElement: string;
278
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
321
+ transform(props: {
322
+ [x: string]: any;
323
+ [x: number]: any;
324
+ [x: string & Record<never, never>]: any;
325
+ }): {
279
326
  position: "static";
280
327
  _before: any;
281
328
  };
@@ -287,7 +334,11 @@ declare const preset: {
287
334
  };
288
335
  };
289
336
  blocklist: "aspectRatio"[];
290
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
291
342
  position: "relative";
292
343
  _before: {
293
344
  content: "\"\"";
@@ -333,7 +384,11 @@ declare const preset: {
333
384
  property: "width";
334
385
  };
335
386
  };
336
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
337
392
  display: "grid";
338
393
  gridTemplateColumns: any;
339
394
  gap: any;
@@ -362,7 +417,11 @@ declare const preset: {
362
417
  type: "number";
363
418
  };
364
419
  };
365
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
366
425
  gridColumn: any;
367
426
  gridRow: any;
368
427
  gridColumnStart: any;
@@ -394,7 +453,11 @@ declare const preset: {
394
453
  value: "justifyContent";
395
454
  };
396
455
  };
397
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
456
+ transform(props: {
457
+ [x: string]: any;
458
+ [x: number]: any;
459
+ [x: string & Record<never, never>]: any;
460
+ }): {
398
461
  display: "flex";
399
462
  flexWrap: "wrap";
400
463
  alignItems: any;
@@ -405,7 +468,11 @@ declare const preset: {
405
468
  };
406
469
  };
407
470
  container: {
408
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
471
+ transform(props: {
472
+ [x: string]: any;
473
+ [x: number]: any;
474
+ [x: string & Record<never, never>]: any;
475
+ }): {
409
476
  position: "relative";
410
477
  maxWidth: "8xl";
411
478
  mx: string;
@@ -433,7 +500,11 @@ declare const preset: {
433
500
  property: "borderColor";
434
501
  };
435
502
  };
436
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
437
508
  '--thickness': any;
438
509
  width: any;
439
510
  height: any;
@@ -464,7 +535,11 @@ declare const preset: {
464
535
  value: string[];
465
536
  };
466
537
  };
467
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.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): {
468
543
  display: "inline-flex";
469
544
  justifyContent: "center";
470
545
  alignItems: "center";
@@ -487,7 +562,11 @@ declare const preset: {
487
562
  value: "marginBlock";
488
563
  };
489
564
  };
490
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
565
+ transform(props: {
566
+ [x: string]: any;
567
+ [x: number]: any;
568
+ [x: string & Record<never, never>]: any;
569
+ }): {
491
570
  '--bleed-x': string;
492
571
  '--bleed-y': string;
493
572
  marginInline: "calc(var(--bleed-x, 0) * -1)";
@@ -495,7 +574,11 @@ declare const preset: {
495
574
  };
496
575
  };
497
576
  visuallyHidden: {
498
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
577
+ transform(props: {
578
+ [x: string]: any;
579
+ [x: number]: any;
580
+ [x: string & Record<never, never>]: any;
581
+ }): {
499
582
  srOnly: true;
500
583
  };
501
584
  };
package/package.json CHANGED
@@ -1,20 +1,32 @@
1
1
  {
2
2
  "name": "@pandacss/preset-base",
3
- "version": "0.16.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.16.0"
29
+ "@pandacss/types": "0.17.1"
18
30
  },
19
31
  "scripts": {
20
32
  "build": "tsup src/index.ts --format=esm,cjs --dts",