@unocss/core
Advanced tools
Comparing version 0.62.4 to 0.63.0
@@ -243,2 +243,3 @@ import MagicString from 'magic-string'; | ||
declare const SymbolSelector: unique symbol; | ||
declare const SymbolLayer: unique symbol; | ||
interface ControlSymbols { | ||
@@ -261,2 +262,6 @@ /** | ||
selector: typeof SymbolSelector; | ||
/** | ||
* Layer modifier | ||
*/ | ||
layer: typeof SymbolLayer; | ||
} | ||
@@ -268,2 +273,3 @@ interface ControlSymbolsValue { | ||
[SymbolSelector]: (selector: string) => string; | ||
[SymbolLayer]: string; | ||
} | ||
@@ -692,2 +698,6 @@ type ObjectToEntry<T> = { | ||
layer?: string; | ||
/** | ||
* Custom API endpoint for cross-preset communication | ||
*/ | ||
api?: any; | ||
} | ||
@@ -925,2 +935,3 @@ type PresetFactory<Theme extends object = object, PresetOptions extends object | undefined = undefined> = (options?: PresetOptions) => Preset<Theme>; | ||
getLayers: (includes?: string[], excludes?: string[]) => string; | ||
setLayer: (layer: string, callback: (content: string) => Promise<string>) => Promise<string>; | ||
matched: T; | ||
@@ -927,0 +938,0 @@ } |
{ | ||
"name": "@unocss/core", | ||
"type": "module", | ||
"version": "0.62.4", | ||
"version": "0.63.0", | ||
"description": "The instant on-demand Atomic CSS engine.", | ||
@@ -41,3 +41,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"magic-string": "^0.30.11", | ||
"unconfig": "^0.5.5" | ||
"unconfig": "^0.6.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
119045
2260
45