@progress/kendo-react-common 13.3.0 → 13.4.0-develop.1
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 +93 -0
- package/Droppable.d.ts +84 -0
- package/FormComponent.d.ts +218 -0
- package/apply-default-props.d.ts +13 -0
- package/browser-support.service.d.ts +14 -0
- package/canUseDOM.d.ts +11 -0
- package/canUseRef.d.ts +12 -0
- package/classNames.d.ts +15 -0
- package/clone.d.ts +27 -0
- package/constants/main.d.ts +27 -0
- package/contexts/AdaptiveModeContext.d.ts +50 -0
- package/contexts/AdaptiveModeContext.mjs +2 -2
- package/contexts/ZIndexContext.d.ts +14 -0
- package/deep-merge.d.ts +13 -0
- package/dist/cdn/js/kendo-react-common.js +1 -1
- package/drag-n-drop/context/index.d.ts +24 -0
- package/drag-n-drop/index.d.ts +33 -0
- package/events/BaseEvent.d.ts +25 -0
- package/events/dispatchEvent.d.ts +21 -0
- package/fieldList.d.ts +11 -0
- package/fileExtensionIcon.d.ts +12 -0
- package/getActiveElement.d.ts +15 -0
- package/getTabIndex.d.ts +11 -0
- package/getter.d.ts +21 -0
- package/guid.d.ts +11 -0
- package/hasRelativeStackingContext.d.ts +9 -0
- package/hocs/AsyncFocusBlur.d.ts +20 -0
- package/hocs/use-adaptive-mode-hoc.d.ts +10 -0
- package/hocs/use-id-hoc.d.ts +10 -0
- package/hocs/use-unstyled-hoc.d.ts +10 -0
- package/hocs/withPropsContext.d.ts +12 -0
- package/hocs/withzIndexContext.d.ts +10 -0
- package/hooks/index.d.ts +19 -0
- package/hooks/use-id.d.ts +9 -0
- package/hooks/use-immediate-inherit-state.d.ts +13 -0
- package/hooks/use-isomorphic-layout-effect.d.ts +10 -0
- package/hooks/useAsyncFocusBlur.d.ts +32 -0
- package/hooks/useCollection.d.ts +21 -0
- package/hooks/useControlledState.d.ts +11 -0
- package/hooks/useCustomComponent.d.ts +16 -0
- package/hooks/useDir.d.ts +12 -0
- package/hooks/useDocument.d.ts +14 -0
- package/hooks/useDraggable.d.ts +75 -0
- package/hooks/useDroppable.d.ts +46 -0
- package/hooks/useInheritedState.d.ts +23 -0
- package/hooks/useMouse.d.ts +27 -0
- package/hooks/usePointer.d.ts +28 -0
- package/hooks/usePropsContext.d.ts +10 -0
- package/hooks/useRtl.d.ts +12 -0
- package/hooks/useTouch.d.ts +22 -0
- package/hooks/useWindow.d.ts +14 -0
- package/icons/BaseIconProps.d.ts +79 -0
- package/icons/Icon.d.ts +41 -0
- package/icons/IconWrap.d.ts +14 -0
- package/icons/IconsContext.d.ts +28 -0
- package/icons/SvgIcon.d.ts +77 -0
- package/icons/constants.d.ts +20 -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/icons/utils.d.ts +24 -0
- package/index.d.mts +74 -4288
- package/index.d.ts +74 -4288
- package/keys.d.ts +47 -0
- package/memoize.d.ts +17 -0
- package/models/auto-scroll-options.d.ts +29 -0
- package/models/index.d.ts +12 -0
- package/models/kendoReactComponentBaseProps.d.ts +30 -0
- package/models/mouse.d.ts +56 -0
- package/models/pointer.d.ts +30 -0
- package/models/touch.d.ts +24 -0
- package/navigation.d.ts +166 -0
- package/noop.d.ts +11 -0
- package/package.json +1 -1
- package/rowHeightService.d.ts +31 -0
- package/scrollbarWidth.d.ts +15 -0
- package/setter.d.ts +23 -0
- package/theme.d.ts +15 -0
- package/trappedFocus.d.ts +44 -0
- package/tree-utils/FieldsService.d.ts +32 -0
- package/tree-utils/SortedPublicItemIds.d.ts +15 -0
- package/tree-utils/itemIdUtils.d.ts +67 -0
- package/tree-utils/itemIdUtils.mjs +51 -51
- package/tree-utils/itemUtils.d.ts +52 -0
- package/tree-utils/misc.d.ts +15 -0
- package/treeDataOperations.d.ts +46 -0
- package/typography/Typography.d.ts +41 -0
- package/typography/TypographyProps.d.ts +127 -0
- package/typography/constants.d.ts +91 -0
- package/typography/models/margin.d.ts +30 -0
- package/unstyled/animations.d.ts +96 -0
- package/unstyled/buttons.d.ts +186 -0
- package/unstyled/buttons.js +1 -1
- package/unstyled/buttons.mjs +104 -194
- package/unstyled/dateinputs.d.ts +397 -0
- package/unstyled/dateinputs.mjs +19 -19
- package/unstyled/dropdowns.d.ts +314 -0
- package/unstyled/dropdowns.mjs +1 -1
- package/unstyled/form.d.ts +71 -0
- package/unstyled/form.mjs +1 -1
- package/unstyled/grid.d.ts +12 -0
- package/unstyled/grid.js +1 -1
- package/unstyled/grid.mjs +51 -50
- package/unstyled/icons.d.ts +89 -0
- package/unstyled/icons.mjs +1 -1
- package/unstyled/inputs.d.ts +213 -0
- package/unstyled/inputs.mjs +14 -14
- package/unstyled/interfaces/common.d.ts +138 -0
- package/unstyled/json-classes.d.ts +378 -0
- package/unstyled/labels.d.ts +99 -0
- package/unstyled/main.d.ts +34 -0
- package/unstyled/popup.d.ts +123 -0
- package/unstyled/popup.mjs +3 -3
- package/validate-package.d.ts +38 -0
- package/watermark/WatermarkOverlay.d.ts +21 -0
|
@@ -0,0 +1,89 @@
|
|
|
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 { WidgetClassStructure } from './interfaces/common.js';
|
|
9
|
+
/** Theme color options for the wrapper */
|
|
10
|
+
export interface ThemeColorClasses {
|
|
11
|
+
/** The text color should inherit from its parent */
|
|
12
|
+
inherit?: string;
|
|
13
|
+
/** Text color for the primary theme */
|
|
14
|
+
primary?: string;
|
|
15
|
+
/** Text color for the secondary theme */
|
|
16
|
+
secondary?: string;
|
|
17
|
+
/** Text color for the tertiary theme */
|
|
18
|
+
tertiary?: string;
|
|
19
|
+
/** Text color for informational messages */
|
|
20
|
+
info?: string;
|
|
21
|
+
/** Text color indicating success */
|
|
22
|
+
success?: string;
|
|
23
|
+
/** Text color for warnings */
|
|
24
|
+
warning?: string;
|
|
25
|
+
/** Text color indicating errors */
|
|
26
|
+
error?: string;
|
|
27
|
+
/** Text color for dark theme */
|
|
28
|
+
dark?: string;
|
|
29
|
+
/** Text color for light theme */
|
|
30
|
+
light?: string;
|
|
31
|
+
}
|
|
32
|
+
/** Size options */
|
|
33
|
+
export interface SizeClasses {
|
|
34
|
+
/** Default size (16px by 16px) */
|
|
35
|
+
default?: string;
|
|
36
|
+
/** Extra small size (0.75 times the default size) */
|
|
37
|
+
xsmall?: string;
|
|
38
|
+
/** Small size (0.875 times the default size) */
|
|
39
|
+
small?: string;
|
|
40
|
+
/** Medium size, same as default (16px by 16px) */
|
|
41
|
+
medium?: string;
|
|
42
|
+
/** Large size (1.25 times the default size) */
|
|
43
|
+
large?: string;
|
|
44
|
+
/** Extra large size (1.5 times the default size) */
|
|
45
|
+
xlarge?: string;
|
|
46
|
+
/** Double extra large size (2 times the default size) */
|
|
47
|
+
xxlarge?: string;
|
|
48
|
+
/** Triple extra large size (3 times the default size) */
|
|
49
|
+
xxxlarge?: string;
|
|
50
|
+
}
|
|
51
|
+
/** Wrapper classes configuration */
|
|
52
|
+
export interface WrapperClasses {
|
|
53
|
+
/** Main wrapper class */
|
|
54
|
+
main?: string;
|
|
55
|
+
/** SVG prefix class */
|
|
56
|
+
svgPrefix?: string;
|
|
57
|
+
/** SVG name prefix class */
|
|
58
|
+
namePrefix?: string;
|
|
59
|
+
/** Horizontal flip transformation */
|
|
60
|
+
flipH?: string;
|
|
61
|
+
/** Vertical flip transformation */
|
|
62
|
+
flipV?: string;
|
|
63
|
+
/** Theme color options for the wrapper */
|
|
64
|
+
themeColor?: ThemeColorClasses;
|
|
65
|
+
/** Size options for the wrapper */
|
|
66
|
+
size?: SizeClasses;
|
|
67
|
+
}
|
|
68
|
+
/** SVG classes configuration */
|
|
69
|
+
export interface SvgClasses {
|
|
70
|
+
/** Main SVG class, sets fill and flex behavior */
|
|
71
|
+
main?: string;
|
|
72
|
+
/** Horizontal flip transformation for the SVG */
|
|
73
|
+
flipH?: string;
|
|
74
|
+
/** Vertical flip transformation for the SVG */
|
|
75
|
+
flipV?: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* SVGIcon Classes
|
|
79
|
+
*/
|
|
80
|
+
export interface SVGIconClasses {
|
|
81
|
+
/** Wrapper configuration*/
|
|
82
|
+
wrapper?: WrapperClasses;
|
|
83
|
+
/** SVG configuration */
|
|
84
|
+
svg?: SvgClasses;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @hidden
|
|
88
|
+
*/
|
|
89
|
+
export declare const uSvgIcon: WidgetClassStructure;
|
package/unstyled/icons.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { base as e, icon as r,
|
|
8
|
+
import { base as e, icon as r, sizeMap as p, themeColorMap as i } from "./json-classes.mjs";
|
|
9
9
|
const c = {
|
|
10
10
|
wrapper: {
|
|
11
11
|
main: `${e.prefix}-${r.prefix}`,
|
|
@@ -0,0 +1,213 @@
|
|
|
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 { WidgetClassStructure } from './interfaces/common.js';
|
|
9
|
+
export interface RadioButtonClasses {
|
|
10
|
+
/** Input configurations */
|
|
11
|
+
input?: {
|
|
12
|
+
/** Class for the radio input */
|
|
13
|
+
radio?: string;
|
|
14
|
+
/** Size configurations for the radio input */
|
|
15
|
+
size?: {
|
|
16
|
+
/** Prefix for size classes */
|
|
17
|
+
prefix?: string;
|
|
18
|
+
/** Class for small size radio input */
|
|
19
|
+
small?: string;
|
|
20
|
+
/** Class for medium size radio input */
|
|
21
|
+
medium?: string;
|
|
22
|
+
/** Class for large size radio input */
|
|
23
|
+
large?: string;
|
|
24
|
+
};
|
|
25
|
+
/** Class for invalid state */
|
|
26
|
+
invalid?: string;
|
|
27
|
+
/** Class for checked state */
|
|
28
|
+
checked?: string;
|
|
29
|
+
};
|
|
30
|
+
/** Class for wrapping container */
|
|
31
|
+
wrap?: string;
|
|
32
|
+
/** Class for the label */
|
|
33
|
+
label?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export declare const radioButtonClasses: RadioButtonClasses;
|
|
39
|
+
/**
|
|
40
|
+
* @hidden
|
|
41
|
+
*/
|
|
42
|
+
export declare const uRadioButton: WidgetClassStructure;
|
|
43
|
+
export interface RadioGroupClasses {
|
|
44
|
+
/** Unordered list (ul) configurations */
|
|
45
|
+
ul?: {
|
|
46
|
+
/** Main class for the ul element */
|
|
47
|
+
main?: string;
|
|
48
|
+
/** Class for horizontal list layout */
|
|
49
|
+
horizontal?: string;
|
|
50
|
+
/** Class for vertical list layout */
|
|
51
|
+
vertical?: string;
|
|
52
|
+
};
|
|
53
|
+
/** Item configurations inside the ul */
|
|
54
|
+
item?: {
|
|
55
|
+
/** Main class for the list item (li) element */
|
|
56
|
+
main?: string;
|
|
57
|
+
/** Class for disabled state of list item */
|
|
58
|
+
disabled?: string;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
export declare const radioGroupClasses: RadioGroupClasses;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
export declare const uRadioGroup: WidgetClassStructure;
|
|
69
|
+
export interface MaskedTextBoxClasses {
|
|
70
|
+
/** Wrapper configurations for the masked input */
|
|
71
|
+
wrapper?: {
|
|
72
|
+
/** Main class for the wrapper */
|
|
73
|
+
main?: string;
|
|
74
|
+
/** Class for the input element */
|
|
75
|
+
input?: string;
|
|
76
|
+
/** Size configurations for the input */
|
|
77
|
+
size?: {
|
|
78
|
+
/** Small size class */
|
|
79
|
+
small?: string;
|
|
80
|
+
/** Medium size class */
|
|
81
|
+
medium?: string;
|
|
82
|
+
/** Large size class */
|
|
83
|
+
large?: string;
|
|
84
|
+
};
|
|
85
|
+
/** Fill mode configurations for the input */
|
|
86
|
+
fillMode?: {
|
|
87
|
+
/** Solid fill mode class */
|
|
88
|
+
solid?: string;
|
|
89
|
+
/** Outline fill mode class */
|
|
90
|
+
outline?: string;
|
|
91
|
+
/** Flat fill mode class */
|
|
92
|
+
flat?: string;
|
|
93
|
+
};
|
|
94
|
+
/** Rounded border configurations */
|
|
95
|
+
rounded?: {
|
|
96
|
+
/** Small rounded border class */
|
|
97
|
+
small?: string;
|
|
98
|
+
/** Medium rounded border class */
|
|
99
|
+
medium?: string;
|
|
100
|
+
/** Large rounded border class */
|
|
101
|
+
large?: string;
|
|
102
|
+
};
|
|
103
|
+
/** Disabled state class */
|
|
104
|
+
disabled?: string;
|
|
105
|
+
/** Invalid state class */
|
|
106
|
+
invalid?: string;
|
|
107
|
+
/** RTL (right-to-left) layout class */
|
|
108
|
+
isRtl?: string;
|
|
109
|
+
};
|
|
110
|
+
/** Class for the inner part of the input */
|
|
111
|
+
inputInner?: string;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @hidden
|
|
115
|
+
*/
|
|
116
|
+
export declare const uMaskedTextBox: WidgetClassStructure;
|
|
117
|
+
export interface TextBoxClasses {
|
|
118
|
+
/** Wrapper configurations for the text box */
|
|
119
|
+
wrapper?: {
|
|
120
|
+
/** Main class for the wrapper */
|
|
121
|
+
main?: string;
|
|
122
|
+
/** Class for the input element */
|
|
123
|
+
input?: string;
|
|
124
|
+
/** Size configurations for the input */
|
|
125
|
+
size?: {
|
|
126
|
+
/** Small size class */
|
|
127
|
+
small?: string;
|
|
128
|
+
/** Medium size class */
|
|
129
|
+
medium?: string;
|
|
130
|
+
/** Large size class */
|
|
131
|
+
large?: string;
|
|
132
|
+
};
|
|
133
|
+
/** Fill mode configurations for the input */
|
|
134
|
+
fillMode?: {
|
|
135
|
+
/** Solid fill mode class */
|
|
136
|
+
solid?: string;
|
|
137
|
+
/** Outline fill mode class */
|
|
138
|
+
outline?: string;
|
|
139
|
+
/** Flat fill mode class */
|
|
140
|
+
flat?: string;
|
|
141
|
+
};
|
|
142
|
+
/** Rounded border configurations */
|
|
143
|
+
rounded?: {
|
|
144
|
+
/** Small rounded border class */
|
|
145
|
+
small?: string;
|
|
146
|
+
/** Medium rounded border class */
|
|
147
|
+
medium?: string;
|
|
148
|
+
/** Large rounded border class */
|
|
149
|
+
large?: string;
|
|
150
|
+
};
|
|
151
|
+
/** Disabled state class */
|
|
152
|
+
disabled?: string;
|
|
153
|
+
/** Focused state class */
|
|
154
|
+
focused?: string;
|
|
155
|
+
/** Required state class */
|
|
156
|
+
required?: string;
|
|
157
|
+
/** Invalid state class */
|
|
158
|
+
invalid?: string;
|
|
159
|
+
/** RTL (right-to-left) layout class */
|
|
160
|
+
isRtl?: string;
|
|
161
|
+
};
|
|
162
|
+
/** Class for the inner part of the input */
|
|
163
|
+
inputInner?: string;
|
|
164
|
+
/** Prefix configurations for the input */
|
|
165
|
+
prefix?: {
|
|
166
|
+
/** Main class for the prefix */
|
|
167
|
+
main?: string;
|
|
168
|
+
/** Orientation configurations for the prefix */
|
|
169
|
+
orientation?: {
|
|
170
|
+
/** Horizontal orientation class */
|
|
171
|
+
horizontal?: string;
|
|
172
|
+
/** Vertical orientation class */
|
|
173
|
+
vertical?: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
/** Suffix configurations for the input */
|
|
177
|
+
suffix?: {
|
|
178
|
+
/** Main class for the suffix */
|
|
179
|
+
main?: string;
|
|
180
|
+
/** Orientation configurations for the suffix */
|
|
181
|
+
orientation?: {
|
|
182
|
+
/** Horizontal orientation class */
|
|
183
|
+
horizontal?: string;
|
|
184
|
+
/** Vertical orientation class */
|
|
185
|
+
vertical?: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @hidden
|
|
191
|
+
*/
|
|
192
|
+
export declare const uTextBox: WidgetClassStructure;
|
|
193
|
+
export interface InputClasses {
|
|
194
|
+
/** Input element configurations */
|
|
195
|
+
input?: {
|
|
196
|
+
/** Main class for the input, combining size, rounded, and fill mode */
|
|
197
|
+
main?: string;
|
|
198
|
+
/** Disabled state class */
|
|
199
|
+
disabled?: string;
|
|
200
|
+
/** Required state class */
|
|
201
|
+
required?: string;
|
|
202
|
+
/** Invalid state class */
|
|
203
|
+
invalid?: string;
|
|
204
|
+
/** RTL (right-to-left) layout class */
|
|
205
|
+
isRtl?: string;
|
|
206
|
+
};
|
|
207
|
+
/** Clear button class */
|
|
208
|
+
clearButton?: string;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @hidden
|
|
212
|
+
*/
|
|
213
|
+
export declare const uInput: WidgetClassStructure;
|
package/unstyled/inputs.mjs
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { getClassByName as g } from "./interfaces/common.mjs";
|
|
9
|
-
import { base as i, inputs as f,
|
|
9
|
+
import { base as i, inputs as f, elements as G, containers as z, states as u, sizeMap as c, roundedMap as x, fillModeMap as v, orientationMap as b } from "./json-classes.mjs";
|
|
10
10
|
const s = `${i.prefix}-${f.input}`, y = `${i.prefix}-${f.maskedtextbox}`, m = `${i.prefix}-${f.radio}`, N = `${i.prefix}-${f.textbox}`, h = `${i.prefix}-${f.input}-${f.prefix}`, p = `${i.prefix}-${f.input}-${f.suffix}`, C = {
|
|
11
11
|
input: {
|
|
12
12
|
radio: m,
|
|
@@ -81,14 +81,14 @@ const s = `${i.prefix}-${f.input}`, y = `${i.prefix}-${f.maskedtextbox}`, m = `$
|
|
|
81
81
|
large: `${s}-${c.large}`
|
|
82
82
|
},
|
|
83
83
|
fillMode: {
|
|
84
|
-
solid: `${s}-${
|
|
85
|
-
outline: `${s}-${
|
|
86
|
-
flat: `${s}-${
|
|
84
|
+
solid: `${s}-${v.solid}`,
|
|
85
|
+
outline: `${s}-${v.outline}`,
|
|
86
|
+
flat: `${s}-${v.flat}`
|
|
87
87
|
},
|
|
88
88
|
rounded: {
|
|
89
|
-
small: `${i.prefix}-${i.rounded}-${
|
|
90
|
-
medium: `${i.prefix}-${i.rounded}-${
|
|
91
|
-
large: `${i.prefix}-${i.rounded}-${
|
|
89
|
+
small: `${i.prefix}-${i.rounded}-${x.small}`,
|
|
90
|
+
medium: `${i.prefix}-${i.rounded}-${x.medium}`,
|
|
91
|
+
large: `${i.prefix}-${i.rounded}-${x.large}`
|
|
92
92
|
},
|
|
93
93
|
disabled: `${i.prefix}-${u.disabled}`,
|
|
94
94
|
invalid: `${i.prefix}-${u.invalid}`,
|
|
@@ -121,14 +121,14 @@ const s = `${i.prefix}-${f.input}`, y = `${i.prefix}-${f.maskedtextbox}`, m = `$
|
|
|
121
121
|
large: `${s}-${c.large}`
|
|
122
122
|
},
|
|
123
123
|
fillMode: {
|
|
124
|
-
solid: `${s}-${
|
|
125
|
-
outline: `${s}-${
|
|
126
|
-
flat: `${s}-${
|
|
124
|
+
solid: `${s}-${v.solid}`,
|
|
125
|
+
outline: `${s}-${v.outline}`,
|
|
126
|
+
flat: `${s}-${v.flat}`
|
|
127
127
|
},
|
|
128
128
|
rounded: {
|
|
129
|
-
small: `${i.prefix}-${i.rounded}-${
|
|
130
|
-
medium: `${i.prefix}-${i.rounded}-${
|
|
131
|
-
large: `${i.prefix}-${i.rounded}-${
|
|
129
|
+
small: `${i.prefix}-${i.rounded}-${x.small}`,
|
|
130
|
+
medium: `${i.prefix}-${i.rounded}-${x.medium}`,
|
|
131
|
+
large: `${i.prefix}-${i.rounded}-${x.large}`
|
|
132
132
|
},
|
|
133
133
|
disabled: `${i.prefix}-${u.disabled}`,
|
|
134
134
|
focused: `${i.prefix}-${u.focus}`,
|
|
@@ -186,7 +186,7 @@ const s = `${i.prefix}-${f.input}`, y = `${i.prefix}-${f.maskedtextbox}`, m = `$
|
|
|
186
186
|
}
|
|
187
187
|
}, k = {
|
|
188
188
|
input: {
|
|
189
|
-
main: `${s} ${s}-${c.medium} ${i.prefix}-${i.rounded}-${
|
|
189
|
+
main: `${s} ${s}-${c.medium} ${i.prefix}-${i.rounded}-${x.medium} ${s}-${v.solid}`,
|
|
190
190
|
disabled: `${i.prefix}-${u.disabled}`,
|
|
191
191
|
required: `${i.prefix}-${u.required}`,
|
|
192
192
|
invalid: `${i.prefix}-${u.invalid}`,
|
|
@@ -0,0 +1,138 @@
|
|
|
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 { AnimationClasses } from '../animations.js';
|
|
9
|
+
import { ButtonClasses, ButtonGroupClasses, DropDownButtonClasses } from '../buttons.js';
|
|
10
|
+
import { CalendarClasses, DateInputClasses, DateTimePickerClasses, TimeClasses, TimePickerClasses } from '../dateinputs.js';
|
|
11
|
+
import { ComboBoxClasses, DropDownBaseClasses, DropDownListClasses, DropDownsActionSheetClasses } from '../dropdowns.js';
|
|
12
|
+
import { FormClasses } from '../form.js';
|
|
13
|
+
import { SVGIconClasses } from '../icons.js';
|
|
14
|
+
import { InputClasses, MaskedTextBoxClasses, RadioButtonClasses, RadioGroupClasses, TextBoxClasses } from '../inputs.js';
|
|
15
|
+
import { ErrorClasses, FloatingLabelClasses, HintClasses, LabelClasses } from '../labels.js';
|
|
16
|
+
import { PopupClasses } from '../popup.js';
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export interface WidgetClassStructure {
|
|
21
|
+
[key: string]: (props: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
}) => {
|
|
24
|
+
[key: string]: boolean;
|
|
25
|
+
} | string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Animation classes
|
|
29
|
+
*/
|
|
30
|
+
export interface AnimationsClassStructure {
|
|
31
|
+
/** Animation styles and transition configuration */
|
|
32
|
+
uAnimation?: AnimationClasses;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Icons classes
|
|
36
|
+
*/
|
|
37
|
+
export interface IconsClassStructure {
|
|
38
|
+
/** SVG icon styling configuration */
|
|
39
|
+
uSvgIcon?: SVGIconClasses;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Buttons classes
|
|
43
|
+
*/
|
|
44
|
+
export interface ButtonsClassStructure {
|
|
45
|
+
/** Button component styling configuration */
|
|
46
|
+
uButton?: ButtonClasses;
|
|
47
|
+
/** Button group styling configuration */
|
|
48
|
+
uButtonGroup?: ButtonGroupClasses;
|
|
49
|
+
/** Drop-down button styling configuration */
|
|
50
|
+
uDropDownButton?: DropDownButtonClasses;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Popup classes
|
|
54
|
+
*/
|
|
55
|
+
export interface PopupClassStructure {
|
|
56
|
+
/** Popup component styling configuration */
|
|
57
|
+
uPopup?: PopupClasses;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Inputs classes
|
|
61
|
+
*/
|
|
62
|
+
export interface InputsClassStructure {
|
|
63
|
+
/** Masked text box styling configuration */
|
|
64
|
+
uMaskedTextBox?: MaskedTextBoxClasses;
|
|
65
|
+
/** Radio group styling configuration */
|
|
66
|
+
uRadioGroup?: RadioGroupClasses;
|
|
67
|
+
/** Radio button styling configuration */
|
|
68
|
+
uRadioButton?: RadioButtonClasses;
|
|
69
|
+
/** Text box styling configuration */
|
|
70
|
+
uTextBox?: TextBoxClasses;
|
|
71
|
+
/** Input component styling configuration */
|
|
72
|
+
uInput?: InputClasses;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* DropDowns classes
|
|
76
|
+
*/
|
|
77
|
+
export interface DropDownsClassStructure {
|
|
78
|
+
/** DropDown action sheet styling configuration */
|
|
79
|
+
uDropDownsActionSheet?: DropDownsActionSheetClasses;
|
|
80
|
+
/** Base DropDown styling configuration */
|
|
81
|
+
uDropDownsBase?: DropDownBaseClasses;
|
|
82
|
+
/** DropDown list styling configuration */
|
|
83
|
+
uDropDownList?: DropDownListClasses;
|
|
84
|
+
/** ComboBox styling configuration */
|
|
85
|
+
uComboBox?: ComboBoxClasses;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Labels classes
|
|
89
|
+
*/
|
|
90
|
+
export interface LabelsClassStructure {
|
|
91
|
+
/** Error message styling configuration */
|
|
92
|
+
uError?: ErrorClasses;
|
|
93
|
+
/** Hint text styling configuration */
|
|
94
|
+
uHint?: HintClasses;
|
|
95
|
+
/** Label styling configuration */
|
|
96
|
+
uLabel?: LabelClasses;
|
|
97
|
+
/** Floating label styling configuration */
|
|
98
|
+
uFloatingLabel?: FloatingLabelClasses;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Form classes
|
|
102
|
+
*/
|
|
103
|
+
export interface FormClassStructure {
|
|
104
|
+
/** Form component styling configuration */
|
|
105
|
+
uForm?: FormClasses;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* DateInputs classes
|
|
109
|
+
*/
|
|
110
|
+
export interface DateInputsClassStructure {
|
|
111
|
+
/** Calendar styling configuration */
|
|
112
|
+
uCalendar?: CalendarClasses;
|
|
113
|
+
/** Date input styling configuration */
|
|
114
|
+
uDateInput?: DateInputClasses;
|
|
115
|
+
/** Date time picker styling configuration */
|
|
116
|
+
uDateTimePicker?: DateTimePickerClasses;
|
|
117
|
+
/** Time component styling configuration */
|
|
118
|
+
uTime?: TimeClasses;
|
|
119
|
+
/** Time picker styling configuration */
|
|
120
|
+
uTimePicker?: TimePickerClasses;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @hidden
|
|
124
|
+
*/
|
|
125
|
+
export declare const getClassByName: (classedObject: {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
}, name: string) => (props: {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
}) => {
|
|
130
|
+
[x: number]: boolean;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* @hidden
|
|
134
|
+
*/
|
|
135
|
+
export interface GridClassStructure {
|
|
136
|
+
/** Grid component styling configuration */
|
|
137
|
+
uGrid?: WidgetClassStructure;
|
|
138
|
+
}
|