@unocss/preset-mini 66.5.10 → 66.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/chunk-gol_9zmq.mjs +36 -0
  2. package/dist/colors-C9l2trjD.d.mts +431 -0
  3. package/dist/colors-Cxq9P2g9.mjs +362 -0
  4. package/dist/colors.d.mts +2 -354
  5. package/dist/colors.mjs +2 -360
  6. package/dist/index-CnsmLem5.d.mts +71 -0
  7. package/dist/index.d.mts +5 -76
  8. package/dist/index.mjs +67 -70
  9. package/dist/rules-CuP-xMI2.mjs +1683 -0
  10. package/dist/rules.d.mts +72 -48
  11. package/dist/rules.mjs +4 -5
  12. package/dist/theme-5nLH7UVx.d.mts +1085 -0
  13. package/dist/theme-DeYMqZAV.mjs +347 -0
  14. package/dist/theme.d.mts +3 -338
  15. package/dist/theme.mjs +5 -6
  16. package/dist/utils-CNv_IKMQ.d.mts +122 -0
  17. package/dist/utils-DLpYZ57Q.mjs +638 -0
  18. package/dist/utils.d.mts +5 -77
  19. package/dist/utils.mjs +5 -3
  20. package/dist/variants.d.mts +38 -24
  21. package/dist/variants.mjs +661 -4
  22. package/package.json +7 -8
  23. package/colors.d.ts +0 -1
  24. package/dist/colors.d.ts +0 -354
  25. package/dist/index.d.ts +0 -76
  26. package/dist/rules.d.ts +0 -130
  27. package/dist/shared/preset-mini.BSnAbT9I.d.mts +0 -748
  28. package/dist/shared/preset-mini.B_2UJsV2.mjs +0 -693
  29. package/dist/shared/preset-mini.BjJC-NnU.d.mts +0 -79
  30. package/dist/shared/preset-mini.BjJC-NnU.d.ts +0 -79
  31. package/dist/shared/preset-mini.CRliz1QB.d.ts +0 -76
  32. package/dist/shared/preset-mini.CVEK1uAa.mjs +0 -355
  33. package/dist/shared/preset-mini.CoOfBKs_.d.ts +0 -748
  34. package/dist/shared/preset-mini.DBTjVFxS.mjs +0 -580
  35. package/dist/shared/preset-mini.QLusboLD.mjs +0 -1064
  36. package/dist/shared/preset-mini.kmtdc_h1.mjs +0 -324
  37. package/dist/shared/preset-mini.oF7XTPi1.d.mts +0 -76
  38. package/dist/theme.d.ts +0 -338
  39. package/dist/utils.d.ts +0 -77
  40. package/dist/variants.d.ts +0 -52
  41. package/rules.d.ts +0 -1
  42. package/theme.d.ts +0 -1
  43. package/utils.d.ts +0 -1
  44. package/variants.d.ts +0 -1
