Fixed #5506 - Add dt props to all components and directives

This commit is contained in:
mertsincan 2024-04-02 09:24:31 +01:00
parent 1bf6606457
commit f496c2669f
102 changed files with 507 additions and 101 deletions

View file

@ -11,7 +11,7 @@ import { VNode } from 'vue';
import { ComponentHooks } from '../basecomponent';
import { PaginatorPassThroughOptionType } from '../paginator';
import { PassThroughOptions } from '../passthrough';
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
export declare type DataViewPassThroughOptionType = DataViewPassThroughAttributes | ((options: DataViewPassThroughMethodOptions) => DataViewPassThroughAttributes | string) | string | null | undefined;
@ -237,6 +237,10 @@ export interface DataViewProps {
* Name of the data that uniquely identifies the a record in the data.
*/
dataKey: string | undefined;
/**
* It generates scoped CSS variables using design tokens for the component.
*/
dt?: DesignToken<any>;
/**
* Used to pass attributes to DOM elements inside the component.
* @type {DataViewPassThroughOptions}