From 40c9466718392db2da2e748709ce990f02201861 Mon Sep 17 00:00:00 2001 From: Alonso Torres Date: Mon, 9 Mar 2026 12:06:56 +0100 Subject: [PATCH] :bug: Fix type in plugin attribute (#8543) --- plugins/libs/plugin-types/index.d.ts | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/plugins/libs/plugin-types/index.d.ts b/plugins/libs/plugin-types/index.d.ts index 93a01f733d..2f33f6e1c4 100644 --- a/plugins/libs/plugin-types/index.d.ts +++ b/plugins/libs/plugin-types/index.d.ts @@ -243,11 +243,17 @@ export interface Board extends ShapeBase { /** * The horizontal sizing behavior of the board. + * It can be one of the following values: + * - 'fix': The containers has its own intrinsic fixed size. + * - 'auto': The container fits the content. */ horizontalSizing?: 'auto' | 'fix'; /** * The vertical sizing behavior of the board. + * It can be one of the following values: + * - 'fix': The containers has its own intrinsic fixed size. + * - 'auto': The container fits the content. */ verticalSizing?: 'auto' | 'fix'; @@ -738,19 +744,19 @@ export interface CommonLayout { /** * The `horizontalSizing` property specifies the horizontal sizing behavior of the container. * It can be one of the following values: - * - 'fit-content': The container fits the content. - * - 'fill': The container fills the available space. - * - 'auto': The container size is determined automatically. + * - 'fix': The containers has its own intrinsic fixed size. + * - 'fill': The container fills the available space. Only can be set if it's inside another layout. + * - 'auto': The container fits the content. */ - horizontalSizing: 'fit-content' | 'fill' | 'auto'; + horizontalSizing: 'fix' | 'fill' | 'auto'; /** * The `verticalSizing` property specifies the vertical sizing behavior of the container. * It can be one of the following values: - * - 'fit-content': The container fits the content. - * - 'fill': The container fills the available space. - * - 'auto': The container size is determined automatically. + * - 'fix': The containers has its own intrinsic fixed size. + * - 'fill': The container fills the available space. Only can be set if it's inside another layout. + * - 'auto': The container fits the content. */ - verticalSizing: 'fit-content' | 'fill' | 'auto'; + verticalSizing: 'fix' | 'fill' | 'auto'; /** * The `remove` method removes the layout.