@unocss/rule-utils
Advanced tools
Comparing version 65.4.3 to 65.5.0
@@ -1,2 +0,2 @@ | ||
import { VariantHandlerContext, VariantObject } from '@unocss/core'; | ||
import { Arrayable, VariantHandlerContext, VariantObject } from '@unocss/core'; | ||
@@ -35,2 +35,3 @@ interface CSSColorValue { | ||
} | ||
declare const alphaPlaceholders: string[]; | ||
declare function hex2rgba(hex?: string): RGBAColorValue | undefined; | ||
@@ -64,3 +65,3 @@ declare function parseCssColor(str?: string): CSSColorValue | undefined; | ||
declare function variantMatcher(name: string, handler: (input: VariantHandlerContext) => Record<string, any>): VariantObject; | ||
declare function variantMatcher(name: string, handler: Arrayable<(input: VariantHandlerContext) => Record<string, any>>): VariantObject; | ||
declare function variantParentMatcher(name: string, parent: string): VariantObject; | ||
@@ -70,2 +71,2 @@ declare function variantGetBracket(prefix: string, matcher: string, separators: string[]): string[] | undefined; | ||
export { type CSSColorValue, type ParsedColorValue, type RGBAColorValue, type ValueHandler, type ValueHandlerCallback, colorOpacityToString, colorToString, createValueHandler, getBracket, getStringComponent, getStringComponents, hasIconFn, hasThemeFn, hex2rgba, iconFnRE, parseCssColor, themeFnRE, transformThemeFn, transformThemeString, variantGetBracket, variantGetParameter, variantMatcher, variantParentMatcher }; | ||
export { type CSSColorValue, type ParsedColorValue, type RGBAColorValue, type ValueHandler, type ValueHandlerCallback, alphaPlaceholders, colorOpacityToString, colorToString, createValueHandler, getBracket, getStringComponent, getStringComponents, hasIconFn, hasThemeFn, hex2rgba, iconFnRE, parseCssColor, themeFnRE, transformThemeFn, transformThemeString, variantGetBracket, variantGetParameter, variantMatcher, variantParentMatcher }; |
{ | ||
"name": "@unocss/rule-utils", | ||
"type": "module", | ||
"version": "65.4.3", | ||
"version": "65.5.0", | ||
"description": "Utilities for UnoCSS", | ||
@@ -12,3 +12,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"type": "git", | ||
"url": "https://github.com/unocss/unocss", | ||
"url": "git+https://github.com/unocss/unocss", | ||
"directory": "packages-presets/rule-utils" | ||
@@ -38,3 +38,3 @@ }, | ||
"magic-string": "^0.30.17", | ||
"@unocss/core": "^65.4.3" | ||
"@unocss/core": "^65.5.0" | ||
}, | ||
@@ -41,0 +41,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20951
481
3
Updated@unocss/core@^65.5.0