@veltdev/sdk-staging 1.0.367 → 1.0.368

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.
@@ -31,6 +31,18 @@ export declare class CommentElement {
31
31
  */
32
32
  allowedElementIds: (elementIds: string[]) => any;
33
33
 
34
+ /**
35
+ * To allow adding comments in specific elements only
36
+ * @param classNames Element class names to be allowed for adding comments
37
+ */
38
+ allowedElementClassNames: (classNames: string[]) => any;
39
+
40
+ /**
41
+ * To allow adding comments in specific elements only
42
+ * @param querySelectors Element query selectors to be allowed for adding comments
43
+ */
44
+ allowedElementQuerySelectors: (querySelectors: string[]) => any;
45
+
34
46
  /**
35
47
  * To enable floating comment dialog
36
48
  */
@@ -531,6 +543,18 @@ export declare class CommentElement {
531
543
  */
532
544
  private _allowedElementIds;
533
545
 
546
+ /**
547
+ * To allow adding comments in specific elements only
548
+ * @param classNames Element class names to be allowed for adding comments
549
+ */
550
+ private _allowedElementClassNames;
551
+
552
+ /**
553
+ * To allow adding comments in specific elements only
554
+ * @param querySelectors Element query selectors to be allowed for adding comments
555
+ */
556
+ private _allowedElementQuerySelectors;
557
+
534
558
  /**
535
559
  * To enable floating comment dialog
536
560
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "1.0.367",
3
+ "version": "1.0.368",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {