[locked] RFC: Checkbox / RadioButton Standartization #2828
Replies: 1 comment
-
Tagging for visibility, comments, and concerns: @Raisolution @tapopov @zdravkov @jivanova @Xizario @VicTachev @nenchef |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
,medium
andlarge
. The CSS classes for the same will bek-checkbox-sm
,k-checkbox-md
andk-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
,medium
andlarge
. The CSS classes for the same will bek-radio-sm
,k-radio-md
andk-radio-lg
.The
none
conceptAs 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}.html
radio/radio-${suite}.html
Component API
Playground
https://stackblitz.com/edit/angular-ivy-bu4we3?file=src%2Fapp%2Fapp.component.html
Beta Was this translation helpful? Give feedback.
All reactions