@veltdev/react 3.0.16 → 3.0.18

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.
@@ -115,6 +115,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
115
115
  textCommentToolbarDarkMode?: boolean;
116
116
  textCommentToolShadowDom?: boolean;
117
117
  textCommentToolbarShadowDom?: boolean;
118
+ persistentCommentShadowDom?: boolean;
118
119
  composerMode?: 'default' | 'expanded';
119
120
  atHereLabel?: string;
120
121
  atHereDescription?: string;
@@ -1,10 +1,20 @@
1
1
  import React from 'react';
2
+ export declare class NotificationTabConfigItem {
3
+ name?: string;
4
+ enable?: boolean;
5
+ }
6
+ export declare class NotificationTabConfig {
7
+ forYou?: NotificationTabConfigItem;
8
+ documents?: NotificationTabConfigItem;
9
+ all?: NotificationTabConfigItem;
10
+ people?: NotificationTabConfigItem;
11
+ }
2
12
  export interface IVeltNotificationsPanelProps {
3
13
  darkMode?: boolean;
4
14
  onNotificationClick?: Function;
5
15
  shadowDom?: boolean;
6
16
  variant?: string;
7
- tabConfig?: any;
17
+ tabConfig?: NotificationTabConfig;
8
18
  }
9
19
  declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
10
20
  export default VeltNotificationsPanel;
@@ -1,11 +1,21 @@
1
1
  import React from 'react';
2
+ export declare class NotificationTabConfigItem {
3
+ name?: string;
4
+ enable?: boolean;
5
+ }
6
+ export declare class NotificationTabConfig {
7
+ forYou?: NotificationTabConfigItem;
8
+ documents?: NotificationTabConfigItem;
9
+ all?: NotificationTabConfigItem;
10
+ people?: NotificationTabConfigItem;
11
+ }
2
12
  export interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
13
  darkMode?: boolean;
4
14
  onNotificationClick?: Function;
5
15
  shadowDom?: boolean;
6
16
  panelShadowDom?: boolean;
7
17
  variant?: string;
8
- tabConfig?: any;
18
+ tabConfig?: NotificationTabConfig;
9
19
  panelOpenMode?: 'popover' | 'sidebar';
10
20
  panelVariant?: string;
11
21
  maxDays?: number;
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.16";
1
+ export declare const VELT_SDK_VERSION = "3.0.18";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -155,6 +155,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
155
155
  textCommentToolbarDarkMode?: boolean;
156
156
  textCommentToolShadowDom?: boolean;
157
157
  textCommentToolbarShadowDom?: boolean;
158
+ persistentCommentShadowDom?: boolean;
158
159
  composerMode?: 'default' | 'expanded';
159
160
  atHereLabel?: string;
160
161
  atHereDescription?: string;
@@ -492,25 +493,45 @@ interface IVeltCommentThreadProps {
492
493
  }
493
494
  declare const VeltCommentThread: React.FC<IVeltCommentThreadProps>;
494
495
 
496
+ declare class NotificationTabConfigItem$1 {
497
+ name?: string;
498
+ enable?: boolean;
499
+ }
500
+ declare class NotificationTabConfig$1 {
501
+ forYou?: NotificationTabConfigItem$1;
502
+ documents?: NotificationTabConfigItem$1;
503
+ all?: NotificationTabConfigItem$1;
504
+ people?: NotificationTabConfigItem$1;
505
+ }
495
506
  interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
496
507
  darkMode?: boolean;
497
508
  onNotificationClick?: Function;
498
509
  shadowDom?: boolean;
499
510
  panelShadowDom?: boolean;
500
511
  variant?: string;
501
- tabConfig?: any;
512
+ tabConfig?: NotificationTabConfig$1;
502
513
  panelOpenMode?: 'popover' | 'sidebar';
503
514
  panelVariant?: string;
504
515
  maxDays?: number;
505
516
  }
506
517
  declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
507
518
 
519
+ declare class NotificationTabConfigItem {
520
+ name?: string;
521
+ enable?: boolean;
522
+ }
523
+ declare class NotificationTabConfig {
524
+ forYou?: NotificationTabConfigItem;
525
+ documents?: NotificationTabConfigItem;
526
+ all?: NotificationTabConfigItem;
527
+ people?: NotificationTabConfigItem;
528
+ }
508
529
  interface IVeltNotificationsPanelProps {
509
530
  darkMode?: boolean;
510
531
  onNotificationClick?: Function;
511
532
  shadowDom?: boolean;
512
533
  variant?: string;
513
- tabConfig?: any;
534
+ tabConfig?: NotificationTabConfig;
514
535
  }
515
536
  declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
516
537
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.16",
3
+ "version": "3.0.18",
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": [