@pandacss/preset-base 0.28.0 → 0.29.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.d.mts CHANGED
@@ -169,6 +169,10 @@ declare const preset: {
169
169
  value: "gap";
170
170
  };
171
171
  };
172
+ defaultValues: {
173
+ direction: string;
174
+ gap: string;
175
+ };
172
176
  transform(props: {
173
177
  [x: string]: any;
174
178
  [x: number]: any;
@@ -193,6 +197,9 @@ declare const preset: {
193
197
  value: "gap";
194
198
  };
195
199
  };
200
+ defaultValues: {
201
+ gap: string;
202
+ };
196
203
  transform(props: {
197
204
  [x: string]: any;
198
205
  [x: number]: any;
@@ -217,6 +224,9 @@ declare const preset: {
217
224
  value: "gap";
218
225
  };
219
226
  };
227
+ defaultValues: {
228
+ gap: string;
229
+ };
220
230
  transform(props: {
221
231
  [x: string]: any;
222
232
  [x: number]: any;
@@ -384,11 +394,18 @@ declare const preset: {
384
394
  property: "width";
385
395
  };
386
396
  };
397
+ defaultValues(props: {
398
+ [x: string]: any;
399
+ [x: number]: any;
400
+ [x: string & Record<never, never>]: any;
401
+ }): {
402
+ gap: string | undefined;
403
+ };
387
404
  transform(props: {
388
405
  [x: string]: any;
389
406
  [x: number]: any;
390
407
  [x: string & Record<never, never>]: any;
391
- }, { map }: _pandacss_types.PatternHelpers): {
408
+ }, { map, isCssUnit }: _pandacss_types.PatternHelpers): {
392
409
  display: "grid";
393
410
  gridTemplateColumns: any;
394
411
  gap: any;
@@ -500,6 +517,10 @@ declare const preset: {
500
517
  property: "borderColor";
501
518
  };
502
519
  };
520
+ defaultValues: {
521
+ orientation: string;
522
+ thickness: string;
523
+ };
503
524
  transform(props: {
504
525
  [x: string]: any;
505
526
  [x: number]: any;
@@ -535,6 +556,16 @@ declare const preset: {
535
556
  value: string[];
536
557
  };
537
558
  };
559
+ defaultValues(props: {
560
+ [x: string]: any;
561
+ [x: number]: any;
562
+ [x: string & Record<never, never>]: any;
563
+ }): {
564
+ offset: any;
565
+ offsetX: any;
566
+ offsetY: any;
567
+ placement: string;
568
+ };
538
569
  transform(props: {
539
570
  [x: string]: any;
540
571
  [x: number]: any;
@@ -562,13 +593,17 @@ declare const preset: {
562
593
  value: "marginBlock";
563
594
  };
564
595
  };
596
+ defaultValues: {
597
+ inline: string;
598
+ block: string;
599
+ };
565
600
  transform(props: {
566
601
  [x: string]: any;
567
602
  [x: number]: any;
568
603
  [x: string & Record<never, never>]: any;
569
- }): {
570
- '--bleed-x': string;
571
- '--bleed-y': string;
604
+ }, { map, isCssUnit, isCssVar }: _pandacss_types.PatternHelpers): {
605
+ '--bleed-x': any;
606
+ '--bleed-y': any;
572
607
  marginInline: "calc(var(--bleed-x, 0) * -1)";
573
608
  marginBlock: "calc(var(--bleed-y, 0) * -1)";
574
609
  };
@@ -582,6 +617,30 @@ declare const preset: {
582
617
  srOnly: true;
583
618
  };
584
619
  };
620
+ cq: {
621
+ properties: {
622
+ name: {
623
+ type: "token";
624
+ value: "containerNames";
625
+ property: "containerName";
626
+ };
627
+ type: {
628
+ type: "property";
629
+ value: "containerType";
630
+ };
631
+ };
632
+ defaultValues: {
633
+ type: string;
634
+ };
635
+ transform(props: {
636
+ [x: string]: any;
637
+ [x: number]: any;
638
+ [x: string & Record<never, never>]: any;
639
+ }): {
640
+ containerType: any;
641
+ containerName: any;
642
+ };
643
+ };
585
644
  };
586
645
  };
