🐛 Fix type in plugin attribute (#8543)

This commit is contained in:
Alonso Torres 2026-03-09 12:06:56 +01:00 committed by GitHub
parent 321b53e936
commit 40c9466718
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,11 +243,17 @@ export interface Board extends ShapeBase {
/** /**
* The horizontal sizing behavior of the board. * 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'; horizontalSizing?: 'auto' | 'fix';
/** /**
* The vertical sizing behavior of the board. * 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'; verticalSizing?: 'auto' | 'fix';
@ -738,19 +744,19 @@ export interface CommonLayout {
/** /**
* The `horizontalSizing` property specifies the horizontal sizing behavior of the container. * The `horizontalSizing` property specifies the horizontal sizing behavior of the container.
* It can be one of the following values: * It can be one of the following values:
* - 'fit-content': The container fits the content. * - 'fix': The containers has its own intrinsic fixed size.
* - 'fill': The container fills the available space. * - 'fill': The container fills the available space. Only can be set if it's inside another layout.
* - 'auto': The container size is determined automatically. * - '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. * The `verticalSizing` property specifies the vertical sizing behavior of the container.
* It can be one of the following values: * It can be one of the following values:
* - 'fit-content': The container fits the content. * - 'fix': The containers has its own intrinsic fixed size.
* - 'fill': The container fills the available space. * - 'fill': The container fills the available space. Only can be set if it's inside another layout.
* - 'auto': The container size is determined automatically. * - 'auto': The container fits the content.
*/ */
verticalSizing: 'fit-content' | 'fill' | 'auto'; verticalSizing: 'fix' | 'fill' | 'auto';
/** /**
* The `remove` method removes the layout. * The `remove` method removes the layout.