@unocss/preset-mini 66.1.3 → 66.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,8 +2,8 @@ import { entriesToCss, toArray, definePreset } from '@unocss/core';
2
2
  import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
3
3
  import { g as globalKeywords } from './shared/preset-mini.DrfPDgwn.mjs';
4
4
  export { k as parseColor } from './shared/preset-mini.DrfPDgwn.mjs';
5
- import { i as variants } from './shared/preset-mini.D2M6e9t5.mjs';
6
- import { r as rules } from './shared/preset-mini.0ybCwWTx.mjs';
5
+ import { i as variants } from './shared/preset-mini.CHzPf0gx.mjs';
6
+ import { r as rules } from './shared/preset-mini.Pwva_x9U.mjs';
7
7
  import { t as theme } from './shared/preset-mini.BsxsSmTL.mjs';
8
8
  export { colors } from './colors.mjs';
9
9
  import '@unocss/rule-utils';
package/dist/rules.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.0ybCwWTx.mjs';
1
+ export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.Pwva_x9U.mjs';
2
2
  export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, q as fieldSizing, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, s as transformBase, x as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.DxJ0TbJb.mjs';
3
3
  import './shared/preset-mini.DrfPDgwn.mjs';
4
4
  import '@unocss/core';
@@ -1,6 +1,6 @@
1
- import { variantGetParameter, calcMaxWidthBySize, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent } from '@unocss/rule-utils';
1
+ import { variantGetParameter, calcMaxWidthBySize, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent, createPartClasses, createPseudoClassesAndElements, createPseudoClassFunctions, createTaggedPseudoClasses } from '@unocss/rule-utils';
2
2
  import { a as h, r as resolveBreakpoints, C as CONTROL_MINI_NO_NEGATIVE, e as cssMathFnRE, f as cssVarFnRE } from './preset-mini.DrfPDgwn.mjs';
3
- import { toArray, escapeRegExp, escapeSelector } from '@unocss/core';
3
+ import { toArray } from '@unocss/core';
4
4
 
5
5
  const variantAria = {
6
6
  name: "aria",
@@ -488,302 +488,19 @@ const variantNegative = {
488
488
  }
489
489
  };
490
490
 
491
- const PseudoPlaceholder = "__pseudo_placeholder__";
492
- const PseudoClasses = Object.fromEntries([
493
- // pseudo elements part 1
494
- ["first-letter", "::first-letter"],
495
- ["first-line", "::first-line"],
496
- // location
497
- "any-link",
498
- "link",
499
- "visited",
500
- "target",
501
- ["open", "[open]"],
502
- // forms
503
- "default",
504
- "checked",
505
- "indeterminate",
506
- "placeholder-shown",
507
- "autofill",
508
- "optional",
509
- "required",
510
- "valid",
511
- "invalid",
512
- "user-valid",
513
- "user-invalid",
514
- "in-range",
515
- "out-of-range",
516
- "read-only",
517
- "read-write",
518
- // content
519
- "empty",
520
- // interactions
521
- "focus-within",
522
- "hover",
523
- "focus",
524
- "focus-visible",
525
- "active",
526
- "enabled",
527
- "disabled",
528
- "popover-open",
529
- // tree-structural
530
- "root",
531
- "empty",
532
- ["even-of-type", ":nth-of-type(even)"],
533
- ["even", ":nth-child(even)"],
534
- ["odd-of-type", ":nth-of-type(odd)"],
535
- ["odd", ":nth-child(odd)"],
536
- ["nth", `:nth-child(${PseudoPlaceholder})`],
537
- "first-of-type",
538
- ["first", ":first-child"],
539
- "last-of-type",
540
- ["last", ":last-child"],
541
- "only-child",
542
- "only-of-type",
543
- // pseudo elements part 2
544
- ["backdrop-element", "::backdrop"],
545
- ["placeholder", "::placeholder"],
546
- ["before", "::before"],
547
- ["after", "::after"],
548
- ["file", "::file-selector-button"]
549
- ].map((key) => Array.isArray(key) ? key : [key, `:${key}`]));
550
- const PseudoClassesKeys = Object.keys(PseudoClasses);
551
- const PseudoClassesColon = Object.fromEntries([
552
- ["backdrop", "::backdrop"]
553
- ].map((key) => Array.isArray(key) ? key : [key, `:${key}`]));
554
- const PseudoClassesColonKeys = Object.keys(PseudoClassesColon);
555
- const PseudoClassFunctions = [
556
- "not",
557
- "is",
558
- "where",
559
- "has"
560
- ];
561
- const PseudoClassesMulti = Object.fromEntries([
562
- ["selection", ["::selection", " *::selection"]],
563
- ["marker", ["::marker", " *::marker"]]
564
- ]);
565
- const PseudoClassesStr = Object.entries(PseudoClasses).filter(([, pseudo]) => !pseudo.startsWith("::")).map(([key]) => key).sort((a, b) => b.length - a.length).join("|");
566
- const PseudoClassesColonStr = Object.entries(PseudoClassesColon).filter(([, pseudo]) => !pseudo.startsWith("::")).map(([key]) => key).sort((a, b) => b.length - a.length).join("|");
567
- const PseudoClassFunctionsStr = PseudoClassFunctions.join("|");
568
- const PseudoClassesMultiStr = Object.keys(PseudoClassesMulti).sort((a, b) => b.length - a.length).join("|");
569
- function taggedPseudoClassMatcher(tag, parent, combinator) {
570
- const rawRE = new RegExp(`^(${escapeRegExp(parent)}:)(\\S+)${escapeRegExp(combinator)}\\1`);
571
- let splitRE;
572
- let pseudoRE;
573
- let pseudoColonRE;
574
- let pseudoVarRE;
575
- const matchBracket = (input) => {
576
- const body = variantGetBracket(`${tag}-`, input, []);
577
- if (!body)
578
- return;
579
- const [match, rest] = body;
580
- const bracketValue = h.bracket(match);
581
- if (bracketValue == null)
582
- return;
583
- const label = rest.split(splitRE, 1)?.[0] ?? "";
584
- const prefix = `${parent}${escapeSelector(label)}`;
585
- return [
586
- label,
587
- input.slice(input.length - (rest.length - label.length - 1)),
588
- bracketValue.includes("&") ? bracketValue.replace(/&/g, prefix) : `${prefix}${bracketValue}`
589
- ];
590
- };
591
- const matchPseudo = (input) => {
592
- const match = input.match(pseudoRE) || input.match(pseudoColonRE);
593
- if (!match)
594
- return;
595
- const [original, fn, pseudoKey] = match;
596
- const label = match[3] ?? "";
597
- let pseudo = PseudoClasses[pseudoKey] || PseudoClassesColon[pseudoKey] || `:${pseudoKey}`;
598
- if (fn)
599
- pseudo = `:${fn}(${pseudo})`;
600
- return [
601
- label,
602
- input.slice(original.length),
603
- `${parent}${escapeSelector(label)}${pseudo}`,
604
- pseudoKey
605
- ];
606
- };
607
- const matchPseudoVar = (input) => {
608
- const match = input.match(pseudoVarRE);
609
- if (!match)
610
- return;
611
- const [original, fn, pseudoValue] = match;
612
- const label = match[3] ?? "";
613
- const pseudo = `:${fn}(${pseudoValue})`;
614
- return [
615
- label,
616
- input.slice(original.length),
617
- `${parent}${escapeSelector(label)}${pseudo}`
618
- ];
619
- };
620
- return {
621
- name: `pseudo:${tag}`,
622
- match(input, ctx) {
623
- if (!(splitRE && pseudoRE && pseudoColonRE)) {
624
- splitRE = new RegExp(`(?:${ctx.generator.config.separators.join("|")})`);
625
- pseudoRE = new RegExp(`^${tag}-(?:(?:(${PseudoClassFunctionsStr})-)?(${PseudoClassesStr}))(?:(/[\\w-]+))?(?:${ctx.generator.config.separators.join("|")})`);
626
- pseudoColonRE = new RegExp(`^${tag}-(?:(?:(${PseudoClassFunctionsStr})-)?(${PseudoClassesColonStr}))(?:(/[\\w-]+))?(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
627
- pseudoVarRE = new RegExp(`^${tag}-(?:(${PseudoClassFunctionsStr})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
628
- }
629
- if (!input.startsWith(tag))
630
- return;
631
- const result = matchBracket(input) || matchPseudo(input) || matchPseudoVar(input);
632
- if (!result)
633
- return;
634
- const [_label, matcher, prefix, pseudoName = ""] = result;
635
- return {
636
- matcher,
637
- handle: (input2, next) => next({
638
- ...input2,
639
- prefix: `${prefix}${combinator}${input2.prefix}`.replace(rawRE, "$1$2:"),
640
- sort: PseudoClassesKeys.indexOf(pseudoName) ?? PseudoClassesColonKeys.indexOf(pseudoName)
641
- })
642
- };
643
- },
644
- multiPass: true
645
- };
646
- }
647
- const excludedPseudo = [
648
- "::-webkit-resizer",
649
- "::-webkit-scrollbar",
650
- "::-webkit-scrollbar-button",
651
- "::-webkit-scrollbar-corner",
652
- "::-webkit-scrollbar-thumb",
653
- "::-webkit-scrollbar-track",
654
- "::-webkit-scrollbar-track-piece",
655
- "::file-selector-button"
656
- ];
657
- const PseudoClassesAndElementsStr = Object.entries(PseudoClasses).map(([key]) => key).sort((a, b) => b.length - a.length).join("|");
658
- const PseudoClassesAndElementsColonStr = Object.entries(PseudoClassesColon).map(([key]) => key).sort((a, b) => b.length - a.length).join("|");
659
491
  function variantPseudoClassesAndElements() {
660
- let PseudoClassesAndElementsRE;
661
- let PseudoClassesAndElementsColonRE;
662
- let PseudoClassesMultiRE;
663
- return [
664
- {
665
- name: "pseudo",
666
- match(input, ctx) {
667
- if (!(PseudoClassesAndElementsRE && PseudoClassesAndElementsColonRE)) {
668
- PseudoClassesAndElementsRE = new RegExp(`^(${PseudoClassesAndElementsStr})(?:-(\\[\\w+\\]))?(?:${ctx.generator.config.separators.join("|")})`);
669
- PseudoClassesAndElementsColonRE = new RegExp(`^(${PseudoClassesAndElementsColonStr})(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
670
- }
671
- const match = input.match(PseudoClassesAndElementsRE) || input.match(PseudoClassesAndElementsColonRE);
672
- if (match) {
673
- let pseudo = PseudoClasses[match[1]] || PseudoClassesColon[match[1]] || `:${match[1]}`;
674
- if (match[2]) {
675
- const anPlusB = h.bracket(match[2]);
676
- if (anPlusB) {
677
- pseudo = pseudo.replace(PseudoPlaceholder, anPlusB);
678
- }
679
- }
680
- let index = PseudoClassesKeys.indexOf(match[1]);
681
- if (index === -1)
682
- index = PseudoClassesColonKeys.indexOf(match[1]);
683
- if (index === -1)
684
- index = void 0;
685
- return {
686
- matcher: input.slice(match[0].length),
687
- handle: (input2, next) => {
688
- const selectors = pseudo.includes("::") && !excludedPseudo.includes(pseudo) ? {
689
- pseudo: `${input2.pseudo}${pseudo}`
690
- } : {
691
- selector: `${input2.selector}${pseudo}`
692
- };
693
- return next({
694
- ...input2,
695
- ...selectors,
696
- sort: index,
697
- noMerge: true
698
- });
699
- }
700
- };
701
- }
702
- },
703
- multiPass: true,
704
- autocomplete: `(${PseudoClassesAndElementsStr}|${PseudoClassesAndElementsColonStr}):`
705
- },
706
- {
707
- name: "pseudo:multi",
708
- match(input, ctx) {
709
- if (!PseudoClassesMultiRE) {
710
- PseudoClassesMultiRE = new RegExp(`^(${PseudoClassesMultiStr})(?:${ctx.generator.config.separators.join("|")})`);
711
- }
712
- const match = input.match(PseudoClassesMultiRE);
713
- if (match) {
714
- const pseudos = PseudoClassesMulti[match[1]];
715
- return pseudos.map((pseudo) => {
716
- return {
717
- matcher: input.slice(match[0].length),
718
- handle: (input2, next) => next({
719
- ...input2,
720
- pseudo: `${input2.pseudo}${pseudo}`
721
- })
722
- };
723
- });
724
- }
725
- },
726
- multiPass: false,
727
- autocomplete: `(${PseudoClassesMultiStr}):`
728
- }
729
- ];
492
+ const utils = { getBracket, h, variantGetBracket };
493
+ return createPseudoClassesAndElements(utils);
730
494
  }
731
495
  function variantPseudoClassFunctions() {
732
- let PseudoClassFunctionsRE;
733
- let PseudoClassColonFunctionsRE;
734
- let PseudoClassVarFunctionRE;
735
- return {
736
- match(input, ctx) {
737
- if (!(PseudoClassFunctionsRE && PseudoClassColonFunctionsRE)) {
738
- PseudoClassFunctionsRE = new RegExp(`^(${PseudoClassFunctionsStr})-(${PseudoClassesStr})(?:${ctx.generator.config.separators.join("|")})`);
739
- PseudoClassColonFunctionsRE = new RegExp(`^(${PseudoClassFunctionsStr})-(${PseudoClassesColonStr})(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
740
- PseudoClassVarFunctionRE = new RegExp(`^(${PseudoClassFunctionsStr})-(\\[.+\\])(?:${ctx.generator.config.separators.filter((x) => x !== "-").join("|")})`);
741
- }
742
- const match = input.match(PseudoClassFunctionsRE) || input.match(PseudoClassColonFunctionsRE) || input.match(PseudoClassVarFunctionRE);
743
- if (match) {
744
- const fn = match[1];
745
- const fnVal = getBracket(match[2], "[", "]");
746
- const pseudo = fnVal ? h.bracket(match[2]) : PseudoClasses[match[2]] || PseudoClassesColon[match[2]] || `:${match[2]}`;
747
- return {
748
- matcher: input.slice(match[0].length),
749
- selector: (s) => `${s}:${fn}(${pseudo})`
750
- };
751
- }
752
- },
753
- multiPass: true,
754
- autocomplete: `(${PseudoClassFunctionsStr})-(${PseudoClassesStr}|${PseudoClassesColonStr}):`
755
- };
496
+ const utils = { getBracket, h, variantGetBracket };
497
+ return createPseudoClassFunctions(utils);
756
498
  }
757
499
  function variantTaggedPseudoClasses(options = {}) {
758
- const attributify = !!options?.attributifyPseudo;
759
- let firstPrefix = options?.prefix ?? "";
760
- firstPrefix = (Array.isArray(firstPrefix) ? firstPrefix : [firstPrefix]).filter(Boolean)[0] ?? "";
761
- const tagWithPrefix = (tag, combinator) => taggedPseudoClassMatcher(tag, attributify ? `[${firstPrefix}${tag}=""]` : `.${firstPrefix}${tag}`, combinator);
762
- return [
763
- tagWithPrefix("group", " "),
764
- tagWithPrefix("peer", "~"),
765
- tagWithPrefix("parent", ">"),
766
- tagWithPrefix("previous", "+"),
767
- tagWithPrefix("group-aria", " "),
768
- tagWithPrefix("peer-aria", "~"),
769
- tagWithPrefix("parent-aria", ">"),
770
- tagWithPrefix("previous-aria", "+")
771
- ];
500
+ const utils = { getBracket, h, variantGetBracket };
501
+ return createTaggedPseudoClasses(options, utils);
772
502
  }
773
- const PartClassesRE = /(part-\[(.+)\]:)(.+)/;
774
- const variantPartClasses = {
775
- match(input) {
776
- const match = input.match(PartClassesRE);
777
- if (match) {
778
- const part = `part(${match[2]})`;
779
- return {
780
- matcher: input.slice(match[1].length),
781
- selector: (s) => `${s}::${part}`
782
- };
783
- }
784
- },
785
- multiPass: true
786
- };
503
+ const variantPartClasses = createPartClasses();
787
504
 
788
505
  const variantStartingStyle = {
789
506
  name: "starting",
@@ -810,6 +527,9 @@ const variantSupports = {
810
527
  if (supports === "")
811
528
  supports = ctx.theme.supports?.[match] ?? "";
812
529
  if (supports) {
530
+ if (!(supports.startsWith("(") && supports.endsWith(")"))) {
531
+ supports = `(${supports})`;
532
+ }
813
533
  return {
814
534
  matcher: rest,
815
535
  handle: (input, next) => next({
@@ -405,12 +405,17 @@ const justifies = [
405
405
  ["justify-stretch", { "justify-content": "stretch" }],
406
406
  ["justify-left", { "justify-content": "left" }],
407
407
  ["justify-right", { "justify-content": "right" }],
408
+ ["justify-center-safe", { "justify-content": "safe center" }],
409
+ ["justify-end-safe", { "justify-content": "safe flex-end" }],
410
+ ["justify-normal", { "justify-content": "normal" }],
408
411
  ...makeGlobalStaticRules("justify", "justify-content"),
409
412
  // items
410
413
  ["justify-items-start", { "justify-items": "start" }],
411
414
  ["justify-items-end", { "justify-items": "end" }],
412
415
  ["justify-items-center", { "justify-items": "center" }],
413
416
  ["justify-items-stretch", { "justify-items": "stretch" }],
417
+ ["justify-items-center-safe", { "justify-items": "safe center" }],
418
+ ["justify-items-end-safe", { "justify-items": "safe flex-end" }],
414
419
  ...makeGlobalStaticRules("justify-items"),
415
420
  // selfs
416
421
  ["justify-self-auto", { "justify-self": "auto" }],
@@ -418,6 +423,9 @@ const justifies = [
418
423
  ["justify-self-end", { "justify-self": "end" }],
419
424
  ["justify-self-center", { "justify-self": "center" }],
420
425
  ["justify-self-stretch", { "justify-self": "stretch" }],
426
+ ["justify-self-baseline", { "justify-self": "baseline" }],
427
+ ["justify-self-center-safe", { "justify-self": "safe center" }],
428
+ ["justify-self-end-safe", { "justify-self": "safe flex-end" }],
421
429
  ...makeGlobalStaticRules("justify-self")
422
430
  ];
423
431
  const orders = [
@@ -434,6 +442,11 @@ const alignments = [
434
442
  ["content-between", { "align-content": "space-between" }],
435
443
  ["content-around", { "align-content": "space-around" }],
436
444
  ["content-evenly", { "align-content": "space-evenly" }],
445
+ ["content-baseline", { "align-content": "baseline" }],
446
+ ["content-center-safe", { "align-content": "safe center" }],
447
+ ["content-end-safe", { "align-content": "safe flex-end" }],
448
+ ["content-stretch", { "align-content": "stretch" }],
449
+ ["content-normal", { "align-content": "normal" }],
437
450
  ...makeGlobalStaticRules("content", "align-content"),
438
451
  // items
439
452
  ["items-start", { "align-items": "flex-start" }],
@@ -441,6 +454,9 @@ const alignments = [
441
454
  ["items-center", { "align-items": "center" }],
442
455
  ["items-baseline", { "align-items": "baseline" }],
443
456
  ["items-stretch", { "align-items": "stretch" }],
457
+ ["items-baseline-last", { "align-items": "last baseline" }],
458
+ ["items-center-safe", { "align-items": "safe center" }],
459
+ ["items-end-safe", { "align-items": "safe flex-end" }],
444
460
  ...makeGlobalStaticRules("items", "align-items"),
445
461
  // selfs
446
462
  ["self-auto", { "align-self": "auto" }],
@@ -449,6 +465,9 @@ const alignments = [
449
465
  ["self-center", { "align-self": "center" }],
450
466
  ["self-stretch", { "align-self": "stretch" }],
451
467
  ["self-baseline", { "align-self": "baseline" }],
468
+ ["self-baseline-last", { "align-self": "last baseline" }],
469
+ ["self-center-safe", { "align-self": "safe center" }],
470
+ ["self-end-safe", { "align-self": "safe flex-end" }],
452
471
  ...makeGlobalStaticRules("self", "align-self")
453
472
  ];
454
473
  const placements = [
@@ -460,12 +479,18 @@ const placements = [
460
479
  ["place-content-around", { "place-content": "space-around" }],
461
480
  ["place-content-evenly", { "place-content": "space-evenly" }],
462
481
  ["place-content-stretch", { "place-content": "stretch" }],
482
+ ["place-content-baseline", { "place-content": "baseline" }],
483
+ ["place-content-center-safe", { "place-content": "safe center" }],
484
+ ["place-content-end-safe", { "place-content": "safe flex-end" }],
463
485
  ...makeGlobalStaticRules("place-content"),
464
486
  // items
465
487
  ["place-items-start", { "place-items": "start" }],
466
488
  ["place-items-end", { "place-items": "end" }],
467
489
  ["place-items-center", { "place-items": "center" }],
468
490
  ["place-items-stretch", { "place-items": "stretch" }],
491
+ ["place-items-baseline", { "place-items": "baseline" }],
492
+ ["place-items-center-safe", { "place-items": "safe center" }],
493
+ ["place-items-end-safe", { "place-items": "safe flex-end" }],
469
494
  ...makeGlobalStaticRules("place-items"),
470
495
  // selfs
471
496
  ["place-self-auto", { "place-self": "auto" }],
@@ -473,6 +498,8 @@ const placements = [
473
498
  ["place-self-end", { "place-self": "end" }],
474
499
  ["place-self-center", { "place-self": "center" }],
475
500
  ["place-self-stretch", { "place-self": "stretch" }],
501
+ ["place-self-center-safe", { "place-self": "safe center" }],
502
+ ["place-self-end-safe", { "place-self": "safe flex-end" }],
476
503
  ...makeGlobalStaticRules("place-self")
477
504
  ];
478
505
  const flexGridJustifiesAlignments = [...justifies, ...alignments, ...placements].flatMap(([k, v]) => [
package/dist/variants.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { v as variantAria, b as variantBreakpoints, c as variantChildren, f as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, o as variantCssLayer, m as variantCustomMedia, g as variantDataAttribute, k as variantImportant, p as variantInternalLayer, j as variantLanguageDirections, t as variantNegative, y as variantPartClasses, l as variantPrint, w as variantPseudoClassFunctions, u as variantPseudoClassesAndElements, q as variantScope, n as variantSelector, z as variantStartingStyle, A as variantSupports, a as variantTaggedAriaAttributes, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.D2M6e9t5.mjs';
1
+ export { v as variantAria, b as variantBreakpoints, c as variantChildren, f as variantColorsMediaOrClass, d as variantCombinators, e as variantContainerQuery, o as variantCssLayer, m as variantCustomMedia, g as variantDataAttribute, k as variantImportant, p as variantInternalLayer, j as variantLanguageDirections, t as variantNegative, y as variantPartClasses, l as variantPrint, w as variantPseudoClassFunctions, u as variantPseudoClassesAndElements, q as variantScope, n as variantSelector, z as variantStartingStyle, A as variantSupports, a as variantTaggedAriaAttributes, h as variantTaggedDataAttributes, x as variantTaggedPseudoClasses, s as variantTheme, r as variantVariables, i as variants } from './shared/preset-mini.CHzPf0gx.mjs';
2
2
  import '@unocss/rule-utils';
3
3
  import './shared/preset-mini.DrfPDgwn.mjs';
4
4
  import '@unocss/core';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
3
  "type": "module",
4
- "version": "66.1.3",
4
+ "version": "66.2.0",
5
5
  "description": "The minimal preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -56,9 +56,9 @@
56
56
  "dist"
57
57
  ],
58
58
  "dependencies": {
59
- "@unocss/rule-utils": "66.1.3",
60
- "@unocss/core": "66.1.3",
61
- "@unocss/extractor-arbitrary-variants": "66.1.3"
59
+ "@unocss/core": "66.2.0",
60
+ "@unocss/extractor-arbitrary-variants": "66.2.0",
61
+ "@unocss/rule-utils": "66.2.0"
62
62
  },
63
63
  "scripts": {
64
64
  "build": "unbuild",