@unocss/preset-attributify 0.12.9 → 0.12.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/index.js CHANGED
@@ -38,7 +38,7 @@ var strippedPrefixes = [
38
38
  ];
39
39
  var splitterRE = /[\s'"`;]+/g;
40
40
  var elementRE = /<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g;
41
- var valuedAttributeRE = /([?]|[\w:-]+)(?:=(["'])([^\2]+?)\2)?/g;
41
+ var valuedAttributeRE = /([?]|[\w:%-]+)(?:=(["'])([^\2]+?)\2)?/g;
42
42
  var extractorAttributify = (options) => ({
43
43
  name: "attributify",
44
44
  extract({ code }) {
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ var strippedPrefixes = [
9
9
  ];
10
10
  var splitterRE = /[\s'"`;]+/g;
11
11
  var elementRE = /<\w[\w:\.$-]*\s((?:'[\s\S]*?'|"[\s\S]*?"|`[\s\S]*?`|\{[\s\S]*?\}|[\s\S]*?)*?)>/g;
12
- var valuedAttributeRE = /([?]|[\w:-]+)(?:=(["'])([^\2]+?)\2)?/g;
12
+ var valuedAttributeRE = /([?]|[\w:%-]+)(?:=(["'])([^\2]+?)\2)?/g;
13
13
  var extractorAttributify = (options) => ({
14
14
  name: "attributify",
15
15
  extract({ code }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-attributify",
3
- "version": "0.12.9",
3
+ "version": "0.12.13",
4
4
  "description": "Attributify preset for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@unocss/core": "0.12.9"
36
+ "@unocss/core": "0.12.13"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsup",