@veltdev/react 3.0.18 → 3.0.20

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.
Files changed (24) hide show
  1. package/cjs/index.js +19 -7
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +9 -0
  4. package/cjs/types/components/VeltCommentComposer/index.d.ts +1 -0
  5. package/cjs/types/components/VeltCommentComposerWireframe/VeltInlineCommentsSectionWireframe.d.ts +8 -0
  6. package/cjs/types/components/VeltCommentComposerWireframe/index.d.ts +1 -0
  7. package/cjs/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
  8. package/cjs/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
  9. package/cjs/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
  10. package/cjs/types/components/index.d.ts +2 -0
  11. package/cjs/types/constants.d.ts +1 -1
  12. package/esm/index.js +18 -8
  13. package/esm/index.js.map +1 -1
  14. package/esm/types/components/VeltCommentComposer/VeltCommentComposer.d.ts +9 -0
  15. package/esm/types/components/VeltCommentComposer/index.d.ts +1 -0
  16. package/esm/types/components/VeltCommentComposerWireframe/VeltInlineCommentsSectionWireframe.d.ts +8 -0
  17. package/esm/types/components/VeltCommentComposerWireframe/index.d.ts +1 -0
  18. package/esm/types/components/VeltInlineCommentsSection/VeltInlineCommentsSection.d.ts +1 -0
  19. package/esm/types/components/VeltNotificationsPanel/VeltNotificationsPanel.d.ts +1 -0
  20. package/esm/types/components/VeltNotificationsTool/VeltNotificationsTool.d.ts +1 -0
  21. package/esm/types/components/index.d.ts +2 -0
  22. package/esm/types/constants.d.ts +1 -1
  23. package/index.d.ts +19 -1
  24. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface IVeltCommentComposerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ darkMode?: boolean;
4
+ variant?: string;
5
+ dialogVariant?: string;
6
+ shadowDom?: boolean;
7
+ }
8
+ declare const VeltCommentComposer: React.FC<IVeltCommentComposerProps>;
9
+ export default VeltCommentComposer;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltCommentComposer";
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IVeltCommentComposerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ export interface IVeltCommentComposerWireframe extends React.FC<IVeltCommentComposerWireframeProps> {
6
+ }
7
+ declare const VeltCommentComposerWireframe: IVeltCommentComposerWireframe;
8
+ export default VeltCommentComposerWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltInlineCommentsSectionWireframe";
@@ -17,6 +17,7 @@ export interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps
17
17
  variant?: string;
18
18
  dialogVariant?: string;
19
19
  shadowDom?: boolean;
20
+ multiThread?: boolean;
20
21
  }
21
22
  declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
22
23
  export default VeltInlineCommentsSection;
@@ -15,6 +15,7 @@ export interface IVeltNotificationsPanelProps {
15
15
  shadowDom?: boolean;
16
16
  variant?: string;
17
17
  tabConfig?: NotificationTabConfig;
18
+ readNotificationsOnForYouTab?: boolean;
18
19
  }
19
20
  declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
20
21
  export default VeltNotificationsPanel;
@@ -19,6 +19,7 @@ export interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<Rea
19
19
  panelOpenMode?: 'popover' | 'sidebar';
20
20
  panelVariant?: string;
21
21
  maxDays?: number;
22
+ readNotificationsOnForYouTab?: boolean;
22
23
  }
23
24
  declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
24
25
  export default VeltNotificationsTool;
@@ -38,6 +38,7 @@ export { default as VeltIf } from "./VeltIf";
38
38
  export { default as VeltCommentsMinimap } from "./VeltCommentsMinimap";
39
39
  export { default as VeltReactionTool } from "./VeltReactionTool";
40
40
  export { default as VeltInlineReactionsSection } from "./VeltInlineReactionsSection";
41
+ export { default as VeltCommentComposer } from "./VeltCommentComposer";
41
42
  export { default as VeltWireframe } from "./VeltWireframe";
42
43
  export { default as VeltCommentDialogWireframe } from "./VeltCommentDialogWireframe";
43
44
  export { default as VeltCommentsSidebarWireframe } from "./VeltCommentsSidebarWireframe";
@@ -68,3 +69,4 @@ export { default as VeltConfirmDialogWireframe } from "./VeltConfirmDialogWirefr
68
69
  export { default as VeltInlineReactionsSectionWireframe } from "./VeltInlineReactionsSectionWireframe";
69
70
  export { default as VeltPersistentCommentModeWireframe } from "./VeltPersistentCommentModeWireframe";
70
71
  export { default as VeltMultiThreadCommentDialogWireframe } from "./VeltMultiThreadCommentDialogWireframe";
72
+ export { default as VeltCommentComposerWireframe } from "./VeltCommentComposerWireframe";
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "3.0.18";
1
+ export declare const VELT_SDK_VERSION = "3.0.20";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -513,6 +513,7 @@ interface IVeltNotificationsToolProps extends React.DetailedHTMLProps<React.HTML
513
513
  panelOpenMode?: 'popover' | 'sidebar';
514
514
  panelVariant?: string;
515
515
  maxDays?: number;
516
+ readNotificationsOnForYouTab?: boolean;
516
517
  }
517
518
  declare const VeltNotificationsTool: React.FC<IVeltNotificationsToolProps>;
518
519
 
@@ -532,6 +533,7 @@ interface IVeltNotificationsPanelProps {
532
533
  shadowDom?: boolean;
533
534
  variant?: string;
534
535
  tabConfig?: NotificationTabConfig;
536
+ readNotificationsOnForYouTab?: boolean;
535
537
  }
536
538
  declare const VeltNotificationsPanel: React.FC<IVeltNotificationsPanelProps>;
537
539
 
