@unocss/preset-wind 65.4.0 → 65.4.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/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import presetMini, { presetMini as presetMini$1 } from '@unocss/preset-mini';
|
|
|
3
3
|
export { colors, preflights } from '@unocss/preset-mini';
|
|
4
4
|
import { shortcuts } from './shortcuts.mjs';
|
|
5
5
|
import { theme } from './theme.mjs';
|
|
6
|
-
import { r as rules } from './shared/preset-wind.
|
|
6
|
+
import { r as rules } from './shared/preset-wind.Bg8ySkSn.mjs';
|
|
7
7
|
import { b as variants } from './shared/preset-wind.BwVsieym.mjs';
|
|
8
8
|
import './shared/preset-wind.BzmnsdqZ.mjs';
|
|
9
9
|
import '@unocss/preset-mini/utils';
|
package/dist/rules.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as accents, a as animations, u as backgroundBlendModes, b as backgroundStyles, d as carets, e as columns, y as cssVariables, f as divides, x as dynamicViewportHeight, j as hyphens, i as imageRenderings, n as isolations, g as lineClamps, l as listStyle, v as mixBlendModes, q as objectPositions, o as overscrolls, p as placeholders, r as rules, m as screenReadersAccess, s as scrollBehaviors, h as spaces, t as textTransforms, z as viewTransition, w as writingModes, k as writingOrientations } from './shared/preset-wind.
|
|
1
|
+
export { c as accents, a as animations, u as backgroundBlendModes, b as backgroundStyles, d as carets, e as columns, y as cssVariables, f as divides, x as dynamicViewportHeight, j as hyphens, i as imageRenderings, n as isolations, g as lineClamps, l as listStyle, v as mixBlendModes, q as objectPositions, o as overscrolls, p as placeholders, r as rules, m as screenReadersAccess, s as scrollBehaviors, h as spaces, t as textTransforms, z as viewTransition, w as writingModes, k as writingOrientations } from './shared/preset-wind.Bg8ySkSn.mjs';
|
|
2
2
|
export { c as container, a as containerShortcuts } from './shared/preset-wind.BzmnsdqZ.mjs';
|
|
3
3
|
export { b as backdropFilterBase, d as borderSpacingBase, f as filterBase, a as filters, i as fontVariantNumeric, h as fontVariantNumericBase, s as scrollSnapTypeBase, c as scrolls, t as tables, e as touchActionBase, g as touchActions } from './shared/preset-wind.DjKJQ_OR.mjs';
|
|
4
4
|
import '@unocss/preset-mini/rules';
|
|
@@ -38,7 +38,7 @@ const animations = [
|
|
|
38
38
|
[/^animate-delay-(.+)$/, ([, d], { theme }) => ({ "animation-delay": theme.duration?.[d || "DEFAULT"] ?? h.bracket.cssvar.time(d) }), { autocomplete: ["animate-delay", "animate-delay-$duration"] }],
|
|
39
39
|
[/^animate-ease(?:-(.+))?$/, ([, d], { theme }) => ({ "animation-timing-function": theme.easing?.[d || "DEFAULT"] ?? h.bracket.cssvar(d) }), { autocomplete: ["animate-ease", "animate-ease-$easing"] }],
|
|
40
40
|
// fill mode
|
|
41
|
-
[/^animate-(fill-mode-|fill-|mode-)?(.+)$/, ([, t, d]) => ["none", "forwards", "backwards", "both", ...[t ? globalKeywords : []]].includes(d) ? { "animation-fill-mode": d } :
|
|
41
|
+
[/^animate-(fill-mode-|fill-|mode-)?(.+)$/, ([, t, d]) => ["none", "forwards", "backwards", "both", ...[t ? globalKeywords : []]].includes(d) ? { "animation-fill-mode": d } : undefined, {
|
|
42
42
|
autocomplete: [
|
|
43
43
|
"animate-(fill|mode|fill-mode)",
|
|
44
44
|
"animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)",
|
|
@@ -46,7 +46,7 @@ const animations = [
|
|
|
46
46
|
]
|
|
47
47
|
}],
|
|
48
48
|
// direction
|
|
49
|
-
[/^animate-(direction-)?(.+)$/, ([, t, d]) => ["normal", "reverse", "alternate", "alternate-reverse", ...[t ? globalKeywords : []]].includes(d) ? { "animation-direction": d } :
|
|
49
|
+
[/^animate-(direction-)?(.+)$/, ([, t, d]) => ["normal", "reverse", "alternate", "alternate-reverse", ...[t ? globalKeywords : []]].includes(d) ? { "animation-direction": d } : undefined, {
|
|
50
50
|
autocomplete: [
|
|
51
51
|
"animate-direction",
|
|
52
52
|
"animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)",
|
|
@@ -55,7 +55,7 @@ const animations = [
|
|
|
55
55
|
}],
|
|
56
56
|
// others
|
|
57
57
|
[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/, ([, d]) => ({ "animation-iteration-count": h.bracket.cssvar(d) ?? d.replace(/-/g, ",") }), { autocomplete: ["animate-(iteration|count|iteration-count)", "animate-(iteration|count|iteration-count)-<num>"] }],
|
|
58
|
-
[/^animate-(play-state-|play-|state-)?(.+)$/, ([, t, d]) => ["paused", "running", ...[t ? globalKeywords : []]].includes(d) ? { "animation-play-state": d } :
|
|
58
|
+
[/^animate-(play-state-|play-|state-)?(.+)$/, ([, t, d]) => ["paused", "running", ...[t ? globalKeywords : []]].includes(d) ? { "animation-play-state": d } : undefined, {
|
|
59
59
|
autocomplete: [
|
|
60
60
|
"animate-(play|state|play-state)",
|
|
61
61
|
"animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)",
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "65.4.
|
|
4
|
+
"version": "65.4.3",
|
|
5
5
|
"description": "Tailwind / Windi CSS compact preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/antfu",
|
|
9
|
-
"homepage": "https://
|
|
9
|
+
"homepage": "https://unocss.dev",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/unocss/unocss",
|
|
13
|
-
"directory": "packages/preset-wind"
|
|
13
|
+
"directory": "packages-presets/preset-wind"
|
|
14
14
|
},
|
|
15
15
|
"bugs": {
|
|
16
16
|
"url": "https://github.com/unocss/unocss/issues"
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"dist"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@unocss/
|
|
56
|
-
"@unocss/
|
|
57
|
-
"@unocss/rule-utils": "65.4.
|
|
55
|
+
"@unocss/preset-mini": "65.4.3",
|
|
56
|
+
"@unocss/core": "65.4.3",
|
|
57
|
+
"@unocss/rule-utils": "65.4.3"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "unbuild",
|