@progress/kendo-vue-common 8.0.3-develop.2 → 8.0.3-develop.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Draggable.d.ts +74 -0
- package/FormComponent.d.ts +91 -0
- package/browser-support.service.d.ts +14 -0
- package/canUseDOM.d.ts +12 -0
- package/classNames.d.ts +11 -0
- package/clone.d.ts +27 -0
- package/constants/main.d.ts +15 -0
- package/defaultSlots.d.ts +11 -0
- package/dist/cdn/js/kendo-vue-common.js +1 -1
- package/focus.d.ts +27 -0
- package/getActiveElement.d.ts +15 -0
- package/getTabIndex.d.ts +11 -0
- package/getter.d.ts +11 -0
- package/guid.d.ts +12 -0
- package/hasRelativeStackingContext.d.ts +9 -0
- package/icons/BaseIconProps.d.ts +84 -0
- package/icons/FontIcon.d.ts +94 -0
- package/icons/Icon.d.ts +97 -0
- package/icons/SvgIcon.d.ts +158 -0
- package/icons/constants.d.ts +20 -0
- package/icons/getIconName.d.ts +12 -0
- package/icons/models/flip.d.ts +18 -0
- package/icons/models/size.d.ts +22 -0
- package/icons/models/theme-color.d.ts +28 -0
- package/index.d.mts +39 -3324
- package/index.d.ts +39 -3324
- package/index.js +1 -1
- package/index.mjs +74 -74
- package/isObject.d.ts +11 -0
- package/isRtl.d.ts +15 -0
- package/keys.d.ts +28 -0
- package/listeners.d.ts +15 -0
- package/navigation.d.ts +53 -0
- package/noop.d.ts +12 -0
- package/package.json +1 -1
- package/providers/AdaptiveModeProvider.d.ts +63 -0
- package/refs.d.ts +15 -0
- package/rowHeightService.d.ts +31 -0
- package/scrollbarWidth.d.ts +15 -0
- package/setter.d.ts +11 -0
- package/templateRendering.d.ts +26 -0
- package/theme.d.ts +14 -0
- package/treeDataOperations.d.ts +50 -0
- package/unstyled/animations.d.ts +116 -0
- package/unstyled/buttons.d.ts +219 -0
- package/unstyled/common.d.ts +17 -0
- package/unstyled/dateinputs.d.ts +469 -0
- package/unstyled/dateinputs.mjs +1 -1
- package/unstyled/dropdowns.d.ts +338 -0
- package/unstyled/dropdowns.mjs +3 -3
- package/unstyled/form.d.ts +74 -0
- package/unstyled/grid.d.ts +12 -0
- package/unstyled/icons.d.ts +102 -0
- package/unstyled/inputs.d.ts +228 -0
- package/unstyled/interfaces/common.d.ts +111 -0
- package/unstyled/json-classes.d.ts +378 -0
- package/unstyled/labels.d.ts +111 -0
- package/unstyled/labels.mjs +1 -1
- package/unstyled/main.d.ts +26 -0
- package/unstyled/popup.d.ts +51 -0
- package/validate-package.d.ts +21 -0
- package/watermark/WatermarkOverlay.d.ts +69 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BaseIconProps } from './BaseIconProps';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the props of the [Kendo UI for Vue Icon component]({% slug overview_icon %}).
|
|
11
|
+
*/
|
|
12
|
+
export interface FontIconProps extends BaseIconProps {
|
|
13
|
+
/**
|
|
14
|
+
* Represents the name of the icon.
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export interface FontIconState {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
export interface FontIconComputed {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
export interface FontIconMethods {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export interface FontIconData {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
export interface FontIconAll extends FontIconMethods, FontIconData, FontIconComputed, FontIconState {
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
declare const FontIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
49
|
+
name: StringConstructor;
|
|
50
|
+
themeColor: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
};
|
|
56
|
+
flip: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
};
|
|
59
|
+
id: StringConstructor;
|
|
60
|
+
ariaLabel: StringConstructor;
|
|
61
|
+
title: StringConstructor;
|
|
62
|
+
tabIndex: NumberConstructor;
|
|
63
|
+
}>, {}, {}, {
|
|
64
|
+
fontClassNames(this: FontIconAll): {
|
|
65
|
+
[x: string]: any;
|
|
66
|
+
[x: number]: any;
|
|
67
|
+
'k-icon': boolean;
|
|
68
|
+
'k-font-icon': boolean;
|
|
69
|
+
'k-flip-h': boolean;
|
|
70
|
+
'k-flip-v': boolean;
|
|
71
|
+
};
|
|
72
|
+
}, {
|
|
73
|
+
handleClick(e: any): void;
|
|
74
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
75
|
+
click: any;
|
|
76
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
77
|
+
name: StringConstructor;
|
|
78
|
+
themeColor: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
};
|
|
81
|
+
size: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
84
|
+
flip: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
};
|
|
87
|
+
id: StringConstructor;
|
|
88
|
+
ariaLabel: StringConstructor;
|
|
89
|
+
title: StringConstructor;
|
|
90
|
+
tabIndex: NumberConstructor;
|
|
91
|
+
}>> & Readonly<{
|
|
92
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
93
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
94
|
+
export { FontIcon };
|
package/icons/Icon.d.ts
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { SvgIconProps } from './SvgIcon';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface IconProps extends SvgIconProps {
|
|
13
|
+
iconType?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export interface IconState {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
export interface IconComputed {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export interface IconMethods {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
export interface IconData {
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export interface IconAll extends IconMethods, IconData, IconComputed, IconState {
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
*/
|
|
46
|
+
declare const Icon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
47
|
+
name: StringConstructor;
|
|
48
|
+
icon: ObjectConstructor;
|
|
49
|
+
title: StringConstructor;
|
|
50
|
+
themeColor: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
};
|
|
56
|
+
flip: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
};
|
|
59
|
+
id: StringConstructor;
|
|
60
|
+
ariaLabel: StringConstructor;
|
|
61
|
+
viewBox: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
tabIndex: NumberConstructor;
|
|
66
|
+
role: StringConstructor;
|
|
67
|
+
}>, {}, {}, {}, {
|
|
68
|
+
handleClick(e: any): void;
|
|
69
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
70
|
+
click: any;
|
|
71
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
72
|
+
name: StringConstructor;
|
|
73
|
+
icon: ObjectConstructor;
|
|
74
|
+
title: StringConstructor;
|
|
75
|
+
themeColor: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
};
|
|
78
|
+
size: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
};
|
|
81
|
+
flip: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
};
|
|
84
|
+
id: StringConstructor;
|
|
85
|
+
ariaLabel: StringConstructor;
|
|
86
|
+
viewBox: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
tabIndex: NumberConstructor;
|
|
91
|
+
role: StringConstructor;
|
|
92
|
+
}>> & Readonly<{
|
|
93
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
94
|
+
}>, {
|
|
95
|
+
viewBox: string;
|
|
96
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
97
|
+
export { Icon };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BaseIconProps } from './BaseIconProps';
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the SVG icon.
|
|
11
|
+
*/
|
|
12
|
+
export interface SVGIcon {
|
|
13
|
+
/**
|
|
14
|
+
* The unique name of the icon.
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**
|
|
18
|
+
* The entire SVG content of the icon.
|
|
19
|
+
*/
|
|
20
|
+
content: string;
|
|
21
|
+
/**
|
|
22
|
+
* The [viewBox](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox)
|
|
23
|
+
* definition that should be used for the icon.
|
|
24
|
+
*/
|
|
25
|
+
viewBox: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export interface SvgIconHandle {
|
|
31
|
+
/**
|
|
32
|
+
* The SvgIconHandle element.
|
|
33
|
+
*/
|
|
34
|
+
element: HTMLSpanElement | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Represents the props of the [Kendo UI for Vue SvgIcon component]({% slug overview_svgicon %}).
|
|
38
|
+
*/
|
|
39
|
+
export interface SvgIconProps extends BaseIconProps {
|
|
40
|
+
/**
|
|
41
|
+
* Represents the name of the icon.
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the SVG icon.
|
|
46
|
+
*
|
|
47
|
+
* * The possible keys are:
|
|
48
|
+
* * `name`—The unique name of the icon.
|
|
49
|
+
* * `content`—The entire SVG content of the icon.
|
|
50
|
+
* * `viewBox`—The viewBox definition that should be used for the icon.
|
|
51
|
+
*/
|
|
52
|
+
icon?: SVGIcon;
|
|
53
|
+
/**
|
|
54
|
+
* Specifies the viewBox of the custom SVG icon.
|
|
55
|
+
*/
|
|
56
|
+
viewBox?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies a list of CSS classes that will be added to the svg element.
|
|
59
|
+
*/
|
|
60
|
+
svgClassName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Sets additional CSS styles to the svg element.
|
|
63
|
+
*/
|
|
64
|
+
svgStyle?: object;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export interface SvgIconState {
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
74
|
+
export interface SvgIconComputed {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @hidden
|
|
79
|
+
*/
|
|
80
|
+
export interface SvgIconMethods {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @hidden
|
|
85
|
+
*/
|
|
86
|
+
export interface SvgIconData {
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @hidden
|
|
90
|
+
*/
|
|
91
|
+
export interface SvgIconAll extends SvgIconMethods, SvgIconData, SvgIconComputed, SvgIconState {
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
declare const SvgIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
97
|
+
name: StringConstructor;
|
|
98
|
+
icon: ObjectConstructor;
|
|
99
|
+
themeColor: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
102
|
+
size: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
105
|
+
flip: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
};
|
|
108
|
+
id: StringConstructor;
|
|
109
|
+
ariaLabel: StringConstructor;
|
|
110
|
+
title: StringConstructor;
|
|
111
|
+
viewBox: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
tabIndex: NumberConstructor;
|
|
116
|
+
svgClassName: StringConstructor;
|
|
117
|
+
svgStyle: ObjectConstructor;
|
|
118
|
+
}>, {}, {}, {
|
|
119
|
+
wrapperClass(this: SvgIconAll): {
|
|
120
|
+
[x: string]: any;
|
|
121
|
+
[x: number]: any;
|
|
122
|
+
'k-icon': boolean;
|
|
123
|
+
'k-svg-icon': boolean;
|
|
124
|
+
'k-flip-h': boolean;
|
|
125
|
+
'k-flip-v': boolean;
|
|
126
|
+
};
|
|
127
|
+
}, {
|
|
128
|
+
handleClick(e: any): void;
|
|
129
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
130
|
+
click: any;
|
|
131
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
132
|
+
name: StringConstructor;
|
|
133
|
+
icon: ObjectConstructor;
|
|
134
|
+
themeColor: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
};
|
|
137
|
+
size: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
};
|
|
140
|
+
flip: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
};
|
|
143
|
+
id: StringConstructor;
|
|
144
|
+
ariaLabel: StringConstructor;
|
|
145
|
+
title: StringConstructor;
|
|
146
|
+
viewBox: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
tabIndex: NumberConstructor;
|
|
151
|
+
svgClassName: StringConstructor;
|
|
152
|
+
svgStyle: ObjectConstructor;
|
|
153
|
+
}>> & Readonly<{
|
|
154
|
+
onClick?: (...args: any[] | unknown[]) => any;
|
|
155
|
+
}>, {
|
|
156
|
+
viewBox: string;
|
|
157
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
158
|
+
export { SvgIcon };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare const SIZE_CLASSES: {
|
|
12
|
+
default: string;
|
|
13
|
+
xsmall: string;
|
|
14
|
+
small: string;
|
|
15
|
+
medium: string;
|
|
16
|
+
large: string;
|
|
17
|
+
xlarge: string;
|
|
18
|
+
xxlarge: string;
|
|
19
|
+
xxxlarge: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
declare const getIconName: (iconName: string) => string;
|
|
12
|
+
export { getIconName };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the icon flip direction.
|
|
10
|
+
*
|
|
11
|
+
* The possible values are:
|
|
12
|
+
* * `default` (Default)—No flipping applied.
|
|
13
|
+
* * `horizontal`—Flips the icon in horizontal direction.
|
|
14
|
+
* * `vertical`—Flips the icon in vertical direction.
|
|
15
|
+
* * `both`—Flips the icon in both horizontal and vertical directions.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export type IconFlip = 'default' | 'horizontal' | 'vertical' | 'both';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the size of the icon.
|
|
10
|
+
*
|
|
11
|
+
* The possible values are:
|
|
12
|
+
* * `default` (Default)—Font-size: 16px; Width: 16px; Height: 16px.
|
|
13
|
+
* * `xsmall`—Font-size: 12px; Width: 12px; Height: 12px.
|
|
14
|
+
* * `small`—Font-size: 14px; Width: 14px; Height: 14px.
|
|
15
|
+
* * `medium`—Font-size: 16px; Width: 16px; Height: 16px.
|
|
16
|
+
* * `large`—Font-size: 20px; Width: 20px; Height: 20px.
|
|
17
|
+
* * `xlarge`—Font-size: 24px; Width: 24px; Height: 24px.
|
|
18
|
+
* * `xxlarge`—Font-size: 32px; Width: 32px; Height: 32px.
|
|
19
|
+
* * `xxxlarge`—Font-size: 48px; Width: 48px; Height: 48px.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export type IconSize = 'default' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the theme color of the Icon.
|
|
10
|
+
*
|
|
11
|
+
* The possible values are:
|
|
12
|
+
* * `inherit` (Default)—Applies coloring based on the current color.
|
|
13
|
+
* * `primary` —Applies coloring based on primary theme color.
|
|
14
|
+
* * `secondary`—Applies coloring based on secondary theme color.
|
|
15
|
+
* * `tertiary`— Applies coloring based on tertiary theme color.
|
|
16
|
+
* * `info`—Applies coloring based on info theme color.
|
|
17
|
+
* * `success`— Applies coloring based on success theme color.
|
|
18
|
+
* * `warning`— Applies coloring based on warning theme color.
|
|
19
|
+
* * `error`— Applies coloring based on error theme color.
|
|
20
|
+
* * `dark`— Applies coloring based on dark theme color.
|
|
21
|
+
* * `light`— Applies coloring based on light theme color.
|
|
22
|
+
* * `inverse`— Applies coloring based on inverse theme color.
|
|
23
|
+
*
|
|
24
|
+
* If the property is not set, the icon inherits the color from its parent.
|
|
25
|
+
*
|
|
26
|
+
* You can use the `style` prop to apply custom color related properties to the icon.
|
|
27
|
+
*/
|
|
28
|
+
export type IconThemeColor = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
|