@unocss/preset-mini 0.30.10 → 0.30.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/chunks/default2.cjs
CHANGED
|
@@ -872,7 +872,7 @@ const cssVariables = [
|
|
|
872
872
|
}]
|
|
873
873
|
];
|
|
874
874
|
const cssProperty = [
|
|
875
|
-
[/^\[([
|
|
875
|
+
[/^\[([\w_-]+):([^'"]+)\]$/, ([, prop, value]) => ({ [prop]: utilities.handler.bracket(`[${value}]`) })]
|
|
876
876
|
];
|
|
877
877
|
|
|
878
878
|
const questionMark = [
|
package/dist/chunks/default2.mjs
CHANGED
|
@@ -870,7 +870,7 @@ const cssVariables = [
|
|
|
870
870
|
}]
|
|
871
871
|
];
|
|
872
872
|
const cssProperty = [
|
|
873
|
-
[/^\[([
|
|
873
|
+
[/^\[([\w_-]+):([^'"]+)\]$/, ([, prop, value]) => ({ [prop]: handler.bracket(`[${value}]`) })]
|
|
874
874
|
];
|
|
875
875
|
|
|
876
876
|
const questionMark = [
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { T as Theme } from './types-f7b2c653.js';
|
|
|
3
3
|
export { T as Theme, a as ThemeAnimation } from './types-f7b2c653.js';
|
|
4
4
|
export { t as theme } from './default-e6d1b2e8.js';
|
|
5
5
|
export { c as colors } from './colors-ce2fecb8.js';
|
|
6
|
-
export { p as parseColor } from './utilities-
|
|
6
|
+
export { p as parseColor } from './utilities-a7351781.js';
|
|
7
7
|
|
|
8
8
|
interface PresetMiniOptions extends PresetOptions {
|
|
9
9
|
/**
|
|
@@ -35,7 +35,7 @@ declare const parseColor: (body: string, theme: Theme) => ParsedColorValue | und
|
|
|
35
35
|
*
|
|
36
36
|
* @example Resolving 'red-100' from theme:
|
|
37
37
|
* colorResolver('background-color', 'background')('', 'red-100')
|
|
38
|
-
* return { '--un-background-opacity': '1', 'background-color': 'rgba(254,226,226,var(--un-
|
|
38
|
+
* return { '--un-background-opacity': '1', 'background-color': 'rgba(254,226,226,var(--un-background-opacity))' }
|
|
39
39
|
*
|
|
40
40
|
* @example Resolving 'red-100/20' from theme:
|
|
41
41
|
* colorResolver('background-color', 'background')('', 'red-100/20')
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _unocss_core from '@unocss/core';
|
|
2
2
|
import { RGBAColorValue, CSSColorValue, VariantObject } from '@unocss/core';
|
|
3
|
-
export { c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-
|
|
3
|
+
export { c as colorResolver, a as colorableShadows, d as directionSize, h as hasParseableColor, p as parseColor, r as resolveBreakpoints, b as resolveVerticalBreakpoints } from './utilities-a7351781.js';
|
|
4
4
|
import './types-f7b2c653.js';
|
|
5
5
|
|
|
6
6
|
declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
|
package/dist/variants.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { T as Theme } from './types-f7b2c653.js';
|
|
|
3
3
|
import { PresetMiniOptions } from './index.js';
|
|
4
4
|
import './default-e6d1b2e8.js';
|
|
5
5
|
import './colors-ce2fecb8.js';
|
|
6
|
-
import './utilities-
|
|
6
|
+
import './utilities-a7351781.js';
|
|
7
7
|
|
|
8
8
|
declare const variantBreakpoints: Variant<Theme>;
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.13",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"sideEffects": false,
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.30.
|
|
64
|
+
"@unocss/core": "0.30.13"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|