@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.
- 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
|
@@ -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?:
|
|
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
|
@@ -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?:
|
|
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?:
|
|
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.
|
|
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": [
|