-
Forms: New Input component (#20159) · 99e63507
* Adding component, story and documentation file * forgot files * Add label and formvalidation * fix for error/invalid message * fixing font color when input is disabled * red border if invalid * fixing props and label margin * added support for icon in input * support for button and loading state * redoing some of the markup * fixing height on addons * Adding some basic documentation * remove not used types file * Add some more knobs * move component to it's own directory, updated styling * Adding component, story and documentation file * forgot files * Add label and formvalidation * fix for error/invalid message * fixing font color when input is disabled * red border if invalid * fixing props and label margin * added support for icon in input * support for button and loading state * redoing some of the markup * fixing height on addons * Adding some basic documentation * remove not used types file * Add some more knobs * move component to it's own directory, updated styling * Add Icon component * Add useClientRect helper hook * Add missing Icon types * Simplify Inputs styling (POC) * Render theme knob in a separate group * Update packages/grafana-ui/src/components/Forms/Input/Input.tsx Co-Authored-By: Peter Holmberg <peterholmberg@users.noreply.github.com> * Update packages/grafana-ui/src/components/Forms/Input/Input.tsx * Improve comment * Restore increase/decrease spinner on number inputs * Add period * use input color variables * fix test * Expose input styles from getFormStyles
Peter Holmberg committed
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
.storybook | Loading commit data... | |
src | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
README.md | Loading commit data... | |
index.js | Loading commit data... | |
package.json | Loading commit data... | |
rollup.config.ts | Loading commit data... | |
tsconfig.build.json | Loading commit data... | |
tsconfig.json | Loading commit data... | |
tslint.json | Loading commit data... |