@veltdev/react 1.0.95 → 1.0.97
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 +87 -19
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.stories.d.ts +1 -2
- package/cjs/types/components/SnippylyArrowTool/SnippylyArrowTool.d.ts +1 -0
- package/cjs/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
- package/cjs/types/components/SnippylyHuddleTool/SnippylyHuddleTool.d.ts +1 -0
- package/cjs/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +1 -0
- package/cjs/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/cjs/types/components/SnippylyUserInviteTool/SnippylyUserInviteTool.d.ts +1 -0
- package/cjs/types/components/VeltNivoChartComments/VeltNivoChartComments.d.ts +6 -0
- package/cjs/types/components/VeltNivoChartComments/index.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsHistoryPanel/VeltNotificationsHistoryPanel.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/cjs/types/components/index.d.ts +1 -0
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +87 -20
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.stories.d.ts +1 -2
- package/esm/types/components/SnippylyArrowTool/SnippylyArrowTool.d.ts +1 -0
- package/esm/types/components/SnippylyCommentTool/SnippylyCommentTool.d.ts +1 -0
- package/esm/types/components/SnippylyHuddleTool/SnippylyHuddleTool.d.ts +1 -0
- package/esm/types/components/SnippylyRecorderTool/SnippylyRecorderTool.d.ts +1 -0
- package/esm/types/components/SnippylySidebarButton/SnippylySidebarButton.d.ts +1 -0
- package/esm/types/components/SnippylyUserInviteTool/SnippylyUserInviteTool.d.ts +1 -0
- package/esm/types/components/VeltNivoChartComments/VeltNivoChartComments.d.ts +6 -0
- package/esm/types/components/VeltNivoChartComments/index.d.ts +1 -0
- package/esm/types/components/VeltNotificationsHistoryPanel/VeltNotificationsHistoryPanel.d.ts +1 -0
- package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
- package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
- package/esm/types/components/index.d.ts +1 -0
- package/esm/types/constants.d.ts +1 -1
- package/index.d.ts +15 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
declare const _default: ComponentMeta<React.FC<import("./Snippyly").IVeltProps>>;
|
|
4
3
|
export default _default;
|
|
5
|
-
export declare const Snippyly1:
|
|
4
|
+
export declare const Snippyly1: any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltArrowToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
darkMode?: boolean;
|
|
3
4
|
}
|
|
4
5
|
declare const SnippylyArrowTool: React.FC<IVeltArrowToolProps>;
|
|
5
6
|
export default SnippylyArrowTool;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
3
|
targetCommentElementId?: string;
|
|
4
4
|
onCommentModeChange?: Function;
|
|
5
|
+
darkMode?: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
|
|
7
8
|
export default SnippylyCommentTool;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltHuddleToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
3
|
type?: string;
|
|
4
|
+
darkMode?: boolean;
|
|
4
5
|
}
|
|
5
6
|
declare const SnippylyHuddleTool: React.FC<IVeltHuddleToolProps>;
|
|
6
7
|
export default SnippylyHuddleTool;
|
|
@@ -3,6 +3,7 @@ export interface IVeltRecorderToolProps extends React.DetailedHTMLProps<React.HT
|
|
|
3
3
|
type?: string;
|
|
4
4
|
panelId?: string;
|
|
5
5
|
buttonLabel?: string;
|
|
6
|
+
darkMode?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
|
|
8
9
|
export default SnippylyRecorderTool;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
3
|
tooltipText?: string;
|
|
4
|
+
darkMode?: boolean;
|
|
4
5
|
}
|
|
5
6
|
declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
|
|
6
7
|
export default SnippylySidebarButton;
|
|
@@ -7,6 +7,7 @@ export interface IVeltUserInviteToolProps extends React.DetailedHTMLProps<React.
|
|
|
7
7
|
inviteUrl?: string;
|
|
8
8
|
accessControlDropdown?: boolean;
|
|
9
9
|
documentUserAccessList?: boolean;
|
|
10
|
+
darkMode?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare const SnippylyUserInviteTool: React.FC<IVeltUserInviteToolProps>;
|
|
12
13
|
export default SnippylyUserInviteTool;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VeltNivoChartComments";
|
package/esm/types/components/VeltNotificationsHistoryPanel/VeltNotificationsHistoryPanel.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
export interface IVeltNotificationsHistoryPanelProps {
|
|
3
3
|
embedMode?: boolean;
|
|
4
4
|
onNotificationClick?: Function;
|
|
5
|
+
darkMode?: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare const VeltNotificationsHistoryPanel: React.FC<IVeltNotificationsHistoryPanelProps>;
|
|
7
8
|
export default VeltNotificationsHistoryPanel;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
3
|
+
darkMode?: boolean;
|
|
3
4
|
onNotificationClick?: Function;
|
|
4
5
|
}
|
|
5
6
|
declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
|
|
@@ -25,3 +25,4 @@ export { default as VeltCommentThread } from "./VeltCommentThread";
|
|
|
25
25
|
export { default as VeltNotificationsTool } from "./VeltNotificationsTool";
|
|
26
26
|
export { default as VeltNotificationsPanel } from "./VeltNotificationsPanel";
|
|
27
27
|
export { default as VeltNotificationsHistoryPanel } from "./VeltNotificationsHistoryPanel";
|
|
28
|
+
export { default as VeltNivoChartComments } from "./VeltNivoChartComments";
|
package/esm/types/constants.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VELT_SDK_VERSION = "1.0.
|
|
1
|
+
export declare const VELT_SDK_VERSION = "1.0.111";
|
|
2
2
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
package/index.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
|
|
|
163
163
|
interface IVeltCommentToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
164
164
|
targetCommentElementId?: string;
|
|
165
165
|
onCommentModeChange?: Function;
|
|
166
|
+
darkMode?: boolean;
|
|
166
167
|
}
|
|
167
168
|
declare const SnippylyCommentTool: React.FC<IVeltCommentToolProps>;
|
|
168
169
|
|
|
@@ -184,6 +185,7 @@ declare const SnippylyHuddle: React.FC<IVeltHuddleProps>;
|
|
|
184
185
|
|
|
185
186
|
interface IVeltHuddleToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
186
187
|
type?: string;
|
|
188
|
+
darkMode?: boolean;
|
|
187
189
|
}
|
|
188
190
|
declare const SnippylyHuddleTool: React.FC<IVeltHuddleToolProps>;
|
|
189
191
|
|
|
@@ -239,11 +241,13 @@ interface IVeltRecorderToolProps extends React.DetailedHTMLProps<React.HTMLAttri
|
|
|
239
241
|
type?: string;
|
|
240
242
|
panelId?: string;
|
|
241
243
|
buttonLabel?: string;
|
|
244
|
+
darkMode?: boolean;
|
|
242
245
|
}
|
|
243
246
|
declare const SnippylyRecorderTool: React.FC<IVeltRecorderToolProps>;
|
|
244
247
|
|
|
245
248
|
interface IVeltSidebarButtonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
246
249
|
tooltipText?: string;
|
|
250
|
+
darkMode?: boolean;
|
|
247
251
|
}
|
|
248
252
|
declare const SnippylySidebarButton: React.FC<IVeltSidebarButtonProps>;
|
|
249
253
|
|
|
@@ -260,6 +264,7 @@ declare const SnippylyTagTool: React.FC<IVeltTagToolProps>;
|
|
|
260
264
|
declare const SnippylyArrows: React.FC<any>;
|
|
261
265
|
|
|
262
266
|
interface IVeltArrowToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
267
|
+
darkMode?: boolean;
|
|
263
268
|
}
|
|
264
269
|
declare const SnippylyArrowTool: React.FC<IVeltArrowToolProps>;
|
|
265
270
|
|
|
@@ -271,6 +276,7 @@ interface IVeltUserInviteToolProps extends React.DetailedHTMLProps<React.HTMLAtt
|
|
|
271
276
|
inviteUrl?: string;
|
|
272
277
|
accessControlDropdown?: boolean;
|
|
273
278
|
documentUserAccessList?: boolean;
|
|
279
|
+
darkMode?: boolean;
|
|
274
280
|
}
|
|
275
281
|
declare const SnippylyUserInviteTool: React.FC<IVeltUserInviteToolProps>;
|
|
276
282
|
|
|
@@ -310,11 +316,13 @@ interface IVeltCommentThreadProps {
|
|
|
310
316
|
declare const VeltCommentThread: React.FC<IVeltCommentThreadProps>;
|
|
311
317
|
|
|
312
318
|
interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
319
|
+
darkMode?: boolean;
|
|
313
320
|
onNotificationClick?: Function;
|
|
314
321
|
}
|
|
315
322
|
declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
|
|
316
323
|
|
|
317
324
|
interface IVeltNotificationsPanelProps {
|
|
325
|
+
darkMode?: boolean;
|
|
318
326
|
onNotificationClick?: Function;
|
|
319
327
|
}
|
|
320
328
|
declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
|
|
@@ -322,9 +330,15 @@ declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
|
|
|
322
330
|
interface IVeltNotificationsHistoryPanelProps {
|
|
323
331
|
embedMode?: boolean;
|
|
324
332
|
onNotificationClick?: Function;
|
|
333
|
+
darkMode?: boolean;
|
|
325
334
|
}
|
|
326
335
|
declare const VeltNotificationsHistoryPanel: React.FC<IVeltNotificationsHistoryPanelProps>;
|
|
327
336
|
|
|
337
|
+
interface IVeltNivoChartCommentsProps {
|
|
338
|
+
props?: any;
|
|
339
|
+
}
|
|
340
|
+
declare const VeltNivoChartComments: React.FC<IVeltNivoChartCommentsProps>;
|
|
341
|
+
|
|
328
342
|
declare function useVeltClient(): {
|
|
329
343
|
client: Velt;
|
|
330
344
|
};
|
|
@@ -488,4 +502,4 @@ declare type LiveStateMiddlewareConfig = {
|
|
|
488
502
|
};
|
|
489
503
|
declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) => (store: any) => (next: any) => (action: any) => any;
|
|
490
504
|
|
|
491
|
-
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, SnippylyCommentBubble as VeltCommentBubble, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, SnippylyCursor as VeltCursor, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltVideoPlayer, VeltViewAnalytics, createLiveStateMiddleware, useAIRewriterUtils, useAddLocation, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUserEditorState, useVeltClient, useViewsUtils };
|
|
505
|
+
export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, SnippylyCommentBubble as VeltCommentBubble, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, SnippylyComments as VeltComments, SnippylyCommentsSidebar as VeltCommentsSidebar, SnippylyCursor as VeltCursor, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsTool, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltVideoPlayer, VeltViewAnalytics, createLiveStateMiddleware, useAIRewriterUtils, useAddLocation, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentUpdateHandler, useCommentUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUserEditorState, useVeltClient, useViewsUtils };
|