@veltdev/react 5.0.2-beta.15 → 5.0.2-beta.16
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 +8 -8
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +5 -0
- package/cjs/types/components/VeltCommentDialog/VeltCommentDialog.d.ts +4 -0
- package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +5 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +8 -8
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +5 -0
- package/esm/types/components/VeltCommentDialog/VeltCommentDialog.d.ts +4 -0
- package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +5 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +14 -0
- package/package.json +1 -1
|
@@ -159,6 +159,11 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
159
159
|
formatOptions?: boolean;
|
|
160
160
|
attachmentDownload?: boolean;
|
|
161
161
|
pinDrag?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* When false, disables anonymous email mentions for comments (global comments container).
|
|
164
|
+
* When true, enables them. Mirrors `anonymousEmail` on `velt-comments`.
|
|
165
|
+
*/
|
|
166
|
+
anonymousEmail?: boolean;
|
|
162
167
|
}
|
|
163
168
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
164
169
|
export default SnippylyComments;
|
|
@@ -7,6 +7,10 @@ export interface IVeltCommentDialogProps extends React.DetailedHTMLProps<React.H
|
|
|
7
7
|
fullExpanded?: boolean;
|
|
8
8
|
shadowDom?: boolean;
|
|
9
9
|
placeholder?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Per-dialog override for anonymous email mentions for this annotation context.
|
|
12
|
+
*/
|
|
13
|
+
anonymousEmail?: boolean;
|
|
10
14
|
}
|
|
11
15
|
declare const VeltCommentDialog: React.FC<IVeltCommentDialogProps>;
|
|
12
16
|
export default VeltCommentDialog;
|
|
@@ -39,6 +39,11 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
|
|
|
39
39
|
replyPlaceholder?: string;
|
|
40
40
|
composerPlaceholder?: string;
|
|
41
41
|
readOnly?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Per-section override for anonymous email mentions. When set, overrides the global
|
|
44
|
+
* comment setting for this inline section only.
|
|
45
|
+
*/
|
|
46
|
+
anonymousEmail?: boolean;
|
|
42
47
|
}
|
|
43
48
|
declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
|
|
44
49
|
export default VeltInlineCommentsSection;
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "5.0.2-beta.
|
|
2
|
+
export declare const VELT_SDK_VERSION = "5.0.2-beta.16";
|
|
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
|
@@ -215,6 +215,11 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
|
|
|
215
215
|
formatOptions?: boolean;
|
|
216
216
|
attachmentDownload?: boolean;
|
|
217
217
|
pinDrag?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* When false, disables anonymous email mentions for comments (global comments container).
|
|
220
|
+
* When true, enables them. Mirrors `anonymousEmail` on `velt-comments`.
|
|
221
|
+
*/
|
|
222
|
+
anonymousEmail?: boolean;
|
|
218
223
|
}
|
|
219
224
|
declare const SnippylyComments: React$1.FC<IVeltCommentsProps>;
|
|
220
225
|
|
|
@@ -1100,6 +1105,11 @@ interface IVeltInlineCommentsSectionProps extends React$1.DetailedHTMLProps<Reac
|
|
|
1100
1105
|
replyPlaceholder?: string;
|
|
1101
1106
|
composerPlaceholder?: string;
|
|
1102
1107
|
readOnly?: boolean;
|
|
1108
|
+
/**
|
|
1109
|
+
* Per-section override for anonymous email mentions. When set, overrides the global
|
|
1110
|
+
* comment setting for this inline section only.
|
|
1111
|
+
*/
|
|
1112
|
+
anonymousEmail?: boolean;
|
|
1103
1113
|
}
|
|
1104
1114
|
declare const VeltInlineCommentsSection: React$1.FC<IVeltInlineCommentsSectionProps>;
|
|
1105
1115
|
|
|
@@ -1494,6 +1504,10 @@ interface IVeltCommentDialogProps extends React$1.DetailedHTMLProps<React$1.HTML
|
|
|
1494
1504
|
fullExpanded?: boolean;
|
|
1495
1505
|
shadowDom?: boolean;
|
|
1496
1506
|
placeholder?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* Per-dialog override for anonymous email mentions for this annotation context.
|
|
1509
|
+
*/
|
|
1510
|
+
anonymousEmail?: boolean;
|
|
1497
1511
|
}
|
|
1498
1512
|
declare const VeltCommentDialog: React$1.FC<IVeltCommentDialogProps>;
|
|
1499
1513
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "5.0.2-beta.
|
|
3
|
+
"version": "5.0.2-beta.16",
|
|
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": [
|