@progress/kendo-react-dialogs 12.0.2-develop.3 → 12.0.2-develop.5
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/index.d.mts +38 -10
- package/index.d.ts +38 -10
- package/package.json +4 -4
package/index.d.mts
CHANGED
|
@@ -75,7 +75,9 @@ export declare interface DialogHandle {
|
|
|
75
75
|
*/
|
|
76
76
|
export declare interface DialogProps {
|
|
77
77
|
/**
|
|
78
|
-
* Set the focus the Dialog container automatically when mounted.
|
|
78
|
+
* Set the focus the Dialog container automatically when mounted.
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
79
81
|
*
|
|
80
82
|
* @example
|
|
81
83
|
* ```jsx
|
|
@@ -93,7 +95,7 @@ export declare interface DialogProps {
|
|
|
93
95
|
*/
|
|
94
96
|
autoFocusedElement?: string;
|
|
95
97
|
/**
|
|
96
|
-
* Sets the title of the Dialog ([see example]({% slug title_dialog %})). If
|
|
98
|
+
* Sets the title of the Dialog ([see example]({% slug title_dialog %})). If you do not specify the `title`, the Dialog does not render a **Close** button.
|
|
97
99
|
*
|
|
98
100
|
* @example
|
|
99
101
|
* ```jsx
|
|
@@ -113,6 +115,8 @@ export declare interface DialogProps {
|
|
|
113
115
|
/**
|
|
114
116
|
* Specifies whether a close button should be rendered at the top corner of the dialog.
|
|
115
117
|
*
|
|
118
|
+
* @default true
|
|
119
|
+
*
|
|
116
120
|
* @example
|
|
117
121
|
* ```jsx
|
|
118
122
|
* <Dialog closeIcon={true} />
|
|
@@ -120,7 +124,9 @@ export declare interface DialogProps {
|
|
|
120
124
|
*/
|
|
121
125
|
closeIcon?: boolean;
|
|
122
126
|
/**
|
|
123
|
-
* Specifies if the Dialog will be modal by rendering an overlay under the component.
|
|
127
|
+
* Specifies if the Dialog will be modal by rendering an overlay under the component.
|
|
128
|
+
*
|
|
129
|
+
* @default true
|
|
124
130
|
*
|
|
125
131
|
* @example
|
|
126
132
|
* ```jsx
|
|
@@ -214,9 +220,11 @@ export declare interface DialogProps {
|
|
|
214
220
|
*/
|
|
215
221
|
contentStyle?: React.CSSProperties;
|
|
216
222
|
/**
|
|
217
|
-
* Defines the container to which the Dialog will be appended.
|
|
223
|
+
* Defines the container to which the Dialog will be appended.
|
|
218
224
|
* * If set to `null` the Dialog will be rendered without React Portal.
|
|
219
225
|
*
|
|
226
|
+
* @default document.body
|
|
227
|
+
*
|
|
220
228
|
* @example
|
|
221
229
|
* ```jsx
|
|
222
230
|
* <Dialog appendTo={document.getElementById('container')} />
|
|
@@ -282,6 +290,9 @@ declare interface WindowActionsBarProps {
|
|
|
282
290
|
}
|
|
283
291
|
|
|
284
292
|
export declare interface WindowActionsEvent extends BaseEvent<Window_2> {
|
|
293
|
+
/**
|
|
294
|
+
* The current stage state of the Window.
|
|
295
|
+
*/
|
|
285
296
|
state?: 'DEFAULT' | 'FULLSCREEN' | 'MINIMIZED';
|
|
286
297
|
}
|
|
287
298
|
|
|
@@ -339,8 +350,9 @@ export declare interface WindowMoveEvent {
|
|
|
339
350
|
*/
|
|
340
351
|
export declare interface WindowProps {
|
|
341
352
|
/**
|
|
342
|
-
* Defines the container to which the Window will be appended.
|
|
343
|
-
*
|
|
353
|
+
* Defines the container to which the Window will be appended. If set to `null`, the Window will be rendered without React Portal.
|
|
354
|
+
*
|
|
355
|
+
* @default parent element
|
|
344
356
|
*
|
|
345
357
|
* @example
|
|
346
358
|
* ```jsx
|
|
@@ -349,7 +361,9 @@ export declare interface WindowProps {
|
|
|
349
361
|
*/
|
|
350
362
|
appendTo?: HTMLElement | null;
|
|
351
363
|
/**
|
|
352
|
-
* Focus the Window container automatically when mounted.
|
|
364
|
+
* Focus the Window container automatically when mounted.
|
|
365
|
+
*
|
|
366
|
+
* @default true
|
|
353
367
|
*
|
|
354
368
|
* @example
|
|
355
369
|
* ```jsx
|
|
@@ -371,7 +385,9 @@ export declare interface WindowProps {
|
|
|
371
385
|
*/
|
|
372
386
|
closeButton?: React.ComponentType<any>;
|
|
373
387
|
/**
|
|
374
|
-
* Specifies if the Window stage will change on title double click.
|
|
388
|
+
* Specifies if the Window stage will change on title double click.
|
|
389
|
+
*
|
|
390
|
+
* @default true
|
|
375
391
|
*
|
|
376
392
|
* @example
|
|
377
393
|
* ```jsx
|
|
@@ -382,6 +398,8 @@ export declare interface WindowProps {
|
|
|
382
398
|
/**
|
|
383
399
|
* Specifies if the Window will be draggable ([see example]({% slug positioningdragging_window %}#toc-dragging)).
|
|
384
400
|
*
|
|
401
|
+
* @default true
|
|
402
|
+
*
|
|
385
403
|
* @example
|
|
386
404
|
* ```jsx
|
|
387
405
|
* <Window draggable={true} />
|
|
@@ -389,8 +407,7 @@ export declare interface WindowProps {
|
|
|
389
407
|
*/
|
|
390
408
|
draggable?: boolean;
|
|
391
409
|
/**
|
|
392
|
-
* Specifies the height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)).
|
|
393
|
-
* When set to null the window is automatically sized to fit its content.
|
|
410
|
+
* Specifies the height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)). When set to `null`, the window is automatically sized to fit its content.
|
|
394
411
|
*
|
|
395
412
|
* @example
|
|
396
413
|
* ```jsx
|
|
@@ -455,6 +472,8 @@ export declare interface WindowProps {
|
|
|
455
472
|
/**
|
|
456
473
|
* Specifies the minimum height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
457
474
|
*
|
|
475
|
+
* @default 100
|
|
476
|
+
*
|
|
458
477
|
* @example
|
|
459
478
|
* ```jsx
|
|
460
479
|
* <Window minHeight={100} />
|
|
@@ -464,6 +483,8 @@ export declare interface WindowProps {
|
|
|
464
483
|
/**
|
|
465
484
|
* Specifies the minimum width of the Window ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
466
485
|
*
|
|
486
|
+
* @default 120
|
|
487
|
+
*
|
|
467
488
|
* @example
|
|
468
489
|
* ```jsx
|
|
469
490
|
* <Window minWidth={100} />
|
|
@@ -482,6 +503,8 @@ export declare interface WindowProps {
|
|
|
482
503
|
/**
|
|
483
504
|
* Specifies if the Window will be modal by rendering an overlay under the component.
|
|
484
505
|
*
|
|
506
|
+
* @default false
|
|
507
|
+
*
|
|
485
508
|
* @example
|
|
486
509
|
* ```jsx
|
|
487
510
|
* <Window modal={true} />
|
|
@@ -491,6 +514,8 @@ export declare interface WindowProps {
|
|
|
491
514
|
/**
|
|
492
515
|
* Specifies if the Window will be resizable ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
493
516
|
*
|
|
517
|
+
* @default true
|
|
518
|
+
*
|
|
494
519
|
* @example
|
|
495
520
|
* ```jsx
|
|
496
521
|
* <Window resizable={true} />
|
|
@@ -727,6 +752,9 @@ export declare class WindowWithoutContext extends React_2.Component<WindowProps,
|
|
|
727
752
|
* @hidden
|
|
728
753
|
*/
|
|
729
754
|
windowTitle?: any;
|
|
755
|
+
/**
|
|
756
|
+
* The draggable handle for the Window component.
|
|
757
|
+
*/
|
|
730
758
|
draggable: Draggable | null;
|
|
731
759
|
private windowCoordinatesState?;
|
|
732
760
|
private offSetCoordinates?;
|
package/index.d.ts
CHANGED
|
@@ -75,7 +75,9 @@ export declare interface DialogHandle {
|
|
|
75
75
|
*/
|
|
76
76
|
export declare interface DialogProps {
|
|
77
77
|
/**
|
|
78
|
-
* Set the focus the Dialog container automatically when mounted.
|
|
78
|
+
* Set the focus the Dialog container automatically when mounted.
|
|
79
|
+
*
|
|
80
|
+
* @default false
|
|
79
81
|
*
|
|
80
82
|
* @example
|
|
81
83
|
* ```jsx
|
|
@@ -93,7 +95,7 @@ export declare interface DialogProps {
|
|
|
93
95
|
*/
|
|
94
96
|
autoFocusedElement?: string;
|
|
95
97
|
/**
|
|
96
|
-
* Sets the title of the Dialog ([see example]({% slug title_dialog %})). If
|
|
98
|
+
* Sets the title of the Dialog ([see example]({% slug title_dialog %})). If you do not specify the `title`, the Dialog does not render a **Close** button.
|
|
97
99
|
*
|
|
98
100
|
* @example
|
|
99
101
|
* ```jsx
|
|
@@ -113,6 +115,8 @@ export declare interface DialogProps {
|
|
|
113
115
|
/**
|
|
114
116
|
* Specifies whether a close button should be rendered at the top corner of the dialog.
|
|
115
117
|
*
|
|
118
|
+
* @default true
|
|
119
|
+
*
|
|
116
120
|
* @example
|
|
117
121
|
* ```jsx
|
|
118
122
|
* <Dialog closeIcon={true} />
|
|
@@ -120,7 +124,9 @@ export declare interface DialogProps {
|
|
|
120
124
|
*/
|
|
121
125
|
closeIcon?: boolean;
|
|
122
126
|
/**
|
|
123
|
-
* Specifies if the Dialog will be modal by rendering an overlay under the component.
|
|
127
|
+
* Specifies if the Dialog will be modal by rendering an overlay under the component.
|
|
128
|
+
*
|
|
129
|
+
* @default true
|
|
124
130
|
*
|
|
125
131
|
* @example
|
|
126
132
|
* ```jsx
|
|
@@ -214,9 +220,11 @@ export declare interface DialogProps {
|
|
|
214
220
|
*/
|
|
215
221
|
contentStyle?: React.CSSProperties;
|
|
216
222
|
/**
|
|
217
|
-
* Defines the container to which the Dialog will be appended.
|
|
223
|
+
* Defines the container to which the Dialog will be appended.
|
|
218
224
|
* * If set to `null` the Dialog will be rendered without React Portal.
|
|
219
225
|
*
|
|
226
|
+
* @default document.body
|
|
227
|
+
*
|
|
220
228
|
* @example
|
|
221
229
|
* ```jsx
|
|
222
230
|
* <Dialog appendTo={document.getElementById('container')} />
|
|
@@ -282,6 +290,9 @@ declare interface WindowActionsBarProps {
|
|
|
282
290
|
}
|
|
283
291
|
|
|
284
292
|
export declare interface WindowActionsEvent extends BaseEvent<Window_2> {
|
|
293
|
+
/**
|
|
294
|
+
* The current stage state of the Window.
|
|
295
|
+
*/
|
|
285
296
|
state?: 'DEFAULT' | 'FULLSCREEN' | 'MINIMIZED';
|
|
286
297
|
}
|
|
287
298
|
|
|
@@ -339,8 +350,9 @@ export declare interface WindowMoveEvent {
|
|
|
339
350
|
*/
|
|
340
351
|
export declare interface WindowProps {
|
|
341
352
|
/**
|
|
342
|
-
* Defines the container to which the Window will be appended.
|
|
343
|
-
*
|
|
353
|
+
* Defines the container to which the Window will be appended. If set to `null`, the Window will be rendered without React Portal.
|
|
354
|
+
*
|
|
355
|
+
* @default parent element
|
|
344
356
|
*
|
|
345
357
|
* @example
|
|
346
358
|
* ```jsx
|
|
@@ -349,7 +361,9 @@ export declare interface WindowProps {
|
|
|
349
361
|
*/
|
|
350
362
|
appendTo?: HTMLElement | null;
|
|
351
363
|
/**
|
|
352
|
-
* Focus the Window container automatically when mounted.
|
|
364
|
+
* Focus the Window container automatically when mounted.
|
|
365
|
+
*
|
|
366
|
+
* @default true
|
|
353
367
|
*
|
|
354
368
|
* @example
|
|
355
369
|
* ```jsx
|
|
@@ -371,7 +385,9 @@ export declare interface WindowProps {
|
|
|
371
385
|
*/
|
|
372
386
|
closeButton?: React.ComponentType<any>;
|
|
373
387
|
/**
|
|
374
|
-
* Specifies if the Window stage will change on title double click.
|
|
388
|
+
* Specifies if the Window stage will change on title double click.
|
|
389
|
+
*
|
|
390
|
+
* @default true
|
|
375
391
|
*
|
|
376
392
|
* @example
|
|
377
393
|
* ```jsx
|
|
@@ -382,6 +398,8 @@ export declare interface WindowProps {
|
|
|
382
398
|
/**
|
|
383
399
|
* Specifies if the Window will be draggable ([see example]({% slug positioningdragging_window %}#toc-dragging)).
|
|
384
400
|
*
|
|
401
|
+
* @default true
|
|
402
|
+
*
|
|
385
403
|
* @example
|
|
386
404
|
* ```jsx
|
|
387
405
|
* <Window draggable={true} />
|
|
@@ -389,8 +407,7 @@ export declare interface WindowProps {
|
|
|
389
407
|
*/
|
|
390
408
|
draggable?: boolean;
|
|
391
409
|
/**
|
|
392
|
-
* Specifies the height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)).
|
|
393
|
-
* When set to null the window is automatically sized to fit its content.
|
|
410
|
+
* Specifies the height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-dimensions)). When set to `null`, the window is automatically sized to fit its content.
|
|
394
411
|
*
|
|
395
412
|
* @example
|
|
396
413
|
* ```jsx
|
|
@@ -455,6 +472,8 @@ export declare interface WindowProps {
|
|
|
455
472
|
/**
|
|
456
473
|
* Specifies the minimum height of the Window ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
457
474
|
*
|
|
475
|
+
* @default 100
|
|
476
|
+
*
|
|
458
477
|
* @example
|
|
459
478
|
* ```jsx
|
|
460
479
|
* <Window minHeight={100} />
|
|
@@ -464,6 +483,8 @@ export declare interface WindowProps {
|
|
|
464
483
|
/**
|
|
465
484
|
* Specifies the minimum width of the Window ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
466
485
|
*
|
|
486
|
+
* @default 120
|
|
487
|
+
*
|
|
467
488
|
* @example
|
|
468
489
|
* ```jsx
|
|
469
490
|
* <Window minWidth={100} />
|
|
@@ -482,6 +503,8 @@ export declare interface WindowProps {
|
|
|
482
503
|
/**
|
|
483
504
|
* Specifies if the Window will be modal by rendering an overlay under the component.
|
|
484
505
|
*
|
|
506
|
+
* @default false
|
|
507
|
+
*
|
|
485
508
|
* @example
|
|
486
509
|
* ```jsx
|
|
487
510
|
* <Window modal={true} />
|
|
@@ -491,6 +514,8 @@ export declare interface WindowProps {
|
|
|
491
514
|
/**
|
|
492
515
|
* Specifies if the Window will be resizable ([see example]({% slug dimensionsresizing_window %}#toc-resizing)).
|
|
493
516
|
*
|
|
517
|
+
* @default true
|
|
518
|
+
*
|
|
494
519
|
* @example
|
|
495
520
|
* ```jsx
|
|
496
521
|
* <Window resizable={true} />
|
|
@@ -727,6 +752,9 @@ export declare class WindowWithoutContext extends React_2.Component<WindowProps,
|
|
|
727
752
|
* @hidden
|
|
728
753
|
*/
|
|
729
754
|
windowTitle?: any;
|
|
755
|
+
/**
|
|
756
|
+
* The draggable handle for the Window component.
|
|
757
|
+
*/
|
|
730
758
|
draggable: Draggable | null;
|
|
731
759
|
private windowCoordinatesState?;
|
|
732
760
|
private offSetCoordinates?;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-dialogs",
|
|
3
|
-
"version": "12.0.2-develop.
|
|
3
|
+
"version": "12.0.2-develop.5",
|
|
4
4
|
"description": "React Dialogs provide modal and non-modal windows for showing additional information to the user. KendoReact Dialogs package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.0",
|
|
29
|
-
"@progress/kendo-react-buttons": "12.0.2-develop.
|
|
30
|
-
"@progress/kendo-react-common": "12.0.2-develop.
|
|
31
|
-
"@progress/kendo-react-intl": "12.0.2-develop.
|
|
29
|
+
"@progress/kendo-react-buttons": "12.0.2-develop.5",
|
|
30
|
+
"@progress/kendo-react-common": "12.0.2-develop.5",
|
|
31
|
+
"@progress/kendo-react-intl": "12.0.2-develop.5",
|
|
32
32
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
33
33
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
34
34
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|