diff --git a/components/button/style/token.ts b/components/button/style/token.ts index 478de73bec..0e69484605 100644 --- a/components/button/style/token.ts +++ b/components/button/style/token.ts @@ -193,8 +193,20 @@ export interface ComponentToken { } export interface ButtonToken extends FullToken<'Button'> { + /** + * @desc 按钮横向内边距 + * @descEN Horizontal padding of button + */ buttonPaddingHorizontal: CSSProperties['paddingInline']; + /** + * @desc 按钮纵向内边距 + * @descEN Vertical padding of button + */ buttonPaddingVertical: CSSProperties['paddingBlock']; + /** + * @desc 只有图标的按钮图标尺寸 + * @descEN Icon size of button which only contains icon + */ buttonIconOnlyFontSize: number; } diff --git a/components/card/style/index.ts b/components/card/style/index.ts index ed01366b28..3aabdb985d 100644 --- a/components/card/style/index.ts +++ b/components/card/style/index.ts @@ -54,10 +54,30 @@ export interface ComponentToken { } interface CardToken extends FullToken<'Card'> { + /** + * @desc 卡片阴影 + * @descEN Shadow of card + */ cardShadow: string; + /** + * @desc 卡片头部内边距 + * @descEN Padding of card header + */ cardHeadPadding: number; + /** + * @desc 小号卡片内边距 + * @descEN Padding of small card + */ cardPaddingSM: number; + /** + * @desc 卡片基础内边距 + * @descEN Padding of base card + */ cardPaddingBase: number; + /** + * @desc 卡片操作区图标大小 + * @descEN Size of card actions icon + */ cardActionsIconSize: number; } diff --git a/components/collapse/style/index.ts b/components/collapse/style/index.ts index 1c51634ded..050a48432e 100644 --- a/components/collapse/style/index.ts +++ b/components/collapse/style/index.ts @@ -32,8 +32,20 @@ export interface ComponentToken { } type CollapseToken = FullToken<'Collapse'> & { + /** + * @desc 小号折叠面板头部内边距 + * @descEN Padding of small header + */ collapseHeaderPaddingSM: string; + /** + * @desc 大号折叠面板头部内边距 + * @descEN Padding of large header + */ collapseHeaderPaddingLG: string; + /** + * @desc 折叠面板边框圆角 + * @descEN Border radius of collapse panel + */ collapsePanelBorderRadius: number; };