fix(autocomplete): ensure dt is correctly applied to InputText

pull/6865/head
j0rgedev 2024-11-25 17:32:33 -05:00
parent 999bb5066c
commit 9bde278a8c
3 changed files with 15 additions and 0 deletions

View File

@ -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",

View File

@ -31,6 +31,7 @@
@input="onInput"
@change="onChange"
:unstyled="unstyled"
:dt="dt?.inputtext"
:pt="ptm('pcInputText')"
/>
<ul

View File

@ -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
*/