@githumbi/grabby 0.3.0 → 0.5.0

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.
@@ -80,6 +80,14 @@ interface GrabbyComment {
80
80
  framework: string;
81
81
  /** Delivery to a Grabby server, when one is configured. Browser-only. */
82
82
  sync?: 'pending' | 'sent' | 'failed';
83
+ /**
84
+ * Where on the element the reviewer clicked, as fractions of its width and
85
+ * height; the numbered marker sits there. Browser-only, never exported.
86
+ */
87
+ pin?: {
88
+ x: number;
89
+ y: number;
90
+ };
83
91
  }
84
92
  interface ToolbarState {
85
93
  visible: boolean;
@@ -80,6 +80,14 @@ interface GrabbyComment {
80
80
  framework: string;
81
81
  /** Delivery to a Grabby server, when one is configured. Browser-only. */
82
82
  sync?: 'pending' | 'sent' | 'failed';
83
+ /**
84
+ * Where on the element the reviewer clicked, as fractions of its width and
85
+ * height; the numbered marker sits there. Browser-only, never exported.
86
+ */
87
+ pin?: {
88
+ x: number;
89
+ y: number;
90
+ };
83
91
  }
84
92
  interface ToolbarState {
85
93
  visible: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@githumbi/grabby",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Point at any UI element, leave a comment, and hand the feedback to an AI coding agent. Works with React, Angular, Vue, Svelte and plain HTML.",
5
5
  "keywords": [
6
6
  "grabby",