@unocss/preset-wind
Advanced tools
Comparing version 65.5.0 to 66.0.0
import * as _unocss_core from '@unocss/core'; | ||
import { Variant } from '@unocss/core'; | ||
import * as _unocss_preset_mini from '@unocss/preset-mini'; | ||
import { Theme, PresetMiniOptions } from '@unocss/preset-mini'; | ||
export { Theme, colors, preflights } from '@unocss/preset-mini'; | ||
export { shortcuts } from './shortcuts.js'; | ||
export { theme } from './theme.js'; | ||
export { r as rules } from './shared/preset-wind.DRADYSMV.js'; | ||
import { Theme, PresetWind3Options } from '@unocss/preset-wind3'; | ||
export { Theme } from '@unocss/preset-wind3'; | ||
declare function variants(options: PresetWindOptions): Variant<Theme>[]; | ||
interface PresetWindOptions extends PresetMiniOptions { | ||
/** | ||
* The important option lets you control whether UnoCSS’s utilities should be marked with `!important`. | ||
* | ||
* This can be really useful when using UnoCSS with existing CSS that has high specificity selectors. | ||
* | ||
* You can also set `important` to a selector like `#app` instead, which will generate `#app :is(.m-1) { ... }` | ||
* | ||
* Also check out the compatibility with [:is()](https://caniuse.com/?search=%3Ais()) | ||
* | ||
* @default false | ||
*/ | ||
important?: boolean | string; | ||
interface PresetWindOptions extends PresetWind3Options { | ||
} | ||
/** | ||
* The Tailwind CSS / Windi CSS compact preset for UnoCSS. | ||
* | ||
* @see https://unocss.dev/presets/wind | ||
* @deprecated Use `presetWind3` from `@unocss/preset-wind3` instead | ||
*/ | ||
declare const presetWind: _unocss_core.PresetFactory<_unocss_preset_mini.Theme, PresetWindOptions>; | ||
declare const presetWind: _unocss_core.PresetFactory<Theme, PresetWindOptions>; | ||
export { type PresetWindOptions, presetWind as default, presetWind, variants }; | ||
export { type PresetWindOptions, presetWind as default, presetWind }; |
@@ -1,5 +0,3 @@ | ||
import { Theme } from '@unocss/preset-mini'; | ||
declare const theme: Theme; | ||
export { theme }; | ||
export * from '@unocss/preset-wind3/theme'; | ||
import '@unocss/preset-wind3/utils'; | ||
import '@unocss/preset-wind3/colors'; |
{ | ||
"name": "@unocss/preset-wind", | ||
"type": "module", | ||
"version": "65.5.0", | ||
"description": "Tailwind / Windi CSS compact preset for UnoCSS", | ||
"version": "66.0.0", | ||
"description": "Deprecated, renamed to `@unocss/preset-wind3`", | ||
"author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
@@ -12,4 +12,4 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "git+https://github.com/unocss/unocss", | ||
"directory": "packages-presets/preset-wind" | ||
"url": "https://github.com/unocss/unocss", | ||
"directory": "packages-deprecated/preset-wind" | ||
}, | ||
@@ -29,6 +29,2 @@ "bugs": { | ||
}, | ||
"./rules": { | ||
"types": "./dist/rules.d.mts", | ||
"default": "./dist/rules.mjs" | ||
}, | ||
"./theme": { | ||
@@ -38,9 +34,9 @@ "types": "./dist/theme.d.mts", | ||
}, | ||
"./shortcuts": { | ||
"types": "./dist/shortcuts.d.mts", | ||
"default": "./dist/shortcuts.mjs" | ||
"./colors": { | ||
"types": "./dist/colors.d.mts", | ||
"default": "./dist/colors.mjs" | ||
}, | ||
"./variants": { | ||
"types": "./dist/variants.d.mts", | ||
"default": "./dist/variants.mjs" | ||
"./utils": { | ||
"types": "./dist/utils.d.mts", | ||
"default": "./dist/utils.mjs" | ||
}, | ||
@@ -52,11 +48,17 @@ "./*": "./*" | ||
"types": "dist/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"./dist/*", | ||
"./*" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"*.css", | ||
"*.d.ts", | ||
"dist" | ||
], | ||
"dependencies": { | ||
"@unocss/preset-mini": "65.5.0", | ||
"@unocss/core": "65.5.0", | ||
"@unocss/rule-utils": "65.5.0" | ||
"@unocss/core": "66.0.0", | ||
"@unocss/preset-wind3": "66.0.0" | ||
}, | ||
@@ -63,0 +65,0 @@ "scripts": { |
# @unocss/preset-wind | ||
Tailwind / Windi CSS compact preset for [UnoCSS](https://github.com/unocss/unocss). | ||
This package is deprecated and renamed to `@unocss/preset-wind3`. | ||
## Documentation | ||
Please refer to the [documentation](https://unocss.dev/presets/wind). | ||
## License | ||
MIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2
4494
15
28
8
1
+ Added@unocss/preset-wind3@66.0.0
+ Added@unocss/core@66.0.0(transitive)
+ Added@unocss/extractor-arbitrary-variants@66.0.0(transitive)
+ Added@unocss/preset-mini@66.0.0(transitive)
+ Added@unocss/preset-wind3@66.0.0(transitive)
+ Added@unocss/rule-utils@66.0.0(transitive)
- Removed@unocss/preset-mini@65.5.0
- Removed@unocss/rule-utils@65.5.0
- Removed@unocss/core@65.5.0(transitive)
- Removed@unocss/extractor-arbitrary-variants@65.5.0(transitive)
- Removed@unocss/preset-mini@65.5.0(transitive)
- Removed@unocss/rule-utils@65.5.0(transitive)
Updated@unocss/core@66.0.0