@pandacss/eslint-plugin 0.1.4 → 0.1.5

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.
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(worker_exports);
38
38
  var import_node2 = require("@pandacss/node");
39
39
  var import_synckit = require("synckit");
40
40
 
41
- // ../node_modules/.pnpm/@pandacss+preset-base@0.31.0/node_modules/@pandacss/preset-base/dist/index.mjs
41
+ // ../node_modules/.pnpm/@pandacss+preset-base@0.39.1/node_modules/@pandacss/preset-base/dist/index.mjs
42
42
  var conditions = {
43
43
  hover: "&:is(:hover, [data-hover])",
44
44
  focus: "&:is(:focus, [data-focus])",
@@ -114,8 +114,8 @@ var conditions = {
114
114
  print: "@media print",
115
115
  landscape: "@media (orientation: landscape)",
116
116
  portrait: "@media (orientation: portrait)",
117
- dark: " &.dark, .dark &",
118
- light: " &.light, .light &",
117
+ dark: ".dark &",
118
+ light: ".light &",
119
119
  osDark: "@media (prefers-color-scheme: dark)",
120
120
  osLight: "@media (prefers-color-scheme: light)",
121
121
  highContrast: "@media (forced-colors: active)",
@@ -127,181 +127,607 @@ var conditions = {
127
127
  scrollbarThumb: "&::-webkit-scrollbar-thumb",
128
128
  scrollbarTrack: "&::-webkit-scrollbar-track",
129
129
  horizontal: "&[data-orientation=horizontal]",
130
- vertical: "&[data-orientation=vertical]"
130
+ vertical: "&[data-orientation=vertical]",
131
+ starting: "@starting-style"
131
132
  };
132
- var createColorMixTransform = (prop) => (value, args) => {
133
- const mix = args.utils.colorMix(value);
134
- if (mix.invalid)
135
- return { [prop]: value };
136
- const cssVar = "--mix-" + prop;
137
- return {
138
- [cssVar]: mix.value,
139
- [prop]: `var(${cssVar}, ${mix.color})`
140
- };
133
+ var EMPTY = "/*-*/ /*-*/";
134
+ var globalCss = {
135
+ "*, ::before, ::after, ::backdrop": {
136
+ "--blur": EMPTY,
137
+ "--brightness": EMPTY,
138
+ "--contrast": EMPTY,
139
+ "--grayscale": EMPTY,
140
+ "--hue-rotate": EMPTY,
141
+ "--invert": EMPTY,
142
+ "--saturate": EMPTY,
143
+ "--sepia": EMPTY,
144
+ "--drop-shadow": EMPTY,
145
+ "--backdrop-blur": EMPTY,
146
+ "--backdrop-brightness": EMPTY,
147
+ "--backdrop-contrast": EMPTY,
148
+ "--backdrop-grayscale": EMPTY,
149
+ "--backdrop-hue-rotate": EMPTY,
150
+ "--backdrop-invert": EMPTY,
151
+ "--backdrop-opacity": EMPTY,
152
+ "--backdrop-saturate": EMPTY,
153
+ "--backdrop-sepia": EMPTY,
154
+ "--gradient-from-position": EMPTY,
155
+ "--gradient-to-position": EMPTY,
156
+ "--gradient-via-position": EMPTY,
157
+ "--scroll-snap-strictness": "proximity",
158
+ "--border-spacing-x": 0,
159
+ "--border-spacing-y": 0,
160
+ "--translate-x": 0,
161
+ "--translate-y": 0,
162
+ "--rotate": 0,
163
+ "--rotate-x": 0,
164
+ "--rotate-y": 0,
165
+ "--skew-x": 0,
166
+ "--skew-y": 0,
167
+ "--scale-x": 1,
168
+ "--scale-y": 1
169
+ }
141
170
  };
142
- var background = {
143
- backgroundPosition: {
144
- shorthand: "bgPosition",
145
- className: "bg"
146
- },
147
- backgroundPositionX: {
148
- shorthand: "bgPositionX",
149
- className: "bg-x"
150
- },
151
- backgroundPositionY: {
152
- shorthand: "bgPositionY",
153
- className: "bg-y"
154
- },
155
- backgroundAttachment: {
156
- shorthand: "bgAttachment",
157
- className: "bg"
158
- },
159
- backgroundClip: {
160
- shorthand: "bgClip",
161
- className: "bg-clip",
162
- transform(value) {
163
- return {
164
- backgroundClip: value,
165
- WebkitBackgroundClip: value
166
- };
167
- }
168
- },
169
- background: {
170
- shorthand: "bg",
171
- className: "bg",
172
- values: "colors",
173
- transform: createColorMixTransform("background")
174
- },
175
- backgroundColor: {
176
- shorthand: "bgColor",
177
- className: "bg",
178
- values: "colors",
179
- transform: createColorMixTransform("backgroundColor")
180
- },
181
- backgroundOrigin: {
182
- shorthand: "bgOrigin",
183
- className: "bg-origin"
171
+ function definePattern(config2) {
172
+ return config2;
173
+ }
174
+ var box = definePattern({
175
+ transform(props) {
176
+ return props;
177
+ }
178
+ });
179
+ var flex = definePattern({
180
+ properties: {
181
+ align: { type: "property", value: "alignItems" },
182
+ justify: { type: "property", value: "justifyContent" },
183
+ direction: { type: "property", value: "flexDirection" },
184
+ wrap: { type: "property", value: "flexWrap" },
185
+ basis: { type: "property", value: "flexBasis" },
186
+ grow: { type: "property", value: "flexGrow" },
187
+ shrink: { type: "property", value: "flexShrink" }
184
188
  },
185
- backgroundImage: {
186
- shorthand: "bgImage",
187
- className: "bg-img",
188
- values: "assets"
189
+ transform(props) {
190
+ const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props;
191
+ return {
192
+ display: "flex",
193
+ flexDirection: direction,
194
+ alignItems: align,
195
+ justifyContent: justify,
196
+ flexWrap: wrap2,
197
+ flexBasis: basis,
198
+ flexGrow: grow,
199
+ flexShrink: shrink,
200
+ ...rest
201
+ };
202
+ }
203
+ });
204
+ var stack = definePattern({
205
+ properties: {
206
+ align: { type: "property", value: "alignItems" },
207
+ justify: { type: "property", value: "justifyContent" },
208
+ direction: { type: "property", value: "flexDirection" },
209
+ gap: { type: "property", value: "gap" }
189
210
  },
190
- backgroundRepeat: {
191
- shorthand: "bgRepeat",
192
- className: "bg-repeat"
211
+ defaultValues: {
212
+ direction: "column",
213
+ gap: "10px"
193
214
  },
194
- backgroundBlendMode: {
195
- shorthand: "bgBlendMode",
196
- className: "bg-blend"
215
+ transform(props) {
216
+ const { align, justify, direction, gap, ...rest } = props;
217
+ return {
218
+ display: "flex",
219
+ flexDirection: direction,
220
+ alignItems: align,
221
+ justifyContent: justify,
222
+ gap,
223
+ ...rest
224
+ };
225
+ }
226
+ });
227
+ var vstack = definePattern({
228
+ jsxName: "VStack",
229
+ properties: {
230
+ justify: { type: "property", value: "justifyContent" },
231
+ gap: { type: "property", value: "gap" }
197
232
  },
198
- backgroundSize: {
199
- shorthand: "bgSize",
200
- className: "bg"
233
+ defaultValues: {
234
+ gap: "10px"
201
235
  },
202
- backgroundGradient: {
203
- shorthand: "bgGradient",
204
- className: "bg-gradient",
205
- values(theme2) {
206
- return {
207
- ...theme2("gradients"),
208
- "to-t": "linear-gradient(to top, var(--gradient))",
209
- "to-tr": "linear-gradient(to top right, var(--gradient))",
210
- "to-r": "linear-gradient(to right, var(--gradient))",
211
- "to-br": "linear-gradient(to bottom right, var(--gradient))",
212
- "to-b": "linear-gradient(to bottom, var(--gradient))",
213
- "to-bl": "linear-gradient(to bottom left, var(--gradient))",
214
- "to-l": "linear-gradient(to left, var(--gradient))",
215
- "to-tl": "linear-gradient(to top left, var(--gradient))"
216
- };
217
- },
218
- transform(value) {
219
- return {
220
- "--gradient-stops": "var(--gradient-from), var(--gradient-to)",
221
- "--gradient": "var(--gradient-via-stops, var(--gradient-stops))",
222
- backgroundImage: value
223
- };
224
- }
236
+ transform(props) {
237
+ const { justify, gap, ...rest } = props;
238
+ return {
239
+ display: "flex",
240
+ alignItems: "center",
241
+ justifyContent: justify,
242
+ gap,
243
+ flexDirection: "column",
244
+ ...rest
245
+ };
246
+ }
247
+ });
248
+ var hstack = definePattern({
249
+ jsxName: "HStack",
250
+ properties: {
251
+ justify: { type: "property", value: "justifyContent" },
252
+ gap: { type: "property", value: "gap" }
225
253
  },
226
- textGradient: {
227
- className: "text-gradient",
228
- values(theme2) {
229
- return {
230
- ...theme2("gradients"),
231
- "to-t": "linear-gradient(to top, var(--gradient))",
232
- "to-tr": "linear-gradient(to top right, var(--gradient))",
233
- "to-r": "linear-gradient(to right, var(--gradient))",
234
- "to-br": "linear-gradient(to bottom right, var(--gradient))",
235
- "to-b": "linear-gradient(to bottom, var(--gradient))",
236
- "to-bl": "linear-gradient(to bottom left, var(--gradient))",
237
- "to-l": "linear-gradient(to left, var(--gradient))",
238
- "to-tl": "linear-gradient(to top left, var(--gradient))"
239
- };
240
- },
241
- transform(value) {
242
- return {
243
- "--gradient-stops": "var(--gradient-from), var(--gradient-to)",
244
- "--gradient": "var(--gradient-via-stops, var(--gradient-stops))",
245
- backgroundImage: value,
246
- WebkitBackgroundClip: "text",
247
- color: "transparent"
248
- };
249
- }
254
+ defaultValues: {
255
+ gap: "10px"
250
256
  },
251
- gradientFrom: {
252
- className: "from",
253
- values: "colors",
254
- transform: createColorMixTransform("--gradient-from")
257
+ transform(props) {
258
+ const { justify, gap, ...rest } = props;
259
+ return {
260
+ display: "flex",
261
+ alignItems: "center",
262
+ justifyContent: justify,
263
+ gap,
264
+ flexDirection: "row",
265
+ ...rest
266
+ };
267
+ }
268
+ });
269
+ var spacer = definePattern({
270
+ properties: {
271
+ size: { type: "token", value: "spacing" }
255
272
  },
256
- gradientTo: {
257
- className: "to",
258
- values: "colors",
259
- transform: createColorMixTransform("--gradient-to")
273
+ transform(props, { map }) {
274
+ const { size, ...rest } = props;
275
+ return {
276
+ alignSelf: "stretch",
277
+ justifySelf: "stretch",
278
+ flex: map(size, (v) => v == null ? "1" : `0 0 ${v}`),
279
+ ...rest
280
+ };
281
+ }
282
+ });
283
+ var circle = definePattern({
284
+ properties: {
285
+ size: { type: "property", value: "width" }
260
286
  },
261
- gradientVia: {
262
- className: "via",
263
- values: "colors",
264
- transform(value, args) {
265
- const transformed = gradientVia(value, args);
266
- return {
267
- ...transformed,
268
- "--gradient-via-stops": "var(--gradient-from), var(--gradient-via), var(--gradient-to)"
269
- };
270
- }
287
+ transform(props) {
288
+ const { size, ...rest } = props;
289
+ return {
290
+ display: "flex",
291
+ alignItems: "center",
292
+ justifyContent: "center",
293
+ flex: "0 0 auto",
294
+ width: size,
295
+ height: size,
296
+ borderRadius: "9999px",
297
+ ...rest
298
+ };
271
299
  }
272
- };
273
- var gradientVia = createColorMixTransform("--gradient-via");
274
- var border = {
275
- borderRadius: {
276
- className: "rounded",
277
- shorthand: "rounded",
278
- values: "radii"
300
+ });
301
+ var square = definePattern({
302
+ properties: {
303
+ size: { type: "property", value: "width" }
279
304
  },
280
- borderTopLeftRadius: {
281
- className: "rounded-tl",
282
- shorthand: "roundedTopLeft",
283
- values: "radii"
305
+ transform(props) {
306
+ const { size, ...rest } = props;
307
+ return {
308
+ display: "flex",
309
+ alignItems: "center",
310
+ justifyContent: "center",
311
+ flex: "0 0 auto",
312
+ width: size,
313
+ height: size,
314
+ ...rest
315
+ };
316
+ }
317
+ });
318
+ var grid = definePattern({
319
+ properties: {
320
+ gap: { type: "property", value: "gap" },
321
+ columnGap: { type: "property", value: "gap" },
322
+ rowGap: { type: "property", value: "gap" },
323
+ columns: { type: "number" },
324
+ minChildWidth: { type: "token", value: "sizes", property: "width" }
284
325
  },
285
- borderTopRightRadius: {
286
- className: "rounded-tr",
287
- shorthand: "roundedTopRight",
288
- values: "radii"
326
+ defaultValues(props) {
327
+ return { gap: props.columnGap || props.rowGap ? void 0 : "10px" };
289
328
  },
290
- borderBottomRightRadius: {
329
+ transform(props, { map, isCssUnit }) {
330
+ const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props;
331
+ const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`;
332
+ return {
333
+ display: "grid",
334
+ gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
335
+ gap,
336
+ columnGap,
337
+ rowGap,
338
+ ...rest
339
+ };
340
+ }
341
+ });
342
+ var gridItem = definePattern({
343
+ properties: {
344
+ colSpan: { type: "number" },
345
+ rowSpan: { type: "number" },
346
+ colStart: { type: "number" },
347
+ rowStart: { type: "number" },
348
+ colEnd: { type: "number" },
349
+ rowEnd: { type: "number" }
350
+ },
351
+ transform(props, { map }) {
352
+ const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props;
353
+ const spanFn = (v) => v === "auto" ? v : `span ${v}`;
354
+ return {
355
+ gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0,
356
+ gridRow: rowSpan != null ? map(rowSpan, spanFn) : void 0,
357
+ gridColumnStart: colStart,
358
+ gridColumnEnd: colEnd,
359
+ gridRowStart: rowStart,
360
+ gridRowEnd: rowEnd,
361
+ ...rest
362
+ };
363
+ }
364
+ });
365
+ var wrap = definePattern({
366
+ properties: {
367
+ gap: { type: "property", value: "gap" },
368
+ rowGap: { type: "property", value: "gap" },
369
+ columnGap: { type: "property", value: "gap" },
370
+ align: { type: "property", value: "alignItems" },
371
+ justify: { type: "property", value: "justifyContent" }
372
+ },
373
+ transform(props) {
374
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props;
375
+ return {
376
+ display: "flex",
377
+ flexWrap: "wrap",
378
+ alignItems: align,
379
+ justifyContent: justify,
380
+ gap,
381
+ columnGap,
382
+ rowGap,
383
+ ...rest
384
+ };
385
+ }
386
+ });
387
+ var container = definePattern({
388
+ transform(props) {
389
+ return {
390
+ position: "relative",
391
+ maxWidth: "8xl",
392
+ mx: "auto",
393
+ px: { base: "4", md: "6", lg: "8" },
394
+ ...props
395
+ };
396
+ }
397
+ });
398
+ var center = definePattern({
399
+ properties: {
400
+ inline: { type: "boolean" }
401
+ },
402
+ transform(props) {
403
+ const { inline, ...rest } = props;
404
+ return {
405
+ display: inline ? "inline-flex" : "flex",
406
+ alignItems: "center",
407
+ justifyContent: "center",
408
+ ...rest
409
+ };
410
+ }
411
+ });
412
+ var aspectRatio = definePattern({
413
+ properties: {
414
+ ratio: { type: "number" }
415
+ },
416
+ blocklist: ["aspectRatio"],
417
+ transform(props, { map }) {
418
+ const { ratio = 4 / 3, ...rest } = props;
419
+ return {
420
+ position: "relative",
421
+ _before: {
422
+ content: `""`,
423
+ display: "block",
424
+ height: "0",
425
+ paddingBottom: map(ratio, (r) => `${1 / r * 100}%`)
426
+ },
427
+ "&>*": {
428
+ display: "flex",
429
+ justifyContent: "center",
430
+ alignItems: "center",
431
+ overflow: "hidden",
432
+ position: "absolute",
433
+ inset: "0",
434
+ width: "100%",
435
+ height: "100%"
436
+ },
437
+ "&>img, &>video": {
438
+ objectFit: "cover"
439
+ },
440
+ ...rest
441
+ };
442
+ }
443
+ });
444
+ var divider = definePattern({
445
+ properties: {
446
+ orientation: { type: "enum", value: ["horizontal", "vertical"] },
447
+ thickness: { type: "token", value: "sizes", property: "borderWidth" },
448
+ color: { type: "token", value: "colors", property: "borderColor" }
449
+ },
450
+ defaultValues: {
451
+ orientation: "horizontal",
452
+ thickness: "1px"
453
+ },
454
+ transform(props, { map }) {
455
+ const { orientation, thickness, color, ...rest } = props;
456
+ return {
457
+ "--thickness": thickness,
458
+ width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
459
+ height: map(orientation, (v) => v === "horizontal" ? void 0 : "100%"),
460
+ borderBlockEndWidth: map(orientation, (v) => v === "horizontal" ? "var(--thickness)" : void 0),
461
+ borderInlineEndWidth: map(orientation, (v) => v === "vertical" ? "var(--thickness)" : void 0),
462
+ borderColor: color,
463
+ ...rest
464
+ };
465
+ }
466
+ });
467
+ var linkOverlay = definePattern({
468
+ jsxElement: "a",
469
+ transform(props) {
470
+ return {
471
+ _before: {
472
+ content: '""',
473
+ position: "absolute",
474
+ inset: "0",
475
+ zIndex: "0",
476
+ ...props["_before"]
477
+ },
478
+ ...props
479
+ };
480
+ }
481
+ });
482
+ var float = definePattern({
483
+ properties: {
484
+ offsetX: { type: "token", value: "spacing", property: "left" },
485
+ offsetY: { type: "token", value: "spacing", property: "top" },
486
+ offset: { type: "token", value: "spacing", property: "top" },
487
+ placement: {
488
+ type: "enum",
489
+ value: [
490
+ "bottom-end",
491
+ "bottom-start",
492
+ "top-end",
493
+ "top-start",
494
+ "bottom-center",
495
+ "top-center",
496
+ "middle-center",
497
+ "middle-end",
498
+ "middle-start"
499
+ ]
500
+ }
501
+ },
502
+ defaultValues(props) {
503
+ const offset = props.offset || "0";
504
+ return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
505
+ },
506
+ transform(props, { map }) {
507
+ const { offset, offsetX, offsetY, placement, ...rest } = props;
508
+ return {
509
+ display: "inline-flex",
510
+ justifyContent: "center",
511
+ alignItems: "center",
512
+ position: "absolute",
513
+ insetBlockStart: map(placement, (v) => {
514
+ const [side] = v.split("-");
515
+ const map2 = { top: offsetY, middle: "50%", bottom: "auto" };
516
+ return map2[side];
517
+ }),
518
+ insetBlockEnd: map(placement, (v) => {
519
+ const [side] = v.split("-");
520
+ const map2 = { top: "auto", middle: "50%", bottom: offsetY };
521
+ return map2[side];
522
+ }),
523
+ insetInlineStart: map(placement, (v) => {
524
+ const [, align] = v.split("-");
525
+ const map2 = { start: offsetX, center: "50%", end: "auto" };
526
+ return map2[align];
527
+ }),
528
+ insetInlineEnd: map(placement, (v) => {
529
+ const [, align] = v.split("-");
530
+ const map2 = { start: "auto", center: "50%", end: offsetX };
531
+ return map2[align];
532
+ }),
533
+ translate: map(placement, (v) => {
534
+ const [side, align] = v.split("-");
535
+ const mapX = { start: "-50%", center: "-50%", end: "50%" };
536
+ const mapY = { top: "-50%", middle: "-50%", bottom: "50%" };
537
+ return `${mapX[align]} ${mapY[side]}`;
538
+ }),
539
+ ...rest
540
+ };
541
+ }
542
+ });
543
+ var bleed = definePattern({
544
+ properties: {
545
+ inline: { type: "property", value: "marginInline" },
546
+ block: { type: "property", value: "marginBlock" }
547
+ },
548
+ defaultValues: {
549
+ inline: "0",
550
+ block: "0"
551
+ },
552
+ transform(props, { map, isCssUnit, isCssVar }) {
553
+ const { inline, block, ...rest } = props;
554
+ const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`;
555
+ return {
556
+ "--bleed-x": map(inline, valueFn),
557
+ "--bleed-y": map(block, valueFn),
558
+ marginInline: "calc(var(--bleed-x, 0) * -1)",
559
+ marginBlock: "calc(var(--bleed-y, 0) * -1)",
560
+ ...rest
561
+ };
562
+ }
563
+ });
564
+ var visuallyHidden = definePattern({
565
+ transform(props) {
566
+ return {
567
+ srOnly: true,
568
+ ...props
569
+ };
570
+ }
571
+ });
572
+ var cq = definePattern({
573
+ properties: {
574
+ name: { type: "token", value: "containerNames", property: "containerName" },
575
+ type: { type: "property", value: "containerType" }
576
+ },
577
+ defaultValues: {
578
+ type: "inline-size"
579
+ },
580
+ transform(props) {
581
+ const { name, type, ...rest } = props;
582
+ return {
583
+ containerType: type,
584
+ containerName: name,
585
+ ...rest
586
+ };
587
+ }
588
+ });
589
+ var patterns = {
590
+ box,
591
+ flex,
592
+ stack,
593
+ vstack,
594
+ hstack,
595
+ spacer,
596
+ square,
597
+ circle,
598
+ center,
599
+ linkOverlay,
600
+ aspectRatio,
601
+ grid,
602
+ gridItem,
603
+ wrap,
604
+ container,
605
+ divider,
606
+ float,
607
+ bleed,
608
+ visuallyHidden,
609
+ cq
610
+ };
611
+ var createColorMixTransform = (prop) => (value, args) => {
612
+ const mix = args.utils.colorMix(value);
613
+ if (mix.invalid)
614
+ return { [prop]: value };
615
+ const cssVar = "--mix-" + prop;
616
+ return {
617
+ [cssVar]: mix.value,
618
+ [prop]: `var(${cssVar}, ${mix.color})`
619
+ };
620
+ };
621
+ var background = {
622
+ backgroundPosition: {
623
+ shorthand: "bgPosition",
624
+ className: "bg-pos",
625
+ group: "Background"
626
+ },
627
+ backgroundPositionX: {
628
+ shorthand: "bgPositionX",
629
+ className: "bg-pos-x",
630
+ group: "Background"
631
+ },
632
+ backgroundPositionY: {
633
+ shorthand: "bgPositionY",
634
+ className: "bg-pos-y",
635
+ group: "Background"
636
+ },
637
+ backgroundAttachment: {
638
+ shorthand: "bgAttachment",
639
+ className: "bg-attach",
640
+ group: "Background"
641
+ },
642
+ backgroundClip: {
643
+ shorthand: "bgClip",
644
+ className: "bg-clip",
645
+ group: "Background",
646
+ transform(value) {
647
+ return {
648
+ backgroundClip: value,
649
+ WebkitBackgroundClip: value
650
+ };
651
+ }
652
+ },
653
+ background: {
654
+ shorthand: "bg",
655
+ className: "bg",
656
+ values: "colors",
657
+ group: "Background",
658
+ transform: createColorMixTransform("background")
659
+ },
660
+ backgroundColor: {
661
+ shorthand: "bgColor",
662
+ className: "bg",
663
+ values: "colors",
664
+ group: "Background",
665
+ transform: createColorMixTransform("backgroundColor")
666
+ },
667
+ backgroundOrigin: {
668
+ shorthand: "bgOrigin",
669
+ className: "bg-origin",
670
+ group: "Background"
671
+ },
672
+ backgroundImage: {
673
+ shorthand: "bgImage",
674
+ className: "bg-img",
675
+ values: "assets",
676
+ group: "Background"
677
+ },
678
+ backgroundRepeat: {
679
+ shorthand: "bgRepeat",
680
+ className: "bg-repeat",
681
+ group: "Background"
682
+ },
683
+ backgroundBlendMode: {
684
+ shorthand: "bgBlendMode",
685
+ className: "bg-blend",
686
+ group: "Background"
687
+ },
688
+ backgroundSize: {
689
+ shorthand: "bgSize",
690
+ className: "bg-size",
691
+ group: "Background"
692
+ }
693
+ };
694
+ var border = {
695
+ borderRadius: {
696
+ className: "rounded",
697
+ shorthand: "rounded",
698
+ values: "radii",
699
+ group: "Border Radius"
700
+ },
701
+ borderTopLeftRadius: {
702
+ className: "rounded-tl",
703
+ shorthand: "roundedTopLeft",
704
+ values: "radii",
705
+ group: "Border Radius"
706
+ },
707
+ borderTopRightRadius: {
708
+ className: "rounded-tr",
709
+ shorthand: "roundedTopRight",
710
+ values: "radii",
711
+ group: "Border Radius"
712
+ },
713
+ borderBottomRightRadius: {
291
714
  className: "rounded-br",
292
715
  shorthand: "roundedBottomRight",
293
- values: "radii"
716
+ values: "radii",
717
+ group: "Border Radius"
294
718
  },
295
719
  borderBottomLeftRadius: {
296
720
  className: "rounded-bl",
297
721
  shorthand: "roundedBottomLeft",
298
- values: "radii"
722
+ values: "radii",
723
+ group: "Border Radius"
299
724
  },
300
725
  borderTopRadius: {
301
726
  className: "rounded-t",
302
727
  shorthand: "roundedTop",
303
728
  property: "borderRadius",
304
729
  values: "radii",
730
+ group: "Border Radius",
305
731
  transform(value) {
306
732
  return {
307
733
  borderTopLeftRadius: value,
@@ -314,6 +740,7 @@ var border = {
314
740
  shorthand: "roundedRight",
315
741
  property: "borderRadius",
316
742
  values: "radii",
743
+ group: "Border Radius",
317
744
  transform(value) {
318
745
  return {
319
746
  borderTopRightRadius: value,
@@ -326,6 +753,7 @@ var border = {
326
753
  shorthand: "roundedBottom",
327
754
  property: "borderRadius",
328
755
  values: "radii",
756
+ group: "Border Radius",
329
757
  transform(value) {
330
758
  return {
331
759
  borderBottomLeftRadius: value,
@@ -338,6 +766,7 @@ var border = {
338
766
  shorthand: "roundedLeft",
339
767
  values: "radii",
340
768
  property: "borderRadius",
769
+ group: "Border Radius",
341
770
  transform(value) {
342
771
  return {
343
772
  borderTopLeftRadius: value,
@@ -348,18 +777,21 @@ var border = {
348
777
  borderStartStartRadius: {
349
778
  className: "rounded-ss",
350
779
  shorthand: "roundedStartStart",
351
- values: "radii"
780
+ values: "radii",
781
+ group: "Border Radius"
352
782
  },
353
783
  borderStartEndRadius: {
354
784
  className: "rounded-se",
355
785
  shorthand: "roundedStartEnd",
356
- values: "radii"
786
+ values: "radii",
787
+ group: "Border Radius"
357
788
  },
358
789
  borderStartRadius: {
359
790
  className: "rounded-s",
360
791
  values: "radii",
361
792
  property: "borderRadius",
362
793
  shorthand: "roundedStart",
794
+ group: "Border Radius",
363
795
  transform(value) {
364
796
  return {
365
797
  borderStartStartRadius: value,
@@ -370,18 +802,21 @@ var border = {
370
802
  borderEndStartRadius: {
371
803
  className: "rounded-es",
372
804
  shorthand: "roundedEndStart",
373
- values: "radii"
805
+ values: "radii",
806
+ group: "Border Radius"
374
807
  },
375
808
  borderEndEndRadius: {
376
809
  className: "rounded-ee",
377
810
  shorthand: "roundedEndEnd",
378
- values: "radii"
811
+ values: "radii",
812
+ group: "Border Radius"
379
813
  },
380
814
  borderEndRadius: {
381
815
  className: "rounded-e",
382
816
  shorthand: "roundedEnd",
383
817
  property: "borderRadius",
384
818
  values: "radii",
819
+ group: "Border Radius",
385
820
  transform(value) {
386
821
  return {
387
822
  borderStartEndRadius: value,
@@ -391,172 +826,208 @@ var border = {
391
826
  },
392
827
  border: {
393
828
  className: "border",
394
- values: "borders"
829
+ values: "borders",
830
+ group: "Border"
395
831
  },
396
832
  borderWidth: {
397
833
  className: "border-w",
398
- values: "borderWidths"
834
+ values: "borderWidths",
835
+ group: "Border Radius"
399
836
  },
400
837
  borderTopWidth: {
401
838
  className: "border-tw",
402
- values: "borderWidths"
839
+ values: "borderWidths",
840
+ group: "Border"
403
841
  },
404
842
  borderLeftWidth: {
405
843
  className: "border-lw",
406
- values: "borderWidths"
844
+ values: "borderWidths",
845
+ group: "Border"
407
846
  },
408
847
  borderRightWidth: {
409
848
  className: "border-rw",
410
- values: "borderWidths"
849
+ values: "borderWidths",
850
+ group: "Border"
411
851
  },
412
852
  borderBottomWidth: {
413
853
  className: "border-bw",
414
- values: "borderWidths"
854
+ values: "borderWidths",
855
+ group: "Border"
415
856
  },
416
857
  borderColor: {
417
858
  className: "border",
418
859
  values: "colors",
860
+ group: "Border",
419
861
  transform: createColorMixTransform("borderColor")
420
862
  },
421
863
  borderInline: {
422
864
  className: "border-x",
423
865
  values: "borders",
866
+ group: "Border",
424
867
  shorthand: "borderX"
425
868
  },
426
869
  borderInlineWidth: {
427
870
  className: "border-x",
428
871
  values: "borderWidths",
872
+ group: "Border",
429
873
  shorthand: "borderXWidth"
430
874
  },
431
875
  borderInlineColor: {
432
876
  className: "border-x",
433
877
  values: "colors",
878
+ group: "Border",
434
879
  shorthand: "borderXColor",
435
880
  transform: createColorMixTransform("borderInlineColor")
436
881
  },
437
882
  borderBlock: {
438
883
  className: "border-y",
439
884
  values: "borders",
885
+ group: "Border",
440
886
  shorthand: "borderY"
441
887
  },
442
888
  borderBlockWidth: {
443
889
  className: "border-y",
444
890
  values: "borderWidths",
891
+ group: "Border",
445
892
  shorthand: "borderYWidth"
446
893
  },
447
894
  borderBlockColor: {
448
895
  className: "border-y",
449
896
  values: "colors",
897
+ group: "Border",
450
898
  shorthand: "borderYColor",
451
899
  transform: createColorMixTransform("borderBlockColor")
452
900
  },
453
901
  borderLeft: {
454
902
  className: "border-l",
455
- values: "borders"
903
+ values: "borders",
904
+ group: "Border"
456
905
  },
457
906
  borderLeftColor: {
458
907
  className: "border-l",
459
908
  values: "colors",
909
+ group: "Border",
460
910
  transform: createColorMixTransform("borderLeftColor")
461
911
  },
462
912
  borderInlineStart: {
463
913
  className: "border-s",
464
914
  values: "borders",
915
+ group: "Border",
465
916
  shorthand: "borderStart"
466
917
  },
467
918
  borderInlineStartWidth: {
468
919
  className: "border-s",
469
920
  values: "borderWidths",
921
+ group: "Border",
470
922
  shorthand: "borderStartWidth"
471
923
  },
472
924
  borderInlineStartColor: {
473
925
  className: "border-s",
474
926
  values: "colors",
927
+ group: "Border",
475
928
  shorthand: "borderStartColor",
476
929
  transform: createColorMixTransform("borderInlineStartColor")
477
930
  },
478
931
  borderRight: {
479
932
  className: "border-r",
480
- values: "borders"
933
+ values: "borders",
934
+ group: "Border"
481
935
  },
482
936
  borderRightColor: {
483
937
  className: "border-r",
484
938
  values: "colors",
939
+ group: "Border",
485
940
  transform: createColorMixTransform("borderRightColor")
486
941
  },
487
942
  borderInlineEnd: {
488
943
  className: "border-e",
489
944
  values: "borders",
945
+ group: "Border",
490
946
  shorthand: "borderEnd"
491
947
  },
492
948
  borderInlineEndWidth: {
493
949
  className: "border-e",
494
950
  values: "borderWidths",
951
+ group: "Border",
495
952
  shorthand: "borderEndWidth"
496
953
  },
497
954
  borderInlineEndColor: {
498
955
  className: "border-e",
499
956
  values: "colors",
957
+ group: "Border",
500
958
  shorthand: "borderEndColor",
501
959
  transform: createColorMixTransform("borderInlineEndColor")
502
960
  },
503
961
  borderTop: {
504
962
  className: "border-t",
505
- values: "borders"
963
+ values: "borders",
964
+ group: "Border"
506
965
  },
507
966
  borderTopColor: {
508
967
  className: "border-t",
509
968
  values: "colors",
969
+ group: "Border",
510
970
  transform: createColorMixTransform("borderTopColor")
511
971
  },
512
972
  borderBottom: {
513
973
  className: "border-b",
514
- values: "borders"
974
+ values: "borders",
975
+ group: "Border"
515
976
  },
516
977
  borderBottomColor: {
517
978
  className: "border-b",
518
979
  values: "colors",
980
+ group: "Border",
519
981
  transform: createColorMixTransform("borderBottomColor")
520
982
  },
521
983
  borderBlockEnd: {
522
984
  className: "border-be",
523
- values: "borders"
985
+ values: "borders",
986
+ group: "Border"
524
987
  },
525
988
  borderBlockEndColor: {
526
989
  className: "border-be",
527
990
  values: "colors",
991
+ group: "Border",
528
992
  transform: createColorMixTransform("borderBlockEndColor")
529
993
  },
530
994
  borderBlockStart: {
531
995
  className: "border-bs",
532
- values: "borders"
996
+ values: "borders",
997
+ group: "Border"
533
998
  },
534
999
  borderBlockStartColor: {
535
1000
  className: "border-bs",
536
1001
  values: "colors",
1002
+ group: "Border",
537
1003
  transform: createColorMixTransform("borderBlockStartColor")
538
1004
  }
539
1005
  };
540
- var container = {
1006
+ var container2 = {
541
1007
  container: {
542
- className: "cq"
1008
+ className: "cq",
1009
+ group: "Container"
543
1010
  },
544
1011
  containerName: {
545
1012
  className: "cq-name",
546
1013
  property: "containerName",
547
- values: "containerNames"
1014
+ values: "containerNames",
1015
+ group: "Container"
548
1016
  },
549
1017
  containerType: {
550
- className: "cq-type"
1018
+ className: "cq-type",
1019
+ group: "Container"
551
1020
  }
552
1021
  };
553
1022
  var display = {
554
1023
  display: {
555
- className: "d"
1024
+ className: "d",
1025
+ group: "Display"
556
1026
  },
557
1027
  hideFrom: {
558
1028
  className: "hide",
559
1029
  values: "breakpoints",
1030
+ group: "Display",
560
1031
  transform(value, { raw, token }) {
561
1032
  const bp = token.raw(`breakpoints.${raw}`);
562
1033
  const media = bp ? `@breakpoint ${raw}` : `@media screen and (min-width: ${value})`;
@@ -570,1985 +1041,1874 @@ var display = {
570
1041
  hideBelow: {
571
1042
  className: "show",
572
1043
  values: "breakpoints",
1044
+ group: "Display",
573
1045
  transform(value, { raw, token }) {
574
1046
  const bp = token.raw(`breakpoints.${raw}`);
575
1047
  const media = bp ? `@breakpoint ${raw}Down` : `@media screen and (max-width: ${value})`;
576
1048
  return {
577
1049
  [media]: {
578
1050
  display: "none"
579
- }
580
- };
581
- }
582
- }
583
- };
584
- var divide = {
585
- divideX: {
586
- className: "divide-x",
587
- values: { type: "string" },
588
- transform(value) {
589
- return {
590
- "& > :not([hidden]) ~ :not([hidden])": {
591
- borderInlineStartWidth: value,
592
- borderInlineEndWidth: "0px"
593
- }
594
- };
595
- }
596
- },
597
- divideY: {
598
- className: "divide-y",
599
- values: { type: "string" },
600
- transform(value) {
601
- return {
602
- "& > :not([hidden]) ~ :not([hidden])": {
603
- borderTopWidth: value,
604
- borderBottomWidth: "0px"
605
- }
606
- };
607
- }
608
- },
609
- divideColor: {
610
- className: "divide",
611
- values: "colors",
612
- transform(value, args) {
613
- return {
614
- "& > :not([hidden]) ~ :not([hidden])": divideColor(value, args)
615
- };
616
- }
617
- },
618
- divideStyle: {
619
- className: "divide",
620
- property: "borderStyle",
621
- transform(value) {
622
- return {
623
- "& > :not([hidden]) ~ :not([hidden])": {
624
- borderStyle: value
625
- }
626
- };
627
- }
628
- }
629
- };
630
- var divideColor = createColorMixTransform("borderColor");
631
- var effects = {
632
- opacity: {
633
- values: "opacity"
634
- },
635
- boxShadow: {
636
- shorthand: "shadow",
637
- className: "shadow",
638
- values: "shadows"
639
- },
640
- boxShadowColor: {
641
- shorthand: "shadowColor",
642
- className: "shadow",
643
- values: "colors",
644
- transform: createColorMixTransform("--shadow-color")
645
- },
646
- mixBlendMode: {
647
- className: "mix-blend"
648
- },
649
- filter: {
650
- className: "filter",
651
- values: {
652
- auto: [
653
- "var(--blur)",
654
- "var(--brightness)",
655
- "var(--contrast)",
656
- "var(--grayscale)",
657
- "var(--hue-rotate)",
658
- "var(--invert)",
659
- "var(--saturate)",
660
- "var(--sepia)",
661
- "var(--drop-shadow)"
662
- ].join(" ")
663
- }
664
- },
665
- brightness: {
666
- className: "brightness",
667
- transform(value) {
668
- return {
669
- "--brightness": `brightness(${value})`
670
- };
671
- }
672
- },
673
- contrast: {
674
- className: "contrast",
675
- transform(value) {
676
- return {
677
- "--contrast": `contrast(${value})`
678
- };
679
- }
680
- },
681
- grayscale: {
682
- className: "grayscale",
683
- transform(value) {
684
- return {
685
- "--grayscale": `grayscale(${value})`
686
- };
687
- }
688
- },
689
- hueRotate: {
690
- className: "hue-rotate",
691
- transform(value) {
692
- return {
693
- "--hue-rotate": `hue-rotate(${value})`
694
- };
695
- }
696
- },
697
- invert: {
698
- className: "invert",
699
- transform(value) {
700
- return {
701
- "--invert": `invert(${value})`
702
- };
703
- }
704
- },
705
- saturate: {
706
- className: "saturate",
707
- transform(value) {
708
- return {
709
- "--saturate": `saturate(${value})`
710
- };
711
- }
712
- },
713
- sepia: {
714
- className: "sepia",
715
- transform(value) {
716
- return {
717
- "--sepia": `sepia(${value})`
718
- };
719
- }
720
- },
721
- dropShadow: {
722
- className: "drop-shadow",
723
- values: "dropShadows",
724
- transform(value) {
725
- return {
726
- "--drop-shadow": value
727
- };
728
- }
729
- },
730
- blur: {
731
- className: "blur",
732
- values: "blurs",
733
- transform(value) {
734
- return {
735
- "--blur": `blur(${value})`
736
- };
737
- }
738
- },
739
- backdropFilter: {
740
- className: "backdrop",
741
- values: {
742
- auto: [
743
- "var(--backdrop-blur)",
744
- "var(--backdrop-brightness)",
745
- "var(--backdrop-contrast)",
746
- "var(--backdrop-grayscale)",
747
- "var(--backdrop-hue-rotate)",
748
- "var(--backdrop-invert)",
749
- "var(--backdrop-saturate)",
750
- "var(--backdrop-sepia)"
751
- ].join(" ")
752
- },
753
- transform(value) {
754
- return {
755
- backdropFilter: value,
756
- WebkitBackdropFilter: value
757
- };
758
- }
759
- },
760
- backdropBlur: {
761
- className: "backdrop-blur",
762
- values: "blurs",
763
- transform(value) {
764
- return {
765
- "--backdrop-blur": `blur(${value})`
766
- };
767
- }
768
- },
769
- backdropBrightness: {
770
- className: "backdrop-brightness",
771
- transform(value) {
772
- return {
773
- "--backdrop-brightness": `brightness(${value})`
774
- };
775
- }
776
- },
777
- backdropContrast: {
778
- className: "backdrop-contrast",
779
- transform(value) {
780
- return {
781
- "--backdrop-contrast": `contrast(${value})`
782
- };
783
- }
784
- },
785
- backdropGrayscale: {
786
- className: "backdrop-grayscale",
787
- transform(value) {
788
- return {
789
- "--backdrop-grayscale": `grayscale(${value})`
790
- };
791
- }
792
- },
793
- backdropHueRotate: {
794
- className: "backdrop-hue-rotate",
795
- transform(value) {
796
- return {
797
- "--backdrop-hue-rotate": `hue-rotate(${value})`
1051
+ }
798
1052
  };
799
1053
  }
800
- },
801
- backdropInvert: {
802
- className: "backdrop-invert",
1054
+ }
1055
+ };
1056
+ var divideColor = createColorMixTransform("borderColor");
1057
+ var divide = {
1058
+ divideX: {
1059
+ className: "divide-x",
1060
+ values: "borderWidths",
1061
+ group: "Border",
803
1062
  transform(value) {
804
1063
  return {
805
- "--backdrop-invert": `invert(${value})`
1064
+ "& > :not([hidden]) ~ :not([hidden])": {
1065
+ borderInlineStartWidth: value,
1066
+ borderInlineEndWidth: "0px"
1067
+ }
806
1068
  };
807
1069
  }
808
1070
  },
809
- backdropOpacity: {
810
- className: "backdrop-opacity",
1071
+ divideY: {
1072
+ className: "divide-y",
1073
+ values: "borderWidths",
1074
+ group: "Border",
811
1075
  transform(value) {
812
1076
  return {
813
- "--backdrop-opacity": value
1077
+ "& > :not([hidden]) ~ :not([hidden])": {
1078
+ borderTopWidth: value,
1079
+ borderBottomWidth: "0px"
1080
+ }
814
1081
  };
815
1082
  }
816
1083
  },
817
- backdropSaturate: {
818
- className: "backdrop-saturate",
819
- transform(value) {
1084
+ divideColor: {
1085
+ className: "divide-color",
1086
+ values: "colors",
1087
+ group: "Border",
1088
+ transform(value, args) {
820
1089
  return {
821
- "--backdrop-saturate": `saturate(${value})`
1090
+ "& > :not([hidden]) ~ :not([hidden])": divideColor(value, args)
822
1091
  };
823
1092
  }
824
1093
  },
825
- backdropSepia: {
826
- className: "backdrop-sepia",
1094
+ divideStyle: {
1095
+ className: "divide-style",
1096
+ property: "borderStyle",
1097
+ group: "Border",
827
1098
  transform(value) {
828
1099
  return {
829
- "--backdrop-sepia": `sepia(${value})`
1100
+ "& > :not([hidden]) ~ :not([hidden])": {
1101
+ borderStyle: value
1102
+ }
830
1103
  };
831
1104
  }
832
1105
  }
833
1106
  };
834
- var flexGrid = {
835
- flexBasis: {
836
- className: "basis",
837
- values(theme2) {
838
- return {
839
- ...theme2("spacing"),
840
- "1/2": "50%",
841
- "1/3": "33.333333%",
842
- "2/3": "66.666667%",
843
- "1/4": "25%",
844
- "2/4": "50%",
845
- "3/4": "75%",
846
- "1/5": "20%",
847
- "2/5": "40%",
848
- "3/5": "60%",
849
- "4/5": "80%",
850
- "1/6": "16.666667%",
851
- "2/6": "33.333333%",
852
- "3/6": "50%",
853
- "4/6": "66.666667%",
854
- "5/6": "83.333333%",
855
- "1/12": "8.333333%",
856
- "2/12": "16.666667%",
857
- "3/12": "25%",
858
- "4/12": "33.333333%",
859
- "5/12": "41.666667%",
860
- "6/12": "50%",
861
- "7/12": "58.333333%",
862
- "8/12": "66.666667%",
863
- "9/12": "75%",
864
- "10/12": "83.333333%",
865
- "11/12": "91.666667%",
866
- full: "100%"
867
- };
868
- }
869
- },
870
- flex: {
871
- className: "flex",
872
- values: {
873
- "1": "1 1 0%",
874
- auto: "1 1 auto",
875
- initial: "0 1 auto",
876
- none: "none"
877
- }
878
- },
879
- flexDirection: {
880
- className: "flex",
881
- shorthand: "flexDir"
882
- },
883
- flexGrow: {
884
- className: "grow"
885
- },
886
- flexShrink: {
887
- className: "shrink"
888
- },
889
- gridTemplateColumns: {
890
- className: "grid-cols",
891
- values: {
892
- "1": "repeat(1, minmax(0, 1fr))",
893
- "2": "repeat(2, minmax(0, 1fr))",
894
- "3": "repeat(3, minmax(0, 1fr))",
895
- "4": "repeat(4, minmax(0, 1fr))",
896
- "5": "repeat(5, minmax(0, 1fr))",
897
- "6": "repeat(6, minmax(0, 1fr))",
898
- "7": "repeat(7, minmax(0, 1fr))",
899
- "8": "repeat(8, minmax(0, 1fr))",
900
- "9": "repeat(9, minmax(0, 1fr))",
901
- "10": "repeat(10, minmax(0, 1fr))",
902
- "11": "repeat(11, minmax(0, 1fr))",
903
- "12": "repeat(12, minmax(0, 1fr))"
904
- }
905
- },
906
- gridTemplateRows: {
907
- className: "grid-rows",
908
- values: {
909
- "1": "repeat(1, minmax(0, 1fr))",
910
- "2": "repeat(2, minmax(0, 1fr))",
911
- "3": "repeat(3, minmax(0, 1fr))",
912
- "4": "repeat(4, minmax(0, 1fr))",
913
- "5": "repeat(5, minmax(0, 1fr))",
914
- "6": "repeat(6, minmax(0, 1fr))",
915
- "7": "repeat(7, minmax(0, 1fr))",
916
- "8": "repeat(8, minmax(0, 1fr))",
917
- "9": "repeat(9, minmax(0, 1fr))",
918
- "10": "repeat(10, minmax(0, 1fr))",
919
- "11": "repeat(11, minmax(0, 1fr))",
920
- "12": "repeat(12, minmax(0, 1fr))"
921
- }
922
- },
923
- gridColumn: {
924
- className: "col-span",
925
- values: {
926
- full: "1 / -1",
927
- "1": "span 1 / span 1",
928
- "2": "span 2 / span 2",
929
- "3": "span 3 / span 3",
930
- "4": "span 4 / span 4",
931
- "5": "span 5 / span 5",
932
- "6": "span 6 / span 6",
933
- "7": "span 7 / span 7",
934
- "8": "span 8 / span 8",
935
- "9": "span 9 / span 9",
936
- "10": "span 10 / span 10",
937
- "11": "span 11 / span 11",
938
- "12": "span 12 / span 12"
939
- }
940
- },
941
- gridRow: {
942
- className: "row-span",
943
- values: {
944
- full: "1 / -1",
945
- "1": "span 1 / span 1",
946
- "2": "span 2 / span 2",
947
- "3": "span 3 / span 3",
948
- "4": "span 4 / span 4",
949
- "5": "span 5 / span 5",
950
- "6": "span 6 / span 6",
951
- "7": "span 7 / span 7",
952
- "8": "span 8 / span 8",
953
- "9": "span 9 / span 9",
954
- "10": "span 10 / span 10",
955
- "11": "span 11 / span 11",
956
- "12": "span 12 / span 12"
957
- }
958
- },
959
- gridColumnStart: {
960
- className: "col-start"
1107
+ var effects = {
1108
+ opacity: {
1109
+ values: "opacity",
1110
+ group: "Background"
961
1111
  },
962
- gridColumnEnd: {
963
- className: "col-end"
1112
+ boxShadow: {
1113
+ shorthand: "shadow",
1114
+ className: "shadow",
1115
+ values: "shadows",
1116
+ group: "Shadow"
964
1117
  },
965
- gridAutoFlow: {
966
- className: "grid-flow"
1118
+ boxShadowColor: {
1119
+ shorthand: "shadowColor",
1120
+ className: "shadow-color",
1121
+ values: "colors",
1122
+ transform: createColorMixTransform("--shadow-color"),
1123
+ group: "Color"
967
1124
  },
968
- gridAutoColumns: {
969
- className: "auto-cols",
970
- values: {
971
- min: "min-content",
972
- max: "max-content",
973
- fr: "minmax(0, 1fr)"
974
- }
1125
+ mixBlendMode: {
1126
+ className: "mix-blend",
1127
+ group: "Effect"
975
1128
  },
976
- gridAutoRows: {
977
- className: "auto-rows",
1129
+ filter: {
1130
+ className: "filter",
1131
+ group: "Effect",
978
1132
  values: {
979
- min: "min-content",
980
- max: "max-content",
981
- fr: "minmax(0, 1fr)"
1133
+ auto: "var(--blur, ) var(--brightness, ) var(--contrast, ) var(--grayscale, ) var(--hue-rotate, ) var(--invert, ) var(--saturate, ) var(--sepia, ) var(--drop-shadow, )"
982
1134
  }
983
1135
  },
984
- gap: {
985
- className: "gap",
986
- values: "spacing"
987
- },
988
- gridGap: {
989
- className: "gap",
990
- values: "spacing"
991
- },
992
- gridRowGap: {
993
- className: "gap-x",
994
- values: "spacing"
995
- },
996
- gridColumnGap: {
997
- className: "gap-y",
998
- values: "spacing"
999
- },
1000
- rowGap: {
1001
- className: "gap-x",
1002
- values: "spacing"
1003
- },
1004
- columnGap: {
1005
- className: "gap-y",
1006
- values: "spacing"
1007
- },
1008
- justifyContent: {
1009
- className: "justify"
1010
- },
1011
- alignContent: {
1012
- className: "content"
1013
- },
1014
- alignItems: {
1015
- className: "items"
1016
- },
1017
- alignSelf: {
1018
- className: "self"
1019
- }
1020
- };
1021
- var srMapping = {
1022
- true: {
1023
- position: "absolute",
1024
- width: "1px",
1025
- height: "1px",
1026
- padding: "0",
1027
- margin: "-1px",
1028
- overflow: "hidden",
1029
- clip: "rect(0, 0, 0, 0)",
1030
- whiteSpace: "nowrap",
1031
- borderWidth: "0"
1032
- },
1033
- false: {
1034
- position: "static",
1035
- width: "auto",
1036
- height: "auto",
1037
- padding: "0",
1038
- margin: "0",
1039
- overflow: "visible",
1040
- clip: "auto",
1041
- whiteSpace: "normal"
1042
- }
1043
- };
1044
- var helpers = {
1045
- srOnly: {
1046
- className: "sr",
1047
- values: { type: "boolean" },
1136
+ brightness: {
1137
+ className: "brightness",
1138
+ group: "Effect",
1048
1139
  transform(value) {
1049
- return srMapping[value] || {};
1140
+ return {
1141
+ "--brightness": `brightness(${value})`
1142
+ };
1050
1143
  }
1051
1144
  },
1052
- debug: {
1053
- className: "debug",
1054
- values: { type: "boolean" },
1145
+ contrast: {
1146
+ className: "contrast",
1147
+ group: "Effect",
1055
1148
  transform(value) {
1056
- if (!value)
1057
- return {};
1058
1149
  return {
1059
- outline: "1px solid blue !important",
1060
- "&>*": {
1061
- outline: "1px solid red !important"
1062
- }
1150
+ "--contrast": `contrast(${value})`
1063
1151
  };
1064
1152
  }
1065
- }
1066
- };
1067
- var interactivity = {
1068
- accentColor: {
1069
- className: "accent",
1070
- values: "colors",
1071
- transform: createColorMixTransform("accentColor")
1072
- },
1073
- caretColor: {
1074
- className: "caret",
1075
- values: "colors",
1076
- transform: createColorMixTransform("caretColor")
1077
1153
  },
1078
- scrollBehavior: {
1079
- className: "scroll"
1080
- },
1081
- scrollbar: {
1082
- className: "scrollbar",
1083
- values: ["visible", "hidden"],
1154
+ grayscale: {
1155
+ className: "grayscale",
1156
+ group: "Effect",
1084
1157
  transform(value) {
1085
- if (value === "visible") {
1086
- return {
1087
- msOverflowStyle: "auto",
1088
- scrollbarWidth: "auto",
1089
- "&::-webkit-scrollbar": {
1090
- display: "block"
1091
- }
1092
- };
1093
- }
1094
- if (value === "hidden") {
1095
- return {
1096
- msOverflowStyle: "none",
1097
- scrollbarWidth: "none",
1098
- "&::-webkit-scrollbar": {
1099
- display: "none"
1100
- }
1101
- };
1102
- }
1158
+ return {
1159
+ "--grayscale": `grayscale(${value})`
1160
+ };
1103
1161
  }
1104
1162
  },
1105
- scrollMargin: {
1106
- className: "scroll-m",
1107
- values: "spacing"
1108
- },
1109
- scrollMarginX: {
1110
- className: "scroll-mx",
1111
- values: "spacing",
1112
- property: "scrollMarginInline",
1163
+ hueRotate: {
1164
+ className: "hue-rotate",
1165
+ group: "Effect",
1113
1166
  transform(value) {
1114
1167
  return {
1115
- scrollMarginInline: value
1168
+ "--hue-rotate": `hue-rotate(${value})`
1116
1169
  };
1117
1170
  }
1118
1171
  },
1119
- scrollMarginY: {
1120
- className: "scroll-my",
1121
- values: "spacing",
1122
- property: "scrollMarginBlock",
1172
+ invert: {
1173
+ className: "invert",
1174
+ group: "Effect",
1123
1175
  transform(value) {
1124
1176
  return {
1125
- scrollMarginBlock: value
1177
+ "--invert": `invert(${value})`
1126
1178
  };
1127
1179
  }
1128
1180
  },
1129
- scrollMarginLeft: {
1130
- className: "scroll-ml",
1131
- values: "spacing"
1132
- },
1133
- scrollMarginRight: {
1134
- className: "scroll-mr",
1135
- values: "spacing"
1136
- },
1137
- scrollMarginTop: {
1138
- className: "scroll-mt",
1139
- values: "spacing"
1140
- },
1141
- scrollMarginBottom: {
1142
- className: "scroll-mb",
1143
- values: "spacing"
1144
- },
1145
- scrollMarginBlock: {
1146
- className: "scroll-my",
1147
- values: "spacing"
1148
- },
1149
- scrollMarginBlockEnd: {
1150
- className: "scroll-mb",
1151
- values: "spacing"
1181
+ saturate: {
1182
+ className: "saturate",
1183
+ group: "Effect",
1184
+ transform(value) {
1185
+ return {
1186
+ "--saturate": `saturate(${value})`
1187
+ };
1188
+ }
1152
1189
  },
1153
- scrollMarginBlockStart: {
1154
- className: "scroll-mt",
1155
- values: "spacing"
1190
+ sepia: {
1191
+ className: "sepia",
1192
+ group: "Effect",
1193
+ transform(value) {
1194
+ return {
1195
+ "--sepia": `sepia(${value})`
1196
+ };
1197
+ }
1156
1198
  },
1157
- scrollMarginInline: {
1158
- className: "scroll-mx",
1159
- values: "spacing"
1199
+ dropShadow: {
1200
+ className: "drop-shadow",
1201
+ group: "Effect",
1202
+ values: "dropShadows",
1203
+ transform(value) {
1204
+ return {
1205
+ "--drop-shadow": value
1206
+ };
1207
+ }
1160
1208
  },
1161
- scrollMarginInlineEnd: {
1162
- className: "scroll-me",
1163
- values: "spacing"
1209
+ blur: {
1210
+ className: "blur",
1211
+ group: "Effect",
1212
+ values: "blurs",
1213
+ transform(value) {
1214
+ return {
1215
+ "--blur": `blur(${value})`
1216
+ };
1217
+ }
1164
1218
  },
1165
- scrollMarginInlineStart: {
1166
- className: "scroll-ms",
1167
- values: "spacing"
1219
+ backdropFilter: {
1220
+ className: "backdrop",
1221
+ group: "Effect",
1222
+ values: {
1223
+ auto: "var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, )"
1224
+ },
1225
+ transform(value) {
1226
+ return {
1227
+ backdropFilter: value,
1228
+ WebkitBackdropFilter: value
1229
+ };
1230
+ }
1168
1231
  },
1169
- scrollPadding: {
1170
- className: "scroll-p",
1171
- values: "spacing"
1232
+ backdropBlur: {
1233
+ className: "backdrop-blur",
1234
+ group: "Effect",
1235
+ values: "blurs",
1236
+ transform(value) {
1237
+ return {
1238
+ "--backdrop-blur": `blur(${value})`
1239
+ };
1240
+ }
1172
1241
  },
1173
- scrollPaddingBlock: {
1174
- className: "scroll-pb",
1175
- values: "spacing"
1242
+ backdropBrightness: {
1243
+ className: "backdrop-brightness",
1244
+ group: "Effect",
1245
+ transform(value) {
1246
+ return {
1247
+ "--backdrop-brightness": `brightness(${value})`
1248
+ };
1249
+ }
1176
1250
  },
1177
- scrollPaddingBlockStart: {
1178
- className: "scroll-pt",
1179
- values: "spacing"
1251
+ backdropContrast: {
1252
+ className: "backdrop-contrast",
1253
+ group: "Effect",
1254
+ transform(value) {
1255
+ return {
1256
+ "--backdrop-contrast": `contrast(${value})`
1257
+ };
1258
+ }
1180
1259
  },
1181
- scrollPaddingBlockEnd: {
1182
- className: "scroll-pb",
1183
- values: "spacing"
1260
+ backdropGrayscale: {
1261
+ className: "backdrop-grayscale",
1262
+ group: "Effect",
1263
+ transform(value) {
1264
+ return {
1265
+ "--backdrop-grayscale": `grayscale(${value})`
1266
+ };
1267
+ }
1184
1268
  },
1185
- scrollPaddingInline: {
1186
- className: "scroll-px",
1187
- values: "spacing"
1269
+ backdropHueRotate: {
1270
+ className: "backdrop-hue-rotate",
1271
+ group: "Effect",
1272
+ transform(value) {
1273
+ return {
1274
+ "--backdrop-hue-rotate": `hue-rotate(${value})`
1275
+ };
1276
+ }
1188
1277
  },
1189
- scrollPaddingInlineEnd: {
1190
- className: "scroll-pe",
1191
- values: "spacing"
1278
+ backdropInvert: {
1279
+ className: "backdrop-invert",
1280
+ group: "Effect",
1281
+ transform(value) {
1282
+ return {
1283
+ "--backdrop-invert": `invert(${value})`
1284
+ };
1285
+ }
1192
1286
  },
1193
- scrollPaddingInlineStart: {
1194
- className: "scroll-ps",
1195
- values: "spacing"
1287
+ backdropOpacity: {
1288
+ className: "backdrop-opacity",
1289
+ group: "Effect",
1290
+ transform(value) {
1291
+ return {
1292
+ "--backdrop-opacity": value
1293
+ };
1294
+ }
1196
1295
  },
1197
- scrollPaddingX: {
1198
- className: "scroll-px",
1199
- values: "spacing",
1200
- property: "scrollPaddingInline",
1296
+ backdropSaturate: {
1297
+ className: "backdrop-saturate",
1298
+ group: "Effect",
1201
1299
  transform(value) {
1202
1300
  return {
1203
- scrollPaddingInline: value
1301
+ "--backdrop-saturate": `saturate(${value})`
1204
1302
  };
1205
1303
  }
1206
1304
  },
1207
- scrollPaddingY: {
1208
- className: "scroll-py",
1209
- values: "spacing",
1210
- property: "scrollPaddingBlock",
1305
+ backdropSepia: {
1306
+ className: "backdrop-sepia",
1307
+ group: "Effect",
1211
1308
  transform(value) {
1212
1309
  return {
1213
- scrollPaddingBlock: value
1310
+ "--backdrop-sepia": `sepia(${value})`
1311
+ };
1312
+ }
1313
+ }
1314
+ };
1315
+ var flexGrid = {
1316
+ flexBasis: {
1317
+ className: "basis",
1318
+ group: "Flex Layout",
1319
+ values(theme2) {
1320
+ return {
1321
+ ...theme2("spacing"),
1322
+ "1/2": "50%",
1323
+ "1/3": "33.333333%",
1324
+ "2/3": "66.666667%",
1325
+ "1/4": "25%",
1326
+ "2/4": "50%",
1327
+ "3/4": "75%",
1328
+ "1/5": "20%",
1329
+ "2/5": "40%",
1330
+ "3/5": "60%",
1331
+ "4/5": "80%",
1332
+ "1/6": "16.666667%",
1333
+ "2/6": "33.333333%",
1334
+ "3/6": "50%",
1335
+ "4/6": "66.666667%",
1336
+ "5/6": "83.333333%",
1337
+ "1/12": "8.333333%",
1338
+ "2/12": "16.666667%",
1339
+ "3/12": "25%",
1340
+ "4/12": "33.333333%",
1341
+ "5/12": "41.666667%",
1342
+ "6/12": "50%",
1343
+ "7/12": "58.333333%",
1344
+ "8/12": "66.666667%",
1345
+ "9/12": "75%",
1346
+ "10/12": "83.333333%",
1347
+ "11/12": "91.666667%",
1348
+ full: "100%"
1214
1349
  };
1215
1350
  }
1216
1351
  },
1217
- scrollPaddingLeft: {
1218
- className: "scroll-pl",
1219
- values: "spacing"
1220
- },
1221
- scrollPaddingRight: {
1222
- className: "scroll-pr",
1223
- values: "spacing"
1224
- },
1225
- scrollPaddingTop: {
1226
- className: "scroll-pt",
1227
- values: "spacing"
1352
+ flex: {
1353
+ className: "flex",
1354
+ group: "Flex Layout",
1355
+ values: {
1356
+ "1": "1 1 0%",
1357
+ auto: "1 1 auto",
1358
+ initial: "0 1 auto",
1359
+ none: "none"
1360
+ }
1228
1361
  },
1229
- scrollPaddingBottom: {
1230
- className: "scroll-pb",
1231
- values: "spacing"
1362
+ flexDirection: {
1363
+ className: "flex",
1364
+ group: "Flex Layout",
1365
+ shorthand: "flexDir"
1232
1366
  },
1233
- scrollSnapAlign: {
1234
- className: "snap"
1367
+ flexGrow: {
1368
+ className: "grow",
1369
+ group: "Flex Layout"
1235
1370
  },
1236
- scrollSnapStop: {
1237
- className: "snap"
1371
+ flexShrink: {
1372
+ className: "shrink",
1373
+ group: "Flex Layout"
1238
1374
  },
1239
- scrollSnapType: {
1240
- className: "snap",
1375
+ gridTemplateColumns: {
1376
+ className: "grid-cols",
1377
+ group: "Grid Layout",
1241
1378
  values: {
1242
- none: "none",
1243
- x: "x var(--scroll-snap-strictness)",
1244
- y: "y var(--scroll-snap-strictness)",
1245
- both: "both var(--scroll-snap-strictness)"
1379
+ "1": "repeat(1, minmax(0, 1fr))",
1380
+ "2": "repeat(2, minmax(0, 1fr))",
1381
+ "3": "repeat(3, minmax(0, 1fr))",
1382
+ "4": "repeat(4, minmax(0, 1fr))",
1383
+ "5": "repeat(5, minmax(0, 1fr))",
1384
+ "6": "repeat(6, minmax(0, 1fr))",
1385
+ "7": "repeat(7, minmax(0, 1fr))",
1386
+ "8": "repeat(8, minmax(0, 1fr))",
1387
+ "9": "repeat(9, minmax(0, 1fr))",
1388
+ "10": "repeat(10, minmax(0, 1fr))",
1389
+ "11": "repeat(11, minmax(0, 1fr))",
1390
+ "12": "repeat(12, minmax(0, 1fr))"
1246
1391
  }
1247
1392
  },
1248
- scrollSnapStrictness: {
1249
- className: "strictness",
1250
- values: ["mandatory", "proximity"],
1251
- transform(value) {
1252
- return {
1253
- "--scroll-snap-strictness": value
1254
- };
1393
+ gridTemplateRows: {
1394
+ className: "grid-rows",
1395
+ group: "Grid Layout",
1396
+ values: {
1397
+ "1": "repeat(1, minmax(0, 1fr))",
1398
+ "2": "repeat(2, minmax(0, 1fr))",
1399
+ "3": "repeat(3, minmax(0, 1fr))",
1400
+ "4": "repeat(4, minmax(0, 1fr))",
1401
+ "5": "repeat(5, minmax(0, 1fr))",
1402
+ "6": "repeat(6, minmax(0, 1fr))",
1403
+ "7": "repeat(7, minmax(0, 1fr))",
1404
+ "8": "repeat(8, minmax(0, 1fr))",
1405
+ "9": "repeat(9, minmax(0, 1fr))",
1406
+ "10": "repeat(10, minmax(0, 1fr))",
1407
+ "11": "repeat(11, minmax(0, 1fr))",
1408
+ "12": "repeat(12, minmax(0, 1fr))"
1255
1409
  }
1256
1410
  },
1257
- scrollSnapMargin: {
1258
- className: "snap-m",
1259
- values: "spacing"
1260
- },
1261
- scrollSnapMarginTop: {
1262
- className: "snap-mt",
1263
- values: "spacing"
1264
- },
1265
- scrollSnapMarginBottom: {
1266
- className: "snap-mb",
1267
- values: "spacing"
1268
- },
1269
- scrollSnapMarginLeft: {
1270
- className: "snap-ml",
1271
- values: "spacing"
1272
- },
1273
- scrollSnapMarginRight: {
1274
- className: "snap-mr",
1275
- values: "spacing"
1276
- },
1277
- touchAction: {
1278
- className: "touch"
1279
- },
1280
- userSelect: {
1281
- className: "select",
1282
- transform(value) {
1283
- return {
1284
- WebkitUserSelect: value,
1285
- userSelect: value
1286
- };
1411
+ gridColumn: {
1412
+ className: "col-span",
1413
+ group: "Grid Layout",
1414
+ values: {
1415
+ full: "1 / -1",
1416
+ "1": "span 1 / span 1",
1417
+ "2": "span 2 / span 2",
1418
+ "3": "span 3 / span 3",
1419
+ "4": "span 4 / span 4",
1420
+ "5": "span 5 / span 5",
1421
+ "6": "span 6 / span 6",
1422
+ "7": "span 7 / span 7",
1423
+ "8": "span 8 / span 8",
1424
+ "9": "span 9 / span 9",
1425
+ "10": "span 10 / span 10",
1426
+ "11": "span 11 / span 11",
1427
+ "12": "span 12 / span 12"
1287
1428
  }
1288
- }
1289
- };
1290
- var layout = {
1291
- aspectRatio: {
1292
- className: "aspect",
1293
- values: "aspectRatios"
1294
1429
  },
1295
- boxDecorationBreak: {
1296
- className: "decoration",
1297
- transform(value) {
1298
- return {
1299
- boxDecorationBreak: value,
1300
- WebkitBoxDecorationBreak: value
1301
- };
1430
+ gridRow: {
1431
+ className: "row-span",
1432
+ group: "Grid Layout",
1433
+ values: {
1434
+ full: "1 / -1",
1435
+ "1": "span 1 / span 1",
1436
+ "2": "span 2 / span 2",
1437
+ "3": "span 3 / span 3",
1438
+ "4": "span 4 / span 4",
1439
+ "5": "span 5 / span 5",
1440
+ "6": "span 6 / span 6",
1441
+ "7": "span 7 / span 7",
1442
+ "8": "span 8 / span 8",
1443
+ "9": "span 9 / span 9",
1444
+ "10": "span 10 / span 10",
1445
+ "11": "span 11 / span 11",
1446
+ "12": "span 12 / span 12"
1302
1447
  }
1303
1448
  },
1304
- zIndex: {
1305
- className: "z",
1306
- values: "zIndex"
1307
- },
1308
- boxSizing: {
1309
- className: "box"
1310
- },
1311
- objectPosition: {
1312
- className: "object"
1313
- },
1314
- objectFit: {
1315
- className: "object"
1449
+ gridColumnStart: {
1450
+ className: "col-start",
1451
+ group: "Grid Layout"
1316
1452
  },
1317
- overscrollBehavior: {
1318
- className: "overscroll"
1453
+ gridColumnEnd: {
1454
+ className: "col-end",
1455
+ group: "Grid Layout"
1319
1456
  },
1320
- overscrollBehaviorX: {
1321
- className: "overscroll-x"
1457
+ gridAutoFlow: {
1458
+ className: "grid-flow",
1459
+ group: "Grid Layout"
1322
1460
  },
1323
- overscrollBehaviorY: {
1324
- className: "overscroll-y"
1461
+ gridAutoColumns: {
1462
+ className: "auto-cols",
1463
+ group: "Grid Layout",
1464
+ values: {
1465
+ min: "min-content",
1466
+ max: "max-content",
1467
+ fr: "minmax(0, 1fr)"
1468
+ }
1325
1469
  },
1326
- position: {
1327
- className: "pos",
1328
- shorthand: "pos"
1470
+ gridAutoRows: {
1471
+ className: "auto-rows",
1472
+ group: "Grid Layout",
1473
+ values: {
1474
+ min: "min-content",
1475
+ max: "max-content",
1476
+ fr: "minmax(0, 1fr)"
1477
+ }
1329
1478
  },
1330
- top: {
1331
- className: "top",
1479
+ gap: {
1480
+ className: "gap",
1481
+ group: "Flex Layout",
1332
1482
  values: "spacing"
1333
1483
  },
1334
- left: {
1335
- className: "left",
1484
+ gridGap: {
1485
+ className: "gap",
1486
+ group: "Grid Layout",
1336
1487
  values: "spacing"
1337
1488
  },
1338
- insetInline: {
1339
- className: "inset-x",
1489
+ gridRowGap: {
1490
+ className: "gap-x",
1491
+ group: "Grid Layout",
1340
1492
  values: "spacing"
1341
1493
  },
1342
- insetBlock: {
1343
- className: "inset-y",
1494
+ gridColumnGap: {
1495
+ className: "gap-y",
1496
+ group: "Grid Layout",
1344
1497
  values: "spacing"
1345
1498
  },
1346
- inset: {
1347
- className: "inset",
1348
- values: (theme2) => ({
1349
- auto: "auto",
1350
- ...theme2("spacing")
1351
- })
1352
- },
1353
- insetBlockEnd: {
1354
- className: "inset-b",
1499
+ rowGap: {
1500
+ className: "gap-x",
1501
+ group: "Grid Layout",
1355
1502
  values: "spacing"
1356
1503
  },
1357
- insetBlockStart: {
1358
- className: "inset-t",
1504
+ columnGap: {
1505
+ className: "gap-y",
1506
+ group: "Grid Layout",
1359
1507
  values: "spacing"
1360
1508
  },
1361
- insetInlineEnd: {
1362
- className: "end",
1363
- values: "spacing",
1364
- shorthand: ["insetEnd", "end"]
1365
- },
1366
- insetInlineStart: {
1367
- className: "start",
1368
- values: "spacing",
1369
- shorthand: ["insetStart", "start"]
1509
+ justifyContent: {
1510
+ className: "justify",
1511
+ group: "Flex Layout"
1370
1512
  },
1371
- right: {
1372
- className: "right",
1373
- values: "spacing"
1513
+ alignContent: {
1514
+ className: "content",
1515
+ group: "Flex Layout"
1374
1516
  },
1375
- bottom: {
1376
- className: "bottom",
1377
- values: "spacing"
1517
+ alignItems: {
1518
+ className: "items",
1519
+ group: "Flex Layout"
1378
1520
  },
1379
- insetX: {
1380
- className: "inset-x",
1381
- values: "spacing",
1382
- property: "insetInline",
1521
+ alignSelf: {
1522
+ className: "self",
1523
+ group: "Flex Layout"
1524
+ }
1525
+ };
1526
+ var gradientVia = createColorMixTransform("--gradient-via");
1527
+ var gradientTemplate = {
1528
+ "to-t": "linear-gradient(to top, var(--gradient))",
1529
+ "to-tr": "linear-gradient(to top right, var(--gradient))",
1530
+ "to-r": "linear-gradient(to right, var(--gradient))",
1531
+ "to-br": "linear-gradient(to bottom right, var(--gradient))",
1532
+ "to-b": "linear-gradient(to bottom, var(--gradient))",
1533
+ "to-bl": "linear-gradient(to bottom left, var(--gradient))",
1534
+ "to-l": "linear-gradient(to left, var(--gradient))",
1535
+ "to-tl": "linear-gradient(to top left, var(--gradient))"
1536
+ };
1537
+ var gradientVars = {
1538
+ "--gradient-stops": "var(--gradient-via-stops, var(--gradient-from) var(--gradient-from-position), var(--gradient-to) var(--gradient-to-position))",
1539
+ "--gradient": "var(--gradient-via-stops, var(--gradient-stops))"
1540
+ };
1541
+ var backgroundGradients = {
1542
+ backgroundGradient: {
1543
+ shorthand: "bgGradient",
1544
+ className: "bg-gradient",
1545
+ group: "Background Gradient",
1546
+ values(theme2) {
1547
+ return {
1548
+ ...theme2("gradients"),
1549
+ ...gradientTemplate
1550
+ };
1551
+ },
1383
1552
  transform(value) {
1384
1553
  return {
1385
- insetInline: value
1554
+ ...gradientVars,
1555
+ backgroundImage: value
1386
1556
  };
1387
1557
  }
1388
1558
  },
1389
- insetY: {
1390
- className: "inset-y",
1391
- values: "spacing",
1392
- property: "insetBlock",
1559
+ textGradient: {
1560
+ className: "text-gradient",
1561
+ group: "Background Gradient",
1562
+ values(theme2) {
1563
+ return {
1564
+ ...theme2("gradients"),
1565
+ ...gradientTemplate
1566
+ };
1567
+ },
1568
+ transform(value) {
1569
+ return {
1570
+ ...gradientVars,
1571
+ backgroundImage: value,
1572
+ WebkitBackgroundClip: "text",
1573
+ color: "transparent"
1574
+ };
1575
+ }
1576
+ },
1577
+ gradientFromPosition: {
1578
+ className: "gradient-from-pos",
1579
+ group: "Background Gradient",
1393
1580
  transform(value) {
1394
1581
  return {
1395
- insetBlock: value
1582
+ "--gradient-from-position": value
1396
1583
  };
1397
1584
  }
1398
1585
  },
1399
- float: {
1400
- className: "float",
1401
- values: ["left", "right", "start", "end"],
1586
+ gradientToPosition: {
1587
+ className: "gradient-to-pos",
1588
+ group: "Background Gradient",
1402
1589
  transform(value) {
1403
- if (value === "start") {
1404
- return {
1405
- float: "left",
1406
- '[dir="rtl"] &': {
1407
- float: "right"
1408
- }
1409
- };
1410
- }
1411
- if (value === "end") {
1412
- return {
1413
- float: "right",
1414
- '[dir="rtl"] &': {
1415
- float: "left"
1416
- }
1417
- };
1418
- }
1419
1590
  return {
1420
- float: value
1591
+ "--gradient-to-position": value
1421
1592
  };
1422
1593
  }
1423
1594
  },
1424
- visibility: {
1425
- className: "vis"
1426
- }
1427
- };
1428
- var list = {
1429
- listStyleType: {
1430
- className: "list"
1431
- },
1432
- listStylePosition: {
1433
- className: "list"
1595
+ gradientFrom: {
1596
+ className: "gradient-from",
1597
+ values: "colors",
1598
+ group: "Background Gradient",
1599
+ transform: createColorMixTransform("--gradient-from")
1434
1600
  },
1435
- listStyleImage: {
1436
- className: "list-img",
1437
- values: "assets"
1438
- }
1439
- };
1440
- var outline = {
1441
- outlineWidth: {
1442
- className: "ring",
1443
- shorthand: "ringWidth",
1444
- values: "borderWidths"
1601
+ gradientTo: {
1602
+ className: "gradient-to",
1603
+ values: "colors",
1604
+ group: "Background Gradient",
1605
+ transform: createColorMixTransform("--gradient-to")
1445
1606
  },
1446
- outlineColor: {
1447
- className: "ring",
1607
+ gradientVia: {
1608
+ className: "gradient-via",
1448
1609
  values: "colors",
1449
- shorthand: "ringColor",
1450
- transform: createColorMixTransform("outlineColor")
1610
+ group: "Background Gradient",
1611
+ transform(value, args) {
1612
+ const transformed = gradientVia(value, args);
1613
+ return {
1614
+ ...transformed,
1615
+ "--gradient-stops": "var(--gradient-from) var(--gradient-from-position), var(--gradient-via) var(--gradient-via-position), var(--gradient-to) var(--gradient-to-position)"
1616
+ };
1617
+ }
1451
1618
  },
1452
- outline: {
1453
- className: "ring",
1454
- shorthand: "ring",
1455
- values: "borders",
1619
+ gradientViaPosition: {
1620
+ className: "gradient-via-pos",
1621
+ group: "Background Gradient",
1456
1622
  transform(value) {
1457
- if (value === "none") {
1458
- return { outline: "2px solid transparent", outlineOffset: "2px" };
1459
- }
1460
- return { outline: value };
1623
+ return {
1624
+ "--gradient-via-position": value
1625
+ };
1461
1626
  }
1627
+ }
1628
+ };
1629
+ var srMapping = {
1630
+ true: {
1631
+ position: "absolute",
1632
+ width: "1px",
1633
+ height: "1px",
1634
+ padding: "0",
1635
+ margin: "-1px",
1636
+ overflow: "hidden",
1637
+ clip: "rect(0, 0, 0, 0)",
1638
+ whiteSpace: "nowrap",
1639
+ borderWidth: "0"
1462
1640
  },
1463
- outlineOffset: {
1464
- className: "ring",
1465
- shorthand: "ringOffset",
1466
- values: "spacing"
1641
+ false: {
1642
+ position: "static",
1643
+ width: "auto",
1644
+ height: "auto",
1645
+ padding: "0",
1646
+ margin: "0",
1647
+ overflow: "visible",
1648
+ clip: "auto",
1649
+ whiteSpace: "normal"
1467
1650
  }
1468
1651
  };
1469
- var polyfill = {
1470
- appearance: {
1471
- className: "appearance",
1652
+ var helpers = {
1653
+ srOnly: {
1654
+ className: "sr",
1655
+ values: { type: "boolean" },
1656
+ group: "Other",
1472
1657
  transform(value) {
1473
- return { appearance: value, WebkitAppearance: value };
1658
+ return srMapping[value] || {};
1474
1659
  }
1475
1660
  },
1476
- backfaceVisibility: {
1477
- className: "backface",
1661
+ debug: {
1662
+ className: "debug",
1663
+ values: { type: "boolean" },
1664
+ group: "Other",
1478
1665
  transform(value) {
1479
- return { backfaceVisibility: value, WebkitBackfaceVisibility: value };
1666
+ if (!value)
1667
+ return {};
1668
+ return {
1669
+ outline: "1px solid blue !important",
1670
+ "&>*": {
1671
+ outline: "1px solid red !important"
1672
+ }
1673
+ };
1480
1674
  }
1675
+ }
1676
+ };
1677
+ var interactivity = {
1678
+ accentColor: {
1679
+ className: "accent",
1680
+ values: "colors",
1681
+ transform: createColorMixTransform("accentColor"),
1682
+ group: "Color"
1481
1683
  },
1482
- clipPath: {
1483
- className: "clip-path",
1484
- transform(value) {
1485
- return { clipPath: value, WebkitClipPath: value };
1486
- }
1684
+ caretColor: {
1685
+ className: "caret",
1686
+ values: "colors",
1687
+ group: "Color",
1688
+ transform: createColorMixTransform("caretColor")
1487
1689
  },
1488
- hyphens: {
1489
- className: "hyphens",
1490
- transform(value) {
1491
- return { hyphens: value, WebkitHyphens: value };
1492
- }
1690
+ scrollBehavior: {
1691
+ className: "scroll",
1692
+ group: "Scroll"
1493
1693
  },
1494
- mask: {
1495
- className: "mask",
1694
+ scrollbar: {
1695
+ className: "scrollbar",
1696
+ values: ["visible", "hidden"],
1697
+ group: "Scroll",
1496
1698
  transform(value) {
1497
- return { mask: value, WebkitMask: value };
1699
+ if (value === "visible") {
1700
+ return {
1701
+ msOverflowStyle: "auto",
1702
+ scrollbarWidth: "auto",
1703
+ "&::-webkit-scrollbar": {
1704
+ display: "block"
1705
+ }
1706
+ };
1707
+ }
1708
+ if (value === "hidden") {
1709
+ return {
1710
+ msOverflowStyle: "none",
1711
+ scrollbarWidth: "none",
1712
+ "&::-webkit-scrollbar": {
1713
+ display: "none"
1714
+ }
1715
+ };
1716
+ }
1498
1717
  }
1499
1718
  },
1500
- maskImage: {
1501
- className: "mask-image",
1502
- transform(value) {
1503
- return { maskImage: value, WebkitMaskImage: value };
1504
- }
1719
+ scrollMargin: {
1720
+ className: "scroll-m",
1721
+ values: "spacing",
1722
+ group: "Scroll"
1505
1723
  },
1506
- maskSize: {
1507
- className: "mask-size",
1508
- transform(value) {
1509
- return { maskSize: value, WebkitMaskSize: value };
1510
- }
1724
+ scrollMarginLeft: {
1725
+ className: "scroll-ml",
1726
+ values: "spacing",
1727
+ group: "Scroll"
1511
1728
  },
1512
- textSizeAdjust: {
1513
- className: "text-size-adjust",
1514
- transform(value) {
1515
- return { textSizeAdjust: value, WebkitTextSizeAdjust: value };
1516
- }
1517
- }
1518
- };
1519
- var widthValues = (theme2) => ({
1520
- auto: "auto",
1521
- ...theme2("sizes"),
1522
- "1/2": "50%",
1523
- "1/3": "33.333333%",
1524
- "2/3": "66.666667%",
1525
- "1/4": "25%",
1526
- "2/4": "50%",
1527
- "3/4": "75%",
1528
- "1/5": "20%",
1529
- "2/5": "40%",
1530
- "3/5": "60%",
1531
- "4/5": "80%",
1532
- "1/6": "16.666667%",
1533
- "2/6": "33.333333%",
1534
- "3/6": "50%",
1535
- "4/6": "66.666667%",
1536
- "5/6": "83.333333%",
1537
- "1/12": "8.333333%",
1538
- "2/12": "16.666667%",
1539
- "3/12": "25%",
1540
- "4/12": "33.333333%",
1541
- "5/12": "41.666667%",
1542
- "6/12": "50%",
1543
- "7/12": "58.333333%",
1544
- "8/12": "66.666667%",
1545
- "9/12": "75%",
1546
- "10/12": "83.333333%",
1547
- "11/12": "91.666667%",
1548
- screen: "100vw"
1549
- });
1550
- var heightValues = (theme2) => ({
1551
- auto: "auto",
1552
- ...theme2("sizes"),
1553
- svh: "100svh",
1554
- lvh: "100lvh",
1555
- dvh: "100dvh",
1556
- screen: "100vh",
1557
- "1/2": "50%",
1558
- "1/3": "33.333333%",
1559
- "2/3": "66.666667%",
1560
- "1/4": "25%",
1561
- "2/4": "50%",
1562
- "3/4": "75%",
1563
- "1/5": "20%",
1564
- "2/5": "40%",
1565
- "3/5": "60%",
1566
- "4/5": "80%",
1567
- "1/6": "16.666667%",
1568
- "2/6": "33.333333%",
1569
- "3/6": "50%",
1570
- "4/6": "66.666667%",
1571
- "5/6": "83.333333%"
1572
- });
1573
- var sizing = {
1574
- width: {
1575
- shorthand: "w",
1576
- className: "w",
1577
- values: widthValues
1729
+ scrollMarginRight: {
1730
+ className: "scroll-mr",
1731
+ values: "spacing",
1732
+ group: "Scroll"
1733
+ },
1734
+ scrollMarginTop: {
1735
+ className: "scroll-mt",
1736
+ values: "spacing",
1737
+ group: "Scroll"
1738
+ },
1739
+ scrollMarginBottom: {
1740
+ className: "scroll-mb",
1741
+ values: "spacing",
1742
+ group: "Scroll"
1743
+ },
1744
+ scrollMarginBlock: {
1745
+ className: "scroll-my",
1746
+ values: "spacing",
1747
+ group: "Scroll",
1748
+ shorthand: ["scrollMarginY"]
1749
+ },
1750
+ scrollMarginBlockEnd: {
1751
+ className: "scroll-mb",
1752
+ values: "spacing",
1753
+ group: "Scroll"
1578
1754
  },
1579
- inlineSize: {
1580
- className: "w",
1581
- values: widthValues
1755
+ scrollMarginBlockStart: {
1756
+ className: "scroll-mt",
1757
+ values: "spacing",
1758
+ group: "Scroll"
1582
1759
  },
1583
- minWidth: {
1584
- shorthand: "minW",
1585
- className: "min-w",
1586
- values: widthValues
1760
+ scrollMarginInline: {
1761
+ className: "scroll-mx",
1762
+ values: "spacing",
1763
+ group: "Scroll",
1764
+ shorthand: ["scrollMarginX"]
1587
1765
  },
1588
- minInlineSize: {
1589
- className: "min-w",
1590
- values: widthValues
1766
+ scrollMarginInlineEnd: {
1767
+ className: "scroll-me",
1768
+ values: "spacing",
1769
+ group: "Scroll"
1591
1770
  },
1592
- maxWidth: {
1593
- shorthand: "maxW",
1594
- className: "max-w",
1595
- values: widthValues
1771
+ scrollMarginInlineStart: {
1772
+ className: "scroll-ms",
1773
+ values: "spacing",
1774
+ group: "Scroll"
1596
1775
  },
1597
- maxInlineSize: {
1598
- className: "max-w",
1599
- values: widthValues
1776
+ scrollPadding: {
1777
+ className: "scroll-p",
1778
+ values: "spacing",
1779
+ group: "Scroll"
1600
1780
  },
1601
- height: {
1602
- shorthand: "h",
1603
- className: "h",
1604
- values: heightValues
1781
+ scrollPaddingBlock: {
1782
+ className: "scroll-pb",
1783
+ values: "spacing",
1784
+ group: "Scroll",
1785
+ shorthand: ["scrollPaddingY"]
1605
1786
  },
1606
- blockSize: {
1607
- className: "h",
1608
- values: heightValues
1787
+ scrollPaddingBlockStart: {
1788
+ className: "scroll-pt",
1789
+ values: "spacing",
1790
+ group: "Scroll"
1609
1791
  },
1610
- minHeight: {
1611
- shorthand: "minH",
1612
- className: "min-h",
1613
- values: heightValues
1792
+ scrollPaddingBlockEnd: {
1793
+ className: "scroll-pb",
1794
+ values: "spacing",
1795
+ group: "Scroll"
1614
1796
  },
1615
- minBlockSize: {
1616
- className: "min-h",
1617
- values: heightValues
1797
+ scrollPaddingInline: {
1798
+ className: "scroll-px",
1799
+ values: "spacing",
1800
+ group: "Scroll",
1801
+ shorthand: ["scrollPaddingX"]
1618
1802
  },
1619
- maxHeight: {
1620
- shorthand: "maxH",
1621
- className: "max-h",
1622
- values: heightValues
1803
+ scrollPaddingInlineEnd: {
1804
+ className: "scroll-pe",
1805
+ values: "spacing",
1806
+ group: "Scroll"
1623
1807
  },
1624
- maxBlockSize: {
1625
- className: "max-b",
1626
- values: heightValues
1627
- }
1628
- };
1629
- var marginValues = (theme2) => ({
1630
- auto: "auto",
1631
- ...theme2("spacing")
1632
- });
1633
- var spacing = {
1634
- padding: {
1635
- className: "p",
1636
- shorthand: "p",
1637
- values: "spacing"
1808
+ scrollPaddingInlineStart: {
1809
+ className: "scroll-ps",
1810
+ values: "spacing",
1811
+ group: "Scroll"
1638
1812
  },
1639
- paddingLeft: {
1640
- className: "pl",
1641
- shorthand: "pl",
1642
- values: "spacing"
1813
+ scrollPaddingLeft: {
1814
+ className: "scroll-pl",
1815
+ values: "spacing",
1816
+ group: "Scroll"
1643
1817
  },
1644
- paddingRight: {
1645
- className: "pr",
1646
- shorthand: "pr",
1647
- values: "spacing"
1818
+ scrollPaddingRight: {
1819
+ className: "scroll-pr",
1820
+ values: "spacing",
1821
+ group: "Scroll"
1648
1822
  },
1649
- paddingTop: {
1650
- className: "pt",
1651
- shorthand: "pt",
1652
- values: "spacing"
1823
+ scrollPaddingTop: {
1824
+ className: "scroll-pt",
1825
+ values: "spacing",
1826
+ group: "Scroll"
1653
1827
  },
1654
- paddingBottom: {
1655
- className: "pb",
1656
- shorthand: "pb",
1657
- values: "spacing"
1828
+ scrollPaddingBottom: {
1829
+ className: "scroll-pb",
1830
+ values: "spacing",
1831
+ group: "Scroll"
1658
1832
  },
1659
- paddingBlock: {
1660
- className: "py",
1833
+ scrollSnapAlign: {
1834
+ className: "snap-align",
1835
+ group: "Scroll"
1836
+ },
1837
+ scrollSnapStop: {
1838
+ className: "snap-stop",
1839
+ group: "Scroll"
1840
+ },
1841
+ scrollSnapType: {
1842
+ className: "snap-type",
1843
+ group: "Scroll",
1844
+ values: {
1845
+ none: "none",
1846
+ x: "x var(--scroll-snap-strictness)",
1847
+ y: "y var(--scroll-snap-strictness)",
1848
+ both: "both var(--scroll-snap-strictness)"
1849
+ }
1850
+ },
1851
+ scrollSnapStrictness: {
1852
+ className: "snap-strictness",
1853
+ values: ["mandatory", "proximity"],
1854
+ group: "Scroll",
1855
+ transform(value) {
1856
+ return {
1857
+ "--scroll-snap-strictness": value
1858
+ };
1859
+ }
1860
+ },
1861
+ scrollSnapMargin: {
1862
+ className: "snap-m",
1661
1863
  values: "spacing",
1662
- shorthand: ["py", "paddingY"]
1864
+ group: "Scroll"
1663
1865
  },
1664
- paddingBlockEnd: {
1665
- className: "pb",
1666
- values: "spacing"
1866
+ scrollSnapMarginTop: {
1867
+ className: "snap-mt",
1868
+ values: "spacing",
1869
+ group: "Scroll"
1667
1870
  },
1668
- paddingBlockStart: {
1669
- className: "pt",
1670
- values: "spacing"
1871
+ scrollSnapMarginBottom: {
1872
+ className: "snap-mb",
1873
+ values: "spacing",
1874
+ group: "Scroll"
1671
1875
  },
1672
- paddingInline: {
1673
- className: "px",
1876
+ scrollSnapMarginLeft: {
1877
+ className: "snap-ml",
1674
1878
  values: "spacing",
1675
- shorthand: ["paddingX", "px"]
1879
+ group: "Scroll"
1676
1880
  },
1677
- paddingInlineEnd: {
1678
- className: "pe",
1679
- shorthand: ["pe", "paddingEnd"],
1680
- values: "spacing"
1881
+ scrollSnapMarginRight: {
1882
+ className: "snap-mr",
1883
+ values: "spacing",
1884
+ group: "Scroll"
1681
1885
  },
1682
- paddingInlineStart: {
1683
- className: "ps",
1684
- shorthand: ["ps", "paddingStart"],
1685
- values: "spacing"
1886
+ touchAction: {
1887
+ className: "touch",
1888
+ group: "Interactivity"
1686
1889
  },
1687
- marginLeft: {
1688
- className: "ml",
1689
- shorthand: "ml",
1690
- values: marginValues
1890
+ userSelect: {
1891
+ className: "select",
1892
+ group: "Interactivity",
1893
+ transform(value) {
1894
+ return {
1895
+ WebkitUserSelect: value,
1896
+ userSelect: value
1897
+ };
1898
+ }
1899
+ }
1900
+ };
1901
+ var layout = {
1902
+ aspectRatio: {
1903
+ className: "aspect",
1904
+ values: "aspectRatios",
1905
+ group: "Layout"
1691
1906
  },
1692
- marginRight: {
1693
- className: "mr",
1694
- shorthand: "mr",
1695
- values: marginValues
1907
+ boxDecorationBreak: {
1908
+ className: "decoration",
1909
+ group: "Layout",
1910
+ transform(value) {
1911
+ return {
1912
+ boxDecorationBreak: value,
1913
+ WebkitBoxDecorationBreak: value
1914
+ };
1915
+ }
1696
1916
  },
1697
- marginTop: {
1698
- className: "mt",
1699
- shorthand: "mt",
1700
- values: marginValues
1917
+ zIndex: {
1918
+ className: "z",
1919
+ values: "zIndex",
1920
+ group: "Visibility"
1701
1921
  },
1702
- marginBottom: {
1703
- className: "mb",
1704
- shorthand: "mb",
1705
- values: marginValues
1922
+ boxSizing: {
1923
+ className: "box",
1924
+ group: "System"
1706
1925
  },
1707
- margin: {
1708
- className: "m",
1709
- shorthand: "m",
1710
- values: marginValues
1926
+ objectPosition: {
1927
+ className: "obj-pos",
1928
+ group: "Layout"
1711
1929
  },
1712
- marginBlock: {
1713
- className: "my",
1714
- values: marginValues,
1715
- shorthand: ["my", "marginY"]
1930
+ objectFit: {
1931
+ className: "obj-fit",
1932
+ group: "Layout"
1716
1933
  },
1717
- marginBlockEnd: {
1718
- className: "mb",
1719
- values: marginValues
1934
+ overscrollBehavior: {
1935
+ className: "overscroll",
1936
+ group: "Scroll"
1937
+ },
1938
+ overscrollBehaviorX: {
1939
+ className: "overscroll-x",
1940
+ group: "Scroll"
1941
+ },
1942
+ overscrollBehaviorY: {
1943
+ className: "overscroll-y",
1944
+ group: "Scroll"
1945
+ },
1946
+ position: {
1947
+ className: "pos",
1948
+ shorthand: "pos",
1949
+ group: "Position"
1950
+ },
1951
+ top: {
1952
+ className: "top",
1953
+ values: "spacing",
1954
+ group: "Position"
1955
+ },
1956
+ left: {
1957
+ className: "left",
1958
+ values: "spacing",
1959
+ group: "Position"
1960
+ },
1961
+ insetInline: {
1962
+ className: "inset-x",
1963
+ values: "spacing",
1964
+ group: "Position",
1965
+ shorthand: ["insetX"]
1966
+ },
1967
+ insetBlock: {
1968
+ className: "inset-y",
1969
+ values: "spacing",
1970
+ group: "Position",
1971
+ shorthand: ["insetY"]
1972
+ },
1973
+ inset: {
1974
+ className: "inset",
1975
+ group: "Position",
1976
+ values: (theme2) => ({
1977
+ auto: "auto",
1978
+ ...theme2("spacing")
1979
+ })
1980
+ },
1981
+ insetBlockEnd: {
1982
+ className: "inset-b",
1983
+ values: "spacing",
1984
+ group: "Position"
1985
+ },
1986
+ insetBlockStart: {
1987
+ className: "inset-t",
1988
+ values: "spacing",
1989
+ group: "Position"
1990
+ },
1991
+ insetInlineEnd: {
1992
+ className: "end",
1993
+ values: "spacing",
1994
+ group: "Position",
1995
+ shorthand: ["insetEnd", "end"]
1720
1996
  },
1721
- marginBlockStart: {
1722
- className: "mt",
1723
- values: marginValues
1997
+ insetInlineStart: {
1998
+ className: "start",
1999
+ values: "spacing",
2000
+ group: "Position",
2001
+ shorthand: ["insetStart", "start"]
1724
2002
  },
1725
- marginInline: {
1726
- className: "mx",
1727
- values: marginValues,
1728
- shorthand: ["mx", "marginX"]
2003
+ right: {
2004
+ className: "right",
2005
+ values: "spacing",
2006
+ group: "Position"
1729
2007
  },
1730
- marginInlineEnd: {
1731
- className: "me",
1732
- shorthand: ["me", "marginEnd"],
1733
- values: marginValues
2008
+ bottom: {
2009
+ className: "bottom",
2010
+ values: "spacing",
2011
+ group: "Position"
1734
2012
  },
1735
- marginInlineStart: {
1736
- className: "ms",
1737
- shorthand: ["ms", "marginStart"],
1738
- values: marginValues
2013
+ float: {
2014
+ className: "float",
2015
+ values: ["start", "end"],
2016
+ property: "float",
2017
+ group: "Position",
2018
+ transform(value) {
2019
+ if (value === "start") {
2020
+ return {
2021
+ float: "left",
2022
+ '[dir="rtl"] &': {
2023
+ float: "right"
2024
+ }
2025
+ };
2026
+ }
2027
+ if (value === "end") {
2028
+ return {
2029
+ float: "right",
2030
+ '[dir="rtl"] &': {
2031
+ float: "left"
2032
+ }
2033
+ };
2034
+ }
2035
+ return {
2036
+ float: value
2037
+ };
2038
+ }
2039
+ },
2040
+ visibility: {
2041
+ className: "vis",
2042
+ group: "Visibility"
1739
2043
  }
1740
2044
  };
1741
- var svg = {
1742
- fill: {
1743
- className: "fill",
1744
- values: "colors",
1745
- transform: createColorMixTransform("fill")
2045
+ var list = {
2046
+ listStyleType: {
2047
+ className: "list-type",
2048
+ group: "List"
1746
2049
  },
1747
- stroke: {
1748
- className: "stroke",
1749
- values: "colors",
1750
- transform: createColorMixTransform("stroke")
2050
+ listStylePosition: {
2051
+ className: "list-pos",
2052
+ group: "List"
1751
2053
  },
1752
- strokeWidth: {
1753
- className: "stroke-w",
1754
- values: "borderWidths"
2054
+ listStyleImage: {
2055
+ className: "list-img",
2056
+ group: "List",
2057
+ values: "assets"
1755
2058
  }
1756
2059
  };
1757
- var tables = {
1758
- borderCollapse: {
1759
- className: "border"
2060
+ var outline = {
2061
+ outlineWidth: {
2062
+ className: "ring-width",
2063
+ shorthand: "ringWidth",
2064
+ values: "borderWidths",
2065
+ group: "Border"
1760
2066
  },
1761
- borderSpacing: {
1762
- className: "border-spacing",
1763
- values: "spacing"
2067
+ outlineColor: {
2068
+ className: "ring-color",
2069
+ values: "colors",
2070
+ group: "Color",
2071
+ shorthand: "ringColor",
2072
+ transform: createColorMixTransform("outlineColor")
1764
2073
  },
1765
- borderSpacingX: {
1766
- className: "border-spacing-x",
1767
- values: "spacing",
2074
+ outline: {
2075
+ className: "ring",
2076
+ shorthand: "ring",
2077
+ values: "borders",
2078
+ group: "Border",
1768
2079
  transform(value) {
1769
- return {
1770
- borderSpacing: `${value} var(--border-spacing-y)`
1771
- };
2080
+ if (value === "none") {
2081
+ return { outline: "2px solid transparent", outlineOffset: "2px" };
2082
+ }
2083
+ return { outline: value };
1772
2084
  }
1773
2085
  },
1774
- borderSpacingY: {
1775
- className: "border-spacing-y",
2086
+ outlineOffset: {
2087
+ className: "ring-offset",
2088
+ shorthand: "ringOffset",
1776
2089
  values: "spacing",
2090
+ group: "Border"
2091
+ }
2092
+ };
2093
+ var polyfill = {
2094
+ appearance: {
2095
+ className: "appearance",
2096
+ group: "Visibility",
1777
2097
  transform(value) {
1778
- return {
1779
- borderSpacing: `var(--border-spacing-x) ${value}`
1780
- };
2098
+ return { appearance: value, WebkitAppearance: value };
1781
2099
  }
1782
2100
  },
1783
- tableLayout: {
1784
- className: "table"
1785
- }
1786
- };
1787
- var positiveFractions = {
1788
- "1/2": "50%",
1789
- "1/3": "33.333333%",
1790
- "2/3": "66.666667%",
1791
- "1/4": "25%",
1792
- "2/4": "50%",
1793
- "3/4": "75%",
1794
- full: "100%"
1795
- };
1796
- var negativeFractions = Object.fromEntries(
1797
- Object.entries(positiveFractions).map(([key, value]) => [`-${key}`, `-${value}`])
1798
- );
1799
- var fractions = { ...positiveFractions, ...negativeFractions };
1800
- var transforms = {
1801
- transformOrigin: {
1802
- className: "origin"
2101
+ backfaceVisibility: {
2102
+ className: "backface",
2103
+ group: "Visibility",
2104
+ transform(value) {
2105
+ return { backfaceVisibility: value, WebkitBackfaceVisibility: value };
2106
+ }
1803
2107
  },
1804
- scale: {
1805
- className: "scale",
1806
- property: "scale",
1807
- values: {
1808
- auto: "var(--scale-x) var(--scale-y)"
2108
+ clipPath: {
2109
+ className: "clip-path",
2110
+ group: "Other",
2111
+ transform(value) {
2112
+ return { clipPath: value, WebkitClipPath: value };
1809
2113
  }
1810
2114
  },
1811
- scaleX: {
1812
- className: "scale-x",
2115
+ hyphens: {
2116
+ className: "hyphens",
2117
+ group: "Other",
1813
2118
  transform(value) {
1814
- return {
1815
- "--scale-x": value
1816
- };
2119
+ return { hyphens: value, WebkitHyphens: value };
1817
2120
  }
1818
2121
  },
1819
- scaleY: {
1820
- className: "scale-y",
2122
+ mask: {
2123
+ className: "mask",
2124
+ group: "Other",
1821
2125
  transform(value) {
1822
- return {
1823
- "--scale-y": value
1824
- };
2126
+ return { mask: value, WebkitMask: value };
1825
2127
  }
1826
2128
  },
1827
- translate: {
1828
- className: "translate",
1829
- property: "translate",
1830
- values: {
1831
- auto: "var(--translate-x) var(--translate-y)"
2129
+ maskImage: {
2130
+ className: "mask-image",
2131
+ group: "Other",
2132
+ transform(value) {
2133
+ return { maskImage: value, WebkitMaskImage: value };
1832
2134
  }
1833
2135
  },
1834
- translateX: {
1835
- shorthand: "x",
1836
- className: "translate-x",
1837
- values(theme2) {
1838
- return {
1839
- ...theme2("spacing"),
1840
- ...fractions
1841
- };
1842
- },
2136
+ maskSize: {
2137
+ className: "mask-size",
2138
+ group: "Other",
1843
2139
  transform(value) {
1844
- return {
1845
- "--translate-x": value
1846
- };
2140
+ return { maskSize: value, WebkitMaskSize: value };
1847
2141
  }
1848
2142
  },
1849
- translateY: {
1850
- shorthand: "y",
1851
- className: "translate-y",
1852
- values(theme2) {
1853
- return {
1854
- ...theme2("spacing"),
1855
- ...fractions
1856
- };
1857
- },
2143
+ textSizeAdjust: {
2144
+ className: "text-adjust",
2145
+ group: "Typography",
1858
2146
  transform(value) {
1859
- return {
1860
- "--translate-y": value
1861
- };
2147
+ return { textSizeAdjust: value, WebkitTextSizeAdjust: value };
1862
2148
  }
1863
2149
  }
1864
2150
  };
1865
- var createTransition = (value) => ({
1866
- transitionProperty: `var(--transition-prop, ${value})`,
1867
- transitionTimingFunction: "var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1))",
1868
- transitionDuration: "var(--transition-duration, 150ms)"
2151
+ var widthValues = (theme2) => ({
2152
+ auto: "auto",
2153
+ ...theme2("sizes"),
2154
+ "1/2": "50%",
2155
+ "1/3": "33.333333%",
2156
+ "2/3": "66.666667%",
2157
+ "1/4": "25%",
2158
+ "2/4": "50%",
2159
+ "3/4": "75%",
2160
+ "1/5": "20%",
2161
+ "2/5": "40%",
2162
+ "3/5": "60%",
2163
+ "4/5": "80%",
2164
+ "1/6": "16.666667%",
2165
+ "2/6": "33.333333%",
2166
+ "3/6": "50%",
2167
+ "4/6": "66.666667%",
2168
+ "5/6": "83.333333%",
2169
+ "1/12": "8.333333%",
2170
+ "2/12": "16.666667%",
2171
+ "3/12": "25%",
2172
+ "4/12": "33.333333%",
2173
+ "5/12": "41.666667%",
2174
+ "6/12": "50%",
2175
+ "7/12": "58.333333%",
2176
+ "8/12": "66.666667%",
2177
+ "9/12": "75%",
2178
+ "10/12": "83.333333%",
2179
+ "11/12": "91.666667%",
2180
+ screen: "100vw"
1869
2181
  });
1870
- var transitionMap = {
1871
- all: createTransition("all"),
1872
- common: createTransition(
1873
- "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter"
1874
- ),
1875
- background: createTransition("background, background-color"),
1876
- colors: createTransition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"),
1877
- opacity: createTransition("opacity"),
1878
- shadow: createTransition("box-shadow"),
1879
- transform: createTransition("transform")
1880
- };
1881
- var transitions = {
1882
- transitionTimingFunction: {
1883
- className: "ease",
1884
- values: "easings",
1885
- transform(value) {
1886
- return {
1887
- "--transition-easing": value,
1888
- transitionTimingFunction: value
1889
- };
1890
- }
2182
+ var heightValues = (theme2) => ({
2183
+ auto: "auto",
2184
+ ...theme2("sizes"),
2185
+ svh: "100svh",
2186
+ lvh: "100lvh",
2187
+ dvh: "100dvh",
2188
+ screen: "100vh",
2189
+ "1/2": "50%",
2190
+ "1/3": "33.333333%",
2191
+ "2/3": "66.666667%",
2192
+ "1/4": "25%",
2193
+ "2/4": "50%",
2194
+ "3/4": "75%",
2195
+ "1/5": "20%",
2196
+ "2/5": "40%",
2197
+ "3/5": "60%",
2198
+ "4/5": "80%",
2199
+ "1/6": "16.666667%",
2200
+ "2/6": "33.333333%",
2201
+ "3/6": "50%",
2202
+ "4/6": "66.666667%",
2203
+ "5/6": "83.333333%"
2204
+ });
2205
+ var sizing = {
2206
+ width: {
2207
+ shorthand: "w",
2208
+ className: "w",
2209
+ group: "Width",
2210
+ values: widthValues
1891
2211
  },
1892
- transitionDelay: {
1893
- className: "delay",
1894
- values: "durations"
2212
+ inlineSize: {
2213
+ className: "w",
2214
+ group: "Width",
2215
+ values: widthValues
1895
2216
  },
1896
- transitionDuration: {
1897
- className: "duration",
1898
- values: "durations",
1899
- transform(value) {
1900
- return {
1901
- "--transition-duration": value,
1902
- transitionDuration: value
1903
- };
1904
- }
2217
+ minWidth: {
2218
+ shorthand: "minW",
2219
+ className: "min-w",
2220
+ group: "Width",
2221
+ values: widthValues
1905
2222
  },
1906
- transitionProperty: {
1907
- className: "transition-prop",
1908
- transform(value) {
1909
- return {
1910
- "--transition-prop": value,
1911
- transitionProperty: value
1912
- };
1913
- }
2223
+ minInlineSize: {
2224
+ className: "min-w",
2225
+ group: "Width",
2226
+ values: widthValues
1914
2227
  },
1915
- transition: {
1916
- className: "transition",
1917
- values: Object.keys(transitionMap),
1918
- transform(value) {
1919
- return transitionMap[value] ?? { transition: value };
1920
- }
2228
+ maxWidth: {
2229
+ shorthand: "maxW",
2230
+ className: "max-w",
2231
+ group: "Width",
2232
+ values: widthValues
1921
2233
  },
1922
- animation: {
1923
- className: "animation",
1924
- values: "animations"
2234
+ maxInlineSize: {
2235
+ className: "max-w",
2236
+ group: "Width",
2237
+ values: widthValues
1925
2238
  },
1926
- animationName: {
1927
- className: "animation-name",
1928
- values: "animationName"
2239
+ height: {
2240
+ shorthand: "h",
2241
+ className: "h",
2242
+ group: "Height",
2243
+ values: heightValues
1929
2244
  },
1930
- animationDelay: {
1931
- className: "animation-delay",
1932
- values: "durations"
2245
+ blockSize: {
2246
+ className: "h",
2247
+ group: "Height",
2248
+ values: heightValues
2249
+ },
2250
+ minHeight: {
2251
+ shorthand: "minH",
2252
+ className: "min-h",
2253
+ group: "Height",
2254
+ values: heightValues
2255
+ },
2256
+ minBlockSize: {
2257
+ className: "min-h",
2258
+ group: "Height",
2259
+ values: heightValues
2260
+ },
2261
+ maxHeight: {
2262
+ shorthand: "maxH",
2263
+ className: "max-h",
2264
+ group: "Height",
2265
+ values: heightValues
2266
+ },
2267
+ maxBlockSize: {
2268
+ className: "max-b",
2269
+ group: "Height",
2270
+ values: heightValues
1933
2271
  }
1934
2272
  };
1935
- var typography = {
1936
- color: {
1937
- className: "text",
1938
- values: "colors",
1939
- transform: createColorMixTransform("color")
2273
+ var marginValues = (theme2) => ({
2274
+ auto: "auto",
2275
+ ...theme2("spacing")
2276
+ });
2277
+ var spacing = {
2278
+ padding: {
2279
+ className: "p",
2280
+ shorthand: "p",
2281
+ values: "spacing",
2282
+ group: "Padding"
1940
2283
  },
1941
- fontFamily: {
1942
- className: "font",
1943
- values: "fonts"
2284
+ paddingLeft: {
2285
+ className: "pl",
2286
+ shorthand: "pl",
2287
+ values: "spacing",
2288
+ group: "Padding"
1944
2289
  },
1945
- fontSize: {
1946
- className: "fs",
1947
- values: "fontSizes"
2290
+ paddingRight: {
2291
+ className: "pr",
2292
+ shorthand: "pr",
2293
+ values: "spacing",
2294
+ group: "Padding"
1948
2295
  },
1949
- fontWeight: {
1950
- className: "font",
1951
- values: "fontWeights"
2296
+ paddingTop: {
2297
+ className: "pt",
2298
+ shorthand: "pt",
2299
+ values: "spacing",
2300
+ group: "Padding"
1952
2301
  },
1953
- fontSmoothing: {
1954
- className: "smoothing",
1955
- values: {
1956
- antialiased: "antialiased",
1957
- "subpixel-antialiased": "auto"
1958
- },
1959
- transform(value) {
1960
- return {
1961
- WebkitFontSmoothing: value
1962
- };
1963
- }
2302
+ paddingBottom: {
2303
+ className: "pb",
2304
+ shorthand: "pb",
2305
+ values: "spacing",
2306
+ group: "Padding"
1964
2307
  },
1965
- fontVariantNumeric: {
1966
- className: "numeric"
2308
+ paddingBlock: {
2309
+ className: "py",
2310
+ values: "spacing",
2311
+ group: "Padding",
2312
+ shorthand: ["py", "paddingY"]
1967
2313
  },
1968
- letterSpacing: {
1969
- className: "tracking",
1970
- values: "letterSpacings"
2314
+ paddingBlockEnd: {
2315
+ className: "pb",
2316
+ values: "spacing",
2317
+ group: "Padding"
1971
2318
  },
1972
- lineHeight: {
1973
- className: "leading",
1974
- values: "lineHeights"
2319
+ paddingBlockStart: {
2320
+ className: "pt",
2321
+ values: "spacing",
2322
+ group: "Padding"
1975
2323
  },
1976
- textAlign: {
1977
- className: "text"
2324
+ paddingInline: {
2325
+ className: "px",
2326
+ values: "spacing",
2327
+ group: "Padding",
2328
+ shorthand: ["paddingX", "px"]
1978
2329
  },
1979
- textDecoration: {
1980
- className: "text-decor"
2330
+ paddingInlineEnd: {
2331
+ className: "pe",
2332
+ shorthand: ["pe", "paddingEnd"],
2333
+ values: "spacing",
2334
+ group: "Padding"
1981
2335
  },
1982
- textDecorationColor: {
1983
- className: "text-decor",
1984
- values: "colors",
1985
- transform: createColorMixTransform("textDecorationColor")
2336
+ paddingInlineStart: {
2337
+ className: "ps",
2338
+ shorthand: ["ps", "paddingStart"],
2339
+ values: "spacing",
2340
+ group: "Padding"
1986
2341
  },
1987
- textEmphasisColor: {
1988
- className: "text-emphasis",
1989
- values: "colors",
1990
- transform: createColorMixTransform("textEmphasisColor")
2342
+ marginLeft: {
2343
+ className: "ml",
2344
+ shorthand: "ml",
2345
+ values: marginValues,
2346
+ group: "Margin"
1991
2347
  },
1992
- textDecorationStyle: {
1993
- className: "decoration"
2348
+ marginRight: {
2349
+ className: "mr",
2350
+ shorthand: "mr",
2351
+ values: marginValues,
2352
+ group: "Margin"
1994
2353
  },
1995
- textDecorationThickness: {
1996
- className: "decoration"
2354
+ marginTop: {
2355
+ className: "mt",
2356
+ shorthand: "mt",
2357
+ values: marginValues,
2358
+ group: "Margin"
1997
2359
  },
1998
- textUnderlineOffset: {
1999
- className: "underline-offset"
2360
+ marginBottom: {
2361
+ className: "mb",
2362
+ shorthand: "mb",
2363
+ values: marginValues,
2364
+ group: "Margin"
2000
2365
  },
2001
- textTransform: {
2002
- className: "text"
2366
+ margin: {
2367
+ className: "m",
2368
+ shorthand: "m",
2369
+ values: marginValues,
2370
+ group: "Margin"
2003
2371
  },
2004
- textIndent: {
2005
- className: "indent",
2006
- values: "spacing"
2372
+ marginBlock: {
2373
+ className: "my",
2374
+ values: marginValues,
2375
+ group: "Margin",
2376
+ shorthand: ["my", "marginY"]
2007
2377
  },
2008
- textShadow: {
2009
- className: "text-shadow",
2010
- values: "shadows"
2378
+ marginBlockEnd: {
2379
+ className: "mb",
2380
+ values: marginValues,
2381
+ group: "Margin"
2011
2382
  },
2012
- textShadowColor: {
2013
- shorthand: "textShadowColor",
2014
- className: "text-shadow",
2015
- values: "colors",
2016
- transform: createColorMixTransform("--text-shadow-color")
2383
+ marginBlockStart: {
2384
+ className: "mt",
2385
+ values: marginValues,
2386
+ group: "Margin"
2017
2387
  },
2018
- textOverflow: {
2019
- className: "text"
2388
+ marginInline: {
2389
+ className: "mx",
2390
+ values: marginValues,
2391
+ group: "Margin",
2392
+ shorthand: ["mx", "marginX"]
2020
2393
  },
2021
- verticalAlign: {
2022
- className: "align"
2394
+ marginInlineEnd: {
2395
+ className: "me",
2396
+ shorthand: ["me", "marginEnd"],
2397
+ values: marginValues,
2398
+ group: "Margin"
2023
2399
  },
2024
- wordBreak: {
2025
- className: "break"
2400
+ marginInlineStart: {
2401
+ className: "ms",
2402
+ shorthand: ["ms", "marginStart"],
2403
+ values: marginValues,
2404
+ group: "Margin"
2405
+ },
2406
+ spaceX: {
2407
+ className: "space-x",
2408
+ values: marginValues,
2409
+ property: "marginInlineStart",
2410
+ group: "Margin",
2411
+ transform(value) {
2412
+ return {
2413
+ "& > :not([hidden]) ~ :not([hidden])": {
2414
+ marginInlineStart: value,
2415
+ marginInlineEnd: "0px"
2416
+ }
2417
+ };
2418
+ }
2419
+ },
2420
+ spaceY: {
2421
+ className: "space-y",
2422
+ values: marginValues,
2423
+ property: "marginBlockStart",
2424
+ group: "Margin",
2425
+ transform(value) {
2426
+ return {
2427
+ "& > :not([hidden]) ~ :not([hidden])": {
2428
+ marginTop: value,
2429
+ marginBottom: "0px"
2430
+ }
2431
+ };
2432
+ }
2433
+ }
2434
+ };
2435
+ var svg = {
2436
+ fill: {
2437
+ className: "fill",
2438
+ values: "colors",
2439
+ group: "Color",
2440
+ transform: createColorMixTransform("fill")
2441
+ },
2442
+ stroke: {
2443
+ className: "stroke",
2444
+ values: "colors",
2445
+ group: "Color",
2446
+ transform: createColorMixTransform("stroke")
2447
+ },
2448
+ strokeWidth: {
2449
+ className: "stroke-w",
2450
+ values: "borderWidths",
2451
+ group: "Border"
2452
+ }
2453
+ };
2454
+ var tables = {
2455
+ borderCollapse: {
2456
+ className: "border",
2457
+ group: "Table"
2026
2458
  },
2027
- textWrap: {
2028
- className: "text",
2029
- values: ["wrap", "balance", "nowrap"],
2030
- transform(value) {
2031
- return { textWrap: value };
2459
+ borderSpacing: {
2460
+ className: "border-spacing",
2461
+ group: "Table",
2462
+ values(theme2) {
2463
+ return {
2464
+ ...theme2("spacing"),
2465
+ auto: "var(--border-spacing-x) var(--border-spacing-y)"
2466
+ };
2032
2467
  }
2033
2468
  },
2034
- truncate: {
2035
- className: "truncate",
2036
- values: { type: "boolean" },
2469
+ borderSpacingX: {
2470
+ className: "border-spacing-x",
2471
+ values: "spacing",
2472
+ group: "Table",
2037
2473
  transform(value) {
2038
- if (!value)
2039
- return {};
2040
2474
  return {
2041
- overflow: "hidden",
2042
- textOverflow: "ellipsis",
2043
- whiteSpace: "nowrap"
2475
+ "--border-spacing-x": value
2044
2476
  };
2045
2477
  }
2046
2478
  },
2047
- lineClamp: {
2048
- className: "clamp",
2479
+ borderSpacingY: {
2480
+ className: "border-spacing-y",
2481
+ values: "spacing",
2482
+ group: "Table",
2049
2483
  transform(value) {
2050
- if (value === "none") {
2051
- return {
2052
- WebkitLineClamp: "unset"
2053
- };
2054
- }
2055
2484
  return {
2056
- overflow: "hidden",
2057
- display: "-webkit-box",
2058
- WebkitLineClamp: value,
2059
- WebkitBoxOrient: "vertical"
2485
+ "--border-spacing-y": value
2060
2486
  };
2061
2487
  }
2488
+ },
2489
+ tableLayout: {
2490
+ className: "table",
2491
+ group: "Table"
2062
2492
  }
2063
2493
  };
2064
- var utilities = Object.assign(
2065
- {},
2066
- layout,
2067
- display,
2068
- flexGrid,
2069
- spacing,
2070
- outline,
2071
- divide,
2072
- sizing,
2073
- typography,
2074
- list,
2075
- background,
2076
- border,
2077
- effects,
2078
- tables,
2079
- transitions,
2080
- transforms,
2081
- interactivity,
2082
- svg,
2083
- helpers,
2084
- polyfill,
2085
- container
2494
+ var positiveFractions = {
2495
+ "1/2": "50%",
2496
+ "1/3": "33.333333%",
2497
+ "2/3": "66.666667%",
2498
+ "1/4": "25%",
2499
+ "2/4": "50%",
2500
+ "3/4": "75%",
2501
+ full: "100%"
2502
+ };
2503
+ var negativeFractions = Object.fromEntries(
2504
+ Object.entries(positiveFractions).map(([key, value]) => [`-${key}`, `-${value}`])
2086
2505
  );
2087
- function definePattern(config2) {
2088
- return config2;
2089
- }
2090
- var box = definePattern({
2091
- transform(props) {
2092
- return props;
2093
- }
2094
- });
2095
- var flex = definePattern({
2096
- properties: {
2097
- align: { type: "property", value: "alignItems" },
2098
- justify: { type: "property", value: "justifyContent" },
2099
- direction: { type: "property", value: "flexDirection" },
2100
- wrap: { type: "property", value: "flexWrap" },
2101
- basis: { type: "property", value: "flexBasis" },
2102
- grow: { type: "property", value: "flexGrow" },
2103
- shrink: { type: "property", value: "flexShrink" }
2104
- },
2105
- transform(props) {
2106
- const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props;
2107
- return {
2108
- display: "flex",
2109
- flexDirection: direction,
2110
- alignItems: align,
2111
- justifyContent: justify,
2112
- flexWrap: wrap2,
2113
- flexBasis: basis,
2114
- flexGrow: grow,
2115
- flexShrink: shrink,
2116
- ...rest
2117
- };
2118
- }
2119
- });
2120
- var stack = definePattern({
2121
- properties: {
2122
- align: { type: "property", value: "alignItems" },
2123
- justify: { type: "property", value: "justifyContent" },
2124
- direction: { type: "property", value: "flexDirection" },
2125
- gap: { type: "property", value: "gap" }
2126
- },
2127
- defaultValues: {
2128
- direction: "column",
2129
- gap: "10px"
2130
- },
2131
- transform(props) {
2132
- const { align, justify, direction, gap, ...rest } = props;
2133
- return {
2134
- display: "flex",
2135
- flexDirection: direction,
2136
- alignItems: align,
2137
- justifyContent: justify,
2138
- gap,
2139
- ...rest
2140
- };
2141
- }
2142
- });
2143
- var vstack = definePattern({
2144
- jsxName: "VStack",
2145
- properties: {
2146
- justify: { type: "property", value: "justifyContent" },
2147
- gap: { type: "property", value: "gap" }
2148
- },
2149
- defaultValues: {
2150
- gap: "10px"
2151
- },
2152
- transform(props) {
2153
- const { justify, gap, ...rest } = props;
2154
- return {
2155
- display: "flex",
2156
- alignItems: "center",
2157
- justifyContent: justify,
2158
- gap,
2159
- flexDirection: "column",
2160
- ...rest
2161
- };
2162
- }
2163
- });
2164
- var hstack = definePattern({
2165
- jsxName: "HStack",
2166
- properties: {
2167
- justify: { type: "property", value: "justifyContent" },
2168
- gap: { type: "property", value: "gap" }
2506
+ var fractions = { ...positiveFractions, ...negativeFractions };
2507
+ var transforms = {
2508
+ transformOrigin: {
2509
+ className: "origin",
2510
+ group: "Transform"
2169
2511
  },
2170
- defaultValues: {
2171
- gap: "10px"
2512
+ rotate: {
2513
+ className: "rotate",
2514
+ group: "Transform",
2515
+ property: "rotate",
2516
+ values: {
2517
+ auto: "var(--rotate-x) var(--rotate-y)",
2518
+ "auto-3d": "var(--rotate-x) var(--rotate-y) var(--rotate-z)"
2519
+ }
2172
2520
  },
2173
- transform(props) {
2174
- const { justify, gap, ...rest } = props;
2175
- return {
2176
- display: "flex",
2177
- alignItems: "center",
2178
- justifyContent: justify,
2179
- gap,
2180
- flexDirection: "row",
2181
- ...rest
2182
- };
2183
- }
2184
- });
2185
- var spacer = definePattern({
2186
- properties: {
2187
- size: { type: "token", value: "spacing" }
2521
+ rotateX: {
2522
+ className: "rotate-x",
2523
+ group: "Transform",
2524
+ property: "rotate",
2525
+ transform(value) {
2526
+ return {
2527
+ "--rotate-x": value
2528
+ };
2529
+ }
2188
2530
  },
2189
- transform(props, { map }) {
2190
- const { size, ...rest } = props;
2191
- return {
2192
- alignSelf: "stretch",
2193
- justifySelf: "stretch",
2194
- flex: map(size, (v) => v == null ? "1" : `0 0 ${v}`),
2195
- ...rest
2196
- };
2197
- }
2198
- });
2199
- var circle = definePattern({
2200
- properties: {
2201
- size: { type: "property", value: "width" }
2531
+ rotateY: {
2532
+ className: "rotate-y",
2533
+ group: "Transform",
2534
+ property: "rotate",
2535
+ transform(value) {
2536
+ return {
2537
+ "--rotate-y": value
2538
+ };
2539
+ }
2202
2540
  },
2203
- transform(props) {
2204
- const { size, ...rest } = props;
2205
- return {
2206
- display: "flex",
2207
- alignItems: "center",
2208
- justifyContent: "center",
2209
- flex: "0 0 auto",
2210
- width: size,
2211
- height: size,
2212
- borderRadius: "9999px",
2213
- ...rest
2214
- };
2215
- }
2216
- });
2217
- var square = definePattern({
2218
- properties: {
2219
- size: { type: "property", value: "width" }
2541
+ rotateZ: {
2542
+ className: "rotate-z",
2543
+ group: "Transform",
2544
+ property: "rotate",
2545
+ transform(value) {
2546
+ return {
2547
+ "--rotate-z": value
2548
+ };
2549
+ }
2220
2550
  },
2221
- transform(props) {
2222
- const { size, ...rest } = props;
2223
- return {
2224
- display: "flex",
2225
- alignItems: "center",
2226
- justifyContent: "center",
2227
- flex: "0 0 auto",
2228
- width: size,
2229
- height: size,
2230
- ...rest
2231
- };
2232
- }
2233
- });
2234
- var grid = definePattern({
2235
- properties: {
2236
- gap: { type: "property", value: "gap" },
2237
- columnGap: { type: "property", value: "gap" },
2238
- rowGap: { type: "property", value: "gap" },
2239
- columns: { type: "number" },
2240
- minChildWidth: { type: "token", value: "sizes", property: "width" }
2551
+ scale: {
2552
+ className: "scale",
2553
+ group: "Transform",
2554
+ property: "scale",
2555
+ values: {
2556
+ auto: "var(--scale-x) var(--scale-y)"
2557
+ }
2241
2558
  },
2242
- defaultValues(props) {
2243
- return { gap: props.columnGap || props.rowGap ? void 0 : "10px" };
2559
+ scaleX: {
2560
+ className: "scale-x",
2561
+ group: "Transform",
2562
+ transform(value) {
2563
+ return {
2564
+ "--scale-x": value
2565
+ };
2566
+ }
2244
2567
  },
2245
- transform(props, { map, isCssUnit }) {
2246
- const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props;
2247
- const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`;
2248
- return {
2249
- display: "grid",
2250
- gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
2251
- gap,
2252
- columnGap,
2253
- rowGap,
2254
- ...rest
2255
- };
2256
- }
2257
- });
2258
- var gridItem = definePattern({
2259
- properties: {
2260
- colSpan: { type: "number" },
2261
- rowSpan: { type: "number" },
2262
- colStart: { type: "number" },
2263
- rowStart: { type: "number" },
2264
- colEnd: { type: "number" },
2265
- rowEnd: { type: "number" }
2568
+ scaleY: {
2569
+ className: "scale-y",
2570
+ group: "Transform",
2571
+ transform(value) {
2572
+ return {
2573
+ "--scale-y": value
2574
+ };
2575
+ }
2266
2576
  },
2267
- transform(props, { map }) {
2268
- const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props;
2269
- const spanFn = (v) => v === "auto" ? v : `span ${v}`;
2270
- return {
2271
- gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0,
2272
- gridRow: rowSpan != null ? map(rowSpan, spanFn) : void 0,
2273
- gridColumnStart: colStart,
2274
- gridColumnEnd: colEnd,
2275
- gridRowStart: rowStart,
2276
- gridRowEnd: rowEnd,
2277
- ...rest
2278
- };
2279
- }
2280
- });
2281
- var wrap = definePattern({
2282
- properties: {
2283
- gap: { type: "property", value: "gap" },
2284
- rowGap: { type: "property", value: "gap" },
2285
- columnGap: { type: "property", value: "gap" },
2286
- align: { type: "property", value: "alignItems" },
2287
- justify: { type: "property", value: "justifyContent" }
2577
+ translate: {
2578
+ className: "translate",
2579
+ group: "Transform",
2580
+ property: "translate",
2581
+ values: {
2582
+ auto: "var(--translate-x) var(--translate-y)",
2583
+ "auto-3d": "var(--translate-x) var(--translate-y) var(--translate-z)"
2584
+ }
2288
2585
  },
2289
- transform(props) {
2290
- const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props;
2291
- return {
2292
- display: "flex",
2293
- flexWrap: "wrap",
2294
- alignItems: align,
2295
- justifyContent: justify,
2296
- gap,
2297
- columnGap,
2298
- rowGap,
2299
- ...rest
2300
- };
2301
- }
2302
- });
2303
- var container2 = definePattern({
2304
- transform(props) {
2305
- return {
2306
- position: "relative",
2307
- maxWidth: "8xl",
2308
- mx: "auto",
2309
- px: { base: "4", md: "6", lg: "8" },
2310
- ...props
2311
- };
2312
- }
2313
- });
2314
- var center = definePattern({
2315
- properties: {
2316
- inline: { type: "boolean" }
2586
+ translateX: {
2587
+ shorthand: "x",
2588
+ className: "translate-x",
2589
+ group: "Transform",
2590
+ values(theme2) {
2591
+ return {
2592
+ ...theme2("spacing"),
2593
+ ...fractions
2594
+ };
2595
+ },
2596
+ transform(value) {
2597
+ return {
2598
+ "--translate-x": value
2599
+ };
2600
+ }
2317
2601
  },
2318
- transform(props) {
2319
- const { inline, ...rest } = props;
2320
- return {
2321
- display: inline ? "inline-flex" : "flex",
2322
- alignItems: "center",
2323
- justifyContent: "center",
2324
- ...rest
2325
- };
2326
- }
2327
- });
2328
- var aspectRatio = definePattern({
2329
- properties: {
2330
- ratio: { type: "number" }
2602
+ translateY: {
2603
+ shorthand: "y",
2604
+ className: "translate-y",
2605
+ group: "Transform",
2606
+ values(theme2) {
2607
+ return {
2608
+ ...theme2("spacing"),
2609
+ ...fractions
2610
+ };
2611
+ },
2612
+ transform(value) {
2613
+ return {
2614
+ "--translate-y": value
2615
+ };
2616
+ }
2331
2617
  },
2332
- blocklist: ["aspectRatio"],
2333
- transform(props, { map }) {
2334
- const { ratio = 4 / 3, ...rest } = props;
2335
- return {
2336
- position: "relative",
2337
- _before: {
2338
- content: `""`,
2339
- display: "block",
2340
- height: "0",
2341
- paddingBottom: map(ratio, (r) => `${1 / r * 100}%`)
2342
- },
2343
- "&>*": {
2344
- display: "flex",
2345
- justifyContent: "center",
2346
- alignItems: "center",
2347
- overflow: "hidden",
2348
- position: "absolute",
2349
- inset: "0",
2350
- width: "100%",
2351
- height: "100%"
2352
- },
2353
- "&>img, &>video": {
2354
- objectFit: "cover"
2355
- },
2356
- ...rest
2357
- };
2618
+ translateZ: {
2619
+ shorthand: "z",
2620
+ className: "translate-z",
2621
+ group: "Transform",
2622
+ values(theme2) {
2623
+ return {
2624
+ ...theme2("spacing"),
2625
+ ...fractions
2626
+ };
2627
+ },
2628
+ transform(value) {
2629
+ return {
2630
+ "--translate-z": value
2631
+ };
2632
+ }
2358
2633
  }
2634
+ };
2635
+ var createTransition = (value) => ({
2636
+ transitionProperty: `var(--transition-prop, ${value})`,
2637
+ transitionTimingFunction: "var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1))",
2638
+ transitionDuration: "var(--transition-duration, 150ms)"
2359
2639
  });
2360
- var divider = definePattern({
2361
- properties: {
2362
- orientation: { type: "enum", value: ["horizontal", "vertical"] },
2363
- thickness: { type: "token", value: "sizes", property: "borderWidth" },
2364
- color: { type: "token", value: "colors", property: "borderColor" }
2640
+ var transitionMap = {
2641
+ all: createTransition("all"),
2642
+ common: createTransition(
2643
+ "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter"
2644
+ ),
2645
+ background: createTransition("background, background-color"),
2646
+ colors: createTransition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"),
2647
+ opacity: createTransition("opacity"),
2648
+ shadow: createTransition("box-shadow"),
2649
+ transform: createTransition("transform")
2650
+ };
2651
+ var transitions = {
2652
+ transitionTimingFunction: {
2653
+ className: "ease",
2654
+ values: "easings",
2655
+ group: "Transition",
2656
+ transform(value) {
2657
+ return {
2658
+ "--transition-easing": value,
2659
+ transitionTimingFunction: value
2660
+ };
2661
+ }
2365
2662
  },
2366
- defaultValues: {
2367
- orientation: "horizontal",
2368
- thickness: "1px"
2663
+ transitionDelay: {
2664
+ className: "delay",
2665
+ values: "durations",
2666
+ group: "Transition"
2369
2667
  },
2370
- transform(props, { map }) {
2371
- const { orientation, thickness, color, ...rest } = props;
2372
- return {
2373
- "--thickness": thickness,
2374
- width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
2375
- height: map(orientation, (v) => v === "horizontal" ? void 0 : "100%"),
2376
- borderBlockEndWidth: map(orientation, (v) => v === "horizontal" ? "var(--thickness)" : void 0),
2377
- borderInlineEndWidth: map(orientation, (v) => v === "vertical" ? "var(--thickness)" : void 0),
2378
- borderColor: color,
2379
- ...rest
2380
- };
2381
- }
2382
- });
2383
- var linkBox = definePattern({
2384
- transform(props) {
2385
- return {
2386
- position: "relative",
2387
- "& :where(a, abbr)": {
2388
- position: "relative",
2389
- zIndex: "1"
2390
- },
2391
- ...props
2392
- };
2393
- }
2394
- });
2395
- var linkOverlay = definePattern({
2396
- jsxElement: "a",
2397
- transform(props) {
2398
- return {
2399
- position: "static",
2400
- _before: {
2401
- content: '""',
2402
- display: "block",
2403
- position: "absolute",
2404
- cursor: "inherit",
2405
- inset: "0",
2406
- zIndex: "0",
2407
- ...props["_before"]
2408
- },
2409
- ...props
2410
- };
2411
- }
2412
- });
2413
- var float = definePattern({
2414
- properties: {
2415
- offsetX: { type: "token", value: "spacing", property: "left" },
2416
- offsetY: { type: "token", value: "spacing", property: "top" },
2417
- offset: { type: "token", value: "spacing", property: "top" },
2418
- placement: {
2419
- type: "enum",
2420
- value: [
2421
- "bottom-end",
2422
- "bottom-start",
2423
- "top-end",
2424
- "top-start",
2425
- "bottom-center",
2426
- "top-center",
2427
- "middle-center",
2428
- "middle-end",
2429
- "middle-start"
2430
- ]
2668
+ transitionDuration: {
2669
+ className: "duration",
2670
+ values: "durations",
2671
+ group: "Transition",
2672
+ transform(value) {
2673
+ return {
2674
+ "--transition-duration": value,
2675
+ transitionDuration: value
2676
+ };
2431
2677
  }
2432
2678
  },
2433
- defaultValues(props) {
2434
- const offset = props.offset || "0";
2435
- return { offset, offsetX: offset, offsetY: offset, placement: "top-end" };
2679
+ transitionProperty: {
2680
+ className: "transition-prop",
2681
+ group: "Transition",
2682
+ transform(value) {
2683
+ return {
2684
+ "--transition-prop": value,
2685
+ transitionProperty: value
2686
+ };
2687
+ }
2436
2688
  },
2437
- transform(props, { map }) {
2438
- const { offset, offsetX, offsetY, placement, ...rest } = props;
2439
- return {
2440
- display: "inline-flex",
2441
- justifyContent: "center",
2442
- alignItems: "center",
2443
- position: "absolute",
2444
- insetBlockStart: map(placement, (v) => {
2445
- const [side] = v.split("-");
2446
- const map2 = { top: offsetY, middle: "50%", bottom: "auto" };
2447
- return map2[side];
2448
- }),
2449
- insetBlockEnd: map(placement, (v) => {
2450
- const [side] = v.split("-");
2451
- const map2 = { top: "auto", middle: "50%", bottom: offsetY };
2452
- return map2[side];
2453
- }),
2454
- insetInlineStart: map(placement, (v) => {
2455
- const [, align] = v.split("-");
2456
- const map2 = { start: offsetX, center: "50%", end: "auto" };
2457
- return map2[align];
2458
- }),
2459
- insetInlineEnd: map(placement, (v) => {
2460
- const [, align] = v.split("-");
2461
- const map2 = { start: "auto", center: "50%", end: offsetX };
2462
- return map2[align];
2463
- }),
2464
- translate: map(placement, (v) => {
2465
- const [side, align] = v.split("-");
2466
- const mapX = { start: "-50%", center: "-50%", end: "50%" };
2467
- const mapY = { top: "-50%", middle: "-50%", bottom: "50%" };
2468
- return `${mapX[align]} ${mapY[side]}`;
2469
- }),
2470
- ...rest
2471
- };
2472
- }
2473
- });
2474
- var bleed = definePattern({
2475
- properties: {
2476
- inline: { type: "property", value: "marginInline" },
2477
- block: { type: "property", value: "marginBlock" }
2689
+ transition: {
2690
+ className: "transition",
2691
+ values: Object.keys(transitionMap),
2692
+ group: "Transition",
2693
+ transform(value) {
2694
+ return transitionMap[value] ?? { transition: value };
2695
+ }
2478
2696
  },
2479
- defaultValues: {
2480
- inline: "0",
2481
- block: "0"
2697
+ animation: {
2698
+ className: "animation",
2699
+ values: "animations",
2700
+ group: "Transition"
2482
2701
  },
2483
- transform(props, { map, isCssUnit, isCssVar }) {
2484
- const { inline, block, ...rest } = props;
2485
- const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`;
2486
- return {
2487
- "--bleed-x": map(inline, valueFn),
2488
- "--bleed-y": map(block, valueFn),
2489
- marginInline: "calc(var(--bleed-x, 0) * -1)",
2490
- marginBlock: "calc(var(--bleed-y, 0) * -1)",
2491
- ...rest
2492
- };
2493
- }
2494
- });
2495
- var visuallyHidden = definePattern({
2496
- transform(props) {
2497
- return {
2498
- srOnly: true,
2499
- ...props
2500
- };
2702
+ animationName: {
2703
+ className: "animation-name",
2704
+ values: "keyframes",
2705
+ group: "Transition"
2706
+ },
2707
+ animationTimingFunction: {
2708
+ className: "animation-ease",
2709
+ values: "easings",
2710
+ group: "Transition"
2711
+ },
2712
+ animationDuration: {
2713
+ className: "animation-duration",
2714
+ values: "durations",
2715
+ group: "Transition"
2716
+ },
2717
+ animationDelay: {
2718
+ className: "animation-delay",
2719
+ values: "durations",
2720
+ group: "Transition"
2501
2721
  }
2502
- });
2503
- var cq = definePattern({
2504
- properties: {
2505
- name: { type: "token", value: "containerNames", property: "containerName" },
2506
- type: { type: "property", value: "containerType" }
2722
+ };
2723
+ var typography = {
2724
+ color: {
2725
+ className: "text",
2726
+ values: "colors",
2727
+ group: "Color",
2728
+ transform: createColorMixTransform("color")
2507
2729
  },
2508
- defaultValues: {
2509
- type: "inline-size"
2730
+ fontFamily: {
2731
+ className: "font",
2732
+ values: "fonts",
2733
+ group: "Typography"
2510
2734
  },
2511
- transform(props) {
2512
- const { name, type, ...rest } = props;
2513
- return {
2514
- containerType: type,
2515
- containerName: name,
2516
- ...rest
2517
- };
2735
+ fontSize: {
2736
+ className: "fs",
2737
+ values: "fontSizes",
2738
+ group: "Typography"
2739
+ },
2740
+ fontWeight: {
2741
+ className: "fw",
2742
+ values: "fontWeights",
2743
+ group: "Typography"
2744
+ },
2745
+ fontSmoothing: {
2746
+ className: "smoothing",
2747
+ group: "Typography",
2748
+ values: {
2749
+ antialiased: "antialiased",
2750
+ "subpixel-antialiased": "auto"
2751
+ },
2752
+ transform(value) {
2753
+ return {
2754
+ WebkitFontSmoothing: value
2755
+ };
2756
+ }
2757
+ },
2758
+ fontVariantNumeric: {
2759
+ className: "numeric",
2760
+ group: "Typography"
2761
+ },
2762
+ letterSpacing: {
2763
+ className: "tracking",
2764
+ values: "letterSpacings",
2765
+ group: "Typography"
2766
+ },
2767
+ lineHeight: {
2768
+ className: "leading",
2769
+ values: "lineHeights",
2770
+ group: "Typography"
2771
+ },
2772
+ textAlign: {
2773
+ className: "text-align",
2774
+ group: "Typography"
2775
+ },
2776
+ textDecoration: {
2777
+ className: "text-decor",
2778
+ group: "Typography"
2779
+ },
2780
+ textDecorationColor: {
2781
+ className: "text-decor-color",
2782
+ values: "colors",
2783
+ transform: createColorMixTransform("textDecorationColor"),
2784
+ group: "Typography"
2785
+ },
2786
+ textEmphasisColor: {
2787
+ className: "text-emphasis-color",
2788
+ values: "colors",
2789
+ transform: createColorMixTransform("textEmphasisColor"),
2790
+ group: "Typography"
2791
+ },
2792
+ textDecorationStyle: {
2793
+ className: "decoration-style",
2794
+ group: "Typography"
2795
+ },
2796
+ textDecorationThickness: {
2797
+ className: "decoration-thickness",
2798
+ group: "Typography"
2799
+ },
2800
+ textUnderlineOffset: {
2801
+ className: "underline-offset",
2802
+ group: "Typography"
2803
+ },
2804
+ textTransform: {
2805
+ className: "text-transform",
2806
+ group: "Typography"
2807
+ },
2808
+ textIndent: {
2809
+ className: "indent",
2810
+ group: "Typography",
2811
+ values: "spacing"
2812
+ },
2813
+ textShadow: {
2814
+ className: "text-shadow",
2815
+ values: "shadows",
2816
+ group: "Typography"
2817
+ },
2818
+ textShadowColor: {
2819
+ shorthand: "textShadowColor",
2820
+ className: "text-shadow",
2821
+ values: "colors",
2822
+ transform: createColorMixTransform("--text-shadow-color"),
2823
+ group: "Typography"
2824
+ },
2825
+ textOverflow: {
2826
+ className: "text-overflow",
2827
+ group: "Typography"
2828
+ },
2829
+ verticalAlign: {
2830
+ className: "v-align",
2831
+ group: "Typography"
2832
+ },
2833
+ wordBreak: {
2834
+ className: "break",
2835
+ group: "Typography"
2836
+ },
2837
+ textWrap: {
2838
+ className: "text-wrap",
2839
+ values: ["wrap", "balance", "nowrap"],
2840
+ group: "Typography",
2841
+ transform(value) {
2842
+ return { textWrap: value };
2843
+ }
2844
+ },
2845
+ truncate: {
2846
+ className: "truncate",
2847
+ values: { type: "boolean" },
2848
+ group: "Typography",
2849
+ transform(value) {
2850
+ if (!value)
2851
+ return {};
2852
+ return {
2853
+ overflow: "hidden",
2854
+ textOverflow: "ellipsis",
2855
+ whiteSpace: "nowrap"
2856
+ };
2857
+ }
2858
+ },
2859
+ lineClamp: {
2860
+ className: "clamp",
2861
+ group: "Typography",
2862
+ transform(value) {
2863
+ if (value === "none") {
2864
+ return {
2865
+ WebkitLineClamp: "unset"
2866
+ };
2867
+ }
2868
+ return {
2869
+ overflow: "hidden",
2870
+ display: "-webkit-box",
2871
+ WebkitLineClamp: value,
2872
+ WebkitBoxOrient: "vertical"
2873
+ };
2874
+ }
2518
2875
  }
2519
- });
2520
- var patterns = {
2521
- box,
2522
- flex,
2523
- stack,
2524
- vstack,
2525
- hstack,
2526
- spacer,
2527
- square,
2528
- circle,
2529
- center,
2530
- linkBox,
2531
- linkOverlay,
2532
- aspectRatio,
2533
- grid,
2534
- gridItem,
2535
- wrap,
2536
- container: container2,
2537
- divider,
2538
- float,
2539
- bleed,
2540
- visuallyHidden,
2541
- cq
2542
2876
  };
2877
+ var utilities = Object.assign(
2878
+ {},
2879
+ layout,
2880
+ display,
2881
+ flexGrid,
2882
+ spacing,
2883
+ outline,
2884
+ divide,
2885
+ sizing,
2886
+ typography,
2887
+ list,
2888
+ background,
2889
+ backgroundGradients,
2890
+ border,
2891
+ effects,
2892
+ tables,
2893
+ transitions,
2894
+ transforms,
2895
+ interactivity,
2896
+ svg,
2897
+ helpers,
2898
+ polyfill,
2899
+ container2
2900
+ );
2543
2901
  var definePreset = (preset22) => preset22;
2544
2902
  var preset = definePreset({
2545
2903
  conditions,
2546
2904
  utilities,
2547
- patterns
2905
+ patterns,
2906
+ // globalVars,
2907
+ globalCss
2548
2908
  });
2549
2909
  var src_default = preset;
2550
2910
 
2551
- // ../node_modules/.pnpm/@pandacss+preset-panda@0.31.0/node_modules/@pandacss/preset-panda/dist/index.mjs
2911
+ // ../node_modules/.pnpm/@pandacss+preset-panda@0.39.1/node_modules/@pandacss/preset-panda/dist/index.mjs
2552
2912
  var breakpoints = {
2553
2913
  sm: "640px",
2554
2914
  md: "768px",