From 8c03caad8831ef5ab35dcff4bbe53583ee4d2138 Mon Sep 17 00:00:00 2001 From: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:52:26 -0600 Subject: [PATCH] Table panel: expose TableCellInspector and TableCellInspectorMode in @grafana/ui package (#98125) chore: expose TableCellInspector and TableCellInspectorMode --- packages/grafana-ui/README.md | 2 +- packages/grafana-ui/src/components/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/README.md b/packages/grafana-ui/README.md index 7c362502556..745218cb110 100644 --- a/packages/grafana-ui/README.md +++ b/packages/grafana-ui/README.md @@ -16,4 +16,4 @@ See [package source](https://github.com/grafana/grafana/tree/main/packages/grafa ## Development -For development purposes we suggest using `yarn link` that will create symlink to @grafana/ui lib. To do so navigate to `packages/grafana-ui` and run `yarn link`. Then, navigate to your project and run `yarn link @grafana/ui` to use the linked version of the lib. To unlink follow the same procedure, but use `yarn unlink` instead. +For development purposes we suggest using `yarn link` that will create symlink to @grafana/ui lib. To do so navigate to `packages/grafana-ui` and run `YARN_IGNORE_PATH=1 yarn link`. Then, navigate to your project and run `yarn link "@grafana/ui"` to use the linked version of the lib. To unlink follow the same procedure, but use `yarn unlink` instead. diff --git a/packages/grafana-ui/src/components/index.ts b/packages/grafana-ui/src/components/index.ts index ec327ebf293..e52f47835f5 100644 --- a/packages/grafana-ui/src/components/index.ts +++ b/packages/grafana-ui/src/components/index.ts @@ -85,6 +85,7 @@ export { PageToolbar } from './PageLayout/PageToolbar'; export { SetInterval } from './SetInterval/SetInterval'; export { Table } from './Table/Table'; +export { TableCellInspector, TableCellInspectorMode } from './Table/TableCellInspector'; export { type TableCustomCellOptions, type CustomCellRendererProps,