* baldm0mma/feature/solidOption/ update cue and ts types * baldm0mma/feature/solidOption/ update data structures * baldm0mma/feature/solidOption/ vizrepeater investigation * baldm0mma/feature/solidOption/ add buildGradientBackground * baldm0mma/feature/solidOption/ remove conlogs from fieldDisplay.ts * baldm0mma/feature/solidOption/ rem destruct in fielddisplay.ts * baldm0mma/feature/solidOption/ rem conlogs from bivaluelayout.tsx * baldm0mma/feature/solidOption/ rem conlogs in visrepeater * baldm0mma/feature/solidOption/ rem conlogs from statpanel.tsx * baldm0mma/feature/solidOption/ add annotations in BigValue.tsx * baldm0mma/feature/solidOption/ update cue * baldm0mma/feature/solidOption/ remove unused anno * baldm0mma/feature/solidOption/ update with toggle conditinal * Update module.tsx update anno * baldm0mma/feature/solidOption/ update annos * baldm0mma/feature/solidOption/ undo change * baldm0mma/featurew/solidOption/ add anno for boolean toggle in stat module * baldm0mma/featurew/solidOption/ update anno in BigValue.tsx for hasGradient * baldm0mma/featurew/solidOption/ updart default logic in bigValueLayout.tsx |
||
---|---|---|
.. | ||
.storybook | ||
scripts | ||
src | ||
.eslintrc | ||
CHANGELOG.md | ||
LICENSE_APACHE2 | ||
package.json | ||
README.md | ||
rollup.config.ts | ||
tsconfig.build.json | ||
tsconfig.json |
Grafana UI components library
@grafana/ui is currently in BETA.
@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 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.
Storybook 6.x migration
We've upgraded Storybook to version 6 and with that we will convert to using controls instead of knobs for manipulating components. Controls will not require as much coding as knobs do. Please refer to the storybook style-guide for further information.