@unocss/preset-mini 0.24.3 → 0.24.4
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/default3.cjs
CHANGED
|
@@ -91,7 +91,7 @@ const variantLanguageDirections = [
|
|
|
91
91
|
|
|
92
92
|
const variantLayer = {
|
|
93
93
|
match(matcher) {
|
|
94
|
-
const match = matcher.match(
|
|
94
|
+
const match = matcher.match(/^layer-([\d\w]+)[:-]/);
|
|
95
95
|
if (match) {
|
|
96
96
|
return {
|
|
97
97
|
matcher: matcher.slice(match[0].length),
|
package/dist/chunks/default3.mjs
CHANGED
|
@@ -89,7 +89,7 @@ const variantLanguageDirections = [
|
|
|
89
89
|
|
|
90
90
|
const variantLayer = {
|
|
91
91
|
match(matcher) {
|
|
92
|
-
const match = matcher.match(
|
|
92
|
+
const match = matcher.match(/^layer-([\d\w]+)[:-]/);
|
|
93
93
|
if (match) {
|
|
94
94
|
return {
|
|
95
95
|
matcher: matcher.slice(match[0].length),
|
|
@@ -354,7 +354,8 @@ const cssProps = [
|
|
|
354
354
|
"mask-size",
|
|
355
355
|
"mask-border",
|
|
356
356
|
"clip-path",
|
|
357
|
-
"clip"
|
|
357
|
+
"clip",
|
|
358
|
+
"border-radius"
|
|
358
359
|
];
|
|
359
360
|
const numberWithUnitRE = /^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i;
|
|
360
361
|
const numberRE = /^(-?[0-9.]+)$/i;
|
|
@@ -352,7 +352,8 @@ const cssProps = [
|
|
|
352
352
|
"mask-size",
|
|
353
353
|
"mask-border",
|
|
354
354
|
"clip-path",
|
|
355
|
-
"clip"
|
|
355
|
+
"clip",
|
|
356
|
+
"border-radius"
|
|
356
357
|
];
|
|
357
358
|
const numberWithUnitRE = /^(-?[0-9.]+)(px|pt|pc|rem|em|%|vh|vw|in|cm|mm|ex|ch|vmin|vmax|rpx)?$/i;
|
|
358
359
|
const numberRE = /^(-?[0-9.]+)$/i;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-mini",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.4",
|
|
4
4
|
"description": "The minimal preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"*.css"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@unocss/core": "0.24.
|
|
64
|
+
"@unocss/core": "0.24.4"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "unbuild",
|