bitstyles
bitstyles copied to clipboard
[#762] Inputs
Fixes #762
Changes
- Structuring the button custom properties to make variants work better, and to be more usable in situations like joined-ui
- turning off prettier in more files, as it makes the Sass unreadable
- Updated text input styles
- stories for inputs, selects, labels, and textareas are in separate js files, and all within forms
- Adds components for inputs, selects, labels, and textareas
- checkboxes & radios now can have box-shadows in each state
- adds an invalid state for radios & checkboxes
📸 Looks like
How to QA
👀 Visual changes
git fetchgit checkout feature/762-inputsyarnyarn storybook- navigate to base/forms
Check:
- [ ] The appearance matches the design in Zeplin
- [ ] The Zeplin component is correctly linked in storybook
- [ ] The documentation for this component is correct, understandable, and up-to-date.
👾 Code changes
Check:
- [ ] The documentation for this component is correct, understandable, and up-to-date.
- [ ] The component makes good use of CSS custom properties to simplify creating variants (or doesn’t have variants).
- [ ] Everything that should be a variable, is.
Preflight checks
- [x] Storybook documentation has been updated
- [x] Fixtures in
test/scss/have been updated - [x] Your changes have been added to the
unreleasedsection of CHANGELOG.md