* copy paste commit * class name generator changes * modal widget fixes change * addressing review comments * bug fix for after deleting a widget by undoing action * additional fix for modal widget * additional tests for fixes
14 lines
343 B
TypeScript
14 lines
343 B
TypeScript
export function getStickyCanvasName(widgetId: string) {
|
|
return `div-selection-${widgetId}`;
|
|
}
|
|
|
|
export function getSlidingCanvasName(widgetId: string) {
|
|
return `canvas-selection-${widgetId}`;
|
|
}
|
|
|
|
export function getBaseWidgetClassName(id?: string) {
|
|
return `appsmith_widget_${id}`;
|
|
}
|
|
|
|
export const POSITIONED_WIDGET = "positioned-widget";
|