57 lines
1.2 KiB
TypeScript
57 lines
1.2 KiB
TypeScript
/**
|
|
*
|
|
* InputText renders a text field to enter data.
|
|
*
|
|
* [Live Demo](https://www.primevue.org/inputtext/)
|
|
*
|
|
* @module lara/inputtext
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* Defines all sections of design tokens
|
|
*/
|
|
export namespace InputTextDesignToken {
|
|
/**
|
|
* Tokens of the root section
|
|
*/
|
|
export interface Root {
|
|
/**
|
|
* Background of an input field
|
|
*
|
|
* @designToken inputtext.background
|
|
*/
|
|
background?: string;
|
|
/**
|
|
* Background of an input field when disabled
|
|
*
|
|
* @designToken inputtext.disabled.background
|
|
*/
|
|
disabledBackground?: string;
|
|
/**
|
|
* Background of an input field when filled mode
|
|
*
|
|
* @designToken inputtext.filled.background
|
|
*/
|
|
filledBackground?: string;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* **PrimeVue - InputText**
|
|
*
|
|
* _InputText renders a text field to enter data._
|
|
*
|
|
* [Live Demo](https://www.primevue.org/inputtext/)
|
|
* --- ---
|
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
|
*
|
|
* @group DesignTokens
|
|
*/
|
|
export interface InputTextDesignTokens {
|
|
/**
|
|
* Used to pass tokens of the root section
|
|
*/
|
|
root?: InputTextDesignToken.Root;
|
|
}
|