@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
100 lines (99 loc) • 3.08 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { WidgetClassStructure } from './interfaces/common.js';
export interface LabelClasses {
/** Label */
label?: {
/** Main class for the label */
main?: string;
/** Class applied when the label is in an empty state */
empty?: string;
/** Class applied when the label is in an invalid state */
invalid?: string;
/** Class applied when the label is disabled */
disabled?: string;
};
}
/**
* @hidden
*/
export declare const uLabel: WidgetClassStructure;
export interface FloatingLabelClasses {
/** Wrapper element configurations */
wrapper?: {
/** Main class for the wrapper */
main?: string;
/** Class applied when the element is focused */
focused?: string;
/** Class applied when the element is empty */
empty?: string;
/** Class for non-empty state (empty in this case) */
notEmpty?: string;
/** Class for disabled state */
disabled?: string;
/** Class applied when in RTL mode */
isRtl?: string;
};
/** Label element configurations */
label?: {
/** Main class for the label */
main?: string;
/** Class applied when the label is focused */
focused?: string;
/** Class applied when the label is empty */
empty?: string;
/** Class for non-empty label state */
notEmpty?: string;
/** Class applied when the label is in an invalid state */
invalid?: string;
/** Class applied when the label is disabled */
disabled?: string;
};
}
/**
* @hidden
*/
export declare const uFloatingLabel: WidgetClassStructure;
export interface ErrorClasses {
/** Wrapper element configurations */
wrapper?: {
/** Main class for the wrapper */
main?: string;
/** Direction-related configurations */
direction?: {
/** Class for start-aligned text */
start?: string;
/** Class for end-aligned text */
end?: string;
};
};
}
/**
* @hidden
*/
export declare const uError: WidgetClassStructure;
export interface HintClasses {
/** Wrapper element configurations */
wrapper?: {
/** Main class for the wrapper */
main?: string;
/** Direction-related configurations */
direction?: {
/** Class for start-aligned text */
start?: string;
/** Class for end-aligned text */
end?: string;
/** Class for disabled state */
disabled?: string;
};
};
}
/**
* @hidden
*/
export declare const uHint: WidgetClassStructure;