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