Skip to content

Commit cffef0a

Browse files
committed
docs(uui-input): add docs for custom css properties
1 parent 9ac213a commit cffef0a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ export type InputType =
3131
* @fires UUIInputEvent#change on change
3232
* @fires InputEvent#input on input
3333
* @fires KeyboardEvent#keyup on keyup
34+
* @cssprop --uui-input-height - Height of the element
35+
* @cssprop --uui-input-background-color - Background color of the element
36+
* @cssprop --uui-input-background-color-disabled - Background color when disabled
37+
* @cssprop --uui-input-background-color-readonly - Background color when readonly
38+
* @cssprop --uui-input-border-width - Border width
39+
* @cssprop --uui-input-border-color - Border color
40+
* @cssprop --uui-input-border-color-hover - Border color on hover
41+
* @cssprop --uui-input-border-color-focus - Border color on focus
42+
* @cssprop --uui-input-border-color-disabled - Border color when disabled
43+
* @cssprop --uui-input-border-color-readonly - Border color when readonly
3444
*/
3545
@defineElement('uui-input')
3646
export class UUIInputElement extends FormControlMixin(

0 commit comments

Comments
 (0)