@hazem3500/palette 0.9.133 → 0.9.135

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/README.md CHANGED
@@ -639,7 +639,7 @@ Pass these to `initPalette(config)` from `@hazem3500/palette` or `usePalette(con
639
639
  | `sessionEndpoint` | `string` | `endpoint` | Canonical API identity for trusted gateways to the same service; never share across independent APIs. |
640
640
  | `avatar` | `(user: { id, name }) => string \| undefined` | None | Photo URL for signed-in reviewers the server has none for, such as IAP sign-in. HTTPS only; guests keep their initial. |
641
641
  | `snapshots` | `{ image?, html?, maxBytes?, redact?(element) }` | Off | Save an image and/or trimmed HTML of the commented element with each new thread. See [Comment snapshots](#comment-snapshots). |
642
- | `share` | `{ label }` | Off | Let reviewers keep new comments out of a webhook integration, e.g. `{ label: "Post to the GitHub PR" }`. Adds an account default and a checkbox for each new comment; a kept comment's `comment.created` event carries `share: false`. Needs a server with `config.share` ([NODE.md](NODE.md#keeping-comments-out-of-integrations)). |
642
+ | `share` | `{ label }` | Off | Let reviewers keep new comments out of a webhook integration, e.g. `{ label: "Share on GitHub" }`. Adds an account default and a checkbox for each new comment; a kept comment's `comment.created` event carries `share: false`. Needs a server with `config.share` ([NODE.md](NODE.md#keeping-comments-out-of-integrations)). |
643
643
 
644
644
  Google sign-in uses the account photo (`picture`) automatically, loaded from `lh3.googleusercontent.com`. Under a restrictive CSP, allow that host (or your `avatar` host) in `img-src`; blocked or failed photos fall back to the initial.
645
645
 
@@ -4,5 +4,6 @@ export declare function springStep(value: number, velocity: number, target: numb
4
4
  };
5
5
  export declare function cardMotion(onFrame: () => void): {
6
6
  place(nextKey: string | null, element: HTMLElement, left: number, top: number, follow: boolean): void;
7
+ hold(on: boolean): void;
7
8
  stop: () => void;
8
9
  };