grafana/packages/grafana-ui
Alexander Zobnin fd2131c1e3
UI: ConfirmButton component (#20993)
* UI: ConfirmButton component

* UI: add link button variant

* UI: add ConfirmButton story with delete option

* Chore: use ConfirmButton instead of DeleteButton

* UI: remove DeleteButton

* UI: rename confirmButtonVariant to confirmVariant

* UI: use Form.Button in ConfirmButton

* Chore: use sm ConfirmButton size after changing defaults

* Revert "UI: add link button variant"

This reverts commit 4372350daa.

* Chore: add 'link' variant type to the Button

* UI: DeleteButton component on top of ConfirmButton

* Chore: use DeleteButton instead of ConfirmButton

* Chore: DeleteButton, use md size by default

* Chore: update test snapshots
2019-12-13 14:42:18 +03:00
..
.storybook Forms: Introduce new Primary, Secondary and Destructive buttons (#19973) 2019-10-25 14:35:29 +02:00
src UI: ConfirmButton component (#20993) 2019-12-13 14:42:18 +03:00
CHANGELOG.md grafana/ui 6.0.0-alpha.0 release version bump 2019-02-22 11:30:45 +01:00
index.js Implemented scripts for building and releasing grafana/ui 2019-02-21 15:06:29 +01:00
package.json Release: Updates latest.json and grafana/packages/*/package.json (#20734) 2019-11-28 03:47:48 -08:00
README.md Packages: update versioning and release process (#18195) 2019-09-12 08:00:31 +02:00
rollup.config.ts Packages: Fixed rollup issue with grafana-ui (#20790) 2019-12-02 07:44:42 +01:00
tsconfig.build.json Implemented scripts for building and releasing grafana/ui 2019-02-21 15:06:29 +01:00
tsconfig.json Chore: Update Slate to 0.47.8 (#19197) 2019-09-23 12:26:05 +01:00
tslint.json Add a @grafana/runtime package with backendSrv interface (#16533) 2019-06-03 17:55:59 +02:00

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.