amis-rpc-design/node_modules/antd/lib/table/style/index.d.ts

204 lines
5.9 KiB
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { FullToken } from '../../theme/internal';
export interface ComponentToken {
/**
* @desc
* @descEN Background of table header
*/
headerBg: string;
/**
* @desc
* @descEN Color of table header text
*/
headerColor: string;
/**
* @desc
* @descEN Background color of table header when sorted
*/
headerSortActiveBg: string;
/**
* @desc
* @descEN Background color of table header when sorted and hovered
*/
headerSortHoverBg: string;
/**
* @desc
* @descEN Background color of table sorted column
*/
bodySortBg: string;
/**
* @desc
* @descEN Background color of table hovered row
*/
rowHoverBg: string;
/**
* @desc
* @descEN Background color of table selected row
*/
rowSelectedBg: string;
/**
* @desc
* @descEN Background color of table selected row when hovered
*/
rowSelectedHoverBg: string;
/**
* @desc
* @descEN Background color of table expanded row
*/
rowExpandedBg: string;
/**
* @desc
* @descEN Vertical padding of table cell
*/
cellPaddingBlock: number;
/**
* @desc
* @descEN Horizontal padding of table cell (large size by default)
*/
cellPaddingInline: number;
/**
* @desc
* @descEN Vertical padding of table cell (middle size)
*/
cellPaddingBlockMD: number;
/**
* @desc
* @descEN Horizontal padding of table cell (middle size)
*/
cellPaddingInlineMD: number;
/**
* @desc
* @descEN Vertical padding of table cell (small size)
*/
cellPaddingBlockSM: number;
/**
* @desc
* @descEN Horizontal padding of table cell (small size)
*/
cellPaddingInlineSM: number;
/**
* @desc /线
* @descEN Border color of table
*/
borderColor: string;
/**
* @desc
* @descEN Border radius of table header
*/
headerBorderRadius: number;
/**
* @desc
* @descEN Background of footer
*/
footerBg: string;
/**
* @desc
* @descEN Color of footer text
*/
footerColor: string;
/**
* @desc
* @descEN Font size of table cell (large size by default)
*/
cellFontSize: number;
/**
* @desc
* @descEN Font size of table cell (middle size)
*/
cellFontSizeMD: number;
/**
* @desc
* @descEN Font size of table cell (small size)
*/
cellFontSizeSM: number;
/**
* @desc 线
* @descEN Split border color of table header
*/
headerSplitColor: string;
/**
* @desc
* @descEN Background color of fixed table header when sorted
*/
fixedHeaderSortActiveBg: string;
/**
* @desc
* @descEN Background color of table header filter button when hovered
*/
headerFilterHoverBg: string;
/**
* @desc
* @descEN Background of filter dropdown menu item
*/
filterDropdownMenuBg: string;
/**
* @desc
* @descEN Color of filter dropdown
*/
filterDropdownBg: string;
/**
* @desc
* @descEN Background of expand button
*/
expandIconBg: string;
/**
* @desc
* @descEN Width of selection column
*/
selectionColumnWidth: number;
/**
* @desc Sticky
* @descEN Background of sticky scrollbar
*/
stickyScrollBarBg: string;
/**
* @desc Sticky
* @descEN Border radius of sticky scrollbar
*/
stickyScrollBarBorderRadius: number;
}
export interface TableToken extends FullToken<'Table'> {
tableFontSize: number;
tableBg: string;
tableRadius: number;
tablePaddingHorizontal: number;
tablePaddingVertical: number;
tablePaddingHorizontalMiddle: number;
tablePaddingVerticalMiddle: number;
tablePaddingHorizontalSmall: number;
tablePaddingVerticalSmall: number;
tableBorderColor: string;
tableHeaderTextColor: string;
tableHeaderBg: string;
tableFooterTextColor: string;
tableFooterBg: string;
tableHeaderCellSplitColor: string;
tableHeaderSortBg: string;
tableHeaderSortHoverBg: string;
tableHeaderIconColor: string;
tableHeaderIconColorHover: string;
tableBodySortBg: string;
tableFixedHeaderSortActiveBg: string;
tableHeaderFilterActiveBg: string;
tableFilterDropdownBg: string;
tableFilterDropdownHeight: number;
tableRowHoverBg: string;
tableSelectedRowBg: string;
tableSelectedRowHoverBg: string;
tableFontSizeMiddle: number;
tableFontSizeSmall: number;
tableSelectionColumnWidth: number;
tableExpandIconBg: string;
tableExpandColumnWidth: number;
tableExpandedRowBg: string;
tableFilterDropdownWidth: number;
tableFilterDropdownSearchWidth: number;
zIndexTableFixed: number;
zIndexTableSticky: number;
tableScrollThumbSize: number;
tableScrollThumbBg: string;
tableScrollThumbBgHover: string;
tableScrollBg: string;
}
declare const _default: (prefixCls: string) => import("../../theme/interface").UseComponentStyleResult;
export default _default;