@unocss/preset-mini 0.45.25 → 0.45.28
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/{colors-84e505e0.d.ts → colors-67ae184f.d.ts} +1 -1
- package/dist/colors.d.ts +2 -2
- package/dist/{default-89bad733.d.ts → default-016bd463.d.ts} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/rules.cjs +2 -2
- package/dist/rules.d.ts +1 -1
- package/dist/rules.mjs +2 -2
- package/dist/shared/{preset-mini.21caaa52.mjs → preset-mini.3602602e.mjs} +2 -1
- package/dist/shared/{preset-mini.419c83fa.cjs → preset-mini.5d1fe287.cjs} +1 -1
- package/dist/shared/{preset-mini.71da95d5.mjs → preset-mini.85263b33.mjs} +1 -1
- package/dist/shared/{preset-mini.f550628d.cjs → preset-mini.b300afab.cjs} +2 -1
- package/dist/shared/{preset-mini.91e0f909.mjs → preset-mini.d7aeeb41.mjs} +30 -1
- package/dist/shared/{preset-mini.139ba789.mjs → preset-mini.dadc4e80.mjs} +1 -1
- package/dist/shared/{preset-mini.fecffafd.cjs → preset-mini.eaaf9ac5.cjs} +30 -0
- package/dist/shared/{preset-mini.81a1b59d.cjs → preset-mini.eeab2052.cjs} +1 -1
- package/dist/theme.cjs +2 -2
- package/dist/theme.d.ts +4 -4
- package/dist/theme.mjs +2 -2
- package/dist/{types-dcc1dd95.d.ts → types-c22910b5.d.ts} +1 -0
- package/dist/{utilities-f6e9c552.d.ts → utilities-d1833377.d.ts} +1 -1
- package/dist/utils.d.ts +2 -2
- package/dist/variants.cjs +2 -1
- package/dist/variants.d.ts +7 -5
- package/dist/variants.mjs +1 -1
- package/package.json +2 -2
package/dist/colors.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { c as colors } from './colors-
|
|
2
|
-
import './types-
|
|
1
|
+
export { c as colors } from './colors-67ae184f.js';
|
|
2
|
+
import './types-c22910b5.js';
|
package/dist/index.cjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const core = require('@unocss/core');
|
|
6
|
-
require('./shared/preset-mini.
|
|
6
|
+
require('./shared/preset-mini.b300afab.cjs');
|
|
7
7
|
const colors$1 = require('./shared/preset-mini.7346cef1.cjs');
|
|
8
|
-
const _default$1 = require('./shared/preset-mini.
|
|
8
|
+
const _default$1 = require('./shared/preset-mini.5d1fe287.cjs');
|
|
9
9
|
const colors = require('./shared/preset-mini.30606736.cjs');
|
|
10
|
-
const _default = require('./shared/preset-mini.
|
|
11
|
-
const _default$2 = require('./shared/preset-mini.
|
|
10
|
+
const _default = require('./shared/preset-mini.eeab2052.cjs');
|
|
11
|
+
const _default$2 = require('./shared/preset-mini.eaaf9ac5.cjs');
|
|
12
12
|
require('./shared/preset-mini.6d3bd985.cjs');
|
|
13
13
|
|
|
14
14
|
const preflights = [
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Preflight, PresetOptions, Preset } from '@unocss/core';
|
|
2
|
-
export { c as colors } from './colors-
|
|
3
|
-
export { t as theme } from './default-
|
|
4
|
-
import { T as Theme } from './types-
|
|
5
|
-
export { T as Theme, a as ThemeAnimation } from './types-
|
|
6
|
-
export { p as parseColor } from './utilities-
|
|
2
|
+
export { c as colors } from './colors-67ae184f.js';
|
|
3
|
+
export { t as theme } from './default-016bd463.js';
|
|
4
|
+
import { T as Theme } from './types-c22910b5.js';
|
|
5
|
+
export { T as Theme, a as ThemeAnimation } from './types-c22910b5.js';
|
|
6
|
+
export { p as parseColor } from './utilities-d1833377.js';
|
|
7
7
|
|
|
8
8
|
declare const preflights: Preflight[];
|
|
9
9
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { entriesToCss } from '@unocss/core';
|
|
2
|
-
import './shared/preset-mini.
|
|
2
|
+
import './shared/preset-mini.3602602e.mjs';
|
|
3
3
|
export { p as parseColor } from './shared/preset-mini.42e5e280.mjs';
|
|
4
|
-
import { r as rules } from './shared/preset-mini.
|
|
4
|
+
import { r as rules } from './shared/preset-mini.dadc4e80.mjs';
|
|
5
5
|
export { c as colors } from './shared/preset-mini.65ac75be.mjs';
|
|
6
|
-
import { t as theme } from './shared/preset-mini.
|
|
7
|
-
export { t as theme } from './shared/preset-mini.
|
|
8
|
-
import { v as variants } from './shared/preset-mini.
|
|
6
|
+
import { t as theme } from './shared/preset-mini.85263b33.mjs';
|
|
7
|
+
export { t as theme } from './shared/preset-mini.85263b33.mjs';
|
|
8
|
+
import { v as variants } from './shared/preset-mini.d7aeeb41.mjs';
|
|
9
9
|
import './shared/preset-mini.f73f9ed7.mjs';
|
|
10
10
|
|
|
11
11
|
const preflights = [
|
package/dist/rules.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const decoration = require('./shared/preset-mini.
|
|
6
|
-
const _default = require('./shared/preset-mini.
|
|
5
|
+
const decoration = require('./shared/preset-mini.b300afab.cjs');
|
|
6
|
+
const _default = require('./shared/preset-mini.5d1fe287.cjs');
|
|
7
7
|
require('./shared/preset-mini.7346cef1.cjs');
|
|
8
8
|
require('@unocss/core');
|
|
9
9
|
|
package/dist/rules.d.ts
CHANGED
package/dist/rules.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as alignments, C as appearance, s as appearances, R as borderStyles, b as borders, o as boxShadows, P as boxShadowsBase, K as boxSizing, z as breaks, c as contentVisibility, a as contents, q as cursors, d as displays, I as floats, n as fontSmoothings, m as fontStyles, f as fonts, S as handlerBorderStyle, H as insets, E as justifies, D as orders, B as outline, A as overflows, G as placements, u as pointerEvents, p as positions, v as resizes, Q as ringBase, r as rings, t as tabSizes, l as textAligns, h as textDecorations, e as textIndents, g as textOverflows, j as textShadows, i as textStrokes, k as textTransforms, O as transformBase, M as transforms, L as transitions, x as userSelects, T as varEmpty, w as verticalAligns, y as whitespaces, N as willChange, J as zIndexes } from './shared/preset-mini.
|
|
2
|
-
export { c as aspectRatio, b as bgColors, h as cssProperty, e as cssVariables, f as flex, g as gaps, a as grids, m as margins, o as opacity, p as paddings, q as questionMark, r as rules, s as sizes, d as svgUtilities, t as textColors } from './shared/preset-mini.
|
|
1
|
+
export { F as alignments, C as appearance, s as appearances, R as borderStyles, b as borders, o as boxShadows, P as boxShadowsBase, K as boxSizing, z as breaks, c as contentVisibility, a as contents, q as cursors, d as displays, I as floats, n as fontSmoothings, m as fontStyles, f as fonts, S as handlerBorderStyle, H as insets, E as justifies, D as orders, B as outline, A as overflows, G as placements, u as pointerEvents, p as positions, v as resizes, Q as ringBase, r as rings, t as tabSizes, l as textAligns, h as textDecorations, e as textIndents, g as textOverflows, j as textShadows, i as textStrokes, k as textTransforms, O as transformBase, M as transforms, L as transitions, x as userSelects, T as varEmpty, w as verticalAligns, y as whitespaces, N as willChange, J as zIndexes } from './shared/preset-mini.3602602e.mjs';
|
|
2
|
+
export { c as aspectRatio, b as bgColors, h as cssProperty, e as cssVariables, f as flex, g as gaps, a as grids, m as margins, o as opacity, p as paddings, q as questionMark, r as rules, s as sizes, d as svgUtilities, t as textColors } from './shared/preset-mini.dadc4e80.mjs';
|
|
3
3
|
import './shared/preset-mini.42e5e280.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
@@ -493,7 +493,8 @@ const contents = [
|
|
|
493
493
|
const breaks = [
|
|
494
494
|
["break-normal", { "overflow-wrap": "normal", "word-break": "normal" }],
|
|
495
495
|
["break-words", { "overflow-wrap": "break-word" }],
|
|
496
|
-
["break-all", { "word-break": "break-all" }]
|
|
496
|
+
["break-all", { "word-break": "break-all" }],
|
|
497
|
+
["break-keep", { "word-break": "keep-all" }]
|
|
497
498
|
];
|
|
498
499
|
const textOverflows = [
|
|
499
500
|
["truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as colors } from './preset-mini.65ac75be.mjs';
|
|
2
|
-
import { O as transformBase, P as boxShadowsBase, Q as ringBase } from './preset-mini.
|
|
2
|
+
import { O as transformBase, P as boxShadowsBase, Q as ringBase } from './preset-mini.3602602e.mjs';
|
|
3
3
|
import './preset-mini.42e5e280.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
|
|
@@ -495,7 +495,8 @@ const contents = [
|
|
|
495
495
|
const breaks = [
|
|
496
496
|
["break-normal", { "overflow-wrap": "normal", "word-break": "normal" }],
|
|
497
497
|
["break-words", { "overflow-wrap": "break-word" }],
|
|
498
|
-
["break-all", { "word-break": "break-all" }]
|
|
498
|
+
["break-all", { "word-break": "break-all" }],
|
|
499
|
+
["break-keep", { "word-break": "keep-all" }]
|
|
499
500
|
];
|
|
500
501
|
const textOverflows = [
|
|
501
502
|
["truncate", { "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" }],
|
|
@@ -109,6 +109,34 @@ const variantCustomMedia = {
|
|
|
109
109
|
multiPass: true
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
+
const variantSupports = {
|
|
113
|
+
name: "supports",
|
|
114
|
+
match(matcher, { theme }) {
|
|
115
|
+
if (matcher.startsWith("supports-")) {
|
|
116
|
+
const matcherValue = matcher.substring(9);
|
|
117
|
+
const [match, rest] = getComponent(matcherValue, "[", "]", ":") ?? [];
|
|
118
|
+
if (!(match && rest && rest !== ""))
|
|
119
|
+
return;
|
|
120
|
+
let supports = handler.bracket(match) ?? "";
|
|
121
|
+
if (supports === "") {
|
|
122
|
+
const themeValue = theme.supports?.[match];
|
|
123
|
+
if (themeValue)
|
|
124
|
+
supports = themeValue;
|
|
125
|
+
}
|
|
126
|
+
if (supports) {
|
|
127
|
+
return {
|
|
128
|
+
matcher: rest,
|
|
129
|
+
handle: (input, next) => next({
|
|
130
|
+
...input,
|
|
131
|
+
parent: `${input.parent ? `${input.parent} $$ ` : ""}@supports ${supports}`
|
|
132
|
+
})
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
multiPass: true
|
|
138
|
+
};
|
|
139
|
+
|
|
112
140
|
const variantColorsMediaOrClass = (options = {}) => {
|
|
113
141
|
if (options?.dark === "class" || typeof options.dark === "object") {
|
|
114
142
|
const { dark = ".dark", light = ".light" } = typeof options.dark === "string" ? {} : options.dark;
|
|
@@ -432,6 +460,7 @@ const variants = (options) => [
|
|
|
432
460
|
variantInternalLayer,
|
|
433
461
|
variantNegative,
|
|
434
462
|
variantImportant,
|
|
463
|
+
variantSupports,
|
|
435
464
|
variantPrint,
|
|
436
465
|
variantCustomMedia,
|
|
437
466
|
variantBreakpoints,
|
|
@@ -445,4 +474,4 @@ const variants = (options) => [
|
|
|
445
474
|
variantScope
|
|
446
475
|
];
|
|
447
476
|
|
|
448
|
-
export { variantBreakpoints as a, variantCombinators as b, calcMaxWidthBySize as c, variantPrint as d, variantCustomMedia as e,
|
|
477
|
+
export { variantBreakpoints as a, variantCombinators as b, calcMaxWidthBySize as c, variantPrint as d, variantCustomMedia as e, variantSupports as f, variantColorsMediaOrClass as g, variantLanguageDirections as h, variantSelector as i, variantCssLayer as j, variantInternalLayer as k, variantScope as l, variantVariables as m, variantPseudoClassesAndElements as n, variantPseudoClassFunctions as o, variantTaggedPseudoClasses as p, partClasses as q, variantImportant as r, variantNegative as s, variants as v };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as displays, b as borders, c as contentVisibility, a as contents, f as fonts, t as tabSizes, e as textIndents, g as textOverflows, h as textDecorations, i as textStrokes, j as textShadows, k as textTransforms, l as textAligns, m as fontStyles, n as fontSmoothings, o as boxShadows, r as rings, p as positions, q as cursors, s as appearances, u as pointerEvents, v as resizes, w as verticalAligns, x as userSelects, y as whitespaces, z as breaks, A as overflows, B as outline, C as appearance, D as orders, E as justifies, F as alignments, G as placements, H as insets, I as floats, J as zIndexes, K as boxSizing, L as transitions, M as transforms, N as willChange } from './preset-mini.
|
|
1
|
+
import { d as displays, b as borders, c as contentVisibility, a as contents, f as fonts, t as tabSizes, e as textIndents, g as textOverflows, h as textDecorations, i as textStrokes, j as textShadows, k as textTransforms, l as textAligns, m as fontStyles, n as fontSmoothings, o as boxShadows, r as rings, p as positions, q as cursors, s as appearances, u as pointerEvents, v as resizes, w as verticalAligns, x as userSelects, y as whitespaces, z as breaks, A as overflows, B as outline, C as appearance, D as orders, E as justifies, F as alignments, G as placements, H as insets, I as floats, J as zIndexes, K as boxSizing, L as transitions, M as transforms, N as willChange } from './preset-mini.3602602e.mjs';
|
|
2
2
|
import { h as handler, c as colorResolver, n as numberWithUnitRE, r as resolveVerticalBreakpoints, l as resolveBreakpoints, o as directionSize } from './preset-mini.42e5e280.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
4
|
|
|
@@ -111,6 +111,34 @@ const variantCustomMedia = {
|
|
|
111
111
|
multiPass: true
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
+
const variantSupports = {
|
|
115
|
+
name: "supports",
|
|
116
|
+
match(matcher, { theme }) {
|
|
117
|
+
if (matcher.startsWith("supports-")) {
|
|
118
|
+
const matcherValue = matcher.substring(9);
|
|
119
|
+
const [match, rest] = colors.getComponent(matcherValue, "[", "]", ":") ?? [];
|
|
120
|
+
if (!(match && rest && rest !== ""))
|
|
121
|
+
return;
|
|
122
|
+
let supports = colors.handler.bracket(match) ?? "";
|
|
123
|
+
if (supports === "") {
|
|
124
|
+
const themeValue = theme.supports?.[match];
|
|
125
|
+
if (themeValue)
|
|
126
|
+
supports = themeValue;
|
|
127
|
+
}
|
|
128
|
+
if (supports) {
|
|
129
|
+
return {
|
|
130
|
+
matcher: rest,
|
|
131
|
+
handle: (input, next) => next({
|
|
132
|
+
...input,
|
|
133
|
+
parent: `${input.parent ? `${input.parent} $$ ` : ""}@supports ${supports}`
|
|
134
|
+
})
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
multiPass: true
|
|
140
|
+
};
|
|
141
|
+
|
|
114
142
|
const variantColorsMediaOrClass = (options = {}) => {
|
|
115
143
|
if (options?.dark === "class" || typeof options.dark === "object") {
|
|
116
144
|
const { dark = ".dark", light = ".light" } = typeof options.dark === "string" ? {} : options.dark;
|
|
@@ -434,6 +462,7 @@ const variants = (options) => [
|
|
|
434
462
|
variantInternalLayer,
|
|
435
463
|
variantNegative,
|
|
436
464
|
variantImportant,
|
|
465
|
+
variantSupports,
|
|
437
466
|
variantPrint,
|
|
438
467
|
variantCustomMedia,
|
|
439
468
|
variantBreakpoints,
|
|
@@ -463,6 +492,7 @@ exports.variantPseudoClassFunctions = variantPseudoClassFunctions;
|
|
|
463
492
|
exports.variantPseudoClassesAndElements = variantPseudoClassesAndElements;
|
|
464
493
|
exports.variantScope = variantScope;
|
|
465
494
|
exports.variantSelector = variantSelector;
|
|
495
|
+
exports.variantSupports = variantSupports;
|
|
466
496
|
exports.variantTaggedPseudoClasses = variantTaggedPseudoClasses;
|
|
467
497
|
exports.variantVariables = variantVariables;
|
|
468
498
|
exports.variants = variants;
|
package/dist/theme.cjs
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const colors = require('./shared/preset-mini.30606736.cjs');
|
|
6
|
-
const _default = require('./shared/preset-mini.
|
|
7
|
-
require('./shared/preset-mini.
|
|
6
|
+
const _default = require('./shared/preset-mini.eeab2052.cjs');
|
|
7
|
+
require('./shared/preset-mini.b300afab.cjs');
|
|
8
8
|
require('./shared/preset-mini.7346cef1.cjs');
|
|
9
9
|
require('@unocss/core');
|
|
10
10
|
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as colors } from './colors-
|
|
2
|
-
export { t as theme } from './default-
|
|
3
|
-
import { T as Theme } from './types-
|
|
4
|
-
export { T as Theme, a as ThemeAnimation } from './types-
|
|
1
|
+
export { c as colors } from './colors-67ae184f.js';
|
|
2
|
+
export { t as theme } from './default-016bd463.js';
|
|
3
|
+
import { T as Theme } from './types-c22910b5.js';
|
|
4
|
+
export { T as Theme, a as ThemeAnimation } from './types-c22910b5.js';
|
|
5
5
|
|
|
6
6
|
declare const blur: {
|
|
7
7
|
DEFAULT: string;
|
package/dist/theme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { c as colors } from './shared/preset-mini.65ac75be.mjs';
|
|
2
|
-
export { p as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, d as dropShadow, k as duration, o as easing, f as fontFamily, a as fontSize, x as height, h as letterSpacing, l as lineHeight, j as lineWidth, y as maxHeight, u as maxWidth, z as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, q as width, w as wordSpacing } from './shared/preset-mini.
|
|
3
|
-
import './shared/preset-mini.
|
|
2
|
+
export { p as baseSize, b as blur, m as borderRadius, n as boxShadow, i as breakpoints, d as dropShadow, k as duration, o as easing, f as fontFamily, a as fontSize, x as height, h as letterSpacing, l as lineHeight, j as lineWidth, y as maxHeight, u as maxWidth, z as preflightBase, r as ringWidth, s as spacing, c as textIndent, g as textShadow, e as textStrokeWidth, t as theme, v as verticalBreakpoints, q as width, w as wordSpacing } from './shared/preset-mini.85263b33.mjs';
|
|
3
|
+
import './shared/preset-mini.3602602e.mjs';
|
|
4
4
|
import './shared/preset-mini.42e5e280.mjs';
|
|
5
5
|
import '@unocss/core';
|
|
@@ -39,6 +39,7 @@ interface Theme {
|
|
|
39
39
|
dropShadow?: Record<string, string | string[]>;
|
|
40
40
|
easing?: Record<string, string>;
|
|
41
41
|
media?: Record<string, string>;
|
|
42
|
+
supports?: Record<string, string>;
|
|
42
43
|
animation?: ThemeAnimation;
|
|
43
44
|
gridAutoColumn?: Record<string, string>;
|
|
44
45
|
gridAutoRow?: Record<string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DynamicMatcher, ParsedColorValue, CSSObject, VariantContext, Rule } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './types-
|
|
2
|
+
import { T as Theme } from './types-c22910b5.js';
|
|
3
3
|
|
|
4
4
|
declare const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
|
|
5
5
|
/**
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _unocss_core from '@unocss/core';
|
|
2
2
|
import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core';
|
|
3
|
-
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getComponent, e as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-
|
|
4
|
-
import './types-
|
|
3
|
+
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getComponent, e as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-d1833377.js';
|
|
4
|
+
import './types-c22910b5.js';
|
|
5
5
|
|
|
6
6
|
declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
|
|
7
7
|
declare function parseCssColor(str?: string): CSSColorValue | undefined;
|
package/dist/variants.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const _default = require('./shared/preset-mini.
|
|
5
|
+
const _default = require('./shared/preset-mini.eaaf9ac5.cjs');
|
|
6
6
|
require('./shared/preset-mini.7346cef1.cjs');
|
|
7
7
|
require('@unocss/core');
|
|
8
8
|
require('./shared/preset-mini.6d3bd985.cjs');
|
|
@@ -25,6 +25,7 @@ exports.variantPseudoClassFunctions = _default.variantPseudoClassFunctions;
|
|
|
25
25
|
exports.variantPseudoClassesAndElements = _default.variantPseudoClassesAndElements;
|
|
26
26
|
exports.variantScope = _default.variantScope;
|
|
27
27
|
exports.variantSelector = _default.variantSelector;
|
|
28
|
+
exports.variantSupports = _default.variantSupports;
|
|
28
29
|
exports.variantTaggedPseudoClasses = _default.variantTaggedPseudoClasses;
|
|
29
30
|
exports.variantVariables = _default.variantVariables;
|
|
30
31
|
exports.variants = _default.variants;
|
package/dist/variants.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Variant, VariantObject } from '@unocss/core';
|
|
2
|
-
import { T as Theme } from './types-
|
|
2
|
+
import { T as Theme } from './types-c22910b5.js';
|
|
3
3
|
import { PresetMiniOptions } from './index.js';
|
|
4
|
-
import './colors-
|
|
5
|
-
import './default-
|
|
6
|
-
import './utilities-
|
|
4
|
+
import './colors-67ae184f.js';
|
|
5
|
+
import './default-016bd463.js';
|
|
6
|
+
import './utilities-d1833377.js';
|
|
7
7
|
|
|
8
8
|
declare const calcMaxWidthBySize: (size: string) => string;
|
|
9
9
|
declare const variantBreakpoints: Variant<Theme>;
|
|
@@ -13,6 +13,8 @@ declare const variantCombinators: Variant[];
|
|
|
13
13
|
declare const variantPrint: Variant;
|
|
14
14
|
declare const variantCustomMedia: VariantObject;
|
|
15
15
|
|
|
16
|
+
declare const variantSupports: VariantObject;
|
|
17
|
+
|
|
16
18
|
declare const variantColorsMediaOrClass: (options?: PresetMiniOptions) => Variant[];
|
|
17
19
|
|
|
18
20
|
declare const variants: (options: PresetMiniOptions) => Variant<Theme>[];
|
|
@@ -34,4 +36,4 @@ declare const variantImportant: Variant;
|
|
|
34
36
|
|
|
35
37
|
declare const variantNegative: Variant;
|
|
36
38
|
|
|
37
|
-
export { calcMaxWidthBySize, partClasses, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantCssLayer, variantCustomMedia, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantTaggedPseudoClasses, variantVariables, variants };
|
|
39
|
+
export { calcMaxWidthBySize, partClasses, variantBreakpoints, variantColorsMediaOrClass, variantCombinators, variantCssLayer, variantCustomMedia, variantImportant, variantInternalLayer, variantLanguageDirections, variantNegative, variantPrint, variantPseudoClassFunctions, variantPseudoClassesAndElements, variantScope, variantSelector, variantSupports, variantTaggedPseudoClasses, variantVariables, variants };
|
package/dist/variants.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as calcMaxWidthBySize,
|
|
1
|
+
export { c as calcMaxWidthBySize, q as partClasses, a as variantBreakpoints, g as variantColorsMediaOrClass, b as variantCombinators, j as variantCssLayer, e as variantCustomMedia, r as variantImportant, k as variantInternalLayer, h as variantLanguageDirections, s as variantNegative, d as variantPrint, o as variantPseudoClassFunctions, n as variantPseudoClassesAndElements, l as variantScope, i as variantSelector, f as variantSupports, p as variantTaggedPseudoClasses, m as variantVariables, v as variants } from './shared/preset-mini.d7aeeb41.mjs';
|
|
2
2
|
import './shared/preset-mini.42e5e280.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
4
|
import './shared/preset-mini.f73f9ed7.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.28",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"*.css"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.45.
|
|
64
|
+
"@unocss/core": "0.45.28"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|