mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 15:42:51 +08:00

* Table: Max height for wrapped content * Docs: tableNG max cell height (#110069) Co-authored-by: Paul Marbach <paul.marbach@grafana.com> * change to Max row height instead of Max cell height * fix unit test * table utils codeowners * Update packages/grafana-ui/src/components/Table/TableNG/utils.ts Co-authored-by: Leon Sorokin <leeoniya@gmail.com> * update docs * fix docs * Revert "fix unit test" This reverts commit c46b0f1bece893c9eb19f5a38e5d200a70df188b. * fix unit test * trade one important for another * Tweaked wording * hover overflow for max row height * get rid of commented out section * and we did it without important * centralize overflow for max height assessment * some alignment stuff was busted * didn't end up using the max heigh arg for shouldTextOverflow * make i18n path more consistent * put some tooltip things back since they ultimately didnt change * we can simplify the :not selector * delete comment * don't bother with :not --------- Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com> Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Grafana UI components library
@grafana/ui is a collection of components used by Grafana
Our goal is to deliver Grafana's common UI elements for plugins developers and contributors.
Browse the Storybook catalog of the components.
See package source for more details.
Installation
yarn add @grafana/ui
npm install @grafana/ui
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_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.