@veltdev/sdk 1.0.73 → 1.0.75

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.
@@ -4,6 +4,7 @@ import { Config } from "../models/data/config.data.model";
4
4
  import { DocumentUser } from "../models/data/document-user.data.model";
5
5
  import { Location } from "../models/data/location.model";
6
6
  import { User, UserOptions } from "../models/data/user.data.model";
7
+ import { CustomCss } from "../models/data/custom-css.data.model";
7
8
  import { CommentElement } from "../models/element/comment-element.model";
8
9
  import { ContactElement } from "../models/element/contact-element.model";
9
10
  import { CursorElement } from "../models/element/cursor-element.model";
@@ -152,6 +153,11 @@ export declare class Snippyly {
152
153
  */
153
154
  removeVeltContent: (htmlContent: string) => string;
154
155
 
156
+ /**
157
+ * To inject custom css.
158
+ */
159
+ injectCustomCss: (customCss: CustomCss) => void;
160
+
155
161
  /**
156
162
  * To set the language.
157
163
  * @param language Language code
@@ -0,0 +1,10 @@
1
+ export declare class CustomCss {
2
+ /**
3
+ * Type of custom css
4
+ */
5
+ type: 'link' | 'styles';
6
+ /**
7
+ * Value of custom css
8
+ */
9
+ value: string;
10
+ }
@@ -54,6 +54,7 @@ export declare class Constants {
54
54
  static SNIPPYLY_HIGHLIGHT_USER_NAME: string;
55
55
  static SNIPPYLY_HIGHLIGHT_USER_TEXT: string;
56
56
  static VELT_IGNORE_CHANGE_DETECTION: string;
57
+ static VELT_CUSTOM_CSS: string;
57
58
  static TAGS: {
58
59
  /**
59
60
  * @deprecated Use VELT_ROOT instead
@@ -269,6 +270,8 @@ export declare class Constants {
269
270
  SNIPPYLY_HUDDLE_DATA: string;
270
271
  VELT_TAB_ID: string;
271
272
  VELT_COMMENT_SIDEBAR_FILTERS_RESET: string;
273
+ VELT_CURSOR_MULTIPLE_USERS_DETECTED: string;
274
+ VELT_PRESENCE_MULTIPLE_USERS_DETECTED: string;
272
275
  };
273
276
  static LOCAL_STORAGE: {
274
277
  SNIPPYLY_DEFAULT_MEDIA_SOURCE_OPTIONS: string;
package/models.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './app/models/data/comment.data.model';
7
7
  export * from './app/models/data/config.data.model';
8
8
  export * from './app/models/data/cursor-position.data.model';
9
9
  export * from './app/models/data/cursor-user.data.model';
10
+ export * from './app/models/data/custom-css.data.model';
10
11
  export * from './app/models/data/device-info.model';
11
12
  export * from './app/models/data/document-iam.data.model';
12
13
  export * from './app/models/data/document-metadata.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {