@veltdev/sdk 5.0.2-beta.13 → 5.0.2-beta.15
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/app/models/element/comment-element.model.d.ts +20 -0
- package/app/utils/constants.d.ts +70 -0
- package/package.json +1 -1
- package/velt.css +1 -1
- package/velt.js +101 -101
|
@@ -1385,6 +1385,16 @@ export declare class CommentElement {
|
|
|
1385
1385
|
*/
|
|
1386
1386
|
public getComposerData: (request: GetComposerDataRequest) => ComposerTextChangeEvent | null;
|
|
1387
1387
|
|
|
1388
|
+
/**
|
|
1389
|
+
* To enable pin drag
|
|
1390
|
+
*/
|
|
1391
|
+
public enablePinDrag: () => void;
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* To disable pin drag
|
|
1395
|
+
*/
|
|
1396
|
+
public disablePinDrag: () => void;
|
|
1397
|
+
|
|
1388
1398
|
constructor();
|
|
1389
1399
|
/**
|
|
1390
1400
|
* Subscribe to comments on the current document.
|
|
@@ -2741,4 +2751,14 @@ export declare class CommentElement {
|
|
|
2741
2751
|
* @param type 'dropdown' | 'checkbox'
|
|
2742
2752
|
*/
|
|
2743
2753
|
private _setAssignToType;
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* To enable pin drag
|
|
2757
|
+
*/
|
|
2758
|
+
private _enablePinDrag;
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
* To disable pin drag
|
|
2762
|
+
*/
|
|
2763
|
+
private _disablePinDrag;
|
|
2744
2764
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -305,7 +305,74 @@ export declare class Constants {
|
|
|
305
305
|
VELT_INLINE_REACTIONS_SECTION: string;
|
|
306
306
|
VELT_VIEW_ANALYTICS: string;
|
|
307
307
|
VELT_NOTIFICATIONS_TOOL: string;
|
|
308
|
+
VELT_NOTIFICATIONS_TOOL_ICON: string;
|
|
309
|
+
VELT_NOTIFICATIONS_TOOL_UNREAD_ICON: string;
|
|
310
|
+
VELT_NOTIFICATIONS_TOOL_LABEL: string;
|
|
311
|
+
VELT_NOTIFICATIONS_TOOL_UNREAD_COUNT: string;
|
|
308
312
|
VELT_NOTIFICATIONS_PANEL: string;
|
|
313
|
+
VELT_NOTIFICATIONS_PANEL_TITLE: string;
|
|
314
|
+
VELT_NOTIFICATIONS_PANEL_TITLE_TEXT: string;
|
|
315
|
+
VELT_NOTIFICATIONS_PANEL_HEADER: string;
|
|
316
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_FOR_YOU: string;
|
|
317
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_PEOPLE: string;
|
|
318
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_DOCUMENTS: string;
|
|
319
|
+
VELT_NOTIFICATIONS_PANEL_HEADER_TAB_ALL: string;
|
|
320
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT: string;
|
|
321
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_FOR_YOU: string;
|
|
322
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL: string;
|
|
323
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE: string;
|
|
324
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS: string;
|
|
325
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST: string;
|
|
326
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM: string;
|
|
327
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_AVATAR: string;
|
|
328
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_UNREAD: string;
|
|
329
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_HEADLINE: string;
|
|
330
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_BODY: string;
|
|
331
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_FILE_NAME: string;
|
|
332
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LIST_ITEM_TIME: string;
|
|
333
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST: string;
|
|
334
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM: string;
|
|
335
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM_LABEL: string;
|
|
336
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_LIST_ITEM_CONTENT: string;
|
|
337
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST: string;
|
|
338
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM: string;
|
|
339
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_AVATAR: string;
|
|
340
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_NAME: string;
|
|
341
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_COUNT: string;
|
|
342
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_PEOPLE_LIST_ITEM_CONTENT: string;
|
|
343
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST: string;
|
|
344
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM: string;
|
|
345
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_NAME: string;
|
|
346
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_COUNT: string;
|
|
347
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_CONTENT: string;
|
|
348
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_DOCUMENTS_LIST_ITEM_UNREAD: string;
|
|
349
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_LOAD_MORE: string;
|
|
350
|
+
VELT_NOTIFICATIONS_PANEL_CONTENT_ALL_READ_CONTAINER: string;
|
|
351
|
+
VELT_NOTIFICATIONS_PANEL_CLOSE_BUTTON: string;
|
|
352
|
+
VELT_NOTIFICATIONS_PANEL_READ_ALL_BUTTON: string;
|
|
353
|
+
VELT_NOTIFICATIONS_PANEL_VIEW_ALL_BUTTON: string;
|
|
354
|
+
VELT_NOTIFICATIONS_PANEL_SKELETON: string;
|
|
355
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_BUTTON: string;
|
|
356
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS: string;
|
|
357
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_HEADER: string;
|
|
358
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_HEADER_TITLE: string;
|
|
359
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_TITLE: string;
|
|
360
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_DESCRIPTION: string;
|
|
361
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_LIST: string;
|
|
362
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_TITLE: string;
|
|
363
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_DESCRIPTION: string;
|
|
364
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_MUTE_ALL_TOGGLE: string;
|
|
365
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION: string;
|
|
366
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER: string;
|
|
367
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_LABEL: string;
|
|
368
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_ICON: string;
|
|
369
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_TRIGGER_SELECTED_VALUE: string;
|
|
370
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT: string;
|
|
371
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM: string;
|
|
372
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM_LABEL: string;
|
|
373
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_ACCORDION_CONTENT_ITEM_ICON: string;
|
|
374
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_BACK_BUTTON: string;
|
|
375
|
+
VELT_NOTIFICATIONS_PANEL_SETTINGS_FOOTER: string;
|
|
309
376
|
VELT_NOTIFICATIONS_HISTORY_PANEL: string;
|
|
310
377
|
VELT_WIREFRAME: string;
|
|
311
378
|
VELT_AUTOCOMPLETE: string;
|
|
@@ -482,6 +549,9 @@ export declare class Constants {
|
|
|
482
549
|
VELT_AVATAR_COLOR: string;
|
|
483
550
|
VELT_COMMENT_PRIORITY_COLOR: string;
|
|
484
551
|
};
|
|
552
|
+
static BODY_CLASSES: {
|
|
553
|
+
VELT_PIN_DRAGGING: string;
|
|
554
|
+
};
|
|
485
555
|
static INJECTION_ATTRIBUTES: {
|
|
486
556
|
/**
|
|
487
557
|
* @deprecated Use VELT_AVATAR_IMG instead
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "5.0.2-beta.
|
|
3
|
+
"version": "5.0.2-beta.15",
|
|
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": [
|
package/velt.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
html{--velt-base-rem-unit: 1}*[data-snippyly-element=true],*[data-velt-element=true]{font-family:var(--velt-default-font-family)}velt-wireframe{display:none!important}
|
|
1
|
+
html{--velt-base-rem-unit: 1}*[data-snippyly-element=true],*[data-velt-element=true]{font-family:var(--velt-default-font-family)}velt-wireframe{display:none!important}body.velt-pin-dragging iframe{pointer-events:none!important}
|