@githumbi/grabby 0.4.0 → 0.5.1
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/CHANGELOG.md +16 -0
- package/dist/angular/index.d.ts +8 -0
- package/dist/angular/index.js +568 -41
- package/dist/angular/index.js.map +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/core/index.cjs +635 -108
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +568 -41
- package/dist/core/index.js.map +1 -1
- package/dist/export/index.d.cts +8 -0
- package/dist/export/index.d.ts +8 -0
- package/dist/grabby.global.js +253 -113
- package/dist/live/index.d.cts +1 -1
- package/dist/live/index.d.ts +1 -1
- package/dist/react/index.d.ts +8 -0
- package/dist/react/index.js +568 -41
- package/dist/react/index.js.map +1 -1
- package/dist/{types-DjpIHekd.d.cts → types-BQDEG-Gl.d.cts} +8 -0
- package/dist/{types-DjpIHekd.d.ts → types-BQDEG-Gl.d.ts} +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @githumbi/grabby
|
|
2
2
|
|
|
3
|
+
## 0.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5905ff3: Comment markers no longer trail behind the page while it scrolls. Markers for page content now sit in page coordinates, so the browser moves them with the page itself instead of Grabby repositioning them a frame later. Markers in fixed or sticky panels stay on screen coordinates (those don't move with the page), and markers inside their own scrolling box are moved on every scroll event. A marker at the right edge is kept inside the window so it can't add a horizontal scrollbar.
|
|
8
|
+
|
|
9
|
+
## 0.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- b1f43c8: Numbered markers. Each comment now leaves a numbered pin exactly where the reviewer clicked, so it's clear at a glance what was commented on. Hover a pin to see the comment and highlight its element; click it to edit the comment, with Save, Cancel and Delete buttons. Pins belong to the page they were made on: they hide when you move to another page (including client-side and `#/` routes) and come back when you return. They follow their element through scrolling and layout changes, hide while the element isn't rendered, and hide while the toolbar is collapsed. The click position is kept in the browser only; it is never sent to the collector, a webhook or an export.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- b1f43c8: Collapsing and expanding the toolbar is now animated: it glides between the centre and the bottom-right corner while its width eases, and its buttons fade, blur and scale out (or back in) as it closes and opens. People who ask their system for reduced motion get the change without the animation.
|
|
18
|
+
|
|
3
19
|
## 0.4.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/dist/angular/index.d.ts
CHANGED
|
@@ -97,6 +97,14 @@ interface GrabbyComment {
|
|
|
97
97
|
framework: string;
|
|
98
98
|
/** Delivery to a Grabby server, when one is configured. Browser-only. */
|
|
99
99
|
sync?: 'pending' | 'sent' | 'failed';
|
|
100
|
+
/**
|
|
101
|
+
* Where on the element the reviewer clicked, as fractions of its width and
|
|
102
|
+
* height; the numbered marker sits there. Browser-only, never exported.
|
|
103
|
+
*/
|
|
104
|
+
pin?: {
|
|
105
|
+
x: number;
|
|
106
|
+
y: number;
|
|
107
|
+
};
|
|
100
108
|
}
|
|
101
109
|
interface GrabbyOptions {
|
|
102
110
|
/** Keyboard shortcut to activate. Default: "Alt+G" (Option+G on Mac) */
|