@wix/public-editor-platform-interfaces 1.100.0 → 1.102.0
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.
- package/dist/sdk/pickers.d.ts +16 -0
- package/package.json +3 -3
package/dist/sdk/pickers.d.ts
CHANGED
|
@@ -51,6 +51,22 @@ export type ISelectLinkSharedOptions = {
|
|
|
51
51
|
*/
|
|
52
52
|
origin?: string;
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Options for `inputs.selectLink()`.
|
|
56
|
+
* The selected value is returned to the caller and isn't persisted automatically.
|
|
57
|
+
*/
|
|
58
|
+
export type SelectLinkInputParams = {
|
|
59
|
+
/** Existing link to pre-populate the picker with. */
|
|
60
|
+
value?: ElementLink;
|
|
61
|
+
/** Optional settings such as BI attribution and allowed link types. */
|
|
62
|
+
options?: ISelectLinkSharedOptions & {
|
|
63
|
+
/**
|
|
64
|
+
* Restricts the picker to specific link types.
|
|
65
|
+
* For example: `['ExternalLink', 'PageLink']`.
|
|
66
|
+
*/
|
|
67
|
+
linkTypes?: string[];
|
|
68
|
+
};
|
|
69
|
+
};
|
|
54
70
|
/**
|
|
55
71
|
* How the editor positions a floating picker popup relative to the element in the panel that caused the picker to open.
|
|
56
72
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.102.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.{js,ts}": "yarn lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@wix/app-extensions": "^1.0.
|
|
26
|
+
"@wix/app-extensions": "^1.0.127",
|
|
27
27
|
"@wix/sdk-types": "^1.17.11"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "1dcdc05115ef61314509605bc16967f185d9fbb8552fe7885c21f6e7"
|
|
56
56
|
}
|