fix(autocomplete): ensure dt is correctly applied to InputText
parent
999bb5066c
commit
9bde278a8c
|
@ -74937,6 +74937,15 @@
|
|||
"default": "",
|
||||
"description": "Active color of dropdown"
|
||||
},
|
||||
{
|
||||
"name": "inputtext",
|
||||
"token": "autocomplete.inputtext",
|
||||
"optional": true,
|
||||
"readonly": false,
|
||||
"type": "InputTextDesignTokens",
|
||||
"default": "",
|
||||
"description": "Same design tokens from the InputText component"
|
||||
},
|
||||
{
|
||||
"name": "chip.borderRadius",
|
||||
"token": "autocomplete.chip.border.radius",
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
@input="onInput"
|
||||
@change="onChange"
|
||||
:unstyled="unstyled"
|
||||
:dt="dt?.inputtext"
|
||||
:pt="ptm('pcInputText')"
|
||||
/>
|
||||
<ul
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
|
||||
import { ColorSchemeDesignToken } from '..';
|
||||
import { InputTextDesignTokens } from '../inputtext';
|
||||
|
||||
export interface AutoCompleteDesignTokens extends ColorSchemeDesignToken<AutoCompleteDesignTokens> {
|
||||
/**
|
||||
|
@ -427,6 +428,10 @@ export interface AutoCompleteDesignTokens extends ColorSchemeDesignToken<AutoCom
|
|||
*/
|
||||
activeColor?: string;
|
||||
};
|
||||
/**
|
||||
* Used to pass tokens of the inputtext section
|
||||
*/
|
||||
inputtext?: InputTextDesignTokens;
|
||||
/**
|
||||
* Used to pass tokens of the chip section
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue