-
AutosizeCodeEditor
code editor with auto height resizing based on entered content. -
CollapsableSection
allows to display a controlled collapsable section. -
Collapse
allows to display collapsable elements. -
Form
allows to render form controls from the declarative config generated by FormBuilder. -
NumberInput
allows to check and input numbers. -
RangeSlider
allows to enter number range values by slider. -
Slider
allows to enter number values by slider and/or NumberInput.
-
createUseDataHook
allows to createuseData
hook to get data through data source api. -
useDashboardRefresh
allows to refresh dashboard. -
useDashboardTimeRange
allows to use actual dashboard time range. -
useDashboardVariables
allows to use dashboard variables. -
useDatasourceRequest
allows to run data source query. -
useFormBuilder
allows to create declarative forms.
-
CodeParametersBuilder
allows to create parameters for custom code.
- Clone and build Grafana locally.
- Create a folder
grafana-[version]
for the new version in/.storybook/
. - Copy grafana files from
/public/fonts
to/.storybook/grafana-[version]/public/fonts
. - Copy grafana files from
/public/img
to/.storybook/grafana-[version]/public/img
. Onlyicons
and root files are necessary. - Copy and rename to
.scss
grafana files from/public/build/grafana.light.[hash].css
to/.storybook/grafana-[version]/grafana.light.scss
. - Copy and rename to
.scss
grafana files from/public/build/grafana.dark.[hash].css
to/.storybook/grafana-[version]/grafana.dark.scss
. - Update using folder from
grafana-[old-version]
tografana-[version]
.
Apache License Version 2.0.