@veltdev/react 6.0.0-beta.2 → 6.0.0-beta.3
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/cjs/index.js +4 -4
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +8 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +4 -4
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +8 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +8 -0
- package/package.json +1 -1
|
@@ -168,6 +168,14 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
168
168
|
* When true, enables them. Mirrors `anonymousEmail` on `velt-comments`.
|
|
169
169
|
*/
|
|
170
170
|
anonymousEmail?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Controls the search scope used to re-locate a text comment's highlight.
|
|
173
|
+
* When false (default), if the stored text is not found inside the comment's anchor
|
|
174
|
+
* element the search falls back to a body-level (in-scope) search before ghosting.
|
|
175
|
+
* When true, the search is restricted to the anchor element only (no body fallback).
|
|
176
|
+
* Mirrors `restrictTextSearchToAnchor` on `velt-comments`.
|
|
177
|
+
*/
|
|
178
|
+
restrictTextSearchToAnchor?: boolean;
|
|
171
179
|
}
|
|
172
180
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
173
181
|
export default SnippylyComments;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "6.0.0-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "6.0.0-beta.3";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export declare const INTEGRITY_MAP: Record<string, string>;
|
package/index.d.ts
CHANGED
|
@@ -224,6 +224,14 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
|
|
|
224
224
|
* When true, enables them. Mirrors `anonymousEmail` on `velt-comments`.
|
|
225
225
|
*/
|
|
226
226
|
anonymousEmail?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Controls the search scope used to re-locate a text comment's highlight.
|
|
229
|
+
* When false (default), if the stored text is not found inside the comment's anchor
|
|
230
|
+
* element the search falls back to a body-level (in-scope) search before ghosting.
|
|
231
|
+
* When true, the search is restricted to the anchor element only (no body fallback).
|
|
232
|
+
* Mirrors `restrictTextSearchToAnchor` on `velt-comments`.
|
|
233
|
+
*/
|
|
234
|
+
restrictTextSearchToAnchor?: boolean;
|
|
227
235
|
}
|
|
228
236
|
declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
|
|
229
237
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.3",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|