@bitux/review-layer-react 0.1.5 → 0.1.6

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.
@@ -35,9 +35,9 @@ export declare function getFallbackPosition(comment: Comment): {
35
35
  */
36
36
  export declare function getFallbackRect(comment: Comment): DOMRect | null;
37
37
  /**
38
- * Pin position: prioriza coordenadas guardadas (relative_x/y o x/y) para que cada pin
39
- * quede donde se creó. Si no hay coords guardadas, usa el selector.
40
- * Así evitamos que dos comentarios con selector ambiguo compartan la misma posición.
38
+ * Pin position: prioriza el elemento en vivo por selector para que el pin
39
+ * siga al elemento al hacer scroll. Solo usa coordenadas guardadas cuando
40
+ * el selector no encuentra el elemento (p. ej. DOM cambiado, SPA).
41
41
  */
42
42
  export declare function getCommentPinPosition(comment: Comment): {
43
43
  x: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitux/review-layer-react",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "SDK to leave UI comments on staging React applications",
5
5
  "type": "module",
6
6
  "main": "./dist/review-layer-react.umd.cjs",