@cesdk/node 1.69.0-nightly.20260128 → 1.69.0-nightly.20260130

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/index.d.ts CHANGED
@@ -4490,6 +4490,16 @@ export declare class BlockAPI {
4490
4490
  * @returns The text content of the line.
4491
4491
  */
4492
4492
  getTextVisibleLineContent(id: DesignBlockId, lineIndex: number): string;
4493
+ /**
4494
+ * Gets the effective horizontal alignment of a text block.
4495
+ * If the alignment is set to Auto, this returns the resolved alignment (Left or Right)
4496
+ * based on the text direction of the first logical run. This never returns 'Auto'.
4497
+ *
4498
+ * @category Block Text
4499
+ * @param id - The text block whose effective alignment should be returned.
4500
+ * @returns The effective alignment ('Left', 'Right', or 'Center').
4501
+ */
4502
+ getTextEffectiveHorizontalAlignment(id: DesignBlockId): 'Left' | 'Right' | 'Center';
4493
4503
  /**
4494
4504
  * Checks if a block has fill properties.
4495
4505
  *
@@ -5628,7 +5638,7 @@ export declare const CameraClampingOvershootModeValues: readonly ["Center", "Rev
5628
5638
  export declare type CaptionHorizontalAlignment = (typeof CaptionHorizontalAlignmentValues)[number];
5629
5639
 
5630
5640
  /** @public */
5631
- export declare const CaptionHorizontalAlignmentValues: readonly ["Left", "Right", "Center"];
5641
+ export declare const CaptionHorizontalAlignmentValues: readonly ["Left", "Right", "Center", "Auto"];
5632
5642
 
5633
5643
  /** @public */
5634
5644
  export declare type CaptionVerticalAlignment = (typeof CaptionVerticalAlignmentValues)[number];
@@ -7823,7 +7833,7 @@ export declare class SceneAPI {
7823
7833
  * the new dimensions.
7824
7834
  *
7825
7835
  * ```javascript
7826
- * engine.scene.applyTemplateFromURL('https://cdn.img.ly/assets/demo/v1/ly.img.template/templates/cesdk_postcard_1.scene');
7836
+ * engine.scene.applyTemplateFromURL('https://cdn.img.ly/assets/demo/v3/ly.img.template/templates/cesdk_postcard_1.scene');
7827
7837
  * ```
7828
7838
  *
7829
7839
  * @category Template Operations
@@ -8371,7 +8381,9 @@ export declare interface Settings {
8371
8381
  clampThumbnailTextureSizes: boolean;
8372
8382
  /** Toggle the dock components visibility */
8373
8383
  'dock/hideLabels': boolean;
8374
- /** The root directory used when resolving relative paths or accessing bundle:// URIs. */
8384
+ /** The root directory for resolving relative paths and `bundle://` URIs.
8385
+ * Also used as the base URL for loading font fallback files and the default emoji font (when self-hosting assets).
8386
+ * If empty, defaults to `https://cdn.img.ly/assets/v4` for font/emoji assets. */
8375
8387
  basePath: string;
8376
8388
  /** The URI for the default emoji font file. */
8377
8389
  defaultEmojiFontFileUri: string;
@@ -8736,7 +8748,7 @@ export { TextHorizontalAlignment as HorizontalTextAlignment }
8736
8748
  export { TextHorizontalAlignment }
8737
8749
 
8738
8750
  /** @public */
8739
- export declare const TextHorizontalAlignmentValues: readonly ["Left", "Right", "Center"];
8751
+ export declare const TextHorizontalAlignmentValues: readonly ["Left", "Right", "Center", "Auto"];
8740
8752
 
8741
8753
  /** @public */
8742
8754
  declare type TextVerticalAlignment = (typeof TextVerticalAlignmentValues)[number];