@cesdk/cesdk-js 1.16.0-rc.0 → 1.16.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/assets/core/{cesdk-v1.16.0-rc.0-a821882f38d24e1bf85a.wasm → cesdk-v1.16.0-e370fd49d251e40bfd66.wasm} +0 -0
- package/assets/default/ly.img.colors.defaultPalette/content.json +16 -16
- package/assets/i18n/de.json +1 -1
- package/assets/i18n/en.json +1 -1
- package/cesdk.umd.js +1 -1
- package/index.d.ts +56 -6
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.16.0-rc.0-7a4b44a70a18a86d7978.data → cesdk-v1.16.0-7a4b44a70a18a86d7978.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -1653,12 +1653,14 @@ export declare class BlockAPI {
|
|
|
1653
1653
|
* @param g - The green color component in the range of 0 to 1.
|
|
1654
1654
|
* @param b - The blue color component in the range of 0 to 1.
|
|
1655
1655
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
1656
|
+
* @deprecated Use `Use setColor() with the key path 'backgroundColor/color' instead.`.
|
|
1656
1657
|
*/
|
|
1657
1658
|
setBackgroundColorRGBA(id: DesignBlockId, r: number, g: number, b: number, a?: number): void;
|
|
1658
1659
|
/**
|
|
1659
1660
|
* Get the background color of the given design block.
|
|
1660
1661
|
* @param id - The block whose background color should be queried.
|
|
1661
1662
|
* @returns The background color.
|
|
1663
|
+
* @deprecated Use `Use getColor() with the key path 'backgroundColor/color' instead.`.
|
|
1662
1664
|
*/
|
|
1663
1665
|
getBackgroundColorRGBA(id: DesignBlockId): RGBA;
|
|
1664
1666
|
/**
|
|
@@ -1698,14 +1700,28 @@ export declare class BlockAPI {
|
|
|
1698
1700
|
* @param g - The green color component in the range of 0 to 1.
|
|
1699
1701
|
* @param b - The blue color component in the range of 0 to 1.
|
|
1700
1702
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
1703
|
+
* @deprecated Use setStrokeColor() instead.
|
|
1701
1704
|
*/
|
|
1702
1705
|
setStrokeColorRGBA(id: DesignBlockId, r: number, g: number, b: number, a?: number): void;
|
|
1706
|
+
/**
|
|
1707
|
+
* Set the stroke color of the given design block.
|
|
1708
|
+
* @param id - The block whose stroke color should be set.
|
|
1709
|
+
* @param color - The color to set.
|
|
1710
|
+
*/
|
|
1711
|
+
setStrokeColor(id: DesignBlockId, color: Color): void;
|
|
1703
1712
|
/**
|
|
1704
1713
|
* Get the stroke color of the given design block.
|
|
1705
|
-
* @param id - The block whose
|
|
1706
|
-
* @returns The
|
|
1714
|
+
* @param id - The block whose stroke color should be queried.
|
|
1715
|
+
* @returns The stroke color.
|
|
1716
|
+
* @deprecated Use getStrokeColor() instead.
|
|
1707
1717
|
*/
|
|
1708
1718
|
getStrokeColorRGBA(id: DesignBlockId): RGBA;
|
|
1719
|
+
/**
|
|
1720
|
+
* Get the stroke color of the given design block.
|
|
1721
|
+
* @param id - The block whose stroke color should be queried.
|
|
1722
|
+
* @returns The stroke color.
|
|
1723
|
+
*/
|
|
1724
|
+
getStrokeColor(id: DesignBlockId): Color;
|
|
1709
1725
|
/**
|
|
1710
1726
|
* Set the stroke width of the given design block.
|
|
1711
1727
|
* @param id - The block whose stroke width should be set.
|
|
@@ -1779,14 +1795,28 @@ export declare class BlockAPI {
|
|
|
1779
1795
|
* @param g - The green color component in the range of 0 to 1.
|
|
1780
1796
|
* @param b - The blue color component in the range of 0 to 1.
|
|
1781
1797
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
1798
|
+
* @deprecated Use setDropShadowColor() instead.
|
|
1782
1799
|
*/
|
|
1783
1800
|
setDropShadowColorRGBA(id: DesignBlockId, r: number, g: number, b: number, a?: number): void;
|
|
1801
|
+
/**
|
|
1802
|
+
* Set the drop shadow color of the given design block.
|
|
1803
|
+
* @param id - The block whose drop shadow color should be set.
|
|
1804
|
+
* @param color - The color to set.
|
|
1805
|
+
*/
|
|
1806
|
+
setDropShadowColor(id: DesignBlockId, color: Color): void;
|
|
1784
1807
|
/**
|
|
1785
1808
|
* Get the drop shadow color of the given design block.
|
|
1786
|
-
* @param id - The block whose
|
|
1787
|
-
* @returns The
|
|
1809
|
+
* @param id - The block whose drop shadow color should be queried.
|
|
1810
|
+
* @returns The drop shadow color.
|
|
1811
|
+
* @deprecated Use getDropShadowColor() instead.
|
|
1788
1812
|
*/
|
|
1789
1813
|
getDropShadowColorRGBA(id: DesignBlockId): RGBA;
|
|
1814
|
+
/**
|
|
1815
|
+
* Get the drop shadow color of the given design block.
|
|
1816
|
+
* @param id - The block whose drop shadow color should be queried.
|
|
1817
|
+
* @returns The drop shadow color.
|
|
1818
|
+
*/
|
|
1819
|
+
getDropShadowColor(id: DesignBlockId): Color;
|
|
1790
1820
|
/**
|
|
1791
1821
|
* Set the drop shadow's X offset of the given design block.
|
|
1792
1822
|
* @param id - The block whose drop shadow's X offset should be set.
|
|
@@ -3161,6 +3191,18 @@ export declare class EditorAPI {
|
|
|
3161
3191
|
* @throws An error, if the keypath is invalid.
|
|
3162
3192
|
*/
|
|
3163
3193
|
getSettingString(keypath: SettingsString): string;
|
|
3194
|
+
/**
|
|
3195
|
+
* Set a color setting.
|
|
3196
|
+
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
3197
|
+
* @param value - The The value to set.
|
|
3198
|
+
*/
|
|
3199
|
+
setSettingColor(keypath: SettingsColor, value: Color): void;
|
|
3200
|
+
/**
|
|
3201
|
+
* Get a color setting.
|
|
3202
|
+
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
3203
|
+
* @throws An error, if the keypath is invalid.
|
|
3204
|
+
*/
|
|
3205
|
+
getSettingColor(keypath: SettingsColor): Color;
|
|
3164
3206
|
/**
|
|
3165
3207
|
* Set a color setting.
|
|
3166
3208
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
@@ -3168,12 +3210,14 @@ export declare class EditorAPI {
|
|
|
3168
3210
|
* @param g - The green color component in the range of 0 to 1.
|
|
3169
3211
|
* @param b - The blue color component in the range of 0 to 1.
|
|
3170
3212
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
3213
|
+
* @deprecated Use setSettingColor() instead.
|
|
3171
3214
|
*/
|
|
3172
3215
|
setSettingColorRGBA(keypath: SettingsColorRGBA, r: number, g: number, b: number, a?: number): void;
|
|
3173
3216
|
/**
|
|
3174
3217
|
* Get a color setting.
|
|
3175
3218
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
3176
3219
|
* @returns A tuple of channels red, green, blue and alpha in the range of 0 to 1.
|
|
3220
|
+
* @deprecated Use getSettingColor() instead.
|
|
3177
3221
|
*/
|
|
3178
3222
|
getSettingColorRGBA(keypath: SettingsColorRGBA): RGBA;
|
|
3179
3223
|
/**
|
|
@@ -4352,8 +4396,14 @@ export declare type SceneMode = 'Design' | 'Video';
|
|
|
4352
4396
|
/** @public */
|
|
4353
4397
|
export declare type SettingsBool = 'doubleClickToCropEnabled' | 'features/effectsEnabled' | 'features/hspSelectiveAdjustmentsEnabled' | 'features/layerListEnabled' | 'features/singlePageModeEnabled' | 'features/templatingEnabled' | 'page/dimOutOfPageAreas' | 'page/title/show' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'trackActivePage' | ArbitraryString;
|
|
4354
4398
|
|
|
4355
|
-
/** @public
|
|
4356
|
-
|
|
4399
|
+
/** @public
|
|
4400
|
+
*/
|
|
4401
|
+
declare type SettingsColor = 'clearColor' | 'errorStateColor' | 'highlightColor' | 'page/title/color' | 'placeholderHighlightColor' | 'progressColor' | ArbitraryString;
|
|
4402
|
+
|
|
4403
|
+
/** @public
|
|
4404
|
+
* @deprecated Use SettingsColor instead.
|
|
4405
|
+
*/
|
|
4406
|
+
export declare type SettingsColorRGBA = SettingsColor;
|
|
4357
4407
|
|
|
4358
4408
|
/** @public */
|
|
4359
4409
|
export declare type SettingsEnum = {
|
package/package.json
CHANGED
|
File without changes
|