mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix type in plugin attribute (#8543)
This commit is contained in:
parent
321b53e936
commit
40c9466718
22
plugins/libs/plugin-types/index.d.ts
vendored
22
plugins/libs/plugin-types/index.d.ts
vendored
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user