@hazem3500/palette 0.9.132 → 0.9.133
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/anchors.d.ts +2 -1
- package/dist/chunk-3SNXBRAS.js +1 -0
- package/dist/chunk-JWGDIIKJ.js +1 -0
- package/dist/index.js +1 -1
- package/dist/node.mjs +1 -1
- package/dist/react.js +1 -1
- package/dist/review-layer.d.ts +1 -0
- package/dist/server.js +1 -1
- package/dist/setup.js +1 -1
- package/dist/snapshot-CFKV3VWX.js +1 -0
- package/dist/{snapshot-annotate-T3XC5ENZ.js → snapshot-annotate-HW4ZWT7T.js} +1 -1
- package/dist/snapshot.d.ts +3 -3
- package/package.json +1 -1
- package/server/setup-client.txt +58 -58
- package/dist/chunk-DQPAVGRB.js +0 -1
- package/dist/chunk-UVWLXKWZ.js +0 -1
- package/dist/snapshot-TUAELSKH.js +0 -1
package/dist/anchors.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Anchor } from "./types.js";
|
|
2
|
+
export declare const reviewOverlay = "dialog,[role=dialog],[role=alertdialog],[popover],[data-radix-popper-content-wrapper],[role=menu],[role=listbox]";
|
|
2
3
|
/** Prefer a persistent comment owner without changing precise DOM anchor capture. */
|
|
3
4
|
export declare function commentAnchorTarget(element: Element, root: Element, resolve?: (element: Element) => Element | undefined): Element;
|
|
4
5
|
export declare function captureAnchor(element: Element, start: {
|
|
@@ -7,7 +8,7 @@ export declare function captureAnchor(element: Element, start: {
|
|
|
7
8
|
}, end: {
|
|
8
9
|
x: number;
|
|
9
10
|
y: number;
|
|
10
|
-
}, source?: string | ((element: Element) => string | undefined)): Anchor;
|
|
11
|
+
}, source?: string | ((element: Element) => string | undefined), withinTarget?: boolean): Anchor;
|
|
11
12
|
type Search = (scope: Element, anchor: Anchor, scoped: boolean) => Element[];
|
|
12
13
|
export declare function resolveAnchor(anchor: Anchor, target?: Element | null, find?: Search): Element | null;
|
|
13
14
|
export declare function locateAnchor(anchor: Anchor, target?: Element | null): {
|