@pandacss/eslint-plugin 0.1.4 → 0.1.6

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