New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@unocss/preset-wind

Package Overview
Dependencies
Maintainers
2
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/preset-wind - npm Package Compare versions

Comparing version 65.5.0 to 66.0.0

dist/colors.d.mts

33

dist/index.d.ts
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 &copy; 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc