vueless 0.0.671 → 0.0.672

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.671",
3
+ "version": "0.0.672",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -178,7 +178,8 @@ async function findAndCopyIcons(files) {
178
178
 
179
179
  /* Vueless components props */
180
180
  const iconPropsPattern = `\\b\\w*(name|icon)\\w*\\s*=\\s*(['"])(.*?)\\2`;
181
- const uComponentIconNamePattern = /<U\w+\s+.*?\b\w*(name|icon)\w*\s*[:=]\s*(['"])(.*?)\2.*?>/;
181
+ const uComponentIconNamePattern =
182
+ /<U\w+\b[^>]*?\b\w*(name|icon)\w*\s*[:=]\s*(['"])(.*?)\2[^>]*?>/;
182
183
  const uComponentIconNameArray = fileContents.match(new RegExp(uComponentIconNamePattern, "g"));
183
184
 
184
185
  if (!uComponentIconNameArray) return;