package/dist/utils.d.mts CHANGED
@@ -1,77 +1,5 @@
1
- import * as _unocss_rule_utils from '@unocss/rule-utils';
2
- export * from '@unocss/rule-utils';
3
- export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, i as isCSSMathFn, e as isSize, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand, t as transformXYZ } from './shared/preset-mini.oF7XTPi1.mjs';
4
- import '@unocss/core';
5
- import './shared/preset-mini.BjJC-NnU.mjs';
6
-
7
- declare function numberWithUnit(str: string): string | undefined;
8
- declare function auto(str: string): "auto" | undefined;
9
- declare function rem(str: string): string | undefined;
10
- declare function px(str: string): string | undefined;
11
- declare function number(str: string): number | undefined;
12
- declare function percent(str: string): string | undefined;
13
- declare function fraction(str: string): string | undefined;
14
- declare function bracket(str: string): string | undefined;
15
- declare function bracketOfColor(str: string): string | undefined;
16
- declare function bracketOfLength(str: string): string | undefined;
17
- declare function bracketOfPosition(str: string): string | undefined;
18
- declare function cssvar(str: string): string | undefined;
19
- declare function time(str: string): string | undefined;
20
- declare function degree(str: string): string | undefined;
21
- declare function global(str: string): string | undefined;
22
- declare function properties(str: string): string | undefined;
23
- declare function position(str: string): string | undefined;
24
-
25
- declare const handlers_auto: typeof auto;
26
- declare const handlers_bracket: typeof bracket;
27
- declare const handlers_bracketOfColor: typeof bracketOfColor;
28
- declare const handlers_bracketOfLength: typeof bracketOfLength;
29
- declare const handlers_bracketOfPosition: typeof bracketOfPosition;
30
- declare const handlers_cssvar: typeof cssvar;
31
- declare const handlers_degree: typeof degree;
32
- declare const handlers_fraction: typeof fraction;
33
- declare const handlers_global: typeof global;
34
- declare const handlers_number: typeof number;
35
- declare const handlers_numberWithUnit: typeof numberWithUnit;
36
- declare const handlers_percent: typeof percent;
37
- declare const handlers_position: typeof position;
38
- declare const handlers_properties: typeof properties;
39
- declare const handlers_px: typeof px;
40
- declare const handlers_rem: typeof rem;
41
- declare const handlers_time: typeof time;
42
- declare namespace handlers {
43
- export {
44
- handlers_auto as auto,
45
- handlers_bracket as bracket,
46
- handlers_bracketOfColor as bracketOfColor,
47
- handlers_bracketOfLength as bracketOfLength,
48
- handlers_bracketOfPosition as bracketOfPosition,
49
- handlers_cssvar as cssvar,
50
- handlers_degree as degree,
51
- handlers_fraction as fraction,
52
- handlers_global as global,
53
- handlers_number as number,
54
- handlers_numberWithUnit as numberWithUnit,
55
- handlers_percent as percent,
56
- handlers_position as position,
57
- handlers_properties as properties,
58
- handlers_px as px,
59
- handlers_rem as rem,
60
- handlers_time as time,
61
- };
62
- }
63
-
64
- declare const handler: _unocss_rule_utils.ValueHandler<"number" | "numberWithUnit" | "auto" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
65
- declare const h: _unocss_rule_utils.ValueHandler<"number" | "numberWithUnit" | "auto" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "global" | "properties" | "position", object>;
66
-
67
- declare const directionMap: Record<string, string[]>;
68
- declare const insetMap: Record<string, string[]>;
69
- declare const cornerMap: Record<string, string[]>;
70
- declare const xyzMap: Record<string, string[]>;
71
- declare const xyzArray: string[];
72
- declare const positionMap: Record<string, string>;
73
- declare const globalKeywords: string[];
74
- declare const cssMathFnRE: RegExp;
75
- declare const cssVarFnRE: RegExp;
76
-
77
- export { cornerMap, cssMathFnRE, cssVarFnRE, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzArray, xyzMap };
1
+ import "./colors-C9l2trjD.mjs";
2
+ import "./theme-5nLH7UVx.mjs";
3
+ import { C as h, S as xyzMap, T as handlers_d_exports, _ as directionMap, a as hasParseableColor, b as positionMap, c as makeGlobalStaticRules, d as resolveVerticalBreakpoints, f as splitShorthand, g as cssVarFnRE, h as cssMathFnRE, i as directionSize, l as parseColor, m as cornerMap, n as colorResolver, o as isCSSMathFn, p as transformXYZ, r as colorableShadows, s as isSize, t as CONTROL_MINI_NO_NEGATIVE, u as resolveBreakpoints, v as globalKeywords, w as handler, x as xyzArray, y as insetMap } from "./utils-CNv_IKMQ.mjs";
4
+ export * from "@unocss/rule-utils";
5
+ export { CONTROL_MINI_NO_NEGATIVE, colorResolver, colorableShadows, cornerMap, cssMathFnRE, cssVarFnRE, directionMap, directionSize, globalKeywords, h, handler, hasParseableColor, insetMap, isCSSMathFn, isSize, makeGlobalStaticRules, parseColor, positionMap, resolveBreakpoints, resolveVerticalBreakpoints, splitShorthand, transformXYZ, handlers_d_exports as valueHandlers, xyzArray, xyzMap };
package/dist/utils.mjs CHANGED
@@ -1,3 +1,5 @@
1
- export { C as CONTROL_MINI_NO_NEGATIVE, l as colorResolver, m as colorableShadows, c as cornerMap, e as cssMathFnRE, f as cssVarFnRE, d as directionMap, j as directionSize, g as globalKeywords, a as h, h as handler, n as hasParseableColor, i as insetMap, t as isCSSMathFn, u as isSize, q as makeGlobalStaticRules, k as parseColor, p as positionMap, r as resolveBreakpoints, o as resolveVerticalBreakpoints, s as splitShorthand, w as transformXYZ, v as valueHandlers, b as xyzArray, x as xyzMap } from './shared/preset-mini.DBTjVFxS.mjs';
2
- export * from '@unocss/rule-utils';
3
- import '@unocss/core';
1
+ import { C as globalKeywords, D as xyzMap, E as xyzArray, S as directionMap, T as positionMap, _ as handler, a as colorableShadows, b as cssMathFnRE, c as isCSSMathFn, d as parseColor, f as resolveBreakpoints, g as h, h as transformXYZ, i as colorResolver, l as isSize, m as splitShorthand, o as directionSize, p as resolveVerticalBreakpoints, r as CONTROL_MINI_NO_NEGATIVE, s as hasParseableColor, u as makeGlobalStaticRules, v as handlers_exports, w as insetMap, x as cssVarFnRE, y as cornerMap } from "./utils-DLpYZ57Q.mjs";
2
+
3
+ export * from "@unocss/rule-utils"
4
+
5
+ export { CONTROL_MINI_NO_NEGATIVE, colorResolver, colorableShadows, cornerMap, cssMathFnRE, cssVarFnRE, directionMap, directionSize, globalKeywords, h, handler, hasParseableColor, insetMap, isCSSMathFn, isSize, makeGlobalStaticRules, parseColor, positionMap, resolveBreakpoints, resolveVerticalBreakpoints, splitShorthand, transformXYZ, handlers_exports as valueHandlers, xyzArray, xyzMap };
@@ -1,52 +1,66 @@
1
- import { VariantObject, Variant } from '@unocss/core';
2
- import { PresetMiniOptions } from './index.mjs';
3
- import { T as Theme } from './shared/preset-mini.BjJC-NnU.mjs';
4
- import './colors.mjs';
5
- import './shared/preset-mini.BSnAbT9I.mjs';
6
- import './shared/preset-mini.oF7XTPi1.mjs';
7
- import '@unocss/rule-utils';
1
+ import { r as Theme } from "./colors-C9l2trjD.mjs";
2
+ import "./theme-5nLH7UVx.mjs";
3
+ import { n as PresetMiniOptions } from "./index-CnsmLem5.mjs";
4
+ import "./utils-CNv_IKMQ.mjs";
5
+ import { Variant, VariantObject } from "@unocss/core";
8
6
 
