@unocss/preset-wind3 66.6.8 → 66.7.0-beta.1

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.
@@ -1,6 +1,4 @@
1
- import * as _$_unocss_core0 from "@unocss/core";
2
1
  import { Variant, VariantFunction, VariantObject } from "@unocss/core";
3
- import * as _$_unocss_preset_mini0 from "@unocss/preset-mini";
4
2
  import { PresetMiniOptions, Theme as Theme$1, colors, preflights } from "@unocss/preset-mini";
5
3
 
6
4
  //#region src/variants/combinators.d.ts
@@ -52,6 +50,6 @@ interface PresetWind3Options extends PresetMiniOptions {
52
50
  *
53
51
  * @see https://unocss.dev/presets/wind3
54
52
  */
55
- declare const presetWind3: _$_unocss_core0.PresetFactory<_$_unocss_preset_mini0.Theme, PresetWind3Options>;
53
+ declare const presetWind3: import("@unocss/core").PresetFactory<import("@unocss/preset-mini").Theme, PresetWind3Options>;
56
54
  //#endregion
57
55
  export { presetWind3 as a, variantSpaceAndDivide as c, variantMotions as d, variantOrientations as f, variantCombinators as h, preflights as i, variantStickyHover as l, variantColorsScheme as m, Theme$1 as n, placeholderModifier as o, variants as p, colors as r, variantColorMix as s, PresetWind3Options as t, variantContrasts as u };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { O as rules } from "./rules-DqR_6INM.mjs";
2
- import { t as shortcuts } from "./shortcuts-C_BEX8D3.mjs";
2
+ import { t as shortcuts } from "./shortcuts-CnDBoC7O.mjs";
3
3
  import { t as theme } from "./theme-D7dnAXWj.mjs";
4
- import { a as presetWind3, i as preflights, n as Theme, p as variants, r as colors, t as PresetWind3Options } from "./index-ChsH2p6r.mjs";
5
- export { PresetWind3Options, Theme, colors, presetWind3 as default, presetWind3 as presetWind, presetWind3, preflights, rules, shortcuts, theme, variants };
4
+ import { a as presetWind3, i as preflights, n as Theme, p as variants, r as colors, t as PresetWind3Options } from "./index-7RoeBIPP.mjs";
5
+ export { PresetWind3Options, type Theme, colors, presetWind3 as default, presetWind3 as presetWind, presetWind3, preflights, rules, shortcuts, theme, variants };
package/dist/rules.mjs CHANGED
@@ -453,13 +453,10 @@ function toFilter(varName, resolver) {
453
453
  }
454
454
  function dropShadowResolver([, s], { theme }) {
455
455
  let v = theme.dropShadow?.[s || "DEFAULT"];
456
- if (v != null) {
457
- const shadows = colorableShadows(v, "--un-drop-shadow-color");
458
- return {
459
- "--un-drop-shadow": `drop-shadow(${shadows.join(") drop-shadow(")})`,
460
- "filter": filterProperty
461
- };
462
- }
456
+ if (v != null) return {
457
+ "--un-drop-shadow": `drop-shadow(${colorableShadows(v, "--un-drop-shadow-color").join(") drop-shadow(")})`,
458
+ "filter": filterProperty
459
+ };
463
460
  v = h.bracket.cssvar(s);
464
461
  if (v != null) return {
465
462
  "--un-drop-shadow": `drop-shadow(${v})`,
@@ -0,0 +1,4 @@
1
+ //#region src/shortcuts.d.ts
2
+ declare const shortcuts: import("@unocss/core").Shortcut<import("@unocss/preset-mini").Theme>[];
3
+ //#endregion
4
+ export { shortcuts as t };
@@ -1,2 +1,2 @@
1
- import { t as shortcuts } from "./shortcuts-C_BEX8D3.mjs";
1
+ import { t as shortcuts } from "./shortcuts-CnDBoC7O.mjs";
2
2
  export { shortcuts };
@@ -1,2 +1,2 @@
1
- import { c as variantSpaceAndDivide, d as variantMotions, f as variantOrientations, h as variantCombinators, l as variantStickyHover, m as variantColorsScheme, o as placeholderModifier, p as variants, s as variantColorMix, u as variantContrasts } from "./index-ChsH2p6r.mjs";
1
+ import { c as variantSpaceAndDivide, d as variantMotions, f as variantOrientations, h as variantCombinators, l as variantStickyHover, m as variantColorsScheme, o as placeholderModifier, p as variants, s as variantColorMix, u as variantContrasts } from "./index-7RoeBIPP.mjs";
2
2
  export { placeholderModifier, variantColorMix, variantColorsScheme, variantCombinators, variantContrasts, variantMotions, variantOrientations, variantSpaceAndDivide, variantStickyHover, variants };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind3",
3
3
  "type": "module",
4
- "version": "66.6.8",
4
+ "version": "66.7.0-beta.1",
5
5
  "description": "Tailwind 3 / Windi CSS compact preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -43,9 +43,9 @@
43
43
  "dist"
44
44
  ],
45
45
  "dependencies": {
46
- "@unocss/preset-mini": "66.6.8",
47
- "@unocss/rule-utils": "66.6.8",
48
- "@unocss/core": "66.6.8"
46
+ "@unocss/core": "66.7.0-beta.1",
47
+ "@unocss/preset-mini": "66.7.0-beta.1",
48
+ "@unocss/rule-utils": "66.7.0-beta.1"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsdown",
@@ -1,7 +0,0 @@
1
- import * as _$_unocss_core0 from "@unocss/core";
2
- import * as _$_unocss_preset_mini0 from "@unocss/preset-mini";
3
-
4
- //#region src/shortcuts.d.ts
5
- declare const shortcuts: _$_unocss_core0.Shortcut<_$_unocss_preset_mini0.Theme>[];
6
- //#endregion
7
- export { shortcuts as t };