diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx
index ba0e09bdd894c..0c3a992e3dd7a 100644
--- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx
+++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx
@@ -297,7 +297,7 @@ export const ChartSwitch = memo(function ChartSwitch(props: Props) {
),
append:
- v.selection.dataLoss !== 'nothing' || v.showBetaBadge ? (
+ v.selection.dataLoss !== 'nothing' || v.showExperimentalBadge ? (
) : null}
- {v.showBetaBadge ? (
+ {v.showExperimentalBadge ? (
diff --git a/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx b/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx
index 54f9c70824831..fce5bf30f47ed 100644
--- a/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx
+++ b/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx
@@ -88,7 +88,7 @@ export const getHeatmapVisualization = ({
defaultMessage: 'Heatmap',
}),
groupLabel: groupLabelForBar,
- showBetaBadge: true,
+ showExperimentalBadge: true,
},
],
diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts
index b421d57dae6e1..7baba15f0fac6 100644
--- a/x-pack/plugins/lens/public/types.ts
+++ b/x-pack/plugins/lens/public/types.ts
@@ -49,6 +49,7 @@ export interface EditorFrameProps {
initialContext?: VisualizeFieldContext;
showNoDataPopover: () => void;
}
+
export interface EditorFrameInstance {
EditorFrameContainer: (props: EditorFrameProps) => React.ReactElement;
}
@@ -570,9 +571,9 @@ export interface VisualizationType {
*/
sortPriority?: number;
/**
- * Indicates if visualization is in the beta stage.
+ * Indicates if visualization is in the experimental stage.
*/
- showBetaBadge?: boolean;
+ showExperimentalBadge?: boolean;
}
export interface Visualization {
@@ -734,6 +735,7 @@ interface LensEditContextMapping {
[LENS_EDIT_RESIZE_ACTION]: LensResizeActionData;
[LENS_TOGGLE_ACTION]: LensToggleActionData;
}
+
type LensEditSupportedActions = keyof LensEditContextMapping;
export type LensEditPayload = {
@@ -746,6 +748,7 @@ export interface LensEditEvent {
name: 'edit';
data: EditPayloadContext;
}
+
export interface LensTableRowContextMenuEvent {
name: 'tableRowContextMenuClick';
data: RowClickContext['data'];