Skip to content

Commit 174c6c5

Browse files
committed
docs(uui-select): add docs for custom css properties
1 parent cffef0a commit 174c6c5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/uui-select/lib/uui-select.element.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ declare global {
2121
* This is a formAssociated element, meaning it can participate in a native HTMLForm. A name:value pair will be submitted.
2222
* @element uui-select
2323
* @fires change - when the user changes value
24+
* @cssprop --uui-select-height - Height of the element
25+
* @cssprop --uui-select-font-size - Font size of the element
26+
* @cssprop --uui-select-padding-y - Padding on the y axis
27+
* @cssprop --uui-select-padding-x - Padding on the x axis
28+
* @cssprop --uui-select-border-color - Border color
29+
* @cssprop --uui-select-border-color-hover - Border color on hover
30+
* @cssprop --uui-select-selected-option-background-color - Background color of the selected option
31+
* @cssprop --uui-select-selected-option-color - Color of the selected option
32+
* @cssprop --uui-select-outline-color - Outline color
33+
* @cssprop --uui-select-disabled-background-color - Background color when disabled
2434
*/
2535
// TODO: Consider if this should use child items instead of an array.
2636
@defineElement('uui-select')

0 commit comments

Comments
 (0)