UNPKG

@progress/kendo-react-common

Version:

React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package

90 lines (89 loc) 2.86 kB
/** * @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'; /** Theme color options for the wrapper */ export interface ThemeColorClasses { /** The text color should inherit from its parent */ inherit?: string; /** Text color for the primary theme */ primary?: string; /** Text color for the secondary theme */ secondary?: string; /** Text color for the tertiary theme */ tertiary?: string; /** Text color for informational messages */ info?: string; /** Text color indicating success */ success?: string; /** Text color for warnings */ warning?: string; /** Text color indicating errors */ error?: string; /** Text color for dark theme */ dark?: string; /** Text color for light theme */ light?: string; } /** Size options */ export interface SizeClasses { /** Default size (16px by 16px) */ default?: string; /** Extra small size (0.75 times the default size) */ xsmall?: string; /** Small size (0.875 times the default size) */ small?: string; /** Medium size, same as default (16px by 16px) */ medium?: string; /** Large size (1.25 times the default size) */ large?: string; /** Extra large size (1.5 times the default size) */ xlarge?: string; /** Double extra large size (2 times the default size) */ xxlarge?: string; /** Triple extra large size (3 times the default size) */ xxxlarge?: string; } /** Wrapper classes configuration */ export interface WrapperClasses { /** Main wrapper class */ main?: string; /** SVG prefix class */ svgPrefix?: string; /** SVG name prefix class */ namePrefix?: string; /** Horizontal flip transformation */ flipH?: string; /** Vertical flip transformation */ flipV?: string; /** Theme color options for the wrapper */ themeColor?: ThemeColorClasses; /** Size options for the wrapper */ size?: SizeClasses; } /** SVG classes configuration */ export interface SvgClasses { /** Main SVG class, sets fill and flex behavior */ main?: string; /** Horizontal flip transformation for the SVG */ flipH?: string; /** Vertical flip transformation for the SVG */ flipV?: string; } /** * SVGIcon Classes */ export interface SVGIconClasses { /** Wrapper configuration*/ wrapper?: WrapperClasses; /** SVG configuration */ svg?: SvgClasses; } /** * @hidden */ export declare const uSvgIcon: WidgetClassStructure;