@veltdev/react 4.2.0-beta.5 → 4.2.0

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.
@@ -70,12 +70,12 @@ export interface IVeltCommentsProps extends React.DetailedHTMLProps<React.HTMLAt
70
70
  commentPinHighlighter?: boolean;
71
71
  customReactions?: ReactionMap;
72
72
  /**
73
- * @deprecated Use `useAddCommentAnnotation` event hook instead.
73
+ * @legacy Use `useAddCommentAnnotation` event hook instead.
74
74
  */
75
75
  onCommentAdd?: Function;
76
76
  onCustomPinInject?: Function;
77
77
  /**
78
- * @deprecated Use respective update events hooks instead.
78
+ * @legacy Use respective update events hooks instead.
79
79
  */
80
80
  onCommentUpdate?: Function;
81
81
  onCommentAccept?: Function;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const VELT_SDK_VERSION = "4.2.0-beta.5";
2
+ export declare const VELT_SDK_VERSION = "4.2.0";
3
3
  export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
4
4
  export declare const VELT_TAB_ID = "veltTabId";
5
5
  export interface IVeltWireframeCommonProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
@@ -8,11 +8,11 @@ export declare function useUnreadCommentCountByLocationId(locationId: string): U
8
8
  export declare function useUnreadCommentAnnotationCountByLocationId(locationId: string): UnreadCommentsCount;
9
9
  export declare function useCommentModeState(): boolean | undefined;
10
10
  /**
11
- * @deprecated Use `useCommentEventCallback('addCommentAnnotation')` event hook instead.
11
+ * @legacy Use `useCommentEventCallback('addCommentAnnotation')` event hook instead.
12
12
  */
13
13
  export declare function useCommentAddHandler(): CommentAddEventData | undefined;
14
14
  /**
15
- * @deprecated Use `useCommentEventCallback` event hook instead.
15
+ * @legacy Use `useCommentEventCallback` event hook instead.
16
16
  */
17
17
  export declare function useCommentUpdateHandler(): CommentUpdateEventData | undefined;
18
18
  export declare function useCommentDialogSidebarClickHandler(): any;
package/index.d.ts CHANGED
@@ -112,12 +112,12 @@ interface IVeltCommentsProps extends React$1.DetailedHTMLProps<React$1.HTMLAttri
112
112
  commentPinHighlighter?: boolean;
113
113
  customReactions?: ReactionMap;
114
114
  /**
115
- * @deprecated Use `useAddCommentAnnotation` event hook instead.
115
+ * @legacy Use `useAddCommentAnnotation` event hook instead.
116
116
  */
117
117
  onCommentAdd?: Function;
118
118
  onCustomPinInject?: Function;
119
119
  /**
120
- * @deprecated Use respective update events hooks instead.
120
+ * @legacy Use respective update events hooks instead.
121
121
  */
122
122
  onCommentUpdate?: Function;
123
123
  onCommentAccept?: Function;
@@ -3423,11 +3423,11 @@ declare function useUnreadCommentCountByLocationId(locationId: string): UnreadCo
3423
3423
  declare function useUnreadCommentAnnotationCountByLocationId(locationId: string): UnreadCommentsCount;
3424
3424
  declare function useCommentModeState(): boolean | undefined;
3425
3425
  /**
3426
- * @deprecated Use `useCommentEventCallback('addCommentAnnotation')` event hook instead.
3426
+ * @legacy Use `useCommentEventCallback('addCommentAnnotation')` event hook instead.
3427
3427
  */
3428
3428
  declare function useCommentAddHandler(): CommentAddEventData | undefined;
3429
3429
  /**
3430
- * @deprecated Use `useCommentEventCallback` event hook instead.
3430
+ * @legacy Use `useCommentEventCallback` event hook instead.
3431
3431
  */
3432
3432
  declare function useCommentUpdateHandler(): CommentUpdateEventData | undefined;
3433
3433
  declare function useCommentDialogSidebarClickHandler(): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/react",
3
- "version": "4.2.0-beta.5",
3
+ "version": "4.2.0",
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": [