7
+ //#region src/_variants/aria.d.ts
9
8
  declare const variantAria: VariantObject;
10
9
  declare function variantTaggedAriaAttributes(options?: PresetMiniOptions): Variant[];
11
-
10
+ //#endregion
11
+ //#region src/_variants/breakpoints.d.ts
12
12
  declare function variantBreakpoints(): VariantObject;
13
-
13
+ //#endregion
14
+ //#region src/_variants/children.d.ts
14
15
  declare const variantChildren: Variant[];
15
-
16
+ //#endregion
17
+ //#region src/_variants/combinators.d.ts
16
18
  declare const variantCombinators: Variant[];
17
-
19
+ //#endregion
20
+ //#region src/_variants/container.d.ts
18
21
  declare const variantContainerQuery: VariantObject;
19
-
22
+ //#endregion
23
+ //#region src/_variants/dark.d.ts
20
24
  declare function variantColorsMediaOrClass(options?: PresetMiniOptions): Variant[];
21
-
25
+ //#endregion
26
+ //#region src/_variants/data.d.ts
22
27
  declare const variantDataAttribute: VariantObject;
23
28
  declare function variantTaggedDataAttributes(options?: PresetMiniOptions): Variant[];
24
-
29
+ //#endregion
30
+ //#region src/_variants/default.d.ts
25
31
  declare function variants(options: PresetMiniOptions): Variant<Theme>[];
26
-
32
+ //#endregion
33
+ //#region src/_variants/directions.d.ts
27
34
  declare const variantLanguageDirections: Variant[];
28
-
35
+ //#endregion
36
+ //#region src/_variants/important.d.ts
29
37
  declare function variantImportant(): VariantObject;
30
-
38
+ //#endregion
39
+ //#region src/_variants/media.d.ts
31
40
  declare const variantPrint: VariantObject;
32
41
  declare const variantCustomMedia: VariantObject;
33
-
42
+ //#endregion
43
+ //#region src/_variants/misc.d.ts
34
44
  declare const variantSelector: Variant;
35
45
  declare const variantCssLayer: Variant;
36
46
  declare const variantInternalLayer: Variant;
37
47
  declare const variantScope: Variant;
38
48
  declare const variantVariables: Variant;
39
49
  declare const variantTheme: Variant;
40
-
50
+ //#endregion
51
+ //#region src/_variants/negative.d.ts
41
52
  declare const variantNegative: Variant;
42
-
53
+ //#endregion
54
+ //#region src/_variants/pseudo.d.ts
43
55
  declare function variantPseudoClassesAndElements(): VariantObject[];
44
56
  declare function variantPseudoClassFunctions(): VariantObject;
45
57
  declare function variantTaggedPseudoClasses(options?: PresetMiniOptions): VariantObject[];
46
58
  declare const variantPartClasses: VariantObject;
47
-
59
+ //#endregion
60
+ //#region src/_variants/startingstyle.d.ts
48
61
  declare const variantStartingStyle: Variant;
49
-
62
+ //#endregion
63
+ //#region src/_variants/supports.d.ts
50
64
  declare const variantSupports: VariantObject;
51
-
52
- export { variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantStartingStyle, variantSupports, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };
65
+ //#endregion
66
+ export { variantAria, variantBreakpoints, variantChildren, variantColorsMediaOrClass, variantCombinators, variantContainerQuery, variantCssLayer, variantCustomMedia, variantDataAttribute, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPartClasses, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantStartingStyle, variantSupports, variantTaggedAriaAttributes, variantTaggedDataAttributes, variantTaggedPseudoClasses, variantTheme, variantVariables, variants };