@veltdev/react 2.0.29 → 2.0.31

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 (32) hide show
  1. package/cjs/index.js +33 -3
  2. package/cjs/index.js.map +1 -1
  3. package/cjs/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
  4. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/VeltConfirmDialogApproveButtonWireframe.d.ts +6 -0
  5. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/index.d.ts +1 -0
  6. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/VeltConfirmDialogMessageWireframe.d.ts +6 -0
  7. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/index.d.ts +1 -0
  8. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/VeltConfirmDialogRejectButtonWireframe.d.ts +6 -0
  9. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/index.d.ts +1 -0
  10. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/VeltConfirmDialogTitleWireframe.d.ts +6 -0
  11. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/index.d.ts +1 -0
  12. package/cjs/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogWireframe.d.ts +16 -0
  13. package/cjs/types/components/VeltConfirmDialogWireframe/index.d.ts +1 -0
  14. package/cjs/types/components/index.d.ts +1 -0
  15. package/cjs/types/constants.d.ts +1 -1
  16. package/esm/index.js +33 -4
  17. package/esm/index.js.map +1 -1
  18. package/esm/types/components/SnippylyCommentsSidebar/SnippylyCommentsSidebar.d.ts +1 -0
  19. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/VeltConfirmDialogApproveButtonWireframe.d.ts +6 -0
  20. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogApproveButtonWireframe/index.d.ts +1 -0
  21. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/VeltConfirmDialogMessageWireframe.d.ts +6 -0
  22. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogMessageWireframe/index.d.ts +1 -0
  23. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/VeltConfirmDialogRejectButtonWireframe.d.ts +6 -0
  24. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogRejectButtonWireframe/index.d.ts +1 -0
  25. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/VeltConfirmDialogTitleWireframe.d.ts +6 -0
  26. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogTitleWireframe/index.d.ts +1 -0
  27. package/esm/types/components/VeltConfirmDialogWireframe/VeltConfirmDialogWireframe.d.ts +16 -0
  28. package/esm/types/components/VeltConfirmDialogWireframe/index.d.ts +1 -0
  29. package/esm/types/components/index.d.ts +1 -0
  30. package/esm/types/constants.d.ts +1 -1
  31. package/index.d.ts +29 -1
  32. package/package.json +1 -1
@@ -56,6 +56,7 @@ export interface IVeltCommentsSidebarProps {
56
56
  onCommentClick?: Function;
57
57
  darkMode?: boolean;
58
58
  position?: "right" | "left";
59
+ filterPanelLayout?: 'menu' | 'bottomSheet';
59
60
  }
60
61
  declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
61
62
  export default SnippylyCommentsSidebar;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IVeltConfirmDialogApproveButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ declare const VeltConfirmDialogApproveButtonWireframe: React.FC<IVeltConfirmDialogApproveButtonWireframeProps>;
6
+ export default VeltConfirmDialogApproveButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltConfirmDialogApproveButtonWireframe";
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IVeltConfirmDialogMessageWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ declare const VeltConfirmDialogMessageWireframe: React.FC<IVeltConfirmDialogMessageWireframeProps>;
6
+ export default VeltConfirmDialogMessageWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltConfirmDialogMessageWireframe";
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IVeltConfirmDialogRejectButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ declare const VeltConfirmDialogRejectButtonWireframe: React.FC<IVeltConfirmDialogRejectButtonWireframeProps>;
6
+ export default VeltConfirmDialogRejectButtonWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltConfirmDialogRejectButtonWireframe";
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IVeltConfirmDialogTitleWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
3
+ variant?: string;
4
+ }
5
+ declare const VeltConfirmDialogTitleWireframe: React.FC<IVeltConfirmDialogTitleWireframeProps>;
6
+ export default VeltConfirmDialogTitleWireframe;
@@ -0,0 +1 @@
1
+ export { default } from "./VeltConfirmDialogTitleWireframe";
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IVeltConfirmDialogApproveButtonWireframeProps } from './VeltConfirmDialogApproveButtonWireframe/VeltConfirmDialogApproveButtonWireframe';
3
+ import { IVeltConfirmDialogMessageWireframeProps } from './VeltConfirmDialogMessageWireframe/VeltConfirmDialogMessageWireframe';
4
+ import { IVeltConfirmDialogRejectButtonWireframeProps } from './VeltConfirmDialogRejectButtonWireframe/VeltConfirmDialogRejectButtonWireframe';
5
+ import { IVeltConfirmDialogTitleWireframeProps } from './VeltConfirmDialogTitleWireframe/VeltConfirmDialogTitleWireframe';
6
+ export interface IVeltConfirmDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
7
+ variant?: string;
8
+ }
9
+ export interface IVeltConfirmDialogWireframe extends React.FC<IVeltConfirmDialogWireframeProps> {
10
+ Title: React.FC<IVeltConfirmDialogTitleWireframeProps>;
11
+ Message: React.FC<IVeltConfirmDialogMessageWireframeProps>;
12
+ RejectButton: React.FC<IVeltConfirmDialogRejectButtonWireframeProps>;
13
+ ApproveButton: React.FC<IVeltConfirmDialogApproveButtonWireframeProps>;
14
+ }
15
+ declare const VeltConfirmDialogWireframe: IVeltConfirmDialogWireframe;
16
+ export default VeltConfirmDialogWireframe;
@@ -0,0 +1 @@
1
+ export { default } from './VeltConfirmDialogWireframe';
@@ -61,3 +61,4 @@ export { default as VeltReactionsPanelWireframe } from "./VeltReactionsPanelWire
61
61
  export { default as VeltInlineCommentsSectionWireframe } from "./VeltInlineCommentsSectionWireframe";
