bitstyles icon indicating copy to clipboard operation
bitstyles copied to clipboard

[#762] Inputs

Open planktonic opened this issue 2 years ago • 0 comments

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

Screenshot 2023-08-15 at 16 04 15

How to QA

👀 Visual changes

  • git fetch
  • git checkout feature/762-inputs
  • yarn
  • yarn 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 unreleased section of CHANGELOG.md

planktonic avatar Apr 13 '23 15:04 planktonic