@unocss/preset-wind 65.4.3 → 65.5.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
@@ -3,15 +3,15 @@ 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.Bg8ySkSn.mjs';
7
6
  import { b as variants } from './shared/preset-wind.BwVsieym.mjs';
7
+ import { r as rules } from './shared/preset-wind.BhNFGDEs.mjs';
8
8
  import './shared/preset-wind.BzmnsdqZ.mjs';
9
9
  import '@unocss/preset-mini/utils';
10
10
  import '@unocss/preset-mini/rules';
11
11
  import '@unocss/preset-mini/theme';
12
12
  import './shared/preset-wind.DjKJQ_OR.mjs';
13
- import '@unocss/rule-utils';
14
13
  import '@unocss/preset-mini/variants';
14
+ import '@unocss/rule-utils';
15
15
 
16
16
  function important(option) {
17
17
  if (option == null || option === false)
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.Bg8ySkSn.mjs';
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.BhNFGDEs.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';
@@ -1,6 +1,6 @@
1
1
  import * as _ from '@unocss/preset-mini/rules';
2
2
  import { borderStyles } from '@unocss/preset-mini/rules';
3
- import { h, globalKeywords, makeGlobalStaticRules, positionMap, parseColor, colorResolver, directionMap } from '@unocss/preset-mini/utils';
3
+ import { h, makeGlobalStaticRules, globalKeywords, positionMap, parseColor, colorResolver, directionMap } from '@unocss/preset-mini/utils';
4
4
  import { colorToString, colorOpacityToString } from '@unocss/rule-utils';
5
5
  import { c as container } from './preset-wind.BzmnsdqZ.mjs';
6
6
  import { t as tables, g as touchActions, c as scrolls, i as fontVariantNumeric, a as filters } from './preset-wind.DjKJQ_OR.mjs';
@@ -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 } : undefined, {
41
+ [/^animate-(fill-mode-|fill-|mode-)?(.+)$/, ([, t, d]) => ["none", "forwards", "backwards", "both", ...[t ? globalKeywords : []]].includes(d) ? { "animation-fill-mode": d } : void 0, {
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 } : undefined, {
49
+ [/^animate-(direction-)?(.+)$/, ([, t, d]) => ["normal", "reverse", "alternate", "alternate-reverse", ...[t ? globalKeywords : []]].includes(d) ? { "animation-direction": d } : void 0, {
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 } : undefined, {
58
+ [/^animate-(play-state-|play-|state-)?(.+)$/, ([, t, d]) => ["paused", "running", ...[t ? globalKeywords : []]].includes(d) ? { "animation-play-state": d } : void 0, {
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/dist/theme.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { transformBase, boxShadowsBase, ringBase } from '@unocss/preset-mini/rules';
1
+ import { ringBase, boxShadowsBase, transformBase } from '@unocss/preset-mini/rules';
2
2
  import { theme as theme$1 } from '@unocss/preset-mini/theme';
3
- import { e as touchActionBase, s as scrollSnapTypeBase, h as fontVariantNumericBase, d as borderSpacingBase, f as filterBase, b as backdropFilterBase } from './shared/preset-wind.DjKJQ_OR.mjs';
3
+ import { b as backdropFilterBase, f as filterBase, d as borderSpacingBase, h as fontVariantNumericBase, s as scrollSnapTypeBase, e as touchActionBase } from './shared/preset-wind.DjKJQ_OR.mjs';
4
4
  import '@unocss/preset-mini/utils';
5
5
 
6
6
  const theme = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
3
  "type": "module",
4
- "version": "65.4.3",
4
+ "version": "65.5.0",
5
5
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "homepage": "https://unocss.dev",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/unocss/unocss",
12
+ "url": "git+https://github.com/unocss/unocss",
13
13
  "directory": "packages-presets/preset-wind"
14
14
  },
15
15
  "bugs": {
@@ -52,9 +52,9 @@
52
52
  "dist"
53
53
  ],
54
54
  "dependencies": {
55
- "@unocss/preset-mini": "65.4.3",
56
- "@unocss/core": "65.4.3",
57
- "@unocss/rule-utils": "65.4.3"
55
+ "@unocss/preset-mini": "65.5.0",
56
+ "@unocss/core": "65.5.0",
57
+ "@unocss/rule-utils": "65.5.0"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "unbuild",