62
62
  export { default as VeltNotificationsPanelWireframe } from "./VeltNotificationsPanelWireframe";
63
63
  export { default as VeltNotificationsToolWireframe } from "./VeltNotificationsToolWireframe";
64
+ export { default as VeltConfirmDialogWireframe } from "./VeltConfirmDialogWireframe";
@@ -1,3 +1,3 @@
1
- export declare const VELT_SDK_VERSION = "2.0.29";
1
+ export declare const VELT_SDK_VERSION = "2.0.31";
2
2
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
3
3
  export declare const VELT_TAB_ID = "veltTabId";
package/index.d.ts CHANGED
@@ -211,6 +211,7 @@ interface IVeltCommentsSidebarProps {
211
211
  onCommentClick?: Function;
212
212
  darkMode?: boolean;
213
213
  position?: "right" | "left";
214
+ filterPanelLayout?: 'menu' | 'bottomSheet';
214
215
  }
215
216
  declare const SnippylyCommentsSidebar: React.FC<IVeltCommentsSidebarProps>;
216
217
 
@@ -2006,6 +2007,33 @@ interface IVeltNotificationsToolWireframe extends React.FC<IVeltNotificationsToo
2006
2007
  }
2007
2008
  declare const VeltNotificationsToolWireframe: IVeltNotificationsToolWireframe;
2008
2009
 
2010
+ interface IVeltConfirmDialogApproveButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2011
+ variant?: string;
2012
+ }
2013
+
2014
+ interface IVeltConfirmDialogMessageWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2015
+ variant?: string;
2016
+ }
2017
+
2018
+ interface IVeltConfirmDialogRejectButtonWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2019
+ variant?: string;
2020
+ }
2021
+
2022
+ interface IVeltConfirmDialogTitleWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2023
+ variant?: string;
2024
+ }
2025
+
2026
+ interface IVeltConfirmDialogWireframeProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
2027
+ variant?: string;
2028
+ }
2029
+ interface IVeltConfirmDialogWireframe extends React.FC<IVeltConfirmDialogWireframeProps> {
2030
+ Title: React.FC<IVeltConfirmDialogTitleWireframeProps>;
2031
+ Message: React.FC<IVeltConfirmDialogMessageWireframeProps>;
2032
+ RejectButton: React.FC<IVeltConfirmDialogRejectButtonWireframeProps>;
2033
+ ApproveButton: React.FC<IVeltConfirmDialogApproveButtonWireframeProps>;
2034
+ }
2035
+ declare const VeltConfirmDialogWireframe: IVeltConfirmDialogWireframe;
2036
+
2009
2037
  declare function useVeltClient(): {
2010
2038
  client: Velt;
2011
2039
  };
@@ -2103,4 +2131,4 @@ declare const createLiveStateMiddleware: (config?: LiveStateMiddlewareConfig) =>
2103
2131
  updateLiveStateDataId: (newId?: string) => void;
2104
2132
  };
2105
2133
 
2106
- 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, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, 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 };
2134
+ 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, VeltCommentsSidebarStatusDropdownWireframe, VeltCommentsSidebarWireframe, VeltConfirmDialogWireframe, SnippylyCursor as VeltCursor, VeltData, VeltHighChartComments, SnippylyHuddle as VeltHuddle, SnippylyHuddleTool as VeltHuddleTool, VeltInlineCommentsSection, VeltInlineCommentsSectionWireframe, VeltNivoChartComments, VeltNotificationsHistoryPanel, VeltNotificationsPanel, VeltNotificationsPanelWireframe, VeltNotificationsTool, VeltNotificationsToolWireframe, 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": "2.0.29",
3
+ "version": "2.0.31",
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": [