@veltdev/sdk 3.0.1 → 3.0.3

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.
@@ -23,7 +23,7 @@ import { TagElement } from "../models/element/tag-element.model";
23
23
  import { FeatureType } from "../utils/enums";
24
24
  import { UserContact } from "../models/data/user-contact.data.model";
25
25
  import { DocumentMetadata } from "../models/data/document-metadata.model";
26
-
26
+ import { ReactionElement } from "../models/element/reaction-element.model";
27
27
  export declare class Snippyly {
28
28
  constructor();
29
29
  initConfig: (apiKey: string, config?: Config) => void;
@@ -158,6 +158,10 @@ export declare class Snippyly {
158
158
  * Get the Area Object.
159
159
  */
160
160
  getAreaElement: () => AreaElement;
161
+ /**
162
+ * Get the Area Object.
163
+ */
164
+ getReactionElement: () => ReactionElement;
161
165
  /**
162
166
  * To signout a user
163
167
  */
@@ -0,0 +1,23 @@
1
+ // @ts-nocheck
2
+ export declare class ReactionElement {
3
+ /**
4
+ * To enable dark mode
5
+ */
6
+ enableDarkMode: () => void;
7
+
8
+ /**
9
+ * To disable dark mode
10
+ */
11
+ disableDarkMode: () => void;
12
+ constructor();
13
+
14
+ /**
15
+ * To enable dark mode
16
+ */
17
+ private _enableDarkMode;
18
+
19
+ /**
20
+ * To disable dark mode
21
+ */
22
+ private _disableDarkMode;
23
+ }
@@ -192,6 +192,7 @@ export declare class Constants {
192
192
  VELT_MENU: string;
193
193
  VELT_COMMENT_DIALOG: string;
194
194
  VELT_SIDEBAR_BUTTON: string;
195
+ VELT_COMMENTS_SIDEBAR_BUTTON: string;
195
196
  VELT_REWRITER: string;
196
197
  VELT_USER_INVITE_TOOL: string;
197
198
  VELT_USER_REQUEST_TOOL: string;
@@ -204,6 +205,7 @@ export declare class Constants {
204
205
  VELT_VIDEO_PLAYER: string;
205
206
  VELT_VIDEO_COMMENTS_TIMELINE: string;
206
207
  VELT_REACTION_TOOL: string;
208
+ VELT_INLINE_REACTIONS_SECTION: string;
207
209
  VELT_VIEW_ANALYTICS: string;
208
210
  VELT_NOTIFICATIONS_TOOL: string;
209
211
  VELT_NOTIFICATIONS_PANEL: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
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": [
package/types.d.ts CHANGED
@@ -15,4 +15,5 @@ export * from './app/models/element/tag-element.model';
15
15
  export * from './app/models/element/views-element.model';
16
16
  export * from './app/models/element/notification-element.model';
17
17
  export * from './app/models/element/autocomplete-element.model';
18
+ export * from './app/models/element/reaction-element.model';
18
19
  export * from './models';