@progress/kendo-react-common 13.3.0 → 13.4.0-develop.2
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,378 @@
|
|
|
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
|
+
type PresetOption = Record<Exclude<any, null>, string>;
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface KendoTheme {
|
|
13
|
+
base: PresetOption;
|
|
14
|
+
animation: PresetOption;
|
|
15
|
+
containers: PresetOption;
|
|
16
|
+
components: PresetOption;
|
|
17
|
+
cssUtils: PresetOption;
|
|
18
|
+
elements: PresetOption;
|
|
19
|
+
sizeMap: PresetOption;
|
|
20
|
+
directionMap: PresetOption;
|
|
21
|
+
fillModeMap: PresetOption;
|
|
22
|
+
themeColorMap: PresetOption;
|
|
23
|
+
roundedMap: PresetOption;
|
|
24
|
+
cursor: PresetOption;
|
|
25
|
+
dimensions: PresetOption;
|
|
26
|
+
states: PresetOption;
|
|
27
|
+
actions: PresetOption;
|
|
28
|
+
inputs: PresetOption;
|
|
29
|
+
dateInputs: PresetOption;
|
|
30
|
+
forms: PresetOption;
|
|
31
|
+
labels: PresetOption;
|
|
32
|
+
popup: PresetOption;
|
|
33
|
+
icon: PresetOption;
|
|
34
|
+
grid: PresetOption;
|
|
35
|
+
orientationMap: PresetOption;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
export declare const base: {
|
|
41
|
+
prefix: string;
|
|
42
|
+
important: string;
|
|
43
|
+
rtl: string;
|
|
44
|
+
rounded: string;
|
|
45
|
+
value: string;
|
|
46
|
+
state: string;
|
|
47
|
+
filter: string;
|
|
48
|
+
virtual: string;
|
|
49
|
+
infinite: string;
|
|
50
|
+
clear: string;
|
|
51
|
+
reset: string;
|
|
52
|
+
data: string;
|
|
53
|
+
nodata: string;
|
|
54
|
+
scroller: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @hidden
|
|
58
|
+
*/
|
|
59
|
+
export declare const cssUtils: {
|
|
60
|
+
center: string;
|
|
61
|
+
hbox: string;
|
|
62
|
+
vstack: string;
|
|
63
|
+
hstack: string;
|
|
64
|
+
overflow: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export declare const components: {
|
|
70
|
+
actionsheet: string;
|
|
71
|
+
calendar: string;
|
|
72
|
+
buttongroup: string;
|
|
73
|
+
dateinput: string;
|
|
74
|
+
datetime: string;
|
|
75
|
+
datetimepicker: string;
|
|
76
|
+
dropdownlist: string;
|
|
77
|
+
combobox: string;
|
|
78
|
+
maskedtextbox: string;
|
|
79
|
+
menu: string;
|
|
80
|
+
searchbox: string;
|
|
81
|
+
timepicker: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @hidden
|
|
85
|
+
*/
|
|
86
|
+
export declare const sizeMap: PresetOption;
|
|
87
|
+
/**
|
|
88
|
+
* @hidden
|
|
89
|
+
*/
|
|
90
|
+
export declare const fillModeMap: PresetOption;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
*/
|
|
94
|
+
export declare const themeColorMap: PresetOption;
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
export declare const roundedMap: PresetOption;
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
export declare const orientationMap: PresetOption;
|
|
103
|
+
/**
|
|
104
|
+
* @hidden
|
|
105
|
+
*/
|
|
106
|
+
export declare const dimensions: {
|
|
107
|
+
height: string;
|
|
108
|
+
width: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @hidden
|
|
112
|
+
*/
|
|
113
|
+
export declare const cursor: {
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @hidden
|
|
118
|
+
*/
|
|
119
|
+
export declare const directionMap: {
|
|
120
|
+
up: string;
|
|
121
|
+
down: string;
|
|
122
|
+
left: string;
|
|
123
|
+
right: string;
|
|
124
|
+
start: string;
|
|
125
|
+
mid: string;
|
|
126
|
+
end: string;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @hidden
|
|
130
|
+
*/
|
|
131
|
+
export declare const containers: {
|
|
132
|
+
actions: string;
|
|
133
|
+
container: string;
|
|
134
|
+
content: string;
|
|
135
|
+
group: string;
|
|
136
|
+
row: string;
|
|
137
|
+
nav: string;
|
|
138
|
+
wrap: string;
|
|
139
|
+
wrapper: string;
|
|
140
|
+
list: string;
|
|
141
|
+
placeholder: string;
|
|
142
|
+
popup: string;
|
|
143
|
+
item: string;
|
|
144
|
+
part: string;
|
|
145
|
+
picker: string;
|
|
146
|
+
separator: string;
|
|
147
|
+
spacer: string;
|
|
148
|
+
tab: string;
|
|
149
|
+
titlebar: string;
|
|
150
|
+
optionLabel: string;
|
|
151
|
+
view: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @hidden
|
|
155
|
+
*/
|
|
156
|
+
export declare const elements: {
|
|
157
|
+
table: string;
|
|
158
|
+
text: string;
|
|
159
|
+
button: string;
|
|
160
|
+
tbody: string;
|
|
161
|
+
thead: string;
|
|
162
|
+
tr: string;
|
|
163
|
+
th: string;
|
|
164
|
+
td: string;
|
|
165
|
+
header: string;
|
|
166
|
+
footer: string;
|
|
167
|
+
icon: string;
|
|
168
|
+
title: string;
|
|
169
|
+
subtitle: string;
|
|
170
|
+
link: string;
|
|
171
|
+
label: string;
|
|
172
|
+
ul: string;
|
|
173
|
+
caption: string;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* @hidden
|
|
177
|
+
*/
|
|
178
|
+
export declare const actions: {
|
|
179
|
+
increase: string;
|
|
180
|
+
decrease: string;
|
|
181
|
+
cancel: string;
|
|
182
|
+
accept: string;
|
|
183
|
+
split: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* @hidden
|
|
187
|
+
*/
|
|
188
|
+
export declare const states: {
|
|
189
|
+
active: string;
|
|
190
|
+
adaptive: string;
|
|
191
|
+
first: string;
|
|
192
|
+
focus: string;
|
|
193
|
+
pending: string;
|
|
194
|
+
last: string;
|
|
195
|
+
draggable: string;
|
|
196
|
+
filterable: string;
|
|
197
|
+
grouping: string;
|
|
198
|
+
selected: string;
|
|
199
|
+
highlighted: string;
|
|
200
|
+
disabled: string;
|
|
201
|
+
hidden: string;
|
|
202
|
+
highlight: string;
|
|
203
|
+
invalid: string;
|
|
204
|
+
loading: string;
|
|
205
|
+
required: string;
|
|
206
|
+
checked: string;
|
|
207
|
+
empty: string;
|
|
208
|
+
scrollable: string;
|
|
209
|
+
sorted: string;
|
|
210
|
+
sort: string;
|
|
211
|
+
sticky: string;
|
|
212
|
+
stretched: string;
|
|
213
|
+
order: string;
|
|
214
|
+
alt: string;
|
|
215
|
+
edit: string;
|
|
216
|
+
template: string;
|
|
217
|
+
shown: string;
|
|
218
|
+
horizontal: string;
|
|
219
|
+
vertical: string;
|
|
220
|
+
fullscreen: string;
|
|
221
|
+
bottom: string;
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* @hidden
|
|
225
|
+
*/
|
|
226
|
+
export declare const animationStyles: {
|
|
227
|
+
[key: string]: string;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* @hidden
|
|
231
|
+
*/
|
|
232
|
+
export declare const inputs: {
|
|
233
|
+
input: string;
|
|
234
|
+
inner: string;
|
|
235
|
+
spin: string;
|
|
236
|
+
spinner: string;
|
|
237
|
+
maskedtextbox: string;
|
|
238
|
+
radio: string;
|
|
239
|
+
textbox: string;
|
|
240
|
+
prefix: string;
|
|
241
|
+
suffix: string;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* @hidden
|
|
245
|
+
*/
|
|
246
|
+
export declare const dateInputs: {
|
|
247
|
+
week: string;
|
|
248
|
+
weekdays: string;
|
|
249
|
+
weekend: string;
|
|
250
|
+
month: string;
|
|
251
|
+
year: string;
|
|
252
|
+
decade: string;
|
|
253
|
+
century: string;
|
|
254
|
+
number: string;
|
|
255
|
+
navigation: string;
|
|
256
|
+
marker: string;
|
|
257
|
+
now: string;
|
|
258
|
+
range: string;
|
|
259
|
+
today: string;
|
|
260
|
+
other: string;
|
|
261
|
+
date: string;
|
|
262
|
+
time: string;
|
|
263
|
+
selector: string;
|
|
264
|
+
timeselector: string;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* @hidden
|
|
268
|
+
*/
|
|
269
|
+
export declare const icon: {
|
|
270
|
+
prefix: string;
|
|
271
|
+
svg: string;
|
|
272
|
+
i: string;
|
|
273
|
+
color: string;
|
|
274
|
+
flipH: string;
|
|
275
|
+
flipV: string;
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* @hidden
|
|
279
|
+
*/
|
|
280
|
+
export declare const labels: {
|
|
281
|
+
label: string;
|
|
282
|
+
text: string;
|
|
283
|
+
floatingLabel: string;
|
|
284
|
+
container: string;
|
|
285
|
+
hint: string;
|
|
286
|
+
error: string;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* @hidden
|
|
290
|
+
*/
|
|
291
|
+
export declare const forms: {
|
|
292
|
+
form: string;
|
|
293
|
+
fieldset: string;
|
|
294
|
+
legend: string;
|
|
295
|
+
separator: string;
|
|
296
|
+
field: string;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* @hidden
|
|
300
|
+
*/
|
|
301
|
+
export declare const popup: {
|
|
302
|
+
prefix: string;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* @hidden
|
|
306
|
+
*/
|
|
307
|
+
export declare const grid: {
|
|
308
|
+
prefix: string;
|
|
309
|
+
ariaRoot: string;
|
|
310
|
+
tableWrap: string;
|
|
311
|
+
master: string;
|
|
312
|
+
column: string;
|
|
313
|
+
cell: string;
|
|
314
|
+
cellInner: string;
|
|
315
|
+
row: string;
|
|
316
|
+
group: string;
|
|
317
|
+
hierarchy: string;
|
|
318
|
+
detail: string;
|
|
319
|
+
noRecords: string;
|
|
320
|
+
pager: string;
|
|
321
|
+
};
|
|
322
|
+
/**
|
|
323
|
+
* @hidden
|
|
324
|
+
*/
|
|
325
|
+
export declare const gridRowReorder: {
|
|
326
|
+
drop: string;
|
|
327
|
+
drag: string;
|
|
328
|
+
hint: string;
|
|
329
|
+
vertical: string;
|
|
330
|
+
horizontal: string;
|
|
331
|
+
clue: string;
|
|
332
|
+
reorder: string;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* @hidden
|
|
336
|
+
*/
|
|
337
|
+
export declare const inputPrefix: string;
|
|
338
|
+
/**
|
|
339
|
+
* @hidden
|
|
340
|
+
*/
|
|
341
|
+
export declare const calendarPrefix: string;
|
|
342
|
+
/**
|
|
343
|
+
* @hidden
|
|
344
|
+
*/
|
|
345
|
+
export declare const maskedPrefix: string;
|
|
346
|
+
/**
|
|
347
|
+
* @hidden
|
|
348
|
+
*/
|
|
349
|
+
export declare const radioPrefix: string;
|
|
350
|
+
/**
|
|
351
|
+
* @hidden
|
|
352
|
+
*/
|
|
353
|
+
export declare const buttonPrefix: string;
|
|
354
|
+
/**
|
|
355
|
+
* @hidden
|
|
356
|
+
*/
|
|
357
|
+
export declare const ddbPrefix: string;
|
|
358
|
+
/**
|
|
359
|
+
* @hidden
|
|
360
|
+
*/
|
|
361
|
+
export declare const pickerPrefix: string;
|
|
362
|
+
/**
|
|
363
|
+
* @hidden
|
|
364
|
+
*/
|
|
365
|
+
export declare const dropDownListPrefix: string;
|
|
366
|
+
/**
|
|
367
|
+
* @hidden
|
|
368
|
+
*/
|
|
369
|
+
export declare const comboBoxPrefix: string;
|
|
370
|
+
/**
|
|
371
|
+
* @hidden
|
|
372
|
+
*/
|
|
373
|
+
export declare const gridPrefix: string;
|
|
374
|
+
/**
|
|
375
|
+
* @hidden
|
|
376
|
+
*/
|
|
377
|
+
export declare const jsonTheme: KendoTheme;
|
|
378
|
+
export {};
|
|
@@ -0,0 +1,99 @@
|
|
|
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 LabelClasses {
|
|
10
|
+
/** Label */
|
|
11
|
+
label?: {
|
|
12
|
+
/** Main class for the label */
|
|
13
|
+
main?: string;
|
|
14
|
+
/** Class applied when the label is in an empty state */
|
|
15
|
+
empty?: string;
|
|
16
|
+
/** Class applied when the label is in an invalid state */
|
|
17
|
+
invalid?: string;
|
|
18
|
+
/** Class applied when the label is disabled */
|
|
19
|
+
disabled?: string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const uLabel: WidgetClassStructure;
|
|
26
|
+
export interface FloatingLabelClasses {
|
|
27
|
+
/** Wrapper element configurations */
|
|
28
|
+
wrapper?: {
|
|
29
|
+
/** Main class for the wrapper */
|
|
30
|
+
main?: string;
|
|
31
|
+
/** Class applied when the element is focused */
|
|
32
|
+
focused?: string;
|
|
33
|
+
/** Class applied when the element is empty */
|
|
34
|
+
empty?: string;
|
|
35
|
+
/** Class for non-empty state (empty in this case) */
|
|
36
|
+
notEmpty?: string;
|
|
37
|
+
/** Class for disabled state */
|
|
38
|
+
disabled?: string;
|
|
39
|
+
/** Class applied when in RTL mode */
|
|
40
|
+
isRtl?: string;
|
|
41
|
+
};
|
|
42
|
+
/** Label element configurations */
|
|
43
|
+
label?: {
|
|
44
|
+
/** Main class for the label */
|
|
45
|
+
main?: string;
|
|
46
|
+
/** Class applied when the label is focused */
|
|
47
|
+
focused?: string;
|
|
48
|
+
/** Class applied when the label is empty */
|
|
49
|
+
empty?: string;
|
|
50
|
+
/** Class for non-empty label state */
|
|
51
|
+
notEmpty?: string;
|
|
52
|
+
/** Class applied when the label is in an invalid state */
|
|
53
|
+
invalid?: string;
|
|
54
|
+
/** Class applied when the label is disabled */
|
|
55
|
+
disabled?: string;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
export declare const uFloatingLabel: WidgetClassStructure;
|
|
62
|
+
export interface ErrorClasses {
|
|
63
|
+
/** Wrapper element configurations */
|
|
64
|
+
wrapper?: {
|
|
65
|
+
/** Main class for the wrapper */
|
|
66
|
+
main?: string;
|
|
67
|
+
/** Direction-related configurations */
|
|
68
|
+
direction?: {
|
|
69
|
+
/** Class for start-aligned text */
|
|
70
|
+
start?: string;
|
|
71
|
+
/** Class for end-aligned text */
|
|
72
|
+
end?: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @hidden
|
|
78
|
+
*/
|
|
79
|
+
export declare const uError: WidgetClassStructure;
|
|
80
|
+
export interface HintClasses {
|
|
81
|
+
/** Wrapper element configurations */
|
|
82
|
+
wrapper?: {
|
|
83
|
+
/** Main class for the wrapper */
|
|
84
|
+
main?: string;
|
|
85
|
+
/** Direction-related configurations */
|
|
86
|
+
direction?: {
|
|
87
|
+
/** Class for start-aligned text */
|
|
88
|
+
start?: string;
|
|
89
|
+
/** Class for end-aligned text */
|
|
90
|
+
end?: string;
|
|
91
|
+
/** Class for disabled state */
|
|
92
|
+
disabled?: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @hidden
|
|
98
|
+
*/
|
|
99
|
+
export declare const uHint: WidgetClassStructure;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { default as React } from 'react';
|
|
9
|
+
import { AnimationsClassStructure, ButtonsClassStructure, IconsClassStructure, DateInputsClassStructure, DropDownsClassStructure, GridClassStructure, InputsClassStructure, LabelsClassStructure, FormClassStructure, PopupClassStructure, WidgetClassStructure } from './interfaces/common.js';
|
|
10
|
+
export * from './animations.js';
|
|
11
|
+
export * from './icons.js';
|
|
12
|
+
export * from './buttons.js';
|
|
13
|
+
export * from './dropdowns.js';
|
|
14
|
+
export * from './dateinputs.js';
|
|
15
|
+
export * from './inputs.js';
|
|
16
|
+
export * from './labels.js';
|
|
17
|
+
export * from './form.js';
|
|
18
|
+
export * from './popup.js';
|
|
19
|
+
export * from './grid.js';
|
|
20
|
+
export * from './json-classes.js';
|
|
21
|
+
/**
|
|
22
|
+
* All classes - Comprehensive structure containing all component styling configurations
|
|
23
|
+
*/
|
|
24
|
+
export interface AllClassStructure extends AnimationsClassStructure, ButtonsClassStructure, DropDownsClassStructure, GridClassStructure, IconsClassStructure, LabelsClassStructure, FormClassStructure, PopupClassStructure, ButtonsClassStructure, PopupClassStructure, GridClassStructure, InputsClassStructure, DropDownsClassStructure, DateInputsClassStructure {
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* UnstyledContext
|
|
28
|
+
*/
|
|
29
|
+
export declare const UnstyledContext: React.Context<AllClassStructure | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* useUnstyled
|
|
32
|
+
*/
|
|
33
|
+
export declare const useUnstyled: () => AllClassStructure | undefined;
|
|
34
|
+
export { type AnimationsClassStructure, type ButtonsClassStructure, type GridClassStructure, type IconsClassStructure, type DateInputsClassStructure, type DropDownsClassStructure, type InputsClassStructure, type LabelsClassStructure, type FormClassStructure, type PopupClassStructure, type WidgetClassStructure };
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
/**
|
|
10
|
+
* Defines the animation classes for slide transitions in the Popup component.
|
|
11
|
+
* Extends PopupAnimationClasses for consistency.
|
|
12
|
+
*/
|
|
13
|
+
export interface SlideAnimationClasses extends PopupAnimationClasses {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Defines the base classes for slide, push, and expand animations in the Popup component.
|
|
17
|
+
* Contains directional animation settings.
|
|
18
|
+
*/
|
|
19
|
+
export interface SlideClasses extends BaseClasses {
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the animation class names for enter and exit transitions.
|
|
23
|
+
* Used for all animation types (slide, fade, zoom, push, expand).
|
|
24
|
+
*/
|
|
25
|
+
export interface PopupAnimationClasses {
|
|
26
|
+
/** Enter animation prefix for enter */
|
|
27
|
+
enter?: string;
|
|
28
|
+
/** Exit animation prefix for exit */
|
|
29
|
+
exit?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains directional animation settings for slide, push, and expand animations.
|
|
33
|
+
* Each direction (up, down, left, right) maps to PopupAnimationClasses.
|
|
34
|
+
*/
|
|
35
|
+
export interface BaseClasses {
|
|
36
|
+
/** Animation settings for sliding up */
|
|
37
|
+
up?: PopupAnimationClasses;
|
|
38
|
+
/** Animation settings for sliding down */
|
|
39
|
+
down?: PopupAnimationClasses;
|
|
40
|
+
/** Animation settings for sliding left */
|
|
41
|
+
left?: PopupAnimationClasses;
|
|
42
|
+
/** Animation settings for sliding right */
|
|
43
|
+
right?: PopupAnimationClasses;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Animation settings for zoom transitions in the Popup component.
|
|
47
|
+
* Includes zoom in and zoom out configurations.
|
|
48
|
+
*/
|
|
49
|
+
export interface ZoomClasses {
|
|
50
|
+
/** Animation settings for zooming in */
|
|
51
|
+
in?: PopupAnimationClasses;
|
|
52
|
+
/** Animation settings for zooming out */
|
|
53
|
+
out?: PopupAnimationClasses;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Animation settings for expand transitions in the Popup component.
|
|
57
|
+
* Includes horizontal and vertical expand configurations.
|
|
58
|
+
*/
|
|
59
|
+
export interface ExpandClasses {
|
|
60
|
+
/** Animation settings for expanding horizontal */
|
|
61
|
+
horizontal?: PopupAnimationClasses;
|
|
62
|
+
/** Animation settings for expanding vertical */
|
|
63
|
+
vertical?: PopupAnimationClasses;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Defines all animation-related class names and configurations for the Popup component.
|
|
67
|
+
* Includes slide, zoom, fade, push, and expand animation settings, both active and inactive.
|
|
68
|
+
* Also provides container and child animation class names.
|
|
69
|
+
*/
|
|
70
|
+
export interface PopupClasses {
|
|
71
|
+
/** Prefix for the animation container */
|
|
72
|
+
animationContainer?: string;
|
|
73
|
+
/** Prefix for the shown animation container */
|
|
74
|
+
animationContainerShown?: string;
|
|
75
|
+
/** Prefix for child animations within the animation */
|
|
76
|
+
animationChild?: string;
|
|
77
|
+
/** Prefix for the popup animation */
|
|
78
|
+
popup?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Slide animation configurations for different directions.
|
|
81
|
+
*/
|
|
82
|
+
slide?: BaseClasses;
|
|
83
|
+
/**
|
|
84
|
+
* Active slide animation configurations for different directions.
|
|
85
|
+
*/
|
|
86
|
+
slideActive?: BaseClasses;
|
|
87
|
+
/**
|
|
88
|
+
* Zoom animation configurations.
|
|
89
|
+
*/
|
|
90
|
+
zoom?: ZoomClasses;
|
|
91
|
+
/**
|
|
92
|
+
* Active zoom animation configurations.
|
|
93
|
+
*/
|
|
94
|
+
zoomActive?: ZoomClasses;
|
|
95
|
+
/**
|
|
96
|
+
* Fade animation configurations.
|
|
97
|
+
*/
|
|
98
|
+
fade?: PopupAnimationClasses;
|
|
99
|
+
/**
|
|
100
|
+
* Active fade animation configurations.
|
|
101
|
+
*/
|
|
102
|
+
fadeActive?: PopupAnimationClasses;
|
|
103
|
+
/**
|
|
104
|
+
* Push animation configurations for different directions.
|
|
105
|
+
*/
|
|
106
|
+
push?: BaseClasses;
|
|
107
|
+
/**
|
|
108
|
+
* Active push animation configurations for different directions.
|
|
109
|
+
*/
|
|
110
|
+
pushActive?: BaseClasses;
|
|
111
|
+
/**
|
|
112
|
+
* Expand animation configurations for horizontal and vertical directions.
|
|
113
|
+
*/
|
|
114
|
+
expand?: ExpandClasses;
|
|
115
|
+
/**
|
|
116
|
+
* Active expand animation configurations for horizontal and vertical directions.
|
|
117
|
+
*/
|
|
118
|
+
expandActive?: ExpandClasses;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @hidden
|
|
122
|
+
*/
|
|
123
|
+
export declare const uPopup: WidgetClassStructure;
|
package/unstyled/popup.mjs
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { base as i, animationStyles as e,
|
|
8
|
+
import { base as i, animationStyles as e, directionMap as f, popup as u, containers as s, states as l } from "./json-classes.mjs";
|
|
9
9
|
const d = {
|
|
10
10
|
animationContainer: `${i.prefix}-${e.prefix}-${s.container}`,
|
|
11
|
-
animationContainerShown: `${i.prefix}-${e.prefix}-${s.container}-${
|
|
11
|
+
animationContainerShown: `${i.prefix}-${e.prefix}-${s.container}-${l.shown}`,
|
|
12
12
|
animationChild: `${i.prefix}-${e.child}-${e.prefix}-${s.container}`,
|
|
13
|
-
popup: `${i.prefix}-${
|
|
13
|
+
popup: `${i.prefix}-${u.prefix}`,
|
|
14
14
|
slide: {
|
|
15
15
|
up: {
|
|
16
16
|
enter: `${i.prefix}-${e.slide}-${f.up}-${e.enter}`,
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export interface LicenseMessage {
|
|
13
|
+
code?: string;
|
|
14
|
+
licenseType?: string;
|
|
15
|
+
version?: string;
|
|
16
|
+
productName?: string;
|
|
17
|
+
expiration?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const validatePackage: (e: any, additionalInfo: {
|
|
23
|
+
component: string;
|
|
24
|
+
features?: string[];
|
|
25
|
+
}) => boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*
|
|
29
|
+
* Returns `true` if the license is valid, `false` otherwise.
|
|
30
|
+
* Does not output any warnings to the console.
|
|
31
|
+
*/
|
|
32
|
+
export declare const hasValidLicense: (e: any) => boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*
|
|
36
|
+
* Returns the notification message to display, if any.
|
|
37
|
+
*/
|
|
38
|
+
export declare const getLicenseMessage: (e: PackageMetadata) => LicenseMessage | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { LicenseMessage } from '../validate-package.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface WatermarkOverlayProps {
|
|
15
|
+
message?: LicenseMessage;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const WatermarkOverlay: (props: WatermarkOverlayProps) => React.JSX.Element;
|