587
646
 
package/dist/index.d.ts CHANGED
@@ -169,6 +169,10 @@ declare const preset: {
169
169
  value: "gap";
170
170
  };
171
171
  };
172
+ defaultValues: {
173
+ direction: string;
174
+ gap: string;
175
+ };
172
176
  transform(props: {
173
177
  [x: string]: any;
174
178
  [x: number]: any;
@@ -193,6 +197,9 @@ declare const preset: {
193
197
  value: "gap";
194
198
  };
195
199
  };
200
+ defaultValues: {
201
+ gap: string;
202
+ };
196
203
  transform(props: {
197
204
  [x: string]: any;
198
205
  [x: number]: any;
@@ -217,6 +224,9 @@ declare const preset: {
217
224
  value: "gap";
218
225
  };
219
226
  };
227
+ defaultValues: {
228
+ gap: string;
229
+ };
220
230
  transform(props: {
221
231
  [x: string]: any;
222
232
  [x: number]: any;
@@ -384,11 +394,18 @@ declare const preset: {
384
394
  property: "width";
385
395
  };
386
396
  };
397
+ defaultValues(props: {
398
+ [x: string]: any;
399
+ [x: number]: any;
400
+ [x: string & Record<never, never>]: any;
401
+ }): {
402
+ gap: string | undefined;
403
+ };
387
404
  transform(props: {
388
405
  [x: string]: any;
389
406
  [x: number]: any;
390
407
  [x: string & Record<never, never>]: any;
391
- }, { map }: _pandacss_types.PatternHelpers): {
408
+ }, { map, isCssUnit }: _pandacss_types.PatternHelpers): {
392
409
  display: "grid";
393
410
  gridTemplateColumns: any;
394
411
  gap: any;
@@ -500,6 +517,10 @@ declare const preset: {
500
517
  property: "borderColor";
501
518
  };
502
519
  };
520
+ defaultValues: {
521
+ orientation: string;
522
+ thickness: string;
523
+ };
503
524
  transform(props: {
504
525
  [x: string]: any;
505
526
  [x: number]: any;
@@ -535,6 +556,16 @@ declare const preset: {
535
556
  value: string[];
536
557
  };
537
558
  };
559
+ defaultValues(props: {
560
+ [x: string]: any;
561
+ [x: number]: any;
562
+ [x: string & Record<never, never>]: any;
563
+ }): {
564
+ offset: any;
565
+ offsetX: any;
566
+ offsetY: any;
567
+ placement: string;
568
+ };
538
569
  transform(props: {
539
570
  [x: string]: any;
540
571
  [x: number]: any;
@@ -562,13 +593,17 @@ declare const preset: {
562
593
  value: "marginBlock";
563
594
  };
564
595
  };
596
+ defaultValues: {
597
+ inline: string;
598
+ block: string;
599
+ };
565
600
  transform(props: {
566
601
  [x: string]: any;
567
602
  [x: number]: any;
568
603
  [x: string & Record<never, never>]: any;
569
- }): {
570
- '--bleed-x': string;
571
- '--bleed-y': string;
604
+ }, { map, isCssUnit, isCssVar }: _pandacss_types.PatternHelpers): {
605
+ '--bleed-x': any;
606
+ '--bleed-y': any;
572
607
  marginInline: "calc(var(--bleed-x, 0) * -1)";
573
608
  marginBlock: "calc(var(--bleed-y, 0) * -1)";
574
609
  };
@@ -582,6 +617,30 @@ declare const preset: {
582
617
  srOnly: true;
583
618
  };
584
619
  };
620
+ cq: {
621
+ properties: {
622
+ name: {
623
+ type: "token";
624
+ value: "containerNames";
625
+ property: "containerName";
626
+ };
627
+ type: {
628
+ type: "property";
629
+ value: "containerType";
630
+ };
631
+ };
632
+ defaultValues: {
633
+ type: string;
634
+ };
635
+ transform(props: {
636
+ [x: string]: any;
637
+ [x: number]: any;
638
+ [x: string & Record<never, never>]: any;
639
+ }): {
640
+ containerType: any;
641
+ containerName: any;
642
+ };
643
+ };
585
644
  };
586
645
  };
587
646