@wix/editor 1.304.0 → 1.305.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/types/index.d.ts +17 -17
- package/package.json +9 -9
package/dist/types/index.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ import { ComponentRef } from '@wix/public-editor-platform-interfaces';
|
|
|
6
6
|
|
|
7
7
|
declare const _default$5: {
|
|
8
8
|
getPrivateAPI: <TApplicationPrivateAPI = any>() => Promise<TApplicationPrivateAPI>;
|
|
9
|
-
getPublicAPI: <
|
|
9
|
+
getPublicAPI: <TApplicationPrivateAPI = any>(appDefinitionId: string) => Promise<TApplicationPrivateAPI>;
|
|
10
10
|
getAppInstance: () => Promise<any>;
|
|
11
11
|
} & _wix_sdk_types.HostModule<{
|
|
12
12
|
getPrivateAPI: <TApplicationPrivateAPI = any>() => Promise<TApplicationPrivateAPI>;
|
|
13
|
-
getPublicAPI: <
|
|
13
|
+
getPublicAPI: <TApplicationPrivateAPI = any>(appDefinitionId: string) => Promise<TApplicationPrivateAPI>;
|
|
14
14
|
getAppInstance: () => Promise<any>;
|
|
15
15
|
}, _wix_sdk_types.Host>;
|
|
16
16
|
|
|
@@ -46,7 +46,7 @@ declare class ApplicationBoundEvents {
|
|
|
46
46
|
subscribe: (callback: (event: IPlatformAppEvent) => void) => () => void;
|
|
47
47
|
commit: () => void;
|
|
48
48
|
startTransaction: () => void;
|
|
49
|
-
silent: (isSilent?: boolean
|
|
49
|
+
silent: (isSilent?: boolean) => void;
|
|
50
50
|
constructor(appDefinitionId: string, events: PlatformAppEventEmitter, privateAPI: PrivateAPIFixMe);
|
|
51
51
|
notify(event: OmitEventMeta<IPlatformAppEvent>): void;
|
|
52
52
|
notifyCustomEvent(type: string, payload: Record<string, string>): void;
|
|
@@ -171,33 +171,33 @@ interface IFontValue {
|
|
|
171
171
|
theme?: string;
|
|
172
172
|
}
|
|
173
173
|
declare const _default: {
|
|
174
|
-
selectColor(value?: Partial<IColorValue
|
|
175
|
-
selectFont(value?: IFontValue
|
|
176
|
-
title?: string
|
|
174
|
+
selectColor(value?: Partial<IColorValue>, onColorChange?: (value: IColorValue) => void): Promise<IColorValue | null>;
|
|
175
|
+
selectFont(value?: IFontValue, options?: {
|
|
176
|
+
title?: string;
|
|
177
177
|
panelSectionsDefinition?: Partial<{
|
|
178
178
|
theme: "hidden" | "enabled";
|
|
179
179
|
font: "hidden" | "enabled";
|
|
180
180
|
size: "hidden" | "enabled";
|
|
181
181
|
style: "hidden" | "enabled";
|
|
182
182
|
htmlTag: "hidden" | "enabled";
|
|
183
|
-
}
|
|
184
|
-
fontMaxSize?: number
|
|
185
|
-
fontMinSize?: number
|
|
186
|
-
}
|
|
183
|
+
}>;
|
|
184
|
+
fontMaxSize?: number;
|
|
185
|
+
fontMinSize?: number;
|
|
186
|
+
}, onFontChange?: (value: IFontValue) => void): Promise<IFontValue | null>;
|
|
187
187
|
} & _wix_sdk_types.HostModule<{
|
|
188
|
-
selectColor(value?: Partial<IColorValue
|
|
189
|
-
selectFont(value?: IFontValue
|
|
190
|
-
title?: string
|
|
188
|
+
selectColor(value?: Partial<IColorValue>, onColorChange?: (value: IColorValue) => void): Promise<IColorValue | null>;
|
|
189
|
+
selectFont(value?: IFontValue, options?: {
|
|
190
|
+
title?: string;
|
|
191
191
|
panelSectionsDefinition?: Partial<{
|
|
192
192
|
theme: "hidden" | "enabled";
|
|
193
193
|
font: "hidden" | "enabled";
|
|
194
194
|
size: "hidden" | "enabled";
|
|
195
195
|
style: "hidden" | "enabled";
|
|
196
196
|
htmlTag: "hidden" | "enabled";
|
|
197
|
-
}
|
|
198
|
-
fontMaxSize?: number
|
|
199
|
-
fontMinSize?: number
|
|
200
|
-
}
|
|
197
|
+
}>;
|
|
198
|
+
fontMaxSize?: number;
|
|
199
|
+
fontMinSize?: number;
|
|
200
|
+
}, onFontChange?: (value: IFontValue) => void): Promise<IFontValue | null>;
|
|
201
201
|
}, _wix_sdk_types.Host>;
|
|
202
202
|
|
|
203
203
|
declare const editor: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.305.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Editor Platform <editor-platform-dev@wix.com>",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"*.{js,ts}": "yarn lint"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@wix/editor-application": "1.
|
|
34
|
-
"@wix/editor-application-context": "1.
|
|
33
|
+
"@wix/editor-application": "1.332.0",
|
|
34
|
+
"@wix/editor-application-context": "1.255.0",
|
|
35
35
|
"@wix/editor-platform-transport": "1.8.0",
|
|
36
36
|
"@wix/public-editor-platform-errors": "1.8.0",
|
|
37
37
|
"@wix/public-editor-platform-interfaces": "1.7.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
|
-
"esbuild": "^0.
|
|
44
|
-
"eslint": "^8.
|
|
43
|
+
"esbuild": "^0.23.0",
|
|
44
|
+
"eslint": "^8.57.0",
|
|
45
45
|
"lint-staged": "^13.3.0",
|
|
46
|
-
"prettier": "^3.
|
|
46
|
+
"prettier": "^3.3.3",
|
|
47
47
|
"rollup": "^3.29.4",
|
|
48
|
-
"rollup-plugin-dts": "^6.1.
|
|
48
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
49
49
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
50
|
-
"typescript": "
|
|
50
|
+
"typescript": "^5.5.4"
|
|
51
51
|
},
|
|
52
52
|
"wix": {
|
|
53
53
|
"artifact": {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
]
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
-
"falconPackageHash": "
|
|
63
|
+
"falconPackageHash": "559647c411d28e99c78191d86c4a5f4ba554145cbab6308166a75718"
|
|
64
64
|
}
|