@unocss/preset-uno 0.14.3 → 0.15.3

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/rules.d.ts DELETED
@@ -1,162 +0,0 @@
1
- import { Rule, RuleContext, Shortcut } from '@unocss/core';
2
- import { T as Theme } from './types-7963d0b3';
3
-
4
- declare const verticalAligns: Rule[];
5
- declare const textAligns: Rule[];
6
-
7
- declare const animations: Rule[];
8
-
9
- declare const bgAttachments: Rule[];
10
- declare const bgBlendModes: Rule[];
11
- declare const bgClips: Rule[];
12
- declare const bgGradients: Rule[];
13
- declare const bgImages: Rule[];
14
- declare const bgOrigins: Rule[];
15
- declare const bgPositions: Rule[];
16
- declare const bgRepeats: Rule[];
17
- declare const bgSizes: Rule[];
18
-
19
- declare const outline: Rule[];
20
- declare const listStyle: Rule[];
21
- declare const boxDecorationBreaks: Rule[];
22
- declare const caretOpacity: Rule[];
23
- declare const caretColors: Rule[];
24
- declare const imageRenderings: Rule[];
25
- declare const appearance: Rule[];
26
- declare const placeholder: Rule[];
27
- declare const overscrolls: Rule[];
28
-
29
- declare const borderSizes: Rule[];
30
- declare const borderRadius: Rule[];
31
- declare const borderStyles: Rule[];
32
- declare const borders: Rule<{}>[];
33
-
34
- declare const parseColorUtil: (body: string, theme: Theme) => {
35
- opacity: string;
36
- name: string;
37
- no: string;
38
- color: string | undefined;
39
- rgba: [number, number, number, number] | [number, number, number] | undefined;
40
- } | undefined;
41
- declare const colorResolver: (attribute: string, varName: string) => ([, body]: string[], { theme }: RuleContext<Theme>) => {
42
- [x: string]: string | number;
43
- } | undefined;
44
- /**
45
- * @example op10 op-30 opacity-100
46
- */
47
- declare const opacity: Rule[];
48
- /**
49
- * @example c-red color-red5 text-red-300
50
- */
51
- declare const textColors: Rule[];
52
- declare const textDecorationColors: Rule[];
53
- declare const textStrokeColors: Rule[];
54
- declare const bgColors: Rule[];
55
- declare const borderColors: Rule[];
56
- declare const ringColors: Rule[];
57
- declare const ringOffsetColors: Rule[];
58
- declare const divideColors: Rule[];
59
- declare const fillColors: Rule[];
60
-
61
- declare const container: Rule<Theme>[];
62
- declare const containerShortcuts: Shortcut<Theme>[];
63
-
64
- declare const rules: Rule[];
65
-
66
- declare const divideSizes: Rule[];
67
- declare const divideStyles: Rule[];
68
- declare const divides: Rule<{}>[];
69
-
70
- declare const filters: Rule<Theme>[];
71
-
72
- declare const flex: Rule[];
73
-
74
- declare const gaps: Rule[];
75
-
76
- declare const grids: Rule[];
77
-
78
- declare const overflows: Rule[];
79
-
80
- declare const lineClamps: Rule[];
81
-
82
- declare const positions: Rule[];
83
- declare const justifies: Rule[];
84
- declare const orders: Rule[];
85
- declare const justifyItems: Rule[];
86
- declare const justifySelfs: Rule[];
87
- declare const alignContents: Rule[];
88
- declare const alignItems: Rule[];
89
- declare const alignSelfs: Rule[];
90
- declare const placeContents: Rule[];
91
- declare const placeItems: Rule[];
92
- declare const placeSelfs: Rule[];
93
- declare const insets: Rule[];
94
- declare const floats: Rule[];
95
- declare const zIndexes: Rule[];
96
- declare const objectPositions: Rule[];
97
- declare const boxSizing: Rule[];
98
-
99
- /**
100
- * Used for debugging, only avaliable in development mode.
101
- *
102
- * @example `?` / `where`
103
- */
104
- declare const questionMark: Rule[];
105
-
106
- declare const rings: Rule<Theme>[];
107
-
108
- declare const mixBlendModes: Rule[];
109
- declare const boxShadows: Rule<Theme>[];
110
-
111
- declare const sizes: Rule<Theme>[];
112
- declare const aspectRatio: Rule[];
113
-
114
- declare const paddings: Rule[];
115
- declare const margins: Rule[];
116
-
117
- declare const varEmpty = "var(--un-empty,/*!*/ /*!*/)";
118
- declare const displays: Rule[];
119
- declare const appearances: Rule[];
120
- declare const cursors: Rule[];
121
- declare const pointerEvents: Rule[];
122
- declare const resizes: Rule[];
123
- declare const userSelects: Rule[];
124
- declare const whitespaces: Rule[];
125
- declare const contents: Rule[];
126
- declare const breaks: Rule[];
127
- declare const textOverflows: Rule[];
128
- declare const textTransforms: Rule[];
129
- declare const textDecorations: Rule[];
130
- declare const textDecorationStyles: Rule[];
131
- declare const fontStyles: Rule[];
132
- declare const fontSmoothings: Rule[];
133
- declare const hyphens: Rule[];
134
- declare const writingModes: Rule[];
135
- declare const writingOrientations: Rule[];
136
- declare const screenReadersAccess: Rule[];
137
- declare const isolations: Rule[];
138
-
139
- declare const tables: Rule[];
140
-
141
- declare const transforms: Rule[];
142
-
143
- declare const transitions: Rule[];
144
-
145
- declare const fontsFamilies: Rule<Theme>[];
146
- declare const fontSizes: Rule<Theme>[];
147
- declare const fontWeights: Rule[];
148
- declare const leadings: Rule<Theme>[];
149
- declare const trackings: Rule<Theme>[];
150
- declare const wordSpacings: Rule<Theme>[];
151
- declare const tabSizes: Rule<Theme>[];
152
- declare const textDecorationLengths: Rule<Theme>[];
153
- declare const textDecorationOffsets: Rule<Theme>[];
154
- declare const textIndents: Rule<Theme>[];
155
- declare const textStrokeWidths: Rule<Theme>[];
156
- declare const textShadows: Rule<Theme>[];
157
- declare const fontVariantNumeric: Rule[];
158
- declare const fonts: Rule<Theme>[];
159
-
160
- declare const cssVariables: Rule[];
161
-
162
- export { alignContents, alignItems, alignSelfs, animations, appearance, appearances, aspectRatio, bgAttachments, bgBlendModes, bgClips, bgColors, bgGradients, bgImages, bgOrigins, bgPositions, bgRepeats, bgSizes, borderColors, borderRadius, borderSizes, borderStyles, borders, boxDecorationBreaks, boxShadows, boxSizing, breaks, caretColors, caretOpacity, colorResolver, container, containerShortcuts, contents, cssVariables, cursors, displays, divideColors, divideSizes, divideStyles, divides, fillColors, filters, flex, floats, fontSizes, fontSmoothings, fontStyles, fontVariantNumeric, fontWeights, fonts, fontsFamilies, gaps, grids, hyphens, imageRenderings, insets, isolations, justifies, justifyItems, justifySelfs, leadings, lineClamps, listStyle, margins, mixBlendModes, objectPositions, opacity, orders, outline, overflows, overscrolls, paddings, parseColorUtil, placeContents, placeItems, placeSelfs, placeholder, pointerEvents, positions, questionMark, resizes, ringColors, ringOffsetColors, rings, rules, screenReadersAccess, sizes, tabSizes, tables, textAligns, textColors, textDecorationColors, textDecorationLengths, textDecorationOffsets, textDecorationStyles, textDecorations, textIndents, textOverflows, textShadows, textStrokeColors, textStrokeWidths, textTransforms, trackings, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, wordSpacings, writingModes, writingOrientations, zIndexes };
package/dist/rules.mjs DELETED
@@ -1,4 +0,0 @@
1
- export { a0 as alignContents, a1 as alignItems, a2 as alignSelfs, a as animations, s as appearance, al as appearances, ag as aspectRatio, b as bgAttachments, d as bgBlendModes, e as bgClips, H as bgColors, f as bgGradients, g as bgImages, h as bgOrigins, i as bgPositions, j as bgRepeats, k as bgSizes, I as borderColors, y as borderRadius, x as borderSizes, z as borderStyles, A as borders, m as boxDecorationBreaks, ae as boxShadows, aa as boxSizing, as as breaks, p as caretColors, n as caretOpacity, C as colorResolver, N as container, c as containerShortcuts, ar as contents, aV as cssVariables, am as cursors, ak as displays, L as divideColors, O as divideSizes, P as divideStyles, Q as divides, M as fillColors, R as filters, S as flex, a7 as floats, aI as fontSizes, ay as fontSmoothings, ax as fontStyles, aT as fontVariantNumeric, aJ as fontWeights, aU as fonts, aH as fontsFamilies, T as gaps, U as grids, az as hyphens, q as imageRenderings, a6 as insets, aD as isolations, Y as justifies, _ as justifyItems, $ as justifySelfs, aK as leadings, W as lineClamps, l as listStyle, ai as margins, ad as mixBlendModes, a9 as objectPositions, D as opacity, Z as orders, o as outline, V as overflows, w as overscrolls, ah as paddings, B as parseColorUtil, a3 as placeContents, a4 as placeItems, a5 as placeSelfs, u as placeholder, an as pointerEvents, X as positions, ab as questionMark, ao as resizes, J as ringColors, K as ringOffsetColors, ac as rings, r as rules, aC as screenReadersAccess, af as sizes, aN as tabSizes, aE as tables, t as textAligns, E as textColors, F as textDecorationColors, aO as textDecorationLengths, aP as textDecorationOffsets, aw as textDecorationStyles, av as textDecorations, aQ as textIndents, at as textOverflows, aS as textShadows, G as textStrokeColors, aR as textStrokeWidths, au as textTransforms, aL as trackings, aF as transforms, aG as transitions, ap as userSelects, aj as varEmpty, v as verticalAligns, aq as whitespaces, aM as wordSpacings, aA as writingModes, aB as writingOrientations, a8 as zIndexes } from './chunks/default.mjs';
2
- import '@unocss/core';
3
- import './chunks/index.mjs';
4
- import './chunks/pseudo.mjs';
@@ -1,24 +0,0 @@
1
- interface Theme {
2
- width?: Record<string, string>;
3
- height?: Record<string, string>;
4
- maxWidth?: Record<string, string>;
5
- maxHeight?: Record<string, string>;
6
- minWidth?: Record<string, string>;
7
- minHeight?: Record<string, string>;
8
- borderRadius?: Record<string, string>;
9
- breakpoints?: Record<string, string>;
10
- colors?: Record<string, string | Record<string, string>>;
11
- fontFamily?: Record<string, string>;
12
- fontSize?: Record<string, [string, string]>;
13
- lineHeight?: Record<string, string>;
14
- letterSpacing?: Record<string, string>;
15
- wordSpacing?: Record<string, string>;
16
- boxShadow?: Record<string, string>;
17
- textIndent?: Record<string, string>;
18
- textShadow?: Record<string, string>;
19
- textStrokeWidth?: Record<string, string>;
20
- blur?: Record<string, string>;
21
- dropShadow?: Record<string, string | string[]>;
22
- }
23
-
24
- export { Theme as T };
package/dist/variants.cjs DELETED
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const _default = require('./chunks/default3.cjs');
6
- const pseudo = require('./chunks/pseudo.cjs');
7
- require('./chunks/variants.cjs');
8
- require('@unocss/core');
9
-
10
-
11
-
12
- exports.variantBreakpoints = _default.variantBreakpoints;
13
- exports.variantChildren = _default.variantChildren;
14
- exports.variantColorsClass = _default.variantColorsClass;
15
- exports.variantColorsMedia = _default.variantColorsMedia;
16
- exports.variantImportant = _default.variantImportant;
17
- exports.variantNegative = _default.variantNegative;
18
- exports.variantSpace = _default.variantSpace;
19
- exports.variants = _default.variants;
20
- exports.CONTROL_BYPASS_PSEUDO = pseudo.CONTROL_BYPASS_PSEUDO;
21
- exports.PseudoClasses = pseudo.PseudoClasses;
22
- exports.variantPseudoClasses = pseudo.variantPseudoClasses;
23
- exports.variantPseudoElements = pseudo.variantPseudoElements;
@@ -1,22 +0,0 @@
1
- import { Variant, VariantFunction, VariantObject } from '@unocss/core';
2
- import { T as Theme } from './types-7963d0b3';
3
-
4
- declare const variantBreakpoints: Variant<Theme>;
5
-
6
- declare const variantChildren: Variant[];
7
-
8
- declare const variantColorsClass: Variant[];
9
- declare const variantColorsMedia: Variant[];
10
-
11
- declare const variants: Variant<Theme>[];
12
-
13
- declare const variantImportant: Variant;
14
- declare const variantNegative: Variant;
15
- declare const variantSpace: Variant;
16
-
17
- declare const CONTROL_BYPASS_PSEUDO = "$$no-pseudo";
18
- declare const PseudoClasses: Record<string, string | undefined>;
19
- declare const variantPseudoElements: VariantFunction;
20
- declare const variantPseudoClasses: VariantObject;
21
-
22
- export { CONTROL_BYPASS_PSEUDO, PseudoClasses, variantBreakpoints, variantChildren, variantColorsClass, variantColorsMedia, variantImportant, variantNegative, variantPseudoClasses, variantPseudoElements, variantSpace, variants };
package/dist/variants.mjs DELETED
@@ -1,4 +0,0 @@
1
- export { c as variantBreakpoints, d as variantChildren, b as variantColorsClass, a as variantColorsMedia, e as variantImportant, f as variantNegative, g as variantSpace, v as variants } from './chunks/default3.mjs';
2
- export { C as CONTROL_BYPASS_PSEUDO, P as PseudoClasses, v as variantPseudoClasses, a as variantPseudoElements } from './chunks/pseudo.mjs';
3
- import './chunks/variants.mjs';
4
- import '@unocss/core';