@veltdev/react 3.0.15 → 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.
- package/cjs/index.js +5 -5
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +11 -1
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +11 -1
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +5 -5
- package/esm/index.js.map +1 -1
- package/esm/types/components/SnippylyComments/SnippylyComments.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +11 -1
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +11 -1
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +23 -2
- package/package.json +1 -1
|
@@ -117,6 +117,7 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
|
|
|
117
117
|
textCommentToolbarShadowDom?: boolean;
|
|
118
118
|
composerMode?: 'default' | 'expanded';
|
|
119
119
|
atHereLabel?: string;
|
|
120
|
+
atHereDescription?: string;
|
|
120
121
|
multiThreadMode?: boolean;
|
|
121
122
|
}
|
|
122
123
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
@@ -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?:
|
|
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?:
|
|
18
|
+
tabConfig?: NotificationTabConfig;
|
|
9
19
|
panelOpenMode?: 'popover' | 'sidebar';
|
|
10
20
|
panelVariant?: string;
|
|
11
21
|
maxDays?: number;
|
package/esm/types/constants.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -157,6 +157,7 @@ interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAttribute
|
|
|
157
157
|
textCommentToolbarShadowDom?: boolean;
|
|
158
158
|
composerMode?: 'default' | 'expanded';
|
|
159
159
|
atHereLabel?: string;
|
|
160
|
+
atHereDescription?: string;
|
|
160
161
|
multiThreadMode?: boolean;
|
|
161
162
|
}
|
|
162
163
|
declare const SnippylyComments: React.FC<IVeltCommentsProps>;
|
|
@@ -491,25 +492,45 @@ interface IVeltCommentThreadProps {
|
|
|
491
492
|
}
|
|
492
493
|
declare const VeltCommentThread: React.FC<IVeltCommentThreadProps>;
|
|
493
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
|
+
}
|
|
494
505
|
interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
495
506
|
darkMode?: boolean;
|
|
496
507
|
onNotificationClick?: Function;
|
|
497
508
|
shadowDom?: boolean;
|
|
498
509
|
panelShadowDom?: boolean;
|
|
499
510
|
variant?: string;
|
|
500
|
-
tabConfig?:
|
|
511
|
+
tabConfig?: NotificationTabConfig$1;
|
|
501
512
|
panelOpenMode?: 'popover' | 'sidebar';
|
|
502
513
|
panelVariant?: string;
|
|
503
514
|
maxDays?: number;
|
|
504
515
|
}
|
|
505
516
|
declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
|
|
506
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
|
+
}
|
|
507
528
|
interface IVeltNotificationsPanelProps {
|
|
508
529
|
darkMode?: boolean;
|
|
509
530
|
onNotificationClick?: Function;
|
|
510
531
|
shadowDom?: boolean;
|
|
511
532
|
variant?: string;
|
|
512
|
-
tabConfig?:
|
|
533
|
+
tabConfig?: NotificationTabConfig;
|
|
513
534
|
}
|
|
514
535
|
declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
|
|
515
536
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/react",
|
|
3
|
-
"version": "3.0.
|
|
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": [
|