@veltdev/sdk-staging 1.0.279 → 1.0.280

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' | 'style';
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
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-staging",
3
- "version": "1.0.279",
3
+ "version": "1.0.280",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {