vite-plugin-ai-annotator 1.1.21 → 1.1.22

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.
@@ -6501,9 +6501,9 @@
6501
6501
  if (component && component.componentLocation) {
6502
6502
  const componentPath = component.componentLocation.split("@")[0];
6503
6503
  const fileName = componentPath.split("/").pop();
6504
- badgeContent.textContent = `(${index}) [${fileName}]`;
6504
+ badgeContent.textContent = `#${index} ${fileName}`;
6505
6505
  } else {
6506
- badgeContent.textContent = `(${index}) ${element.tagName}`;
6506
+ badgeContent.textContent = `#${index} ${element.tagName}`;
6507
6507
  }
6508
6508
  const editBtn = document.createElement("button");
6509
6509
  editBtn.classList.add("edit-btn", "annotator-ignore");
@@ -6552,7 +6552,7 @@
6552
6552
  if (badge) {
6553
6553
  const badgeContent = badge.shadowRoot?.querySelector(".badge");
6554
6554
  if (badgeContent) {
6555
- badgeContent.textContent = `(${index}) ${element.tagName}`;
6555
+ badgeContent.textContent = `#${index} ${element.tagName}`;
6556
6556
  }
6557
6557
  }
6558
6558
  index++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-ai-annotator",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "AI-powered element annotator for Vite - Pick elements and get instant AI code modifications",
5
5
  "type": "module",
6
6
  "main": "dist/vite-plugin.js",