@veltdev/react 3.0.16 → 3.0.17

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.
@@ -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.17";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -492,25 +492,45 @@ interface IVeltCommentThreadProps {
492
492
  }
493
493
  declare const VeltCommentThread: React.FC<IVeltCommentThreadProps>;
494
494
 
495
+ declare class NotificationTabConfigItem$1 {
496
+ name?: string;
497
+ enable?: boolean;
498
+ }
499
+ declare class NotificationTabConfig$1 {
500
+ forYou?: NotificationTabConfigItem$1;
501
+ documents?: NotificationTabConfigItem$1;
502
+ all?: NotificationTabConfigItem$1;
503
+ people?: NotificationTabConfigItem$1;
504
+ }
495
505
  interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
496
506
  darkMode?: boolean;
497
507
  onNotificationClick?: Function;
498
508
  shadowDom?: boolean;
499
509
  panelShadowDom?: boolean;
500
510
  variant?: string;
501
- tabConfig?: any;
511
+ tabConfig?: NotificationTabConfig$1;
502
512
  panelOpenMode?: 'popover' | 'sidebar';
503
513
  panelVariant?: string;
504
514
  maxDays?: number;
505
515
  }
506
516
  declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
507
517
 
518
+ declare class NotificationTabConfigItem {
519
+ name?: string;
520
+ enable?: boolean;
521
+ }
522
+ declare class NotificationTabConfig {
523
+ forYou?: NotificationTabConfigItem;
524
+ documents?: NotificationTabConfigItem;
525
+ all?: NotificationTabConfigItem;
526
+ people?: NotificationTabConfigItem;
527
+ }
508
528
  interface IVeltNotificationsPanelProps {
509
529
  darkMode?: boolean;
510
530
  onNotificationClick?: Function;
511
531
  shadowDom?: boolean;
512
532
  variant?: string;
513
- tabConfig?: any;
533
+ tabConfig?: NotificationTabConfig;
514
534
  }
515
535
  declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
516
536
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
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": [