vite-plugin-specter 0.3.1 → 0.3.2
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/client.js +8 -1
- package/dist/extension-firefox/content.js +8 -1
- package/dist/index.cjs +8 -1
- package/dist/index.js +8 -1
- package/extension/content.js +8 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -975,7 +975,14 @@ function getClientScript(options) {
|
|
|
975
975
|
}
|
|
976
976
|
|
|
977
977
|
if (e.key === 'Escape') {
|
|
978
|
-
|
|
978
|
+
if (pinEl) {
|
|
979
|
+
clearPin();
|
|
980
|
+
clearMeasureOverlay();
|
|
981
|
+
hideTooltip();
|
|
982
|
+
updatePillForSelection();
|
|
983
|
+
} else {
|
|
984
|
+
deactivate();
|
|
985
|
+
}
|
|
979
986
|
return;
|
|
980
987
|
}
|
|
981
988
|
}, true);
|
package/dist/index.js
CHANGED
|
@@ -948,7 +948,14 @@ function getClientScript(options) {
|
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
if (e.key === 'Escape') {
|
|
951
|
-
|
|
951
|
+
if (pinEl) {
|
|
952
|
+
clearPin();
|
|
953
|
+
clearMeasureOverlay();
|
|
954
|
+
hideTooltip();
|
|
955
|
+
updatePillForSelection();
|
|
956
|
+
} else {
|
|
957
|
+
deactivate();
|
|
958
|
+
}
|
|
952
959
|
return;
|
|
953
960
|
}
|
|
954
961
|
}, true);
|
package/extension/content.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-specter",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Inspect elements and Figma-style measure spacing in your vibe-coded Vite projects. Give your AI exactly what it needs to make the right change.",
|
|
5
5
|
"author": "Setu Kathawate <dev@setugk.com>",
|
|
6
6
|
"homepage": "https://github.com/setugk/vite-plugin-specter#readme",
|