Docker images / prepare-release (push) Successful in 7s
Docker images / backend-image (push) Successful in 2m1s
Docker images / frontend-image (push) Successful in 2m7s
Docker images / updater-image (push) Successful in 41s
Docker images / notify-webhook (push) Has been skipped
Docker images / publish-release (push) Successful in 8s
35 lines
1007 B
TypeScript
35 lines
1007 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 = "w-full rounded-none border-0"
|
|
|
|
const DATA_PAGE_CARD_CLASS = "flex w-full flex-col overflow-hidden py-0 gap-0"
|
|
|
|
const DATA_PAGE_TOOLBAR_CLASS = "flex items-center gap-3 px-5 py-3 border-b flex-wrap"
|
|
|
|
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,
|
|
DATA_PAGE_CARD_CLASS,
|
|
DATA_PAGE_TOOLBAR_CLASS,
|
|
}
|