@grafana/ui: Create slider component (#22275)
* grafana/ui: Create slider * grafana/ui: Create slider, tests, add to storybook * Update Slider, minor changes * Implement single value slider * Update style * Update packages/grafana-ui/package.json Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com> * Update packages/grafana-ui/src/components/Slider/Slider.tsx Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com> * Update slider, include PR review feedback * Update packages/grafana-ui/src/components/Slider/Slider.tsx Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com> * Update packages/grafana-ui/src/components/Slider/Slider.tsx Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com> * Export orientatin types, gix selectability of tooltip text * Remove Orientation export from grafana/ui * Testing Global component to inject global styles * Add comments Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Showing
... | ... | @@ -27,6 +27,7 @@ |
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"@emotion/core": "^10.0.27", | ||
"@grafana/data": "6.7.0-pre", | ||
"@grafana/slate-react": "0.22.9-grafana", | ||
"@grafana/tsconfig": "^1.0.0-rc1", | ||
... | ... | @@ -47,6 +48,7 @@ |
"papaparse": "4.6.3", | ||
"rc-cascader": "0.17.5", | ||
"rc-drawer": "3.0.2", | ||
"rc-slider": "8.7.1", | ||
"rc-time-picker": "^3.7.2", | ||
"react": "16.12.0", | ||
"react-calendar": "2.19.2", | ||
... | ... | @@ -78,6 +80,7 @@ |
"@types/node": "10.14.1", | ||
"@types/papaparse": "4.5.9", | ||
"@types/pretty-format": "20.0.1", | ||
"@types/rc-slider": "8.6.5", | ||
"@types/react": "16.8.16", | ||
"@types/react-custom-scrollbars": "4.0.5", | ||
"@types/react-test-renderer": "16.9.0", | ||
... | ... |
packages/grafana-ui/src/types/orientation.ts
0 → 100644
Please
register
or
sign in
to comment