Alignment
Alignment tests reveal the top boundary, vertical center, and bottom boundary of components. These help to evaluate how well components align with one another when arranged horizontally.Code
Keyboard
Inserted
Color
Color tests ensure that both the `variant` attribute and `.wa-[variant]` classes have identical results for components that support them. Developers should be able to use both of these interchangeably to give the component the intended semantic color.Badge
variant="" |
.wa-[variant] |
|
|---|---|---|
brand |
|
|
neutral |
|
|
success |
|
|
warning |
|
|
danger |
|
|
Button
variant="" |
.wa-[variant] |
|
|---|---|---|
brand |
|
|
neutral |
|
|
success |
|
|
warning |
|
|
danger |
|
|
Callout
variant="" |
.wa-[variant] |
|
|---|---|---|
brand |
|
|
neutral |
|
|
success |
|
|
warning |
|
|
danger |
|
|
Tag
variant="" |
.wa-[variant] |
|
|---|---|---|
brand |
|
|
neutral |
|
|
success |
|
|
warning |
|
|
danger |
|
|
Harmony
Harmony tests show how related components look together. These can help validate design choices or reveal where design intervention is needed to get a consistent, harmonious look and feel.Form Controls
Progress
Native
Native style tests ensure that supported native elements and utilities look the same as their Web Awesome component counterparts. Native elements may also support the same appearance, color, and size utilities as components.Button
<wa-button> |
<button> |
|
|---|---|---|
| default |
|
|
accent |
|
|
filled-outlined |
|
|
filled |
|
|
outlined |
|
|
plain |
|
|
s |
|
|
m |
|
|
l |
|
|
pill |
|
Button Group
<wa-button> |
<button> |
|
|---|---|---|
| default |
|
|
filled |
|
|
outlined |
|
|
pill |
|
|
vertical |
|
|
Checkbox
<wa-checkbox> |
<input type="checkbox"> |
|
|---|---|---|
| default |
|
|
checked |
|
Color Picker
<wa-color-picker> |
<input type="color"> |
|
|---|---|---|
| default |
|
Details
<wa-details> |
<details> |
|
|---|---|---|
| default |
|
SummaryLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
dir="rtl" |
|
تبديلنياستخدام طريقة لوريم إيبسوم لأنها تعطي توزيعاَ طبيعياَ -إلى حد ما- للأحرف عوضاً عن |
Input
<wa-input> |
<input> |
|
|---|---|---|
| default |
|
|
type="password" |
|
|
type="date" |
|
|
type="time" |
|
|
filled |
|
|
s |
|
|
m |
|
|
l |
|
Progress Bar
<wa-progress-bar> |
<progress> |
|
|---|---|---|
| default |
|
Radio
<wa-radio> |
<input type="radio"> |
|
|---|---|---|
| default |
|
|
checked |
|
Select
<wa-select> |
<select> |
|
|---|---|---|
| default |
|
|
filled |
|
|
s |
|
|
m |
|
|
l |
|
Slider
<wa-slider> |
<input type="range"> |
|
|---|---|---|
| default |
|
Textarea
<wa-textarea> |
<textarea> |
|
|---|---|---|
| default |
|
|
filled |
|
|
s |
|
|
m |
|
|
l |
|
Size
Size tests ensure that both the `size` attribute and `.wa-size-[xs|s|m|l|xl]` classes have identical results for components that support them. Developers should be able to use both of these interchangeably on components to get the intended size.Button
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Callout
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Checkbox
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Color Picker
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Dropdown
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Input
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Radio
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Radio Button
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Radio Group
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Rating
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Select
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Switch
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|
Textarea
size="" |
.wa-size-[xs|s|m|l|xl] |
|
|---|---|---|
xs |
|
|
s |
|
|
m |
|
|
l |
|
|
xl |
|
|