2022-11-30 11:48:47 +08:00
|
|
|
export interface SizeMapToken {
|
|
|
|
/**
|
|
|
|
* @nameZH XXL
|
|
|
|
* @default 48
|
|
|
|
*/
|
|
|
|
sizeXXL: number;
|
|
|
|
/**
|
|
|
|
* @nameZH XL
|
|
|
|
* @default 32
|
|
|
|
*/
|
|
|
|
sizeXL: number;
|
|
|
|
/**
|
|
|
|
* @nameZH LG
|
|
|
|
* @default 24
|
|
|
|
*/
|
|
|
|
sizeLG: number;
|
|
|
|
/**
|
|
|
|
* @nameZH MD
|
|
|
|
* @default 20
|
|
|
|
*/
|
|
|
|
sizeMD: number;
|
|
|
|
/** Same as size by default, but could be larger in compact mode */
|
|
|
|
sizeMS: number;
|
|
|
|
/**
|
|
|
|
* @nameZH 默认
|
|
|
|
* @desc 默认尺寸
|
|
|
|
* @default 16
|
|
|
|
*/
|
|
|
|
size: number;
|
|
|
|
/**
|
|
|
|
* @nameZH SM
|
|
|
|
* @default 12
|
|
|
|
*/
|
|
|
|
sizeSM: number;
|
|
|
|
/**
|
|
|
|
* @nameZH XS
|
|
|
|
* @default 8
|
|
|
|
*/
|
|
|
|
sizeXS: number;
|
|
|
|
/**
|
|
|
|
* @nameZH XXS
|
|
|
|
* @default 4
|
|
|
|
*/
|
|
|
|
sizeXXS: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface HeightMapToken {
|
|
|
|
// Control
|
2022-12-26 10:54:53 +08:00
|
|
|
/** Only Used for control inside component like Multiple Select inner selection item */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @nameZH 更小的组件高度
|
|
|
|
* @nameEN XS component height
|
2023-03-12 14:13:03 +08:00
|
|
|
* @desc 更小的组件高度
|
|
|
|
* @descEN XS component height
|
2022-12-26 10:54:53 +08:00
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
controlHeightXS: number;
|
2022-12-26 10:54:53 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @nameZH 较小的组件高度
|
|
|
|
* @nameEN SM component height
|
2023-03-12 14:13:03 +08:00
|
|
|
* @desc 较小的组件高度
|
|
|
|
* @descEN SM component height
|
2022-12-26 10:54:53 +08:00
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
controlHeightSM: number;
|
2022-12-26 10:54:53 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @nameZH 较高的组件高度
|
|
|
|
* @nameEN LG component height
|
2023-03-12 14:13:03 +08:00
|
|
|
* @desc 较高的组件高度
|
|
|
|
* @descEN LG component height
|
2022-12-26 10:54:53 +08:00
|
|
|
*/
|
2022-11-30 11:48:47 +08:00
|
|
|
controlHeightLG: number;
|
|
|
|
}
|