Docker images / prepare-release (push) Successful in 6s
Docker images / backend-image (push) Successful in 1m37s
Docker images / frontend-image (push) Successful in 1m50s
Docker images / updater-image (push) Successful in 44s
Docker images / notify-webhook (push) Has been skipped
Docker images / publish-release (push) Successful in 7s
29 lines
781 B
TypeScript
29 lines
781 B
TypeScript
import type { DataGridProps } from "@/components/reui/data-grid/data-grid"
|
|
|
|
const DATA_GRID_CELL_PAD = "py-3"
|
|
const DATA_GRID_CELL_PAD_FIRST = "pl-5 py-3"
|
|
const DATA_GRID_CELL_PAD_LAST = "pr-4 py-3"
|
|
|
|
const DEFAULT_DATA_GRID_LAYOUT: NonNullable<DataGridProps<object>["tableLayout"]> = {
|
|
rowBorder: true,
|
|
headerBackground: true,
|
|
headerBorder: true,
|
|
columnsResizable: false,
|
|
}
|
|
|
|
const DEFAULT_DATA_GRID_CLASS_NAMES: NonNullable<DataGridProps<object>["tableClassNames"]> = {
|
|
headerRow: "border-b border-border",
|
|
bodyRow: "group/row",
|
|
}
|
|
|
|
const DATA_GRID_CONTAINER_CLASS = "rounded-none border-0"
|
|
|
|
export {
|
|
DATA_GRID_CELL_PAD,
|
|
DATA_GRID_CELL_PAD_FIRST,
|
|
DATA_GRID_CELL_PAD_LAST,
|
|
DEFAULT_DATA_GRID_LAYOUT,
|
|
DEFAULT_DATA_GRID_CLASS_NAMES,
|
|
DATA_GRID_CONTAINER_CLASS,
|
|
}
|