@unocss/preset-attributify 66.8.1 → 66.9.1
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 +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -123,7 +123,7 @@ function autocompleteExtractorAttributify(options) {
|
|
|
123
123
|
//#region src/extractor.ts
|
|
124
124
|
const strippedPrefixes = ["v-bind:", ":"];
|
|
125
125
|
const splitterRE = /[\s'"`;]+/g;
|
|
126
|
-
const elementRE = /<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[
|
|
126
|
+
const elementRE = /<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`\n]*`|\{[^}]*\}|=>|[^>]*?)*)/g;
|
|
127
127
|
const valuedAttributeRE = /(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g;
|
|
128
128
|
const defaultIgnoreAttributes = [
|
|
129
129
|
"placeholder",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-attributify",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.
|
|
4
|
+
"version": "66.9.1",
|
|
5
5
|
"description": "Attributify preset for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@unocss/core": "66.
|
|
32
|
+
"@unocss/core": "66.9.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsdown",
|