@unocss/preset-icons
Advanced tools
Comparing version 0.1.0-beta.2 to 0.1.0
@@ -10,5 +10,6 @@ import { Awaitable, Preset } from '@unocss/core'; | ||
collections?: Record<string, IconifyJSON | undefined | (() => Awaitable<IconifyJSON | undefined>)>; | ||
extraProperties?: Record<string, string>; | ||
} | ||
declare const preset: ({ scale, mode, prefix, warn, collections, }?: Options) => Preset; | ||
declare const preset: ({ scale, mode, prefix, warn, collections, extraProperties, }?: Options) => Preset; | ||
export { Options, preset as default, preset }; |
@@ -37,3 +37,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); | ||
warn = false, | ||
collections = {} | ||
collections = {}, | ||
extraProperties = {} | ||
} = {}) => { | ||
@@ -78,3 +79,4 @@ return { | ||
"height": `${scale}em`, | ||
"width": `${scale}em` | ||
"width": `${scale}em`, | ||
...extraProperties | ||
}; | ||
@@ -87,3 +89,4 @@ } else { | ||
"height": `${scale}em`, | ||
"width": `${scale}em` | ||
"width": `${scale}em`, | ||
...extraProperties | ||
}; | ||
@@ -90,0 +93,0 @@ } |
{ | ||
"name": "@unocss/preset-icons", | ||
"version": "0.1.0-beta.2", | ||
"version": "0.1.0", | ||
"description": "", | ||
@@ -37,3 +37,3 @@ "keywords": [], | ||
"@iconify/utils": "^1.0.18", | ||
"@unocss/core": "0.1.0-beta.2", | ||
"@unocss/core": "0.1.0", | ||
"local-pkg": "^0.4.0" | ||
@@ -40,0 +40,0 @@ }, |
@@ -55,3 +55,3 @@ # @unocss/preset-icons | ||
This preset is inspired from [this PR](https://github.com/antfu/unplugin-icons/issues/88) created by [@husayt](https://github.com/husayt). | ||
This preset is inspired from [this issue](https://github.com/antfu/unplugin-icons/issues/88) created by [@husayt](https://github.com/husayt). Based on the work of [this PR](https://github.com/antfu/unplugin-icons/pull/90) by [@userquin](https://github.com/userquin). | ||
@@ -58,0 +58,0 @@ ## License |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14373
298
+ Added@unocss/core@0.1.0(transitive)
- Removed@unocss/core@0.1.0-beta.2(transitive)
Updated@unocss/core@0.1.0