lucid-extension-sdk 0.0.163 → 0.0.164

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.
@@ -19,6 +19,14 @@ export declare class LinkUnfurlBlockProxy extends BlockProxy {
19
19
  * the block.
20
20
  */
21
21
  getProviderName(): string;
22
+ /**
23
+ * Gets the URL the user will be redirected to when the user clicks the "Pop Out" action on the block.
24
+ */
25
+ getUrl(): string | undefined;
26
+ /**
27
+ * Sets the URL the user will be redirected to when the user clicks the "Pop Out" action on the block.
28
+ */
29
+ setUrl(url: string): void;
22
30
  /**
23
31
  * Sets the URL to be loaded in an iframe when the user clicks the "Expand" action on the block.
24
32
  */
@@ -35,6 +43,14 @@ export declare class LinkUnfurlBlockProxy extends BlockProxy {
35
43
  * Sets additional thumbnails on the block
36
44
  */
37
45
  setThumbnailUrls(thumbnails: string[]): void;
46
+ /**
47
+ * Gets the url for the favicon on the block
48
+ */
49
+ getFaviconUrl(): string;
50
+ /**
51
+ * Sets the favicon on the block
52
+ */
53
+ setFaviconUrl(faviconUrl: string): void;
38
54
  /**
39
55
  * @ignore
40
56
  * Initiates the PDF upload for this block. The result includes an uploadUrl which you can use to upload the PDF.
@@ -27,6 +27,18 @@ class LinkUnfurlBlockProxy extends blockproxy_1.BlockProxy {
27
27
  getProviderName() {
28
28
  return this.textAreas.get('t_LinkUnfurlProviderName');
29
29
  }
30
+ /**
31
+ * Gets the URL the user will be redirected to when the user clicks the "Pop Out" action on the block.
32
+ */
33
+ getUrl() {
34
+ return this.properties.get('LinkUnfurlUrl');
35
+ }
36
+ /**
37
+ * Sets the URL the user will be redirected to when the user clicks the "Pop Out" action on the block.
38
+ */
39
+ setUrl(url) {
40
+ this.properties.set('LinkUnfurlUrl', url);
41
+ }
30
42
  /**
31
43
  * Sets the URL to be loaded in an iframe when the user clicks the "Expand" action on the block.
32
44
  */
@@ -54,6 +66,18 @@ class LinkUnfurlBlockProxy extends blockproxy_1.BlockProxy {
54
66
  setThumbnailUrls(thumbnails) {
55
67
  this.properties.set('LinkUnfurlThumbnailUrls', thumbnails);
56
68
  }
69
+ /**
70
+ * Gets the url for the favicon on the block
71
+ */
72
+ getFaviconUrl() {
73
+ return this.properties.get('LinkUnfurlFaviconUrl');
74
+ }
75
+ /**
76
+ * Sets the favicon on the block
77
+ */
78
+ setFaviconUrl(faviconUrl) {
79
+ this.properties.set('LinkUnfurlFaviconUrl', faviconUrl);
80
+ }
57
81
  /**
58
82
  * @ignore
59
83
  * Initiates the PDF upload for this block. The result includes an uploadUrl which you can use to upload the PDF.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.163",
3
+ "version": "0.0.164",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",