@unocss/preset-mini
Advanced tools
Comparing version 0.55.7 to 0.56.0
@@ -1,7 +0,7 @@ | ||
import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core'; | ||
import { T as Theme } from './shared/preset-mini.bc674518.js'; | ||
export { a as ThemeAnimation } from './shared/preset-mini.bc674518.js'; | ||
import * as _unocss_core from '@unocss/core'; | ||
import { Preflight, PresetOptions, Postprocessor } from '@unocss/core'; | ||
export { t as theme } from './shared/preset-mini.0a392a7c.js'; | ||
export { colors } from './colors.js'; | ||
export { p as parseColor } from './shared/preset-mini.c0e4a0cc.js'; | ||
export { p as parseColor } from './shared/preset-mini.79297e15.js'; | ||
export { T as Theme, a as ThemeAnimation } from './shared/preset-mini.bc674518.js'; | ||
@@ -64,3 +64,3 @@ declare const preflights: Preflight[]; | ||
} | ||
declare function presetMini(options?: PresetMiniOptions): Preset<Theme>; | ||
declare const presetMini: _unocss_core.PresetFactory<object, PresetMiniOptions>; | ||
@@ -70,2 +70,2 @@ declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined; | ||
export { type DarkModeSelectors, type PresetMiniOptions, Theme, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini }; | ||
export { type DarkModeSelectors, type PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, normalizePreflights, preflights, presetMini }; |
@@ -1,11 +0,7 @@ | ||
import * as _unocss_core from '@unocss/core'; | ||
import { RGBAColorValue, CSSColorValue, VariantHandlerContext, VariantObject } from '@unocss/core'; | ||
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, g as getBracket, e as getComponent, f as getComponents, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.c0e4a0cc.js'; | ||
import * as _unocss_rule_utils from '@unocss/rule-utils'; | ||
export * from '@unocss/rule-utils'; | ||
export { C as CONTROL_MINI_NO_NEGATIVE, c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, m as makeGlobalStaticRules, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints, s as splitShorthand } from './shared/preset-mini.79297e15.js'; | ||
import '@unocss/core'; | ||
import './shared/preset-mini.bc674518.js'; | ||
declare function hex2rgba(hex?: string): RGBAColorValue | undefined; | ||
declare function parseCssColor(str?: string): CSSColorValue | undefined; | ||
declare function colorOpacityToString(color: CSSColorValue): string | number; | ||
declare function colorToString(color: CSSColorValue | string, alphaOverride?: string | number): string; | ||
declare const directionMap: Record<string, string[]>; | ||
@@ -57,10 +53,5 @@ declare const insetMap: Record<string, string[]>; | ||
declare const handler: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">; | ||
declare const h: _unocss_core.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">; | ||
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">; | ||
declare const h: _unocss_rule_utils.ValueHandler<"number" | "auto" | "position" | "global" | "numberWithUnit" | "rem" | "px" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "cssvar" | "time" | "degree" | "properties">; | ||
declare function variantMatcher(name: string, handler: (input: VariantHandlerContext) => Record<string, any>): VariantObject; | ||
declare function variantParentMatcher(name: string, parent: string): VariantObject; | ||
declare function variantGetBracket(prefix: string, matcher: string, separators: string[]): string[] | undefined; | ||
declare function variantGetParameter(prefix: string, matcher: string, separators: string[]): string[] | undefined; | ||
export { colorOpacityToString, colorToString, cornerMap, directionMap, globalKeywords, h, handler, hex2rgba, insetMap, parseCssColor, positionMap, handlers as valueHandlers, variantGetBracket, variantGetParameter, variantMatcher, variantParentMatcher, xyzMap }; | ||
export { cornerMap, directionMap, globalKeywords, h, handler, insetMap, positionMap, handlers as valueHandlers, xyzMap }; |
@@ -6,3 +6,3 @@ import { VariantObject, Variant } from '@unocss/core'; | ||
import './colors.js'; | ||
import './shared/preset-mini.c0e4a0cc.js'; | ||
import './shared/preset-mini.79297e15.js'; | ||
@@ -9,0 +9,0 @@ declare const variantAria: VariantObject; |
{ | ||
"name": "@unocss/preset-mini", | ||
"version": "0.55.7", | ||
"version": "0.56.0", | ||
"description": "The minimal preset for UnoCSS", | ||
@@ -64,4 +64,5 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"dependencies": { | ||
"@unocss/core": "0.55.7", | ||
"@unocss/extractor-arbitrary-variants": "0.55.7" | ||
"@unocss/core": "0.56.0", | ||
"@unocss/extractor-arbitrary-variants": "0.56.0", | ||
"@unocss/rule-utils": "0.56.0" | ||
}, | ||
@@ -68,0 +69,0 @@ "scripts": { |
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
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
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
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
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
358006
3
8187
+ Added@unocss/rule-utils@0.56.0
+ Added@unocss/core@0.56.0(transitive)
+ Added@unocss/extractor-arbitrary-variants@0.56.0(transitive)
+ Added@unocss/rule-utils@0.56.0(transitive)
- Removed@unocss/core@0.55.7(transitive)
- Removed@unocss/extractor-arbitrary-variants@0.55.7(transitive)
Updated@unocss/core@0.56.0