@@ -590,6 +592,7 @@ interface IVeltInlineCommentsSectionProps extends React.DetailedHTMLProps<React.
590
592
  variant?: string;
591
593
  dialogVariant?: string;
592
594
  shadowDom?: boolean;
595
+ multiThread?: boolean;
593
596
  }
594
597
  declare const VeltInlineCommentsSection: React.FC<IVeltInlineCommentsSectionProps>;
595
598
 
@@ -635,6 +638,14 @@ interface IVeltInlineReactionsSectionProps extends React.DetailedHTMLProps<React
635
638
  }
636
639
  declare const VeltInlineReactionsSection: React.FC<IVeltInlineReactionsSectionProps>;
637
640
 
641
+ interface IVeltCommentComposerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
642
+ darkMode?: boolean;
643
+ variant?: string;
644
+ dialogVariant?: string;
645
+ shadowDom?: boolean;
646
+ }
647
+ declare const VeltCommentComposer: React.FC<IVeltCommentComposerProps>;
648
+
638
649
  interface IVeltWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
639
650
  }
640
651
  declare const VeltWireframe: React.FC<IVeltWireframeProps>;
@@ -2460,6 +2471,13 @@ interface IVeltMultiThreadCommentDialogWireframe extends React.FC<IVeltMultiThre
2460
2471
  }
2461
2472
  declare const VeltMultiThreadCommentDialogWireframe: IVeltMultiThreadCommentDialogWireframe;
2462
2473
 
2474
+ interface IVeltCommentComposerWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2475
+ variant?: string;
2476
+ }
2477
+ interface IVeltCommentComposerWireframe extends React.FC<IVeltCommentComposerWireframeProps> {
2478
+ }
2479
+ declare const VeltCommentComposerWireframe: IVeltCommentComposerWireframe;
2480
+
2463
2481
  declare function useVeltClient(): {
2464
2482
  client: Velt;
2465
2483
  };
@@ -2557,4 +2575,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
2557
2575
  updateLiveStateDataId: (newId?: string) => void;
2558
2576
  };
2559
2577
 
2560
- export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
2578
+ export { SnippylyArrowTool as VeltArrowTool, SnippylyArrows as VeltArrows, VeltAutocomplete, VeltAutocompleteChipTooltipWireframe, VeltAutocompleteOptionWireframe, VeltCanvasComment, VeltChartComment, SnippylyCommentBubble as VeltCommentBubble, VeltCommentBubbleWireframe, VeltCommentComposer, VeltCommentComposerWireframe, VeltCommentDialogOptionsDropdownContentWireframe, VeltCommentDialogOptionsDropdownTriggerWireframe, VeltCommentDialogPriorityDropdownContentWireframe, VeltCommentDialogPriorityDropdownTriggerWireframe, VeltCommentDialogStatusDropdownContentWireframe, VeltCommentDialogStatusDropdownTriggerWireframe, VeltCommentDialogWireframe, VeltCommentPin, VeltCommentPinWireframe, VeltCommentPlayerTimeline, VeltCommentThread, SnippylyCommentTool as VeltCommentTool, VeltCommentToolWireframe, SnippylyComments as VeltComments, VeltCommentsMinimap, SnippylyCommentsSidebar as VeltCommentsSidebar, VeltCommentsSidebarButton, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltIf, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltInlineReactionsSection, VeltInlineReactionsSectionWireframe, VeltMultiThreadCommentDialogWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, VeltPersistentCommentModeWireframe, SnippylyPresence as VeltPresence, SnippylyProvider as VeltProvider, VeltReactionPinTooltipWireframe, VeltReactionPinWireframe, VeltReactionTool, VeltReactionToolWireframe, VeltReactionsPanelWireframe, SnippylyRecorderControlPanel as VeltRecorderControlPanel, SnippylyRecorderNotes as VeltRecorderNotes, SnippylyRecorderPlayer as VeltRecorderPlayer, SnippylyRecorderTool as VeltRecorderTool, SnippylySidebarButton as VeltSidebarButton, VeltSidebarButtonWireframe, SnippylyTagTool as VeltTagTool, SnippylyTags as VeltTags, VeltTextCommentToolWireframe, VeltTextCommentToolbar as VeltTextCommentToolbarWireframe, SnippylyUserInviteTool as VeltUserInviteTool, SnippylyUserRequestTool as VeltUserRequestTool, VeltUserSelectorDropdown as VeltUserSelectorDropdownWireframe, VeltVideoPlayer, VeltViewAnalytics, VeltWireframe, createLiveStateMiddleware, useAIRewriterUtils, useAutocompleteChipClick, useAutocompleteUtils, useClient, useCommentAddHandler, useCommentAnnotations, useCommentDialogSidebarClickHandler, useCommentModeState, useCommentSelectionChangeHandler, useCommentUpdateHandler, useCommentUtils, useContactSelected, useContactUtils, useCursorUsers, useCursorUtils, useEditor, useEditorAccessRequestHandler, useEditorAccessTimer, useHuddleUtils, useIdentify, useLiveSelectionUtils, useLiveState, useLiveStateData, useLiveStateSyncUtils, useNotificationUtils, useNotificationsData, usePresenceUsers, usePresenceUtils, useRecorderAddHandler, useRecorderUtils, useServerConnectionStateChangeHandler, useSetDocument, useSetDocumentId, useSetLiveStateData, useSetLocation, useTagAnnotations, useTagUtils, useUniqueViewsByDate, useUniqueViewsByUser, useUnreadCommentAnnotationCountByLocationId, useUnreadCommentAnnotationCountOnCurrentDocument, useUnreadCommentCountByAnnotationId, useUnreadCommentCountByLocationId, useUnreadCommentCountOnCurrentDocument, useUnsetDocumentId, useUserEditorState, useVeltClient, useVeltInitState, useViewsUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
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": [