@unocss/preset-mini 66.2.0 → 66.2.2
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/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants
|
|
|
3
3
|
import { g as globalKeywords } from './shared/preset-mini.DrfPDgwn.mjs';
|
|
4
4
|
export { k as parseColor } from './shared/preset-mini.DrfPDgwn.mjs';
|
|
5
5
|
import { i as variants } from './shared/preset-mini.CHzPf0gx.mjs';
|
|
6
|
-
import { r as rules } from './shared/preset-mini.
|
|
6
|
+
import { r as rules } from './shared/preset-mini.BbFVnwVO.mjs';
|
|
7
7
|
import { t as theme } from './shared/preset-mini.BsxsSmTL.mjs';
|
|
8
8
|
export { colors } from './colors.mjs';
|
|
9
9
|
import '@unocss/rule-utils';
|
package/dist/rules.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.
|
|
1
|
+
export { s as alignments, a as appearance, E as aspectRatio, e as bgColors, b as borderStyles, c as borders, B as boxSizing, f as colorScheme, g as containerParent, P as cssProperty, O as cssVariables, j as flex, x as flexGridJustifiesAlignments, z as floats, J as fonts, k as gaps, l as grids, h as handlerBorderStyle, y as insets, n as justifies, G as margins, d as opacity, q as orders, o as outline, m as overflows, F as paddings, u as placements, p as positions, C as questionMark, r as rules, D as sizes, H as svgUtilities, K as tabSizes, t as textAligns, i as textDecorations, L as textIndents, N as textShadows, M as textStrokes, I as transitions, v as verticalAligns, w as willChange, A as zIndexes } from './shared/preset-mini.BbFVnwVO.mjs';
|
|
2
2
|
export { e as appearances, c as boxShadows, b as boxShadowsBase, k as breaks, g as contains, i as contentVisibility, j as contents, f as cursors, d as displays, q as fieldSizing, o as fontSmoothings, n as fontStyles, p as pointerEvents, h as resizes, r as ringBase, a as rings, l as textOverflows, m as textTransforms, t as textWraps, s as transformBase, x as transforms, u as userSelects, v as varEmpty, w as whitespaces } from './shared/preset-mini.DxJ0TbJb.mjs';
|
|
3
3
|
import './shared/preset-mini.DrfPDgwn.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
@@ -956,7 +956,7 @@ const cssProperty = [
|
|
|
956
956
|
return;
|
|
957
957
|
const [prop, ...rest] = body.split(":");
|
|
958
958
|
const value = rest.join(":");
|
|
959
|
-
if (!isURI(body) && /^[
|
|
959
|
+
if (!isURI(body) && /^[\w-]+$/.test(prop) && isValidCSSBody(value)) {
|
|
960
960
|
const parsed = h.bracket(`[${value}]`);
|
|
961
961
|
if (parsed)
|
|
962
962
|
return { [prop]: parsed };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.2.
|
|
4
|
+
"version": "66.2.2",
|
|
5
5
|
"description": "The minimal preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"dist"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@unocss/core": "66.2.
|
|
60
|
-
"@unocss/extractor-arbitrary-variants": "66.2.
|
|
61
|
-
"@unocss/rule-utils": "66.2.
|
|
59
|
+
"@unocss/core": "66.2.2",
|
|
60
|
+
"@unocss/extractor-arbitrary-variants": "66.2.2",
|
|
61
|
+
"@unocss/rule-utils": "66.2.2"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "unbuild",
|