@wix/public-editor-platform-interfaces 1.63.0 → 1.65.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/Element.d.ts +3 -3
- package/dist/sdk/pickers.d.ts +10 -0
- package/package.json +3 -3
package/dist/Element.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ElementData, ElementDataInput, ElementDataValue, ElementLink } from './sdk/data';
|
|
2
2
|
import type { ElementStyles, ElementStylesUpdate, ElementStylesRemoval } from './sdk/styles';
|
|
3
3
|
import type { ElementDataDefinitions, ElementPresetDefinitions, ElementStateDefinitions, ElementStyleDefinitions } from './sdk/definitions';
|
|
4
|
-
import type { IPickerModes, IFontFamily, IFontWeight, IFontFamilyAndWeight, ISelectLinkSharedOptions, IPanelOptions, SelectFontParams, SelectFontFamilyParams, SelectFontWeightParams, SelectMediaParams, SelectLinkParams, SelectColorParams, SelectTextThemeParams } from './sdk/pickers';
|
|
4
|
+
import type { IPickerModes, IFontFamily, IFontWeight, IFontFamilyAndWeight, ISelectLinkSharedOptions, IPanelOptions, SelectFontParams, SelectFontFamilyParams, SelectFontWeightParams, SelectMediaParams, SelectLinkParams, SelectColorParams, SelectTextThemeParams, SelectedTextTheme } from './sdk/pickers';
|
|
5
5
|
import type { BackgroundPickerOptions } from './Inputs';
|
|
6
|
-
export type { IPickerModes, IFontFamily, IFontWeight, IFontFamilyAndWeight, ISelectLinkSharedOptions, IPanelOptions, SelectFontParams, SelectFontFamilyParams, SelectFontWeightParams, SelectMediaParams, SelectLinkParams, SelectColorParams, SelectTextThemeParams, };
|
|
6
|
+
export type { IPickerModes, IFontFamily, IFontWeight, IFontFamilyAndWeight, ISelectLinkSharedOptions, IPanelOptions, SelectFontParams, SelectFontFamilyParams, SelectFontWeightParams, SelectMediaParams, SelectLinkParams, SelectColorParams, SelectTextThemeParams, SelectedTextTheme, };
|
|
7
7
|
/**
|
|
8
8
|
* Use `reactElements` from `@wix/editor` in a custom panel to read and update the component's styles,
|
|
9
9
|
* data, presets, and states, and to open editor pickers. Picker methods use {@link IPickerModes}. See each `select*` method for its parameter type.
|
|
@@ -484,7 +484,7 @@ export interface IElementSDK {
|
|
|
484
484
|
* });
|
|
485
485
|
* ```
|
|
486
486
|
*/
|
|
487
|
-
selectTextTheme(params: SelectTextThemeParams): Promise<
|
|
487
|
+
selectTextTheme(params: SelectTextThemeParams): Promise<SelectedTextTheme | undefined>;
|
|
488
488
|
/**
|
|
489
489
|
* Retrieves the BI token for the component.
|
|
490
490
|
*
|
package/dist/sdk/pickers.d.ts
CHANGED
|
@@ -203,3 +203,13 @@ export type SelectTextThemeParams = {
|
|
|
203
203
|
color?: string;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
|
+
export type SelectedTextTheme = {
|
|
207
|
+
/** Selected font, as CSS font shorthand or a theme token. */
|
|
208
|
+
font?: string;
|
|
209
|
+
/** Selected color, as a CSS color string or a theme token. */
|
|
210
|
+
color?: string;
|
|
211
|
+
/** Selected text-decoration-line, as a canonical CSS value (e.g. `'none'`, `'underline'`, `'line-through'`). */
|
|
212
|
+
textDecorationLine?: string;
|
|
213
|
+
/** Selected letter-spacing, as a CSS length or `'normal'` (e.g. `'0.5px'`). */
|
|
214
|
+
letterSpacing?: string;
|
|
215
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.65.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.60",
|
|
27
27
|
"@wix/sdk-types": "^1.17.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "e59cee31c1828b9e1715caae74c056ec90f01565851c3001c8b6e72d"
|
|
56
56
|
}
|