PromucFlow_constructor/app/client/src/constants/CanvasEditorConstants.tsx
Valera Melnikov 9eac55a380
chore: add consistent-type-definitions rule (#27907)
## Description
Add consistent-type-definitions rule
2023-10-11 10:35:24 +03:00

28 lines
499 B
TypeScript

export interface OccupiedSpace {
left: number;
right: number;
top: number;
bottom: number;
id: string;
parentId?: string;
}
export interface WidgetSpace {
left: number;
right: number;
top: number;
bottom: number;
id: string;
type: string;
parentId?: string;
isDropTarget?: boolean;
fixedHeight?: number;
}
export const zIndexLayers = {
PROPERTY_PANE: "z-[3]",
ENTITY_EXPLORER: "z-[3]",
RESIZER: "z-[4]",
PEEK_OVERLAY: "z-[10]", // to hover over the header
};