grafana/packages/grafana-ui
Dominik Prokop d2a13c4715
FieldOverride: Support data links via field overrides (#23590)
* Move xss and sanitize packages to grafana-data

* Move text, url and location utils to grafana-data

* Move grafana config types to grafana-data

* Move field display value proxy to grafana-data

* Fix

* Move data links built in vars to grafana-data

* Attach links supplier to when applying field overrides

* Prep tests

* Use links suppliers attached via field overrides

* locationUtil dependencies type

* Move sanitize-url declaration to grafana-data

* Revert "Move sanitize-url declaration to grafana-data"

This reverts commit 11db9f5e55.

* Fix typo

* fix ts vol1

* Remove import from runtime in data.... Make TS happy at the same time ;)

* Lovely TS, please shut up

* Lovely TS, please shut up vol2

* fix tests

* Fixes

* minor refactor

* Attach get links to FieldDisplayValue for seamless usage

* Update packages/grafana-data/src/field/fieldOverrides.ts

* Make storybook build
2020-04-20 07:37:38 +02:00
..
.storybook FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
src FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
.eslintrc TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
CHANGELOG.md Changelog: v6.6.0-beta1 (#21619) 2020-01-21 10:10:16 +01:00
README.md Packages: update versioning and release process (#18195) 2019-09-12 08:00:31 +02:00
api-extractor.json Docs: adding API reference documentation support for the packages libraries. (#21931) 2020-02-25 13:59:11 +01:00
index.js
package.json @grafana/ui: Create Icon component and replace part of the icons (#23402) 2020-04-08 14:33:31 +02:00
rollup.config.ts Chore: fix build, make prettier happy (#23414) 2020-04-07 12:27:32 -07:00
tsconfig.build.json TSLint → ESLint (#21006) 2020-02-08 02:40:04 +01:00
tsconfig.json FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00

README.md

Grafana UI components library

@grafana/toolkit is currently in ALPHA. Core API is unstable and can be a subject of breaking changes!

@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.

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.