1.10.0 • Published 6 days ago

@volkovlabs/components v1.10.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
6 days ago

Grafana Components

  • NumberInput allows to check and input numbers.
  • Collapse allows to display collapsable elements.
  • Slider allows to enter number values by slider and/or NumberInput.
  • RangeSlider allows to enter number range values by slider.
  • Form allows to render form controls from the declarative config generated by FormBuilder.
  • AutosizeCodeEditor code editor with auto height resizing based on entered content.

Hooks

  • useFormBuilder allows to create declarative forms.
  • createUseDataHook allows to create useData hook to get data through data source api.

Utils

  • CodeParametersBuilder allows to create parameters for custom code.

Update Grafana Styles

  1. Clone and build Grafana locally.
  2. Create a folder grafana-[version] for the new version in /.storybook/.
  3. Copy grafana files from /public/fonts to /.storybook/grafana-[version]/public/fonts.
  4. Copy grafana files from /public/img to /.storybook/grafana-[version]/public/img. Only icons, icons_dark_theme, icons_light_theme and root files are necessary.
  5. Copy and rename to .scss grafana files from /public/build/grafana.light.[hash].css to /.storybook/grafana-[version]/grafana.light.scss.
  6. Copy and rename to .scss grafana files from /public/build/grafana.dark.[hash].css to /.storybook/grafana-[version]/grafana.dark.scss.
  7. Update using folder from grafana-[old-version] to grafana-[version].

License

Apache License Version 2.0.

1.10.0

6 days ago

1.9.0

13 days ago

1.8.2

20 days ago

1.8.1

1 month ago

1.8.0

1 month ago

1.7.0

1 month ago

1.6.1

2 months ago

1.6.0

2 months ago

1.5.0

2 months ago

1.4.1

3 months ago

1.4.0

3 months ago

1.3.5

3 months ago

1.3.4

3 months ago

1.3.3

3 months ago

1.3.2

3 months ago

1.3.1

3 months ago

1.3.0

3 months ago

1.2.1

5 months ago

1.2.0

6 months ago

1.1.0

6 months ago

1.0.0

6 months ago