@pandacss/preset-base 0.32.1 → 0.34.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.
Files changed (3) hide show
  1. package/dist/index.js +430 -204
  2. package/dist/index.mjs +430 -204
  3. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -133,23 +133,28 @@ var createColorMixTransform = (prop) => (value, args) => {
133
133
  var background = {
134
134
  backgroundPosition: {
135
135
  shorthand: "bgPosition",
136
- className: "bg"
136
+ className: "bg",
137
+ group: "Background"
137
138
  },
138
139
  backgroundPositionX: {
139
140
  shorthand: "bgPositionX",
140
- className: "bg-x"
141
+ className: "bg-x",
142
+ group: "Background"
141
143
  },
142
144
  backgroundPositionY: {
143
145
  shorthand: "bgPositionY",
144
- className: "bg-y"
146
+ className: "bg-y",
147
+ group: "Background"
145
148
  },
146
149
  backgroundAttachment: {
147
150
  shorthand: "bgAttachment",
148
- className: "bg"
151
+ className: "bg",
152
+ group: "Background"
149
153
  },
150
154
  backgroundClip: {
151
155
  shorthand: "bgClip",
152
156
  className: "bg-clip",
157
+ group: "Background",
153
158
  transform(value) {
154
159
  return {
155
160
  backgroundClip: value,
@@ -161,38 +166,46 @@ var background = {
161
166
  shorthand: "bg",
162
167
  className: "bg",
163
168
  values: "colors",
169
+ group: "Background",
164
170
  transform: createColorMixTransform("background")
165
171
  },
166
172
  backgroundColor: {
167
173
  shorthand: "bgColor",
168
174
  className: "bg",
169
175
  values: "colors",
176
+ group: "Background",
170
177
  transform: createColorMixTransform("backgroundColor")
171
178
  },
172
179
  backgroundOrigin: {
173
180
  shorthand: "bgOrigin",
174
- className: "bg-origin"
181
+ className: "bg-origin",
182
+ group: "Background"
175
183
  },
176
184
  backgroundImage: {
177
185
  shorthand: "bgImage",
178
186
  className: "bg-img",
179
- values: "assets"
187
+ values: "assets",
188
+ group: "Background"
180
189
  },
181
190
  backgroundRepeat: {
182
191
  shorthand: "bgRepeat",
183
- className: "bg-repeat"
192
+ className: "bg-repeat",
193
+ group: "Background"
184
194
  },
185
195
  backgroundBlendMode: {
186
196
  shorthand: "bgBlendMode",
187
- className: "bg-blend"
197
+ className: "bg-blend",
198
+ group: "Background"
188
199
  },
189
200
  backgroundSize: {
190
201
  shorthand: "bgSize",
191
- className: "bg"
202
+ className: "bg",
203
+ group: "Background"
192
204
  },
193
205
  backgroundGradient: {
194
206
  shorthand: "bgGradient",
195
207
  className: "bg-gradient",
208
+ group: "Background",
196
209
  values(theme) {
197
210
  return {
198
211
  ...theme("gradients"),
@@ -216,6 +229,7 @@ var background = {
216
229
  },
217
230
  textGradient: {
218
231
  className: "text-gradient",
232
+ group: "Background",
219
233
  values(theme) {
220
234
  return {
221
235
  ...theme("gradients"),
@@ -242,16 +256,19 @@ var background = {
242
256
  gradientFrom: {
243
257
  className: "from",
244
258
  values: "colors",
259
+ group: "Background",
245
260
  transform: createColorMixTransform("--gradient-from")
246
261
  },
247
262
  gradientTo: {
248
263
  className: "to",
249
264
  values: "colors",
265
+ group: "Background",
250
266
  transform: createColorMixTransform("--gradient-to")
251
267
  },
252
268
  gradientVia: {
253
269
  className: "via",
254
270
  values: "colors",
271
+ group: "Background",
255
272
  transform(value, args) {
256
273
  const transformed = gradientVia(value, args);
257
274
  return {
@@ -268,33 +285,39 @@ var border = {
268
285
  borderRadius: {
269
286
  className: "rounded",
270
287
  shorthand: "rounded",
271
- values: "radii"
288
+ values: "radii",
289
+ group: "Border Radius"
272
290
  },
273
291
  borderTopLeftRadius: {
274
292
  className: "rounded-tl",
275
293
  shorthand: "roundedTopLeft",
276
- values: "radii"
294
+ values: "radii",
295
+ group: "Border Radius"
277
296
  },
278
297
  borderTopRightRadius: {
279
298
  className: "rounded-tr",
280
299
  shorthand: "roundedTopRight",
281
- values: "radii"
300
+ values: "radii",
301
+ group: "Border Radius"
282
302
  },
283
303
  borderBottomRightRadius: {
284
304
  className: "rounded-br",
285
305
  shorthand: "roundedBottomRight",
286
- values: "radii"
306
+ values: "radii",
307
+ group: "Border Radius"
287
308
  },
288
309
  borderBottomLeftRadius: {
289
310
  className: "rounded-bl",
290
311
  shorthand: "roundedBottomLeft",
291
- values: "radii"
312
+ values: "radii",
313
+ group: "Border Radius"
292
314
  },
293
315
  borderTopRadius: {
294
316
  className: "rounded-t",
295
317
  shorthand: "roundedTop",
296
318
  property: "borderRadius",
297
319
  values: "radii",
320
+ group: "Border Radius",
298
321
  transform(value) {
299
322
  return {
300
323
  borderTopLeftRadius: value,
@@ -307,6 +330,7 @@ var border = {
307
330
  shorthand: "roundedRight",
308
331
  property: "borderRadius",
309
332
  values: "radii",
333
+ group: "Border Radius",
310
334
  transform(value) {
311
335
  return {
312
336
  borderTopRightRadius: value,
@@ -319,6 +343,7 @@ var border = {
319
343
  shorthand: "roundedBottom",
320
344
  property: "borderRadius",
321
345
  values: "radii",
346
+ group: "Border Radius",
322
347
  transform(value) {
323
348
  return {
324
349
  borderBottomLeftRadius: value,
@@ -331,6 +356,7 @@ var border = {
331
356
  shorthand: "roundedLeft",
332
357
  values: "radii",
333
358
  property: "borderRadius",
359
+ group: "Border Radius",
334
360
  transform(value) {
335
361
  return {
336
362
  borderTopLeftRadius: value,
@@ -341,18 +367,21 @@ var border = {
341
367
  borderStartStartRadius: {
342
368
  className: "rounded-ss",
343
369
  shorthand: "roundedStartStart",
344
- values: "radii"
370
+ values: "radii",
371
+ group: "Border Radius"
345
372
  },
346
373
  borderStartEndRadius: {
347
374
  className: "rounded-se",
348
375
  shorthand: "roundedStartEnd",
349
- values: "radii"
376
+ values: "radii",
377
+ group: "Border Radius"
350
378
  },
351
379
  borderStartRadius: {
352
380
  className: "rounded-s",
353
381
  values: "radii",
354
382
  property: "borderRadius",
355
383
  shorthand: "roundedStart",
384
+ group: "Border Radius",
356
385
  transform(value) {
357
386
  return {
358
387
  borderStartStartRadius: value,
@@ -363,18 +392,21 @@ var border = {
363
392
  borderEndStartRadius: {
364
393
  className: "rounded-es",
365
394
  shorthand: "roundedEndStart",
366
- values: "radii"
395
+ values: "radii",
396
+ group: "Border Radius"
367
397
  },
368
398
  borderEndEndRadius: {
369
399
  className: "rounded-ee",
370
400
  shorthand: "roundedEndEnd",
371
- values: "radii"
401
+ values: "radii",
402
+ group: "Border Radius"
372
403
  },
373
404
  borderEndRadius: {
374
405
  className: "rounded-e",
375
406
  shorthand: "roundedEnd",
376
407
  property: "borderRadius",
377
408
  values: "radii",
409
+ group: "Border Radius",
378
410
  transform(value) {
379
411
  return {
380
412
  borderStartEndRadius: value,
@@ -384,149 +416,180 @@ var border = {
384
416
  },
385
417
  border: {
386
418
  className: "border",
387
- values: "borders"
419
+ values: "borders",
420
+ group: "Border"
388
421
  },
389
422
  borderWidth: {
390
423
  className: "border-w",
391
- values: "borderWidths"
424
+ values: "borderWidths",
425
+ group: "Border Radius"
392
426
  },
393
427
  borderTopWidth: {
394
428
  className: "border-tw",
395
- values: "borderWidths"
429
+ values: "borderWidths",
430
+ group: "Border"
396
431
  },
397
432
  borderLeftWidth: {
398
433
  className: "border-lw",
399
- values: "borderWidths"
434
+ values: "borderWidths",
435
+ group: "Border"
400
436
  },
401
437
  borderRightWidth: {
402
438
  className: "border-rw",
403
- values: "borderWidths"
439
+ values: "borderWidths",
440
+ group: "Border"
404
441
  },
405
442
  borderBottomWidth: {
406
443
  className: "border-bw",
407
- values: "borderWidths"
444
+ values: "borderWidths",
445
+ group: "Border"
408
446
  },
409
447
  borderColor: {
410
448
  className: "border",
411
449
  values: "colors",
450
+ group: "Border",
412
451
  transform: createColorMixTransform("borderColor")
413
452
  },
414
453
  borderInline: {
415
454
  className: "border-x",
416
455
  values: "borders",
456
+ group: "Border",
417
457
  shorthand: "borderX"
418
458
  },
419
459
  borderInlineWidth: {
420
460
  className: "border-x",
421
461
  values: "borderWidths",
462
+ group: "Border",
422
463
  shorthand: "borderXWidth"
423
464
  },
424
465
  borderInlineColor: {
425
466
  className: "border-x",
426
467
  values: "colors",
468
+ group: "Border",
427
469
  shorthand: "borderXColor",
428
470
  transform: createColorMixTransform("borderInlineColor")
429
471
  },
430
472
  borderBlock: {
431
473
  className: "border-y",
432
474
  values: "borders",
475
+ group: "Border",
433
476
  shorthand: "borderY"
434
477
  },
435
478
  borderBlockWidth: {
436
479
  className: "border-y",
437
480
  values: "borderWidths",
481
+ group: "Border",
438
482
  shorthand: "borderYWidth"
439
483
  },
440
484
  borderBlockColor: {
441
485
  className: "border-y",
442
486
  values: "colors",
487
+ group: "Border",
443
488
  shorthand: "borderYColor",
444
489
  transform: createColorMixTransform("borderBlockColor")
445
490
  },
446
491
  borderLeft: {
447
492
  className: "border-l",
448
- values: "borders"
493
+ values: "borders",
494
+ group: "Border"
449
495
  },
450
496
  borderLeftColor: {
451
497
  className: "border-l",
452
498
  values: "colors",
499
+ group: "Border",
453
500
  transform: createColorMixTransform("borderLeftColor")
454
501
  },
455
502
  borderInlineStart: {
456
503
  className: "border-s",
457
504
  values: "borders",
505
+ group: "Border",
458
506
  shorthand: "borderStart"
459
507
  },
460
508
  borderInlineStartWidth: {
461
509
  className: "border-s",
462
510
  values: "borderWidths",
511
+ group: "Border",
463
512
  shorthand: "borderStartWidth"
464
513
  },
465
514
  borderInlineStartColor: {
466
515
  className: "border-s",
467
516
  values: "colors",
517
+ group: "Border",
468
518
  shorthand: "borderStartColor",
469
519
  transform: createColorMixTransform("borderInlineStartColor")
470
520
  },
471
521
  borderRight: {
472
522
  className: "border-r",
473
- values: "borders"
523
+ values: "borders",
524
+ group: "Border"
474
525
  },
475
526
  borderRightColor: {
476
527
  className: "border-r",
477
528
  values: "colors",
529
+ group: "Border",
478
530
  transform: createColorMixTransform("borderRightColor")
479
531
  },
480
532
  borderInlineEnd: {
481
533
  className: "border-e",
482
534
  values: "borders",
535
+ group: "Border",
483
536
  shorthand: "borderEnd"
484
537
  },
485
538
  borderInlineEndWidth: {
486
539
  className: "border-e",
487
540
  values: "borderWidths",
541
+ group: "Border",
488
542
  shorthand: "borderEndWidth"
489
543
  },
490
544
  borderInlineEndColor: {
491
545
  className: "border-e",
492
546
  values: "colors",
547
+ group: "Border",
493
548
  shorthand: "borderEndColor",
494
549
  transform: createColorMixTransform("borderInlineEndColor")
495
550
  },
496
551
  borderTop: {
497
552
  className: "border-t",
498
- values: "borders"
553
+ values: "borders",
554
+ group: "Border"
499
555
  },
500
556
  borderTopColor: {
501
557
  className: "border-t",
502
558
  values: "colors",
559
+ group: "Border",
503
560
  transform: createColorMixTransform("borderTopColor")
504
561
  },
505
562
  borderBottom: {
506
563
  className: "border-b",
507
- values: "borders"
564
+ values: "borders",
565
+ group: "Border"
508
566
  },
509
567
  borderBottomColor: {
510
568
  className: "border-b",
511
569
  values: "colors",
570
+ group: "Border",
512
571
  transform: createColorMixTransform("borderBottomColor")
513
572
  },
514
573
  borderBlockEnd: {
515
574
  className: "border-be",
516
- values: "borders"
575
+ values: "borders",
576
+ group: "Border"
517
577
  },
518
578
  borderBlockEndColor: {
519
579
  className: "border-be",
520
580
  values: "colors",
581
+ group: "Border",
521
582
  transform: createColorMixTransform("borderBlockEndColor")
522
583
  },
523
584
  borderBlockStart: {
524
585
  className: "border-bs",
525
- values: "borders"
586
+ values: "borders",
587
+ group: "Border"
526
588
  },
527
589
  borderBlockStartColor: {
528
590
  className: "border-bs",
529
591
  values: "colors",
592
+ group: "Border",
530
593
  transform: createColorMixTransform("borderBlockStartColor")
531
594
  }
532
595
  };
@@ -534,26 +597,31 @@ var border = {
534
597
  // src/utilities/container.ts
535
598
  var container = {
536
599
  container: {
537
- className: "cq"
600
+ className: "cq",
601
+ group: "Container"
538
602
  },
539
603
  containerName: {
540
604
  className: "cq-name",
541
605
  property: "containerName",
542
- values: "containerNames"
606
+ values: "containerNames",
607
+ group: "Container"
543
608
  },
544
609
  containerType: {
545
- className: "cq-type"
610
+ className: "cq-type",
611
+ group: "Container"
546
612
  }
547
613
  };
548
614
 
549
615
  // src/utilities/display.ts
550
616
  var display = {
551
617
  display: {
552
- className: "d"
618
+ className: "d",
619
+ group: "Display"
553
620
  },
554
621
  hideFrom: {
555
622
  className: "hide",
556
623
  values: "breakpoints",
624
+ group: "Display",
557
625
  transform(value, { raw, token }) {
558
626
  const bp = token.raw(`breakpoints.${raw}`);
559
627
  const media = bp ? `@breakpoint ${raw}` : `@media screen and (min-width: ${value})`;
@@ -567,6 +635,7 @@ var display = {
567
635
  hideBelow: {
568
636
  className: "show",
569
637
  values: "breakpoints",
638
+ group: "Display",
570
639
  transform(value, { raw, token }) {
571
640
  const bp = token.raw(`breakpoints.${raw}`);
572
641
  const media = bp ? `@breakpoint ${raw}Down` : `@media screen and (max-width: ${value})`;
@@ -584,6 +653,7 @@ var divide = {
584
653
  divideX: {
585
654
  className: "divide-x",
586
655
  values: { type: "string" },
656
+ group: "Border",
587
657
  transform(value) {
588
658
  return {
589
659
  "& > :not([hidden]) ~ :not([hidden])": {
@@ -596,6 +666,7 @@ var divide = {
596
666
  divideY: {
597
667
  className: "divide-y",
598
668
  values: { type: "string" },
669
+ group: "Border",
599
670
  transform(value) {
600
671
  return {
601
672
  "& > :not([hidden]) ~ :not([hidden])": {
@@ -608,6 +679,7 @@ var divide = {
608
679
  divideColor: {
609
680
  className: "divide",
610
681
  values: "colors",
682
+ group: "Border",
611
683
  transform(value, args) {
612
684
  return {
613
685
  "& > :not([hidden]) ~ :not([hidden])": divideColor(value, args)
@@ -617,6 +689,7 @@ var divide = {
617
689
  divideStyle: {
618
690
  className: "divide",
619
691
  property: "borderStyle",
692
+ group: "Border",
620
693
  transform(value) {
621
694
  return {
622
695
  "& > :not([hidden]) ~ :not([hidden])": {
@@ -631,24 +704,29 @@ var divideColor = createColorMixTransform("borderColor");
631
704
  // src/utilities/effects.ts
632
705
  var effects = {
633
706
  opacity: {
634
- values: "opacity"
707
+ values: "opacity",
708
+ group: "Background"
635
709
  },
636
710
  boxShadow: {
637
711
  shorthand: "shadow",
638
712
  className: "shadow",
639
- values: "shadows"
713
+ values: "shadows",
714
+ group: "Shadow"
640
715
  },
641
716
  boxShadowColor: {
642
717
  shorthand: "shadowColor",
643
718
  className: "shadow",
644
719
  values: "colors",
645
- transform: createColorMixTransform("--shadow-color")
720
+ transform: createColorMixTransform("--shadow-color"),
721
+ group: "Color"
646
722
  },
647
723
  mixBlendMode: {
648
- className: "mix-blend"
724
+ className: "mix-blend",
725
+ group: "Effect"
649
726
  },
650
727
  filter: {
651
728
  className: "filter",
729
+ group: "Effect",
652
730
  values: {
653
731
  auto: [
654
732
  "var(--blur)",
@@ -665,6 +743,7 @@ var effects = {
665
743
  },
666
744
  brightness: {
667
745
  className: "brightness",
746
+ group: "Effect",
668
747
  transform(value) {
669
748
  return {
670
749
  "--brightness": `brightness(${value})`
@@ -673,6 +752,7 @@ var effects = {
673
752
  },
674
753
  contrast: {
675
754
  className: "contrast",
755
+ group: "Effect",
676
756
  transform(value) {
677
757
  return {
678
758
  "--contrast": `contrast(${value})`
@@ -681,6 +761,7 @@ var effects = {
681
761
  },
682
762
  grayscale: {
683
763
  className: "grayscale",
764
+ group: "Effect",
684
765
  transform(value) {
685
766
  return {
686
767
  "--grayscale": `grayscale(${value})`
@@ -689,6 +770,7 @@ var effects = {
689
770
  },
690
771
  hueRotate: {
691
772
  className: "hue-rotate",
773
+ group: "Effect",
692
774
  transform(value) {
693
775
  return {
694
776
  "--hue-rotate": `hue-rotate(${value})`
@@ -697,6 +779,7 @@ var effects = {
697
779
  },
698
780
  invert: {
699
781
  className: "invert",
782
+ group: "Effect",
700
783
  transform(value) {
701
784
  return {
702
785
  "--invert": `invert(${value})`
@@ -705,6 +788,7 @@ var effects = {
705
788
  },
706
789
  saturate: {
707
790
  className: "saturate",
791
+ group: "Effect",
708
792
  transform(value) {
709
793
  return {
710
794
  "--saturate": `saturate(${value})`
@@ -713,6 +797,7 @@ var effects = {
713
797
  },
714
798
  sepia: {
715
799
  className: "sepia",
800
+ group: "Effect",
716
801
  transform(value) {
717
802
  return {
718
803
  "--sepia": `sepia(${value})`
@@ -721,6 +806,7 @@ var effects = {
721
806
  },
722
807
  dropShadow: {
723
808
  className: "drop-shadow",
809
+ group: "Effect",
724
810
  values: "dropShadows",
725
811
  transform(value) {
726
812
  return {
@@ -730,6 +816,7 @@ var effects = {
730
816
  },
731
817
  blur: {
732
818
  className: "blur",
819
+ group: "Effect",
733
820
  values: "blurs",
734
821
  transform(value) {
735
822
  return {
@@ -739,6 +826,7 @@ var effects = {
739
826
  },
740
827
  backdropFilter: {
741
828
  className: "backdrop",
829
+ group: "Effect",
742
830
  values: {
743
831
  auto: [
744
832
  "var(--backdrop-blur)",
@@ -760,6 +848,7 @@ var effects = {
760
848
  },
761
849
  backdropBlur: {
762
850
  className: "backdrop-blur",
851
+ group: "Effect",
763
852
  values: "blurs",
764
853
  transform(value) {
765
854
  return {
@@ -769,6 +858,7 @@ var effects = {
769
858
  },
770
859
  backdropBrightness: {
771
860
  className: "backdrop-brightness",
861
+ group: "Effect",
772
862
  transform(value) {
773
863
  return {
774
864
  "--backdrop-brightness": `brightness(${value})`
@@ -777,6 +867,7 @@ var effects = {
777
867
  },
778
868
  backdropContrast: {
779
869
  className: "backdrop-contrast",
870
+ group: "Effect",
780
871
  transform(value) {
781
872
  return {
782
873
  "--backdrop-contrast": `contrast(${value})`
@@ -785,6 +876,7 @@ var effects = {
785
876
  },
786
877
  backdropGrayscale: {
787
878
  className: "backdrop-grayscale",
879
+ group: "Effect",
788
880
  transform(value) {
789
881
  return {
790
882
  "--backdrop-grayscale": `grayscale(${value})`
@@ -793,6 +885,7 @@ var effects = {
793
885
  },
794
886
  backdropHueRotate: {
795
887
  className: "backdrop-hue-rotate",
888
+ group: "Effect",
796
889
  transform(value) {
797
890
  return {
798
891
  "--backdrop-hue-rotate": `hue-rotate(${value})`
@@ -801,6 +894,7 @@ var effects = {
801
894
  },
802
895
  backdropInvert: {
803
896
  className: "backdrop-invert",
897
+ group: "Effect",
804
898
  transform(value) {
805
899
  return {
806
900
  "--backdrop-invert": `invert(${value})`
@@ -809,6 +903,7 @@ var effects = {
809
903
  },
810
904
  backdropOpacity: {
811
905
  className: "backdrop-opacity",
906
+ group: "Effect",
812
907
  transform(value) {
813
908
  return {
814
909
  "--backdrop-opacity": value
@@ -817,6 +912,7 @@ var effects = {
817
912
  },
818
913
  backdropSaturate: {
819
914
  className: "backdrop-saturate",
915
+ group: "Effect",
820
916
  transform(value) {
821
917
  return {
822
918
  "--backdrop-saturate": `saturate(${value})`
@@ -825,6 +921,7 @@ var effects = {
825
921
  },
826
922
  backdropSepia: {
827
923
  className: "backdrop-sepia",
924
+ group: "Effect",
828
925
  transform(value) {
829
926
  return {
830
927
  "--backdrop-sepia": `sepia(${value})`
@@ -837,6 +934,7 @@ var effects = {
837
934
  var flexGrid = {
838
935
  flexBasis: {
839
936
  className: "basis",
937
+ group: "Flex Layout",
840
938
  values(theme) {
841
939
  return {
842
940
  ...theme("spacing"),
@@ -872,6 +970,7 @@ var flexGrid = {
872
970
  },
873
971
  flex: {
874
972
  className: "flex",
973
+ group: "Flex Layout",
875
974
  values: {
876
975
  "1": "1 1 0%",
877
976
  auto: "1 1 auto",
@@ -881,16 +980,20 @@ var flexGrid = {
881
980
  },
882
981
  flexDirection: {
883
982
  className: "flex",
983
+ group: "Flex Layout",
884
984
  shorthand: "flexDir"
885
985
  },
886
986
  flexGrow: {
887
- className: "grow"
987
+ className: "grow",
988
+ group: "Flex Layout"
888
989
  },
889
990
  flexShrink: {
890
- className: "shrink"
991
+ className: "shrink",
992
+ group: "Flex Layout"
891
993
  },
892
994
  gridTemplateColumns: {
893
995
  className: "grid-cols",
996
+ group: "Grid Layout",
894
997
  values: {
895
998
  "1": "repeat(1, minmax(0, 1fr))",
896
999
  "2": "repeat(2, minmax(0, 1fr))",
@@ -908,6 +1011,7 @@ var flexGrid = {
908
1011
  },
909
1012
  gridTemplateRows: {
910
1013
  className: "grid-rows",
1014
+ group: "Grid Layout",
911
1015
  values: {
912
1016
  "1": "repeat(1, minmax(0, 1fr))",
913
1017
  "2": "repeat(2, minmax(0, 1fr))",
@@ -925,6 +1029,7 @@ var flexGrid = {
925
1029
  },
926
1030
  gridColumn: {
927
1031
  className: "col-span",
1032
+ group: "Grid Layout",
928
1033
  values: {
929
1034
  full: "1 / -1",
930
1035
  "1": "span 1 / span 1",
@@ -943,6 +1048,7 @@ var flexGrid = {
943
1048
  },
944
1049
  gridRow: {
945
1050
  className: "row-span",
1051
+ group: "Grid Layout",
946
1052
  values: {
947
1053
  full: "1 / -1",
948
1054
  "1": "span 1 / span 1",
@@ -960,16 +1066,20 @@ var flexGrid = {
960
1066
  }
961
1067
  },
962
1068
  gridColumnStart: {
963
- className: "col-start"
1069
+ className: "col-start",
1070
+ group: "Grid Layout"
964
1071
  },
965
1072
  gridColumnEnd: {
966
- className: "col-end"
1073
+ className: "col-end",
1074
+ group: "Grid Layout"
967
1075
  },
968
1076
  gridAutoFlow: {
969
- className: "grid-flow"
1077
+ className: "grid-flow",
1078
+ group: "Grid Layout"
970
1079
  },
971
1080
  gridAutoColumns: {
972
1081
  className: "auto-cols",
1082
+ group: "Grid Layout",
973
1083
  values: {
974
1084
  min: "min-content",
975
1085
  max: "max-content",
@@ -978,6 +1088,7 @@ var flexGrid = {
978
1088
  },
979
1089
  gridAutoRows: {
980
1090
  className: "auto-rows",
1091
+ group: "Grid Layout",
981
1092
  values: {
982
1093
  min: "min-content",
983
1094
  max: "max-content",
@@ -986,39 +1097,49 @@ var flexGrid = {
986
1097
  },
987
1098
  gap: {
988
1099
  className: "gap",
1100
+ group: "Flex Layout",
989
1101
  values: "spacing"
990
1102
  },
991
1103
  gridGap: {
992
1104
  className: "gap",
1105
+ group: "Grid Layout",
993
1106
  values: "spacing"
994
1107
  },
995
1108
  gridRowGap: {
996
1109
  className: "gap-x",
1110
+ group: "Grid Layout",
997
1111
  values: "spacing"
998
1112
  },
999
1113
  gridColumnGap: {
1000
1114
  className: "gap-y",
1115
+ group: "Grid Layout",
1001
1116
  values: "spacing"
1002
1117
  },
1003
1118
  rowGap: {
1004
1119
  className: "gap-x",
1120
+ group: "Grid Layout",
1005
1121
  values: "spacing"
1006
1122
  },
1007
1123
  columnGap: {
1008
1124
  className: "gap-y",
1125
+ group: "Grid Layout",
1009
1126
  values: "spacing"
1010
1127
  },
1011
1128
  justifyContent: {
1012
- className: "justify"
1129
+ className: "justify",
1130
+ group: "Flex Layout"
1013
1131
  },
1014
1132
  alignContent: {
1015
- className: "content"
1133
+ className: "content",
1134
+ group: "Flex Layout"
1016
1135
  },
1017
1136
  alignItems: {
1018
- className: "items"
1137
+ className: "items",
1138
+ group: "Flex Layout"
1019
1139
  },
1020
1140
  alignSelf: {
1021
- className: "self"
1141
+ className: "self",
1142
+ group: "Flex Layout"
1022
1143
  }
1023
1144
  };
1024
1145
 
@@ -1050,6 +1171,7 @@ var helpers = {
1050
1171
  srOnly: {
1051
1172
  className: "sr",
1052
1173
  values: { type: "boolean" },
1174
+ group: "Other",
1053
1175
  transform(value) {
1054
1176
  return srMapping[value] || {};
1055
1177
  }
@@ -1057,6 +1179,7 @@ var helpers = {
1057
1179
  debug: {
1058
1180
  className: "debug",
1059
1181
  values: { type: "boolean" },
1182
+ group: "Other",
1060
1183
  transform(value) {
1061
1184
  if (!value)
1062
1185
  return {};
@@ -1075,19 +1198,23 @@ var interactivity = {
1075
1198
  accentColor: {
1076
1199
  className: "accent",
1077
1200
  values: "colors",
1078
- transform: createColorMixTransform("accentColor")
1201
+ transform: createColorMixTransform("accentColor"),
1202
+ group: "Color"
1079
1203
  },
1080
1204
  caretColor: {
1081
1205
  className: "caret",
1082
1206
  values: "colors",
1207
+ group: "Color",
1083
1208
  transform: createColorMixTransform("caretColor")
1084
1209
  },
1085
1210
  scrollBehavior: {
1086
- className: "scroll"
1211
+ className: "scroll",
1212
+ group: "Scroll"
1087
1213
  },
1088
1214
  scrollbar: {
1089
1215
  className: "scrollbar",
1090
1216
  values: ["visible", "hidden"],
1217
+ group: "Scroll",
1091
1218
  transform(value) {
1092
1219
  if (value === "visible") {
1093
1220
  return {
@@ -1111,140 +1238,129 @@ var interactivity = {
1111
1238
  },
1112
1239
  scrollMargin: {
1113
1240
  className: "scroll-m",
1114
- values: "spacing"
1115
- },
1116
- scrollMarginX: {
1117
- className: "scroll-mx",
1118
- values: "spacing",
1119
- property: "scrollMarginInline",
1120
- transform(value) {
1121
- return {
1122
- scrollMarginInline: value
1123
- };
1124
- }
1125
- },
1126
- scrollMarginY: {
1127
- className: "scroll-my",
1128
1241
  values: "spacing",
1129
- property: "scrollMarginBlock",
1130
- transform(value) {
1131
- return {
1132
- scrollMarginBlock: value
1133
- };
1134
- }
1242
+ group: "Scroll"
1135
1243
  },
1136
1244
  scrollMarginLeft: {
1137
1245
  className: "scroll-ml",
1138
- values: "spacing"
1246
+ values: "spacing",
1247
+ group: "Scroll"
1139
1248
  },
1140
1249
  scrollMarginRight: {
1141
1250
  className: "scroll-mr",
1142
- values: "spacing"
1251
+ values: "spacing",
1252
+ group: "Scroll"
1143
1253
  },
1144
1254
  scrollMarginTop: {
1145
1255
  className: "scroll-mt",
1146
- values: "spacing"
1256
+ values: "spacing",
1257
+ group: "Scroll"
1147
1258
  },
1148
1259
  scrollMarginBottom: {
1149
1260
  className: "scroll-mb",
1150
- values: "spacing"
1261
+ values: "spacing",
1262
+ group: "Scroll"
1151
1263
  },
1152
1264
  scrollMarginBlock: {
1153
1265
  className: "scroll-my",
1154
- values: "spacing"
1266
+ values: "spacing",
1267
+ group: "Scroll",
1268
+ shorthand: ["scrollMarginY"]
1155
1269
  },
1156
1270
  scrollMarginBlockEnd: {
1157
1271
  className: "scroll-mb",
1158
- values: "spacing"
1272
+ values: "spacing",
1273
+ group: "Scroll"
1159
1274
  },
1160
1275
  scrollMarginBlockStart: {
1161
1276
  className: "scroll-mt",
1162
- values: "spacing"
1277
+ values: "spacing",
1278
+ group: "Scroll"
1163
1279
  },
1164
1280
  scrollMarginInline: {
1165
1281
  className: "scroll-mx",
1166
- values: "spacing"
1282
+ values: "spacing",
1283
+ group: "Scroll",
1284
+ shorthand: ["scrollMarginX"]
1167
1285
  },
1168
1286
  scrollMarginInlineEnd: {
1169
1287
  className: "scroll-me",
1170
- values: "spacing"
1288
+ values: "spacing",
1289
+ group: "Scroll"
1171
1290
  },
1172
1291
  scrollMarginInlineStart: {
1173
1292
  className: "scroll-ms",
1174
- values: "spacing"
1293
+ values: "spacing",
1294
+ group: "Scroll"
1175
1295
  },
1176
1296
  scrollPadding: {
1177
1297
  className: "scroll-p",
1178
- values: "spacing"
1298
+ values: "spacing",
1299
+ group: "Scroll"
1179
1300
  },
1180
1301
  scrollPaddingBlock: {
1181
1302
  className: "scroll-pb",
1182
- values: "spacing"
1303
+ values: "spacing",
1304
+ group: "Scroll",
1305
+ shorthand: ["scrollPaddingY"]
1183
1306
  },
1184
1307
  scrollPaddingBlockStart: {
1185
1308
  className: "scroll-pt",
1186
- values: "spacing"
1309
+ values: "spacing",
1310
+ group: "Scroll"
1187
1311
  },
1188
1312
  scrollPaddingBlockEnd: {
1189
1313
  className: "scroll-pb",
1190
- values: "spacing"
1314
+ values: "spacing",
1315
+ group: "Scroll"
1191
1316
  },
1192
1317
  scrollPaddingInline: {
1193
1318
  className: "scroll-px",
1194
- values: "spacing"
1319
+ values: "spacing",
1320
+ group: "Scroll",
1321
+ shorthand: ["scrollPaddingX"]
1195
1322
  },
1196
1323
  scrollPaddingInlineEnd: {
1197
1324
  className: "scroll-pe",
1198
- values: "spacing"
1325
+ values: "spacing",
1326
+ group: "Scroll"
1199
1327
  },
1200
1328
  scrollPaddingInlineStart: {
1201
1329
  className: "scroll-ps",
1202
- values: "spacing"
1203
- },
1204
- scrollPaddingX: {
1205
- className: "scroll-px",
1206
1330
  values: "spacing",
1207
- property: "scrollPaddingInline",
1208
- transform(value) {
1209
- return {
1210
- scrollPaddingInline: value
1211
- };
1212
- }
1213
- },
1214
- scrollPaddingY: {
1215
- className: "scroll-py",
1216
- values: "spacing",
1217
- property: "scrollPaddingBlock",
1218
- transform(value) {
1219
- return {
1220
- scrollPaddingBlock: value
1221
- };
1222
- }
1331
+ group: "Scroll"
1223
1332
  },
1224
1333
  scrollPaddingLeft: {
1225
1334
  className: "scroll-pl",
1226
- values: "spacing"
1335
+ values: "spacing",
1336
+ group: "Scroll"
1227
1337
  },
1228
1338
  scrollPaddingRight: {
1229
1339
  className: "scroll-pr",
1230
- values: "spacing"
1340
+ values: "spacing",
1341
+ group: "Scroll"
1231
1342
  },
1232
1343
  scrollPaddingTop: {
1233
1344
  className: "scroll-pt",
1234
- values: "spacing"
1345
+ values: "spacing",
1346
+ group: "Scroll"
1235
1347
  },
1236
1348
  scrollPaddingBottom: {
1237
1349
  className: "scroll-pb",
1238
- values: "spacing"
1350
+ values: "spacing",
1351
+ group: "Scroll"
1239
1352
  },
1240
1353
  scrollSnapAlign: {
1241
- className: "snap"
1354
+ className: "snap",
1355
+ group: "Scroll"
1242
1356
  },
1243
1357
  scrollSnapStop: {
1244
- className: "snap"
1358
+ className: "snap",
1359
+ group: "Scroll"
1245
1360
  },
1246
1361
  scrollSnapType: {
1247
1362
  className: "snap",
1363
+ group: "Scroll",
1248
1364
  values: {
1249
1365
  none: "none",
1250
1366
  x: "x var(--scroll-snap-strictness)",
@@ -1255,6 +1371,7 @@ var interactivity = {
1255
1371
  scrollSnapStrictness: {
1256
1372
  className: "strictness",
1257
1373
  values: ["mandatory", "proximity"],
1374
+ group: "Scroll",
1258
1375
  transform(value) {
1259
1376
  return {
1260
1377
  "--scroll-snap-strictness": value
@@ -1263,29 +1380,36 @@ var interactivity = {
1263
1380
  },
1264
1381
  scrollSnapMargin: {
1265
1382
  className: "snap-m",
1266
- values: "spacing"
1383
+ values: "spacing",
1384
+ group: "Scroll"
1267
1385
  },
1268
1386
  scrollSnapMarginTop: {
1269
1387
  className: "snap-mt",
1270
- values: "spacing"
1388
+ values: "spacing",
1389
+ group: "Scroll"
1271
1390
  },
1272
1391
  scrollSnapMarginBottom: {
1273
1392
  className: "snap-mb",
1274
- values: "spacing"
1393
+ values: "spacing",
1394
+ group: "Scroll"
1275
1395
  },
1276
1396
  scrollSnapMarginLeft: {
1277
1397
  className: "snap-ml",
1278
- values: "spacing"
1398
+ values: "spacing",
1399
+ group: "Scroll"
1279
1400
  },
1280
1401
  scrollSnapMarginRight: {
1281
1402
  className: "snap-mr",
1282
- values: "spacing"
1403
+ values: "spacing",
1404
+ group: "Scroll"
1283
1405
  },
1284
1406
  touchAction: {
1285
- className: "touch"
1407
+ className: "touch",
1408
+ group: "Interactivity"
1286
1409
  },
1287
1410
  userSelect: {
1288
1411
  className: "select",
1412
+ group: "Interactivity",
1289
1413
  transform(value) {
1290
1414
  return {
1291
1415
  WebkitUserSelect: value,
@@ -1299,10 +1423,12 @@ var interactivity = {
1299
1423
  var layout = {
1300
1424
  aspectRatio: {
1301
1425
  className: "aspect",
1302
- values: "aspectRatios"
1426
+ values: "aspectRatios",
1427
+ group: "Layout"
1303
1428
  },
1304
1429
  boxDecorationBreak: {
1305
1430
  className: "decoration",
1431
+ group: "Layout",
1306
1432
  transform(value) {
1307
1433
  return {
1308
1434
  boxDecorationBreak: value,
@@ -1312,48 +1438,63 @@ var layout = {
1312
1438
  },
1313
1439
  zIndex: {
1314
1440
  className: "z",
1315
- values: "zIndex"
1441
+ values: "zIndex",
1442
+ group: "Visibility"
1316
1443
  },
1317
1444
  boxSizing: {
1318
- className: "box"
1445
+ className: "box",
1446
+ group: "System"
1319
1447
  },
1320
1448
  objectPosition: {
1321
- className: "object"
1449
+ className: "object",
1450
+ group: "Layout"
1322
1451
  },
1323
1452
  objectFit: {
1324
- className: "object"
1453
+ className: "object",
1454
+ group: "Layout"
1325
1455
  },
1326
1456
  overscrollBehavior: {
1327
- className: "overscroll"
1457
+ className: "overscroll",
1458
+ group: "Scroll"
1328
1459
  },
1329
1460
  overscrollBehaviorX: {
1330
- className: "overscroll-x"
1461
+ className: "overscroll-x",
1462
+ group: "Scroll"
1331
1463
  },
1332
1464
  overscrollBehaviorY: {
1333
- className: "overscroll-y"
1465
+ className: "overscroll-y",
1466
+ group: "Scroll"
1334
1467
  },
1335
1468
  position: {
1336
1469
  className: "pos",
1337
- shorthand: "pos"
1470
+ shorthand: "pos",
1471
+ group: "Position"
1338
1472
  },
1339
1473
  top: {
1340
1474
  className: "top",
1341
- values: "spacing"
1475
+ values: "spacing",
1476
+ group: "Position"
1342
1477
  },
1343
1478
  left: {
1344
1479
  className: "left",
1345
- values: "spacing"
1480
+ values: "spacing",
1481
+ group: "Position"
1346
1482
  },
1347
1483
  insetInline: {
1348
1484
  className: "inset-x",
1349
- values: "spacing"
1485
+ values: "spacing",
1486
+ group: "Position",
1487
+ shorthand: ["insetX"]
1350
1488
  },
1351
1489
  insetBlock: {
1352
1490
  className: "inset-y",
1353
- values: "spacing"
1491
+ values: "spacing",
1492
+ group: "Position",
1493
+ shorthand: ["insetY"]
1354
1494
  },
1355
1495
  inset: {
1356
1496
  className: "inset",
1497
+ group: "Position",
1357
1498
  values: (theme) => ({
1358
1499
  auto: "auto",
1359
1500
  ...theme("spacing")
@@ -1361,53 +1502,40 @@ var layout = {
1361
1502
  },
1362
1503
  insetBlockEnd: {
1363
1504
  className: "inset-b",
1364
- values: "spacing"
1505
+ values: "spacing",
1506
+ group: "Position"
1365
1507
  },
1366
1508
  insetBlockStart: {
1367
1509
  className: "inset-t",
1368
- values: "spacing"
1510
+ values: "spacing",
1511
+ group: "Position"
1369
1512
  },
1370
1513
  insetInlineEnd: {
1371
1514
  className: "end",
1372
1515
  values: "spacing",
1516
+ group: "Position",
1373
1517
  shorthand: ["insetEnd", "end"]
1374
1518
  },
1375
1519
  insetInlineStart: {
1376
1520
  className: "start",
1377
1521
  values: "spacing",
1522
+ group: "Position",
1378
1523
  shorthand: ["insetStart", "start"]
1379
1524
  },
1380
1525
  right: {
1381
1526
  className: "right",
1382
- values: "spacing"
1527
+ values: "spacing",
1528
+ group: "Position"
1383
1529
  },
1384
1530
  bottom: {
1385
1531
  className: "bottom",
1386
- values: "spacing"
1387
- },
1388
- insetX: {
1389
- className: "inset-x",
1390
1532
  values: "spacing",
1391
- property: "insetInline",
1392
- transform(value) {
1393
- return {
1394
- insetInline: value
1395
- };
1396
- }
1397
- },
1398
- insetY: {
1399
- className: "inset-y",
1400
- values: "spacing",
1401
- property: "insetBlock",
1402
- transform(value) {
1403
- return {
1404
- insetBlock: value
1405
- };
1406
- }
1533
+ group: "Position"
1407
1534
  },
1408
1535
  float: {
1409
1536
  className: "float",
1410
1537
  values: ["left", "right", "start", "end"],
1538
+ group: "Position",
1411
1539
  transform(value) {
1412
1540
  if (value === "start") {
1413
1541
  return {
@@ -1431,20 +1559,24 @@ var layout = {
1431
1559
  }
1432
1560
  },
1433
1561
  visibility: {
1434
- className: "vis"
1562
+ className: "vis",
1563
+ group: "Visibility"
1435
1564
  }
1436
1565
  };
1437
1566
 
1438
1567
  // src/utilities/list.ts
1439
1568
  var list = {
1440
1569
  listStyleType: {
1441
- className: "list"
1570
+ className: "list",
1571
+ group: "List"
1442
1572
  },
1443
1573
  listStylePosition: {
1444
- className: "list"
1574
+ className: "list",
1575
+ group: "List"
1445
1576
  },
1446
1577
  listStyleImage: {
1447
1578
  className: "list-img",
1579
+ group: "List",
1448
1580
  values: "assets"
1449
1581
  }
1450
1582
  };
@@ -1454,11 +1586,13 @@ var outline = {
1454
1586
  outlineWidth: {
1455
1587
  className: "ring",
1456
1588
  shorthand: "ringWidth",
1457
- values: "borderWidths"
1589
+ values: "borderWidths",
1590
+ group: "Border"
1458
1591
  },
1459
1592
  outlineColor: {
1460
1593
  className: "ring",
1461
1594
  values: "colors",
1595
+ group: "Color",
1462
1596
  shorthand: "ringColor",
1463
1597
  transform: createColorMixTransform("outlineColor")
1464
1598
  },
@@ -1466,6 +1600,7 @@ var outline = {
1466
1600
  className: "ring",
1467
1601
  shorthand: "ring",
1468
1602
  values: "borders",
1603
+ group: "Border",
1469
1604
  transform(value) {
1470
1605
  if (value === "none") {
1471
1606
  return { outline: "2px solid transparent", outlineOffset: "2px" };
@@ -1476,7 +1611,8 @@ var outline = {
1476
1611
  outlineOffset: {
1477
1612
  className: "ring",
1478
1613
  shorthand: "ringOffset",
1479
- values: "spacing"
1614
+ values: "spacing",
1615
+ group: "Border"
1480
1616
  }
1481
1617
  };
1482
1618
 
@@ -1484,48 +1620,56 @@ var outline = {
1484
1620
  var polyfill = {
1485
1621
  appearance: {
1486
1622
  className: "appearance",
1623
+ group: "Visibility",
1487
1624
  transform(value) {
1488
1625
  return { appearance: value, WebkitAppearance: value };
1489
1626
  }
1490
1627
  },
1491
1628
  backfaceVisibility: {
1492
1629
  className: "backface",
1630
+ group: "Visibility",
1493
1631
  transform(value) {
1494
1632
  return { backfaceVisibility: value, WebkitBackfaceVisibility: value };
1495
1633
  }
1496
1634
  },
1497
1635
  clipPath: {
1498
1636
  className: "clip-path",
1637
+ group: "Other",
1499
1638
  transform(value) {
1500
1639
  return { clipPath: value, WebkitClipPath: value };
1501
1640
  }
1502
1641
  },
1503
1642
  hyphens: {
1504
1643
  className: "hyphens",
1644
+ group: "Other",
1505
1645
  transform(value) {
1506
1646
  return { hyphens: value, WebkitHyphens: value };
1507
1647
  }
1508
1648
  },
1509
1649
  mask: {
1510
1650
  className: "mask",
1651
+ group: "Other",
1511
1652
  transform(value) {
1512
1653
  return { mask: value, WebkitMask: value };
1513
1654
  }
1514
1655
  },
1515
1656
  maskImage: {
1516
1657
  className: "mask-image",
1658
+ group: "Other",
1517
1659
  transform(value) {
1518
1660
  return { maskImage: value, WebkitMaskImage: value };
1519
1661
  }
1520
1662
  },
1521
1663
  maskSize: {
1522
1664
  className: "mask-size",
1665
+ group: "Other",
1523
1666
  transform(value) {
1524
1667
  return { maskSize: value, WebkitMaskSize: value };
1525
1668
  }
1526
1669
  },
1527
1670
  textSizeAdjust: {
1528
1671
  className: "text-size-adjust",
1672
+ group: "Typography",
1529
1673
  transform(value) {
1530
1674
  return { textSizeAdjust: value, WebkitTextSizeAdjust: value };
1531
1675
  }
@@ -1591,55 +1735,67 @@ var sizing = {
1591
1735
  width: {
1592
1736
  shorthand: "w",
1593
1737
  className: "w",
1738
+ group: "Width",
1594
1739
  values: widthValues
1595
1740
  },
1596
1741
  inlineSize: {
1597
1742
  className: "w",
1743
+ group: "Width",
1598
1744
  values: widthValues
1599
1745
  },
1600
1746
  minWidth: {
1601
1747
  shorthand: "minW",
1602
1748
  className: "min-w",
1749
+ group: "Width",
1603
1750
  values: widthValues
1604
1751
  },
1605
1752
  minInlineSize: {
1606
1753
  className: "min-w",
1754
+ group: "Width",
1607
1755
  values: widthValues
1608
1756
  },
1609
1757
  maxWidth: {
1610
1758
  shorthand: "maxW",
1611
1759
  className: "max-w",
1760
+ group: "Width",
1612
1761
  values: widthValues
1613
1762
  },
1614
1763
  maxInlineSize: {
1615
1764
  className: "max-w",
1765
+ group: "Width",
1616
1766
  values: widthValues
1617
1767
  },
1618
1768
  height: {
1619
1769
  shorthand: "h",
1620
1770
  className: "h",
1771
+ group: "Height",
1621
1772
  values: heightValues
1622
1773
  },
1623
1774
  blockSize: {
1624
1775
  className: "h",
1776
+ group: "Height",
1625
1777
  values: heightValues
1626
1778
  },
1627
1779
  minHeight: {
1628
1780
  shorthand: "minH",
1629
1781
  className: "min-h",
1782
+ group: "Height",
1630
1783
  values: heightValues
1631
1784
  },
1632
1785
  minBlockSize: {
1633
1786
  className: "min-h",
1787
+ group: "Height",
1634
1788
  values: heightValues
1635
1789
  },
1636
1790
  maxHeight: {
1637
1791
  shorthand: "maxH",
1638
1792
  className: "max-h",
1793
+ group: "Height",
1639
1794
  values: heightValues
1640
1795
  },
1641
1796
  maxBlockSize: {
1642
1797
  className: "max-b",
1798
+ group: "Height",
1643
1799
  values: heightValues
1644
1800
  }
1645
1801
  };
@@ -1653,108 +1809,130 @@ var spacing = {
1653
1809
  padding: {
1654
1810
  className: "p",
1655
1811
  shorthand: "p",
1656
- values: "spacing"
1812
+ values: "spacing",
1813
+ group: "Padding"
1657
1814
  },
1658
1815
  paddingLeft: {
1659
1816
  className: "pl",
1660
1817
  shorthand: "pl",
1661
- values: "spacing"
1818
+ values: "spacing",
1819
+ group: "Padding"
1662
1820
  },
1663
1821
  paddingRight: {
1664
1822
  className: "pr",
1665
1823
  shorthand: "pr",
1666
- values: "spacing"
1824
+ values: "spacing",
1825
+ group: "Padding"
1667
1826
  },
1668
1827
  paddingTop: {
1669
1828
  className: "pt",
1670
1829
  shorthand: "pt",
1671
- values: "spacing"
1830
+ values: "spacing",
1831
+ group: "Padding"
1672
1832
  },
1673
1833
  paddingBottom: {
1674
1834
  className: "pb",
1675
1835
  shorthand: "pb",
1676
- values: "spacing"
1836
+ values: "spacing",
1837
+ group: "Padding"
1677
1838
  },
1678
1839
  paddingBlock: {
1679
1840
  className: "py",
1680
1841
  values: "spacing",
1842
+ group: "Padding",
1681
1843
  shorthand: ["py", "paddingY"]
1682
1844
  },
1683
1845
  paddingBlockEnd: {
1684
1846
  className: "pb",
1685
- values: "spacing"
1847
+ values: "spacing",
1848
+ group: "Padding"
1686
1849
  },
1687
1850
  paddingBlockStart: {
1688
1851
  className: "pt",
1689
- values: "spacing"
1852
+ values: "spacing",
1853
+ group: "Padding"
1690
1854
  },
1691
1855
  paddingInline: {
1692
1856
  className: "px",
1693
1857
  values: "spacing",
1858
+ group: "Padding",
1694
1859
  shorthand: ["paddingX", "px"]
1695
1860
  },
1696
1861
  paddingInlineEnd: {
1697
1862
  className: "pe",
1698
1863
  shorthand: ["pe", "paddingEnd"],
1699
- values: "spacing"
1864
+ values: "spacing",
1865
+ group: "Padding"
1700
1866
  },
1701
1867
  paddingInlineStart: {
1702
1868
  className: "ps",
1703
1869
  shorthand: ["ps", "paddingStart"],
1704
- values: "spacing"
1870
+ values: "spacing",
1871
+ group: "Padding"
1705
1872
  },
1706
1873
  marginLeft: {
1707
1874
  className: "ml",
1708
1875
  shorthand: "ml",
1709
- values: marginValues
1876
+ values: marginValues,
1877
+ group: "Margin"
1710
1878
  },
1711
1879
  marginRight: {
1712
1880
  className: "mr",
1713
1881
  shorthand: "mr",
1714
- values: marginValues
1882
+ values: marginValues,
1883
+ group: "Margin"
1715
1884
  },
1716
1885
  marginTop: {
1717
1886
  className: "mt",
1718
1887
  shorthand: "mt",
1719
- values: marginValues
1888
+ values: marginValues,
1889
+ group: "Margin"
1720
1890
  },
1721
1891
  marginBottom: {
1722
1892
  className: "mb",
1723
1893
  shorthand: "mb",
1724
- values: marginValues
1894
+ values: marginValues,
1895
+ group: "Margin"
1725
1896
  },
1726
1897
  margin: {
1727
1898
  className: "m",
1728
1899
  shorthand: "m",
1729
- values: marginValues
1900
+ values: marginValues,
1901
+ group: "Margin"
1730
1902
  },
1731
1903
  marginBlock: {
1732
1904
  className: "my",
1733
1905
  values: marginValues,
1906
+ group: "Margin",
1734
1907
  shorthand: ["my", "marginY"]
1735
1908
  },
1736
1909
  marginBlockEnd: {
1737
1910
  className: "mb",
1738
- values: marginValues
1911
+ values: marginValues,
1912
+ group: "Margin"
1739
1913
  },
1740
1914
  marginBlockStart: {
1741
1915
  className: "mt",
1742
- values: marginValues
1916
+ values: marginValues,
1917
+ group: "Margin"
1743
1918
  },
1744
1919
  marginInline: {
1745
1920
  className: "mx",
1746
1921
  values: marginValues,
1922
+ group: "Margin",
1747
1923
  shorthand: ["mx", "marginX"]
1748
1924
  },
1749
1925
  marginInlineEnd: {
1750
1926
  className: "me",
1751
1927
  shorthand: ["me", "marginEnd"],
1752
- values: marginValues
1928
+ values: marginValues,
1929
+ group: "Margin"
1753
1930
  },
1754
1931
  marginInlineStart: {
1755
1932
  className: "ms",
1756
1933
  shorthand: ["ms", "marginStart"],
1757
- values: marginValues
1934
+ values: marginValues,
1935
+ group: "Margin"
1758
1936
  }
1759
1937
  };
1760
1938
 
@@ -1763,31 +1941,37 @@ var svg = {
1763
1941
  fill: {
1764
1942
  className: "fill",
1765
1943
  values: "colors",
1944
+ group: "Color",
1766
1945
  transform: createColorMixTransform("fill")
1767
1946
  },
1768
1947
  stroke: {
1769
1948
  className: "stroke",
1770
1949
  values: "colors",
1950
+ group: "Color",
1771
1951
  transform: createColorMixTransform("stroke")
1772
1952
  },
1773
1953
  strokeWidth: {
1774
1954
  className: "stroke-w",
1775
- values: "borderWidths"
1955
+ values: "borderWidths",
1956
+ group: "Border"
1776
1957
  }
1777
1958
  };
1778
1959
 
1779
1960
  // src/utilities/tables.ts
1780
1961
  var tables = {
1781
1962
  borderCollapse: {
1782
- className: "border"
1963
+ className: "border",
1964
+ group: "Table"
1783
1965
  },
1784
1966
  borderSpacing: {
1785
1967
  className: "border-spacing",
1786
- values: "spacing"
1968
+ values: "spacing",
1969
+ group: "Table"
1787
1970
  },
1788
1971
  borderSpacingX: {
1789
1972
  className: "border-spacing-x",
1790
1973
  values: "spacing",
1974
+ group: "Table",
1791
1975
  transform(value) {
1792
1976
  return {
1793
1977
  borderSpacing: `${value} var(--border-spacing-y)`
@@ -1797,6 +1981,7 @@ var tables = {
1797
1981
  borderSpacingY: {
1798
1982
  className: "border-spacing-y",
1799
1983
  values: "spacing",
1984
+ group: "Table",
1800
1985
  transform(value) {
1801
1986
  return {
1802
1987
  borderSpacing: `var(--border-spacing-x) ${value}`
@@ -1804,7 +1989,8 @@ var tables = {
1804
1989
  }
1805
1990
  },
1806
1991
  tableLayout: {
1807
- className: "table"
1992
+ className: "table",
1993
+ group: "Table"
1808
1994
  }
1809
1995
  };
1810
1996
 
@@ -1824,10 +2010,12 @@ var negativeFractions = Object.fromEntries(
1824
2010
  var fractions = { ...positiveFractions, ...negativeFractions };
1825
2011
  var transforms = {
1826
2012
  transformOrigin: {
1827
- className: "origin"
2013
+ className: "origin",
2014
+ group: "Transform"
1828
2015
  },
1829
2016
  scale: {
1830
2017
  className: "scale",
2018
+ group: "Transform",
1831
2019
  property: "scale",
1832
2020
  values: {
1833
2021
  auto: "var(--scale-x) var(--scale-y)"
@@ -1835,6 +2023,7 @@ var transforms = {
1835
2023
  },
1836
2024
  scaleX: {
1837
2025
  className: "scale-x",
2026
+ group: "Transform",
1838
2027
  transform(value) {
1839
2028
  return {
1840
2029
  "--scale-x": value
@@ -1843,6 +2032,7 @@ var transforms = {
1843
2032
  },
1844
2033
  scaleY: {
1845
2034
  className: "scale-y",
2035
+ group: "Transform",
1846
2036
  transform(value) {
1847
2037
  return {
1848
2038
  "--scale-y": value
@@ -1851,6 +2041,7 @@ var transforms = {
1851
2041
  },
1852
2042
  translate: {
1853
2043
  className: "translate",
2044
+ group: "Transform",
1854
2045
  property: "translate",
1855
2046
  values: {
1856
2047
  auto: "var(--translate-x) var(--translate-y)"
@@ -1859,6 +2050,7 @@ var transforms = {
1859
2050
  translateX: {
1860
2051
  shorthand: "x",
1861
2052
  className: "translate-x",
2053
+ group: "Transform",
1862
2054
  values(theme) {
1863
2055
  return {
1864
2056
  ...theme("spacing"),
@@ -1874,6 +2066,7 @@ var transforms = {
1874
2066
  translateY: {
1875
2067
  shorthand: "y",
1876
2068
  className: "translate-y",
2069
+ group: "Transform",
1877
2070
  values(theme) {
1878
2071
  return {
1879
2072
  ...theme("spacing"),
@@ -1909,6 +2102,7 @@ var transitions = {
1909
2102
  transitionTimingFunction: {
1910
2103
  className: "ease",
1911
2104
  values: "easings",
2105
+ group: "Transition",
1912
2106
  transform(value) {
1913
2107
  return {
1914
2108
  "--transition-easing": value,
@@ -1918,11 +2112,13 @@ var transitions = {
1918
2112
  },
1919
2113
  transitionDelay: {
1920
2114
  className: "delay",
1921
- values: "durations"
2115
+ values: "durations",
2116
+ group: "Transition"
1922
2117
  },
1923
2118
  transitionDuration: {
1924
2119
  className: "duration",
1925
2120
  values: "durations",
2121
+ group: "Transition",
1926
2122
  transform(value) {
1927
2123
  return {
1928
2124
  "--transition-duration": value,
@@ -1932,6 +2128,7 @@ var transitions = {
1932
2128
  },
1933
2129
  transitionProperty: {
1934
2130
  className: "transition-prop",
2131
+ group: "Transition",
1935
2132
  transform(value) {
1936
2133
  return {
1937
2134
  "--transition-prop": value,
@@ -1942,21 +2139,25 @@ var transitions = {
1942
2139
  transition: {
1943
2140
  className: "transition",
1944
2141
  values: Object.keys(transitionMap),
2142
+ group: "Transition",
1945
2143
  transform(value) {
1946
2144
  return transitionMap[value] ?? { transition: value };
1947
2145
  }
1948
2146
  },
1949
2147
  animation: {
1950
2148
  className: "animation",
1951
- values: "animations"
2149
+ values: "animations",
2150
+ group: "Transition"
1952
2151
  },
1953
2152
  animationName: {
1954
2153
  className: "animation-name",
1955
- values: "animationName"
2154
+ values: "animationName",
2155
+ group: "Transition"
1956
2156
  },
1957
2157
  animationDelay: {
1958
2158
  className: "animation-delay",
1959
- values: "durations"
2159
+ values: "durations",
2160
+ group: "Transition"
1960
2161
  }
1961
2162
  };
1962
2163
 
@@ -1965,22 +2166,27 @@ var typography = {
1965
2166
  color: {
1966
2167
  className: "text",
1967
2168
  values: "colors",
2169
+ group: "Color",
1968
2170
  transform: createColorMixTransform("color")
1969
2171
  },
1970
2172
  fontFamily: {
1971
2173
  className: "font",
1972
- values: "fonts"
2174
+ values: "fonts",
2175
+ group: "Typography"
1973
2176
  },
1974
2177
  fontSize: {
1975
2178
  className: "fs",
1976
- values: "fontSizes"
2179
+ values: "fontSizes",
2180
+ group: "Typography"
1977
2181
  },
1978
2182
  fontWeight: {
1979
2183
  className: "font",
1980
- values: "fontWeights"
2184
+ values: "fontWeights",
2185
+ group: "Typography"
1981
2186
  },
1982
2187
  fontSmoothing: {
1983
2188
  className: "smoothing",
2189
+ group: "Typography",
1984
2190
  values: {
1985
2191
  antialiased: "antialiased",
1986
2192
  "subpixel-antialiased": "auto"
@@ -1992,70 +2198,88 @@ var typography = {
1992
2198
  }
1993
2199
  },
1994
2200
  fontVariantNumeric: {
1995
- className: "numeric"
2201
+ className: "numeric",
2202
+ group: "Typography"
1996
2203
  },
1997
2204
  letterSpacing: {
1998
2205
  className: "tracking",
1999
- values: "letterSpacings"
2206
+ values: "letterSpacings",
2207
+ group: "Typography"
2000
2208
  },
2001
2209
  lineHeight: {
2002
2210
  className: "leading",
2003
- values: "lineHeights"
2211
+ values: "lineHeights",
2212
+ group: "Typography"
2004
2213
  },
2005
2214
  textAlign: {
2006
- className: "text"
2215
+ className: "text",
2216
+ group: "Typography"
2007
2217
  },
2008
2218
  textDecoration: {
2009
- className: "text-decor"
2219
+ className: "text-decor",
2220
+ group: "Typography"
2010
2221
  },
2011
2222
  textDecorationColor: {
2012
2223
  className: "text-decor",
2013
2224
  values: "colors",
2014
- transform: createColorMixTransform("textDecorationColor")
2225
+ transform: createColorMixTransform("textDecorationColor"),
2226
+ group: "Typography"
2015
2227
  },
2016
2228
  textEmphasisColor: {
2017
2229
  className: "text-emphasis",
2018
2230
  values: "colors",
2019
- transform: createColorMixTransform("textEmphasisColor")
2231
+ transform: createColorMixTransform("textEmphasisColor"),
2232
+ group: "Typography"
2020
2233
  },
2021
2234
  textDecorationStyle: {
2022
- className: "decoration"
2235
+ className: "decoration",
2236
+ group: "Typography"
2023
2237
  },
2024
2238
  textDecorationThickness: {
2025
- className: "decoration"
2239
+ className: "decoration",
2240
+ group: "Typography"
2026
2241
  },
2027
2242
  textUnderlineOffset: {
2028
- className: "underline-offset"
2243
+ className: "underline-offset",
2244
+ group: "Typography"
2029
2245
  },
2030
2246
  textTransform: {
2031
- className: "text"
2247
+ className: "text",
2248
+ group: "Typography"
2032
2249
  },
2033
2250
  textIndent: {
2034
2251
  className: "indent",
2252
+ group: "Typography",
2035
2253
  values: "spacing"
2036
2254
  },
2037
2255
  textShadow: {
2038
2256
  className: "text-shadow",
2039
- values: "shadows"
2257
+ values: "shadows",
2258
+ group: "Typography"
2040
2259
  },
2041
2260
  textShadowColor: {
2042
2261
  shorthand: "textShadowColor",
2043
2262
  className: "text-shadow",
2044
2263
  values: "colors",
2045
- transform: createColorMixTransform("--text-shadow-color")
2264
+ transform: createColorMixTransform("--text-shadow-color"),
2265
+ group: "Typography"
2046
2266
  },
2047
2267
  textOverflow: {
2048
- className: "text"
2268
+ className: "text",
2269
+ group: "Typography"
2049
2270
  },
2050
2271
  verticalAlign: {
2051
- className: "align"
2272
+ className: "align",
2273
+ group: "Typography"
2052
2274
  },
2053
2275
  wordBreak: {
2054
- className: "break"
2276
+ className: "break",
2277
+ group: "Typography"
2055
2278
  },
2056
2279
  textWrap: {
2057
2280
  className: "text",
2058
2281
  values: ["wrap", "balance", "nowrap"],
2282
+ group: "Typography",
2059
2283
  transform(value) {
2060
2284
  return { textWrap: value };
2061
2285
  }
@@ -2063,6 +2287,7 @@ var typography = {
2063
2287
  truncate: {
2064
2288
  className: "truncate",
2065
2289
  values: { type: "boolean" },
2290
+ group: "Typography",
2066
2291
  transform(value) {
2067
2292
  if (!value)
2068
2293
  return {};
@@ -2075,6 +2300,7 @@ var typography = {
2075
2300
  },
2076
2301
  lineClamp: {
2077
2302
  className: "clamp",
2303
+ group: "Typography",
2078
2304
  transform(value) {
2079
2305
  if (value === "none") {
2080
2306
  return {