Repository navigation
[locked] RFC: Checkbox / RadioButton Standartization #2828
Replies: 1 comment
|
Tagging for visibility, comments, and concerns: @Raisolution @tapopov @zdravkov @jivanova @Xizario @VicTachev @nenchef |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Quick Overview
The main concept is described here: #1617
This discussion covers the Checkbox and RadioButton.
In this discussion, we will write down the questions that arise during the process of standardizing the Checkbox and RadioButton and the decisions we make.
Checkbox
Sizes
We utilize 3 main sizes that will be used across components -
small,mediumandlarge. The CSS classes for the same will bek-checkbox-sm,k-checkbox-mdandk-checkbox-lg.Rounded
We utilize 3 main sizes that will be used across components -
small,medium, andlarge. The CSS classes for the same will bek-rounded-sm,k-rounded-md, andk-rounded-lg.RadioButton
Sizes
We utilize 3 main sizes that will be used across components -
small,mediumandlarge. The CSS classes for the same will bek-radio-sm,k-radio-mdandk-radio-lg.The
noneconceptAs described above, all properties will have a none value which will remove the default CSS class (will not add a class at all).
Rendering
Docs
TODO
Tests (visual)
Tests should be created in tests/visual/src/reference folder as following:
checkbox/checkbox-${suite}.htmlradio/radio-${suite}.htmlComponent API
Playground
https://stackblitz.com/edit/angular-ivy-bu4we3?file=src%2Fapp%2Fapp.component.html
All reactions