@wire-dsl/engine 0.3.0 → 0.4.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/index.d.cts CHANGED
@@ -796,6 +796,12 @@ declare class SkeletonSVGRenderer extends SVGRenderer {
796
796
  * Render label as gray block
797
797
  */
798
798
  protected renderLabel(node: IRComponentNode, pos: any): string;
799
+ /**
800
+ * Render image as a plain skeleton rectangle — no icon, no placeholder label,
801
+ * just a filled block with the correct dimensions (aspect-ratio is preserved
802
+ * by the layout engine, so pos already has the right size).
803
+ */
804
+ protected renderImage(node: IRComponentNode, pos: any): string;
799
805
  /**
800
806
  * Render badge as shape only (no text)
801
807
  */
package/dist/index.d.ts CHANGED
@@ -796,6 +796,12 @@ declare class SkeletonSVGRenderer extends SVGRenderer {
796
796
  * Render label as gray block
797
797
  */
798
798
  protected renderLabel(node: IRComponentNode, pos: any): string;
799
+ /**
800
+ * Render image as a plain skeleton rectangle — no icon, no placeholder label,
801
+ * just a filled block with the correct dimensions (aspect-ratio is preserved
802
+ * by the layout engine, so pos already has the right size).
803
+ */
804
+ protected renderImage(node: IRComponentNode, pos: any): string;
799
805
  /**
800
806
  * Render badge as shape only (no text)
801
807
  */