@ckbox/components 1.5.1 → 1.6.0-dev.0

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/dist/index.d.ts CHANGED
@@ -6,10 +6,11 @@ import * as React$1 from 'react';
6
6
  import React__default, { useEffect } from 'react';
7
7
  import { Placement } from '@popperjs/core';
8
8
  import { TransitionProps } from 'react-transition-group/Transition';
9
+ import Cropper$1 from 'cropperjs';
9
10
  import * as react_dnd from 'react-dnd';
10
11
 
11
- declare const Bottombar: React$1.ForwardRefExoticComponent<Props$2t & React$1.RefAttributes<HTMLDivElement>>;
12
- interface Props$2t {
12
+ declare const Bottombar: React$1.ForwardRefExoticComponent<Props$2Y & React$1.RefAttributes<HTMLDivElement>>;
13
+ interface Props$2Y {
13
14
  /**
14
15
  * Main content of the component.
15
16
  */
@@ -28,7 +29,7 @@ type ButtonSize = 'small' | 'medium' | 'large';
28
29
  type ButtonType = 'fill' | 'outline' | 'plain' | 'link';
29
30
  type ButtonColor = 'action' | 'danger' | 'neutral';
30
31
 
31
- interface Props$2s {
32
+ interface Props$2X {
32
33
  /**
33
34
  * Toggles optional icon animation.
34
35
  */
@@ -36,106 +37,132 @@ interface Props$2s {
36
37
  /**
37
38
  * Sets root class name.
38
39
  */
39
- className: string;
40
+ className?: string;
40
41
  /**
41
42
  * Optional test ID.
42
43
  */
43
44
  'data-testid'?: string;
45
+ /**
46
+ * Icon-specific props.
47
+ */
48
+ iconProps?: Record<string, unknown>;
44
49
  }
45
50
 
46
- declare const AccessTime: React$1.FC<Props$2s>;
51
+ declare const AccessTime: React$1.FC<Props$2X>;
52
+
53
+ declare const Add: React$1.FC<Props$2X>;
54
+
55
+ declare const ArrowBackIosNewOutlined$1: React$1.FC<Props$2X>;
56
+
57
+ declare const ArrowBackIosNewOutlined: React$1.FC<Props$2X>;
58
+
59
+ declare const ArrowLeft: React$1.FC<Props$2X>;
60
+
61
+ declare const ArrowRight: React$1.FC<Props$2X>;
62
+
63
+ declare const ArticleOutlined: React$1.FC<Props$2X>;
64
+
65
+ declare const CaretRight: React$1.FC<Props$2X>;
66
+
67
+ declare const Check: React$1.FC<Props$2X>;
68
+
69
+ declare const CheckCircleOutline: React$1.FC<Props$2X>;
70
+
71
+ declare const ChevronDown: React$1.FC<Props$2X>;
47
72
 
48
- declare const Add: React$1.FC<Props$2s>;
73
+ declare const ChevronLeftOutlined: React$1.FC<Props$2X>;
49
74
 
50
- declare const ArrowBackIosNewOutlined$1: React$1.FC<Props$2s>;
75
+ declare const ChevronRightOutlined: React$1.FC<Props$2X>;
51
76
 
52
- declare const ArrowBackIosNewOutlined: React$1.FC<Props$2s>;
77
+ declare const Close: React$1.FC<Props$2X>;
53
78
 
54
- declare const ArrowLeft: React$1.FC<Props$2s>;
79
+ declare const ContentCopyOutlined: React$1.FC<Props$2X>;
55
80
 
56
- declare const ArrowRight: React$1.FC<Props$2s>;
81
+ declare const CreateNewFolderOutlined: React$1.FC<Props$2X>;
57
82
 
58
- declare const ArticleOutlined: React$1.FC<Props$2s>;
83
+ declare const CropAspectRatio: React$1.FC<Props$2X>;
59
84
 
60
- declare const CaretRight: React$1.FC<Props$2s>;
85
+ declare const CropOriginalOutlined: React$1.FC<Props$2X>;
61
86
 
62
- declare const Check: React$1.FC<Props$2s>;
87
+ declare const CropOutlined: React$1.FC<Props$2X>;
63
88
 
64
- declare const CheckCircleOutline: React$1.FC<Props$2s>;
89
+ declare const DeleteOutlineOutlined: React$1.FC<Props$2X>;
65
90
 
66
- declare const ChevronDown: React$1.FC<Props$2s>;
91
+ declare const DragHandle: React$1.FC<Props$2X>;
67
92
 
68
- declare const ChevronLeftOutlined: React$1.FC<Props$2s>;
93
+ declare const DriveFileRenameOutlineOutlined: React$1.FC<Props$2X>;
69
94
 
70
- declare const ChevronRightOutlined: React$1.FC<Props$2s>;
95
+ declare const DriveFolderUploadOutlined: React$1.FC<Props$2X>;
71
96
 
72
- declare const Close: React$1.FC<Props$2s>;
97
+ declare const EditOutlined: React$1.FC<Props$2X>;
73
98
 
74
- declare const ContentCopyOutlined: React$1.FC<Props$2s>;
99
+ declare const FileCopyOutlined: React$1.FC<Props$2X>;
75
100
 
76
- declare const CreateNewFolderOutlined: React$1.FC<Props$2s>;
101
+ declare const FileMoveOutlined: React$1.FC<Props$2X>;
77
102
 
78
- declare const DeleteOutlineOutlined: React$1.FC<Props$2s>;
103
+ declare const FileDownloadOutlined: React$1.FC<Props$2X>;
79
104
 
80
- declare const DragHandle: React$1.FC<Props$2s>;
105
+ declare const FileUploadOutlined: React$1.FC<Props$2X>;
81
106
 
82
- declare const DriveFileRenameOutlineOutlined: React$1.FC<Props$2s>;
107
+ declare const Filter: React$1.FC<Props$2X>;
83
108
 
84
- declare const DriveFolderUploadOutlined: React$1.FC<Props$2s>;
109
+ declare const FirstPageOutlined: React$1.FC<Props$2X>;
85
110
 
86
- declare const EditOutlined: React$1.FC<Props$2s>;
111
+ declare const FlipHorizontalOutlined: React$1.FC<Props$2X>;
87
112
 
88
- declare const FileCopyOutlined: React$1.FC<Props$2s>;
113
+ declare const FlipVerticalOutlined: React$1.FC<Props$2X>;
89
114
 
90
- declare const FileMoveOutlined: React$1.FC<Props$2s>;
115
+ declare const Folder: React$1.FC<Props$2X>;
91
116
 
92
- declare const FileDownloadOutlined: React$1.FC<Props$2s>;
117
+ declare const FolderOutlined: React$1.FC<Props$2X>;
93
118
 
94
- declare const FileUploadOutlined: React$1.FC<Props$2s>;
119
+ declare const InfoOutlined: React$1.FC<Props$2X>;
95
120
 
96
- declare const Filter: React$1.FC<Props$2s>;
121
+ declare const Inventory2Outlined: React$1.FC<Props$2X>;
97
122
 
98
- declare const FirstPageOutlined: React$1.FC<Props$2s>;
123
+ declare const KeyboardDoubleArrowLeft: React$1.FC<Props$2X>;
99
124
 
100
- declare const Folder: React$1.FC<Props$2s>;
125
+ declare const KeyboardDoubleArrowRight: React$1.FC<Props$2X>;
101
126
 
102
- declare const FolderOutlined: React$1.FC<Props$2s>;
127
+ declare const LastPageOutlined: React$1.FC<Props$2X>;
103
128
 
104
- declare const InfoOutlined: React$1.FC<Props$2s>;
129
+ declare const LockOpenOutlined: React$1.FC<Props$2X>;
105
130
 
106
- declare const Inventory2Outlined: React$1.FC<Props$2s>;
131
+ declare const LockOutlined: React$1.FC<Props$2X>;
107
132
 
108
- declare const KeyboardDoubleArrowLeft: React$1.FC<Props$2s>;
133
+ declare const MoreVert: React$1.FC<Props$2X>;
109
134
 
110
- declare const KeyboardDoubleArrowRight: React$1.FC<Props$2s>;
135
+ declare const PhotoOutlined: React$1.FC<Props$2X>;
111
136
 
112
- declare const LastPageOutlined: React$1.FC<Props$2s>;
137
+ declare const RemoveOutlined: React$1.FC<Props$2X>;
113
138
 
114
- declare const MoreVert: React$1.FC<Props$2s>;
139
+ declare const RotateLeftOutlined: React$1.FC<Props$2X>;
115
140
 
116
- declare const PhotoOutlined: React$1.FC<Props$2s>;
141
+ declare const RotateRightOutlined: React$1.FC<Props$2X>;
117
142
 
118
- declare const SearchMissingResults: React$1.FC<Props$2s>;
143
+ declare const SaveOutlined: React$1.FC<Props$2X>;
119
144
 
120
- declare const SearchOutlined: React$1.FC<Props$2s>;
145
+ declare const SearchMissingResults: React$1.FC<Props$2X>;
121
146
 
122
- declare const SettingsOutlined: React$1.FC<Props$2s>;
147
+ declare const SearchOutlined: React$1.FC<Props$2X>;
123
148
 
124
- declare const Sort: React$1.FC<Props$2s>;
149
+ declare const SettingsOutlined: React$1.FC<Props$2X>;
125
150
 
126
- declare const Spinner: React$1.FC<Props$2s>;
151
+ declare const Sort: React$1.FC<Props$2X>;
127
152
 
128
- declare const Tune: React$1.FC<Props$2s>;
153
+ declare const Spinner: React$1.FC<Props$2X>;
129
154
 
130
- declare const UploadFileOutlined: React$1.FC<Props$2s>;
155
+ declare const Tune: React$1.FC<Props$2X>;
131
156
 
132
- declare const VisibilityOutlined: React$1.FC<Props$2s>;
157
+ declare const UploadFileOutlined: React$1.FC<Props$2X>;
133
158
 
134
- declare const WarningAmber: React$1.FC<Props$2s>;
159
+ declare const VisibilityOutlined: React$1.FC<Props$2X>;
135
160
 
136
- declare const WarningFill: React$1.FC<Props$2s>;
161
+ declare const WarningAmber: React$1.FC<Props$2X>;
137
162
 
138
- declare const XCircle: React$1.FC<Props$2s>;
163
+ declare const WarningFill: React$1.FC<Props$2X>;
164
+
165
+ declare const XCircle: React$1.FC<Props$2X>;
139
166
 
140
167
  declare const icons$1_AccessTime: typeof AccessTime;
141
168
  declare const icons$1_Add: typeof Add;
@@ -151,6 +178,9 @@ declare const icons$1_ChevronRightOutlined: typeof ChevronRightOutlined;
151
178
  declare const icons$1_Close: typeof Close;
152
179
  declare const icons$1_ContentCopyOutlined: typeof ContentCopyOutlined;
153
180
  declare const icons$1_CreateNewFolderOutlined: typeof CreateNewFolderOutlined;
181
+ declare const icons$1_CropAspectRatio: typeof CropAspectRatio;
182
+ declare const icons$1_CropOriginalOutlined: typeof CropOriginalOutlined;
183
+ declare const icons$1_CropOutlined: typeof CropOutlined;
154
184
  declare const icons$1_DeleteOutlineOutlined: typeof DeleteOutlineOutlined;
155
185
  declare const icons$1_DragHandle: typeof DragHandle;
156
186
  declare const icons$1_DriveFileRenameOutlineOutlined: typeof DriveFileRenameOutlineOutlined;
@@ -162,6 +192,8 @@ declare const icons$1_FileMoveOutlined: typeof FileMoveOutlined;
162
192
  declare const icons$1_FileUploadOutlined: typeof FileUploadOutlined;
163
193
  declare const icons$1_Filter: typeof Filter;
164
194
  declare const icons$1_FirstPageOutlined: typeof FirstPageOutlined;
195
+ declare const icons$1_FlipHorizontalOutlined: typeof FlipHorizontalOutlined;
196
+ declare const icons$1_FlipVerticalOutlined: typeof FlipVerticalOutlined;
165
197
  declare const icons$1_Folder: typeof Folder;
166
198
  declare const icons$1_FolderOutlined: typeof FolderOutlined;
167
199
  declare const icons$1_InfoOutlined: typeof InfoOutlined;
@@ -169,8 +201,14 @@ declare const icons$1_Inventory2Outlined: typeof Inventory2Outlined;
169
201
  declare const icons$1_KeyboardDoubleArrowLeft: typeof KeyboardDoubleArrowLeft;
170
202
  declare const icons$1_KeyboardDoubleArrowRight: typeof KeyboardDoubleArrowRight;
171
203
  declare const icons$1_LastPageOutlined: typeof LastPageOutlined;
204
+ declare const icons$1_LockOpenOutlined: typeof LockOpenOutlined;
205
+ declare const icons$1_LockOutlined: typeof LockOutlined;
172
206
  declare const icons$1_MoreVert: typeof MoreVert;
173
207
  declare const icons$1_PhotoOutlined: typeof PhotoOutlined;
208
+ declare const icons$1_RemoveOutlined: typeof RemoveOutlined;
209
+ declare const icons$1_RotateLeftOutlined: typeof RotateLeftOutlined;
210
+ declare const icons$1_RotateRightOutlined: typeof RotateRightOutlined;
211
+ declare const icons$1_SaveOutlined: typeof SaveOutlined;
174
212
  declare const icons$1_SearchMissingResults: typeof SearchMissingResults;
175
213
  declare const icons$1_SearchOutlined: typeof SearchOutlined;
176
214
  declare const icons$1_SettingsOutlined: typeof SettingsOutlined;
@@ -200,6 +238,9 @@ declare namespace icons$1 {
200
238
  icons$1_Close as Close,
201
239
  icons$1_ContentCopyOutlined as ContentCopyOutlined,
202
240
  icons$1_CreateNewFolderOutlined as CreateNewFolderOutlined,
241
+ icons$1_CropAspectRatio as CropAspectRatio,
242
+ icons$1_CropOriginalOutlined as CropOriginalOutlined,
243
+ icons$1_CropOutlined as CropOutlined,
203
244
  icons$1_DeleteOutlineOutlined as DeleteOutlineOutlined,
204
245
  icons$1_DragHandle as DragHandle,
205
246
  icons$1_DriveFileRenameOutlineOutlined as DriveFileRenameOutlineOutlined,
@@ -211,6 +252,8 @@ declare namespace icons$1 {
211
252
  icons$1_FileUploadOutlined as FileUploadOutlined,
212
253
  icons$1_Filter as Filter,
213
254
  icons$1_FirstPageOutlined as FirstPageOutlined,
255
+ icons$1_FlipHorizontalOutlined as FlipHorizontalOutlined,
256
+ icons$1_FlipVerticalOutlined as FlipVerticalOutlined,
214
257
  icons$1_Folder as Folder,
215
258
  icons$1_FolderOutlined as FolderOutlined,
216
259
  icons$1_InfoOutlined as InfoOutlined,
@@ -218,8 +261,14 @@ declare namespace icons$1 {
218
261
  icons$1_KeyboardDoubleArrowLeft as KeyboardDoubleArrowLeft,
219
262
  icons$1_KeyboardDoubleArrowRight as KeyboardDoubleArrowRight,
220
263
  icons$1_LastPageOutlined as LastPageOutlined,
264
+ icons$1_LockOpenOutlined as LockOpenOutlined,
265
+ icons$1_LockOutlined as LockOutlined,
221
266
  icons$1_MoreVert as MoreVert,
222
267
  icons$1_PhotoOutlined as PhotoOutlined,
268
+ icons$1_RemoveOutlined as RemoveOutlined,
269
+ icons$1_RotateLeftOutlined as RotateLeftOutlined,
270
+ icons$1_RotateRightOutlined as RotateRightOutlined,
271
+ icons$1_SaveOutlined as SaveOutlined,
223
272
  icons$1_SearchMissingResults as SearchMissingResults,
224
273
  icons$1_SearchOutlined as SearchOutlined,
225
274
  icons$1_SettingsOutlined as SettingsOutlined,
@@ -242,16 +291,8 @@ type IconName = keyof typeof icons$1;
242
291
  type IconSize = 'small' | 'base' | 'medium' | 'big' | 'bigger' | 'humongous';
243
292
  type IconColor = 'accent' | 'disabled' | 'danger' | 'muted' | 'warning' | 'success';
244
293
 
245
- declare const Icon: React$1.FC<Props$2r>;
246
- interface Props$2r {
247
- /**
248
- * Toggles animation.
249
- */
250
- animateIn?: boolean;
251
- /**
252
- * Sets root class.
253
- */
254
- className?: string;
294
+ declare const Icon: React$1.FC<Props$2W>;
295
+ interface Props$2W extends Props$2X {
255
296
  /**
256
297
  * Icon color.
257
298
  */
@@ -273,8 +314,8 @@ interface Props$2r {
273
314
  size?: IconSize;
274
315
  }
275
316
 
276
- declare const Button: React$1.ForwardRefExoticComponent<Props$2q & React$1.RefAttributes<HTMLButtonElement>>;
277
- interface Props$2q {
317
+ declare const Button: React$1.ForwardRefExoticComponent<Props$2V & React$1.RefAttributes<HTMLButtonElement>>;
318
+ interface Props$2V {
278
319
  /**
279
320
  * Applies active styling.
280
321
  */
@@ -365,16 +406,16 @@ interface Props$2q {
365
406
  disabledLabelWrapping?: boolean;
366
407
  }
367
408
 
368
- declare const ButtonGroup: React$1.FC<Props$2p>;
369
- interface Props$2p {
409
+ declare const ButtonGroup: React$1.FC<Props$2U>;
410
+ interface Props$2U {
370
411
  /**
371
412
  * Button components.
372
413
  */
373
414
  children: React$1.ReactNode;
374
415
  }
375
416
 
376
- declare const CircularLoader: React$1.ForwardRefExoticComponent<Props$2o & React$1.RefAttributes<HTMLButtonElement>>;
377
- interface Props$2o {
417
+ declare const CircularLoader: React$1.ForwardRefExoticComponent<Props$2T & React$1.RefAttributes<HTMLButtonElement>>;
418
+ interface Props$2T {
378
419
  /**
379
420
  * Component's label.
380
421
  */
@@ -397,8 +438,8 @@ interface Props$2o {
397
438
  onClick?: () => void;
398
439
  }
399
440
 
400
- declare const DialogNextTitle: React$1.ForwardRefExoticComponent<Props$2n & React$1.RefAttributes<HTMLDivElement>>;
401
- interface Props$2n {
441
+ declare const DialogNextTitle: React$1.ForwardRefExoticComponent<Props$2S & React$1.RefAttributes<HTMLDivElement>>;
442
+ interface Props$2S {
402
443
  /**
403
444
  * Main content of the component.
404
445
  */
@@ -417,8 +458,8 @@ interface Props$2n {
417
458
  titleId?: string;
418
459
  }
419
460
 
420
- declare const DialogNextColumn: React$1.ForwardRefExoticComponent<Props$2m & React$1.RefAttributes<HTMLDivElement>>;
421
- interface Props$2m {
461
+ declare const DialogNextColumn: React$1.ForwardRefExoticComponent<Props$2R & React$1.RefAttributes<HTMLDivElement>>;
462
+ interface Props$2R {
422
463
  /**
423
464
  * Main content of the component.
424
465
  */
@@ -429,8 +470,8 @@ interface Props$2m {
429
470
  className?: string;
430
471
  }
431
472
 
432
- declare const DialogNextContent: React$1.ForwardRefExoticComponent<Props$2l & React$1.RefAttributes<HTMLDivElement>>;
433
- interface Props$2l {
473
+ declare const DialogNextContent: React$1.ForwardRefExoticComponent<Props$2Q & React$1.RefAttributes<HTMLDivElement>>;
474
+ interface Props$2Q {
434
475
  /**
435
476
  * Main content of the component.
436
477
  */
@@ -449,8 +490,8 @@ interface Props$2l {
449
490
  id?: string;
450
491
  }
451
492
 
452
- declare const DialogNextFooter: React$1.ForwardRefExoticComponent<Props$2k & React$1.RefAttributes<HTMLDivElement>>;
453
- interface Props$2k {
493
+ declare const DialogNextFooter: React$1.ForwardRefExoticComponent<Props$2P & React$1.RefAttributes<HTMLDivElement>>;
494
+ interface Props$2P {
454
495
  /**
455
496
  * Main content of the component.
456
497
  */
@@ -461,8 +502,8 @@ interface Props$2k {
461
502
  className?: string;
462
503
  }
463
504
 
464
- declare const DialogNextCloseButton: React$1.ForwardRefExoticComponent<Props$2j & React$1.RefAttributes<HTMLButtonElement>>;
465
- interface Props$2j {
505
+ declare const DialogNextCloseButton: React$1.ForwardRefExoticComponent<Props$2O & React$1.RefAttributes<HTMLButtonElement>>;
506
+ interface Props$2O {
466
507
  /**
467
508
  * Close button's label.
468
509
  */
@@ -473,8 +514,8 @@ interface Props$2j {
473
514
  className?: string;
474
515
  }
475
516
 
476
- declare const DialogNextHeader: React$1.ForwardRefExoticComponent<Props$2i & React$1.RefAttributes<HTMLDivElement>>;
477
- interface Props$2i {
517
+ declare const DialogNextHeader: React$1.ForwardRefExoticComponent<Props$2N & React$1.RefAttributes<HTMLDivElement>>;
518
+ interface Props$2N {
478
519
  /**
479
520
  * Main content of the component.
480
521
  */
@@ -485,16 +526,16 @@ interface Props$2i {
485
526
  className?: string;
486
527
  }
487
528
 
488
- declare const DialogNextSeparator: React$1.ForwardRefExoticComponent<Props$2h & React$1.RefAttributes<HTMLDivElement>>;
489
- interface Props$2h {
529
+ declare const DialogNextSeparator: React$1.ForwardRefExoticComponent<Props$2M & React$1.RefAttributes<HTMLDivElement>>;
530
+ interface Props$2M {
490
531
  /**
491
532
  * Sets root header class.
492
533
  */
493
534
  className?: string;
494
535
  }
495
536
 
496
- declare const DialogNext: React$1.ForwardRefExoticComponent<Props$2g & React$1.RefAttributes<HTMLDivElement>>;
497
- interface Props$2g {
537
+ declare const DialogNext: React$1.ForwardRefExoticComponent<Props$2L & React$1.RefAttributes<HTMLDivElement>>;
538
+ interface Props$2L {
498
539
  /**
499
540
  * Main content of the component.
500
541
  */
@@ -533,16 +574,16 @@ interface Props$2g {
533
574
  alert?: boolean;
534
575
  }
535
576
 
536
- declare const DialogActions: React$1.FC<Props$2f>;
537
- interface Props$2f {
577
+ declare const DialogActions: React$1.FC<Props$2K>;
578
+ interface Props$2K {
538
579
  /**
539
580
  * Main content of the component.
540
581
  */
541
582
  children: React$1.ReactNode;
542
583
  }
543
584
 
544
- declare const DialogColumn: React$1.ForwardRefExoticComponent<Props$2e & React$1.RefAttributes<HTMLDivElement>>;
545
- interface Props$2e extends React$1.HTMLAttributes<HTMLDivElement> {
585
+ declare const DialogColumn: React$1.ForwardRefExoticComponent<Props$2J & React$1.RefAttributes<HTMLDivElement>>;
586
+ interface Props$2J extends React$1.HTMLAttributes<HTMLDivElement> {
546
587
  /**
547
588
  * Main content of the component.
548
589
  */
@@ -553,8 +594,8 @@ interface Props$2e extends React$1.HTMLAttributes<HTMLDivElement> {
553
594
  overflow?: boolean;
554
595
  }
555
596
 
556
- declare const DialogFooter: React$1.FC<Props$2d>;
557
- interface Props$2d {
597
+ declare const DialogFooter: React$1.FC<Props$2I>;
598
+ interface Props$2I {
558
599
  /**
559
600
  * Main content of the component.
560
601
  */
@@ -570,8 +611,8 @@ interface Props$2d {
570
611
  }[];
571
612
  }
572
613
 
573
- declare const DialogHeader: React$1.FC<Props$2c>;
574
- interface Props$2c {
614
+ declare const DialogHeader: React$1.FC<Props$2H>;
615
+ interface Props$2H {
575
616
  /**
576
617
  * Sets focus on close button on mount.
577
618
  */
@@ -594,8 +635,8 @@ interface Props$2c {
594
635
  type?: 'success' | 'error' | 'info';
595
636
  }
596
637
 
597
- declare const DialogProgressHeader: React$1.FC<Props$2b>;
598
- interface Props$2b {
638
+ declare const DialogProgressHeader: React$1.FC<Props$2G>;
639
+ interface Props$2G {
599
640
  /**
600
641
  * Sets focus on close button on mount.
601
642
  */
@@ -626,16 +667,16 @@ interface Props$2b {
626
667
  title?: string;
627
668
  }
628
669
 
629
- declare const DialogRow: React$1.FC<Props$2a>;
630
- interface Props$2a extends React$1.HTMLAttributes<HTMLDivElement> {
670
+ declare const DialogRow: React$1.FC<Props$2F>;
671
+ interface Props$2F extends React$1.HTMLAttributes<HTMLDivElement> {
631
672
  /**
632
673
  * Main content of the component.
633
674
  */
634
675
  children: React$1.ReactNode;
635
676
  }
636
677
 
637
- declare const DialogSection: React$1.FC<Props$29>;
638
- interface Props$29 {
678
+ declare const DialogSection: React$1.FC<Props$2E>;
679
+ interface Props$2E {
639
680
  /**
640
681
  * Main content of the component.
641
682
  */
@@ -758,35 +799,35 @@ interface DialogProps extends DialogSwitchProps {
758
799
  * Entry component for the dialog.
759
800
  * Initializes selected dialog mode and optionally adds common options and draggability if needed.
760
801
  */
761
- declare const Dialog: React$1.FC<Props$28>;
762
- type Props$28 = DialogProps;
802
+ declare const Dialog: React$1.FC<Props$2D>;
803
+ type Props$2D = DialogProps;
763
804
 
764
- interface Props$27 {
805
+ interface Props$2C {
765
806
  /**
766
807
  * Sets root class.
767
808
  */
768
809
  className: string;
769
810
  }
770
811
 
771
- declare const Zip: React$1.FC<Props$27>;
812
+ declare const Zip: React$1.FC<Props$2C>;
772
813
 
773
- declare const Empty: React$1.FC<Props$27>;
814
+ declare const Empty: React$1.FC<Props$2C>;
774
815
 
775
- declare const Excel: React$1.FC<Props$27>;
816
+ declare const Excel: React$1.FC<Props$2C>;
776
817
 
777
- declare const Img: React$1.FC<Props$27>;
818
+ declare const Img: React$1.FC<Props$2C>;
778
819
 
779
- declare const Movie: React$1.FC<Props$27>;
820
+ declare const Movie: React$1.FC<Props$2C>;
780
821
 
781
- declare const Music: React$1.FC<Props$27>;
822
+ declare const Music: React$1.FC<Props$2C>;
782
823
 
783
- declare const Pdf: React$1.FC<Props$27>;
824
+ declare const Pdf: React$1.FC<Props$2C>;
784
825
 
785
- declare const Ppt: React$1.FC<Props$27>;
826
+ declare const Ppt: React$1.FC<Props$2C>;
786
827
 
787
- declare const Txt: React$1.FC<Props$27>;
828
+ declare const Txt: React$1.FC<Props$2C>;
788
829
 
789
- declare const Word: React$1.FC<Props$27>;
830
+ declare const Word: React$1.FC<Props$2C>;
790
831
 
791
832
  declare const icons_Empty: typeof Empty;
792
833
  declare const icons_Excel: typeof Excel;
@@ -812,9 +853,9 @@ declare namespace icons {
812
853
  };
813
854
  }
814
855
 
815
- declare const DocIcon: React$1.FC<Props$26>;
856
+ declare const DocIcon: React$1.FC<Props$2B>;
816
857
  type DocIconName = keyof typeof icons;
817
- interface Props$26 {
858
+ interface Props$2B {
818
859
  /**
819
860
  * Name of selected icon.
820
861
  */
@@ -825,8 +866,8 @@ interface Props$26 {
825
866
  limitSize?: boolean;
826
867
  }
827
868
 
828
- declare const GalleryFigure: React$1.ForwardRefExoticComponent<Props$25 & React$1.RefAttributes<HTMLElement>>;
829
- interface Props$25 {
869
+ declare const GalleryFigure: React$1.ForwardRefExoticComponent<Props$2A & React$1.RefAttributes<HTMLElement>>;
870
+ interface Props$2A {
830
871
  /**
831
872
  * Main content of the component.
832
873
  */
@@ -841,8 +882,8 @@ interface Props$25 {
841
882
  'data-visible'?: boolean;
842
883
  }
843
884
 
844
- declare const GalleryItem: React$1.ForwardRefExoticComponent<Props$24 & React$1.RefAttributes<HTMLDivElement>>;
845
- interface Props$24 {
885
+ declare const GalleryItem: React$1.ForwardRefExoticComponent<Props$2z & React$1.RefAttributes<HTMLDivElement>>;
886
+ interface Props$2z {
846
887
  /**
847
888
  * Sets item as active.
848
889
  */
@@ -893,8 +934,8 @@ interface Props$24 {
893
934
  onCheckboxClick?: React$1.MouseEventHandler<HTMLButtonElement>;
894
935
  }
895
936
 
896
- declare const Gallery: React$1.FC<Props$23>;
897
- interface Props$23 {
937
+ declare const Gallery: React$1.FC<Props$2y>;
938
+ interface Props$2y {
898
939
  /**
899
940
  * Main content of the component.
900
941
  */
@@ -917,8 +958,8 @@ interface Props$23 {
917
958
  * Polymorphism for `ref` is tricky. Let's type it as `any` for now.
918
959
  */
919
960
 
920
- declare const Input: React$1.ForwardRefExoticComponent<Omit<Props$22, "ref"> & React$1.RefAttributes<any>>;
921
- interface Props$22 {
961
+ declare const Input: React$1.ForwardRefExoticComponent<Omit<Props$2x, "ref"> & React$1.RefAttributes<any>>;
962
+ interface Props$2x {
922
963
  /**
923
964
  * Input's class name.
924
965
  */
@@ -1001,8 +1042,8 @@ interface Props$22 {
1001
1042
  variant?: 'default' | 'underline';
1002
1043
  }
1003
1044
 
1004
- declare const MenuItem: React$1.FC<Props$21>;
1005
- interface Props$21 {
1045
+ declare const MenuItem: React$1.FC<Props$2w>;
1046
+ interface Props$2w {
1006
1047
  /**
1007
1048
  * Disables auto-close on click.
1008
1049
  */
@@ -1029,8 +1070,8 @@ interface Props$21 {
1029
1070
  onClick?: () => void;
1030
1071
  }
1031
1072
 
1032
- declare const MenuSubSection: React$1.FC<Props$20>;
1033
- interface Props$20 {
1073
+ declare const MenuSubSection: React$1.FC<Props$2v>;
1074
+ interface Props$2v {
1034
1075
  /**
1035
1076
  * Main content of the component.
1036
1077
  */
@@ -1057,8 +1098,8 @@ interface Props$20 {
1057
1098
  title: string;
1058
1099
  }
1059
1100
 
1060
- declare const MenuSection: React$1.FC<Props$1$>;
1061
- interface Props$1$ {
1101
+ declare const MenuSection: React$1.FC<Props$2u>;
1102
+ interface Props$2u {
1062
1103
  /**
1063
1104
  * Main content of the component.
1064
1105
  */
@@ -1090,16 +1131,16 @@ type PopperAnchorRef = HTMLElement | null | undefined;
1090
1131
  type PopperOffsetValue = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1091
1132
  type PopperOffset = [PopperOffsetValue, PopperOffsetValue];
1092
1133
 
1093
- declare const PopperArrow: React__default.FC<Props$1_>;
1094
- interface Props$1_ {
1134
+ declare const PopperArrow: React__default.FC<Props$2t>;
1135
+ interface Props$2t {
1095
1136
  /**
1096
1137
  * Sets arrow size.
1097
1138
  */
1098
1139
  size?: 'sm' | 'md';
1099
1140
  }
1100
1141
 
1101
- declare const Popper: React__default.ForwardRefExoticComponent<Props$1Z & React__default.RefAttributes<HTMLElement>>;
1102
- interface Props$1Z {
1142
+ declare const Popper: React__default.ForwardRefExoticComponent<Props$2s & React__default.RefAttributes<HTMLElement>>;
1143
+ interface Props$2s {
1103
1144
  /**
1104
1145
  * Anchor element. Popper will be mounted to this element.
1105
1146
  */
@@ -1138,8 +1179,8 @@ interface Props$1Z {
1138
1179
  onKeyDown?: React__default.KeyboardEventHandler;
1139
1180
  }
1140
1181
 
1141
- declare const Menu: React$1.ForwardRefExoticComponent<Props$1Y & React$1.RefAttributes<HTMLDivElement>>;
1142
- interface Props$1Y {
1182
+ declare const Menu: React$1.ForwardRefExoticComponent<Props$2r & React$1.RefAttributes<HTMLDivElement>>;
1183
+ interface Props$2r {
1143
1184
  /**
1144
1185
  * Anchor element.
1145
1186
  */
@@ -1170,16 +1211,16 @@ interface Props$1Y {
1170
1211
  sameWidth?: boolean;
1171
1212
  }
1172
1213
 
1173
- declare const ModalDialogActionContent: React$1.ForwardRefExoticComponent<Props$1X & React$1.RefAttributes<HTMLDivElement>>;
1174
- interface Props$1X {
1214
+ declare const ModalDialogActionContent: React$1.ForwardRefExoticComponent<Props$2q & React$1.RefAttributes<HTMLDivElement>>;
1215
+ interface Props$2q {
1175
1216
  /**
1176
1217
  * Main content of the component.
1177
1218
  */
1178
1219
  children?: React$1.ReactNode;
1179
1220
  }
1180
1221
 
1181
- declare const ModalDialogActionItem: React$1.ForwardRefExoticComponent<Props$1W & React$1.RefAttributes<HTMLLIElement>>;
1182
- interface Props$1W {
1222
+ declare const ModalDialogActionItem: React$1.ForwardRefExoticComponent<Props$2p & React$1.RefAttributes<HTMLLIElement>>;
1223
+ interface Props$2p {
1183
1224
  /**
1184
1225
  * Main content of the component.
1185
1226
  */
@@ -1198,8 +1239,8 @@ interface Props$1W {
1198
1239
  isLoading?: boolean;
1199
1240
  }
1200
1241
 
1201
- declare const ModalDialogCallout: React$1.ForwardRefExoticComponent<Props$1V & React$1.RefAttributes<HTMLDivElement>>;
1202
- interface Props$1V {
1242
+ declare const ModalDialogCallout: React$1.ForwardRefExoticComponent<Props$2o & React$1.RefAttributes<HTMLDivElement>>;
1243
+ interface Props$2o {
1203
1244
  /**
1204
1245
  * Main content of the component.
1205
1246
  */
@@ -1214,8 +1255,8 @@ interface Props$1V {
1214
1255
  type: 'error' | 'warning';
1215
1256
  }
1216
1257
 
1217
- declare const ModalDialogContent: React$1.ForwardRefExoticComponent<Props$1U & React$1.RefAttributes<HTMLDivElement>>;
1218
- interface Props$1U {
1258
+ declare const ModalDialogContent: React$1.ForwardRefExoticComponent<Props$2n & React$1.RefAttributes<HTMLDivElement>>;
1259
+ interface Props$2n {
1219
1260
  /**
1220
1261
  * Main content of the component.
1221
1262
  */
@@ -1226,8 +1267,8 @@ interface Props$1U {
1226
1267
  id?: string;
1227
1268
  }
1228
1269
 
1229
- declare const ModalDialogContentColumn: React$1.ForwardRefExoticComponent<Props$1T & React$1.RefAttributes<HTMLDivElement>>;
1230
- interface Props$1T {
1270
+ declare const ModalDialogContentColumn: React$1.ForwardRefExoticComponent<Props$2m & React$1.RefAttributes<HTMLDivElement>>;
1271
+ interface Props$2m {
1231
1272
  /**
1232
1273
  * Main content of the component.
1233
1274
  */
@@ -1238,8 +1279,8 @@ interface Props$1T {
1238
1279
  id?: string;
1239
1280
  }
1240
1281
 
1241
- declare const ModalDialogList: React$1.ForwardRefExoticComponent<Props$1S & React$1.RefAttributes<HTMLDivElement>>;
1242
- interface Props$1S {
1282
+ declare const ModalDialogList: React$1.ForwardRefExoticComponent<Props$2l & React$1.RefAttributes<HTMLDivElement>>;
1283
+ interface Props$2l {
1243
1284
  /**
1244
1285
  * Sets the dialog content ID.
1245
1286
  */
@@ -1254,16 +1295,16 @@ interface Props$1S {
1254
1295
  children: React$1.ReactNode;
1255
1296
  }
1256
1297
 
1257
- declare const ModalDialogListItem: React$1.ForwardRefExoticComponent<Props$1R & React$1.RefAttributes<HTMLLIElement>>;
1258
- interface Props$1R {
1298
+ declare const ModalDialogListItem: React$1.ForwardRefExoticComponent<Props$2k & React$1.RefAttributes<HTMLLIElement>>;
1299
+ interface Props$2k {
1259
1300
  /**
1260
1301
  * Item to display in the list.
1261
1302
  */
1262
1303
  children: React$1.ReactNode;
1263
1304
  }
1264
1305
 
1265
- declare const ModalDialogFooter: React$1.ForwardRefExoticComponent<Props$1Q & React$1.RefAttributes<HTMLDivElement>>;
1266
- interface Props$1Q {
1306
+ declare const ModalDialogFooter: React$1.ForwardRefExoticComponent<Props$2j & React$1.RefAttributes<HTMLDivElement>>;
1307
+ interface Props$2j {
1267
1308
  /**
1268
1309
  * Main content of the component.
1269
1310
  */
@@ -1274,16 +1315,16 @@ interface Props$1Q {
1274
1315
  spaceBetween?: boolean;
1275
1316
  }
1276
1317
 
1277
- declare const ModalDialogFooterAction: React$1.ForwardRefExoticComponent<Props$1P & React$1.RefAttributes<HTMLDivElement>>;
1278
- interface Props$1P {
1318
+ declare const ModalDialogFooterAction: React$1.ForwardRefExoticComponent<Props$2i & React$1.RefAttributes<HTMLDivElement>>;
1319
+ interface Props$2i {
1279
1320
  /**
1280
1321
  * Main content of the component.
1281
1322
  */
1282
1323
  children?: React$1.ReactNode;
1283
1324
  }
1284
1325
 
1285
- declare const ModalDialogHeader: React$1.ForwardRefExoticComponent<Props$1O & React$1.RefAttributes<HTMLDivElement>>;
1286
- interface Props$1O {
1326
+ declare const ModalDialogHeader: React$1.ForwardRefExoticComponent<Props$2h & React$1.RefAttributes<HTMLDivElement>>;
1327
+ interface Props$2h {
1287
1328
  /**
1288
1329
  * Enables the top border accent.
1289
1330
  */
@@ -1295,7 +1336,7 @@ interface Props$1O {
1295
1336
  /**
1296
1337
  * Name of selected icon.
1297
1338
  */
1298
- icon?: 'info' | 'success' | 'error' | 'warning' | React$1.ReactElement<Props$2r>;
1339
+ icon?: 'info' | 'success' | 'error' | 'warning' | React$1.ReactElement<Props$2W>;
1299
1340
  /**
1300
1341
  * Optional sub title of the modal.
1301
1342
  */
@@ -1310,8 +1351,8 @@ interface Props$1O {
1310
1351
  titleId?: string;
1311
1352
  }
1312
1353
 
1313
- declare const ModalDialog: React$1.ForwardRefExoticComponent<Props$1N & React$1.RefAttributes<HTMLDivElement>>;
1314
- interface Props$1N {
1354
+ declare const ModalDialog: React$1.ForwardRefExoticComponent<Props$2g & React$1.RefAttributes<HTMLDivElement>>;
1355
+ interface Props$2g {
1315
1356
  /**
1316
1357
  * Main content of the component.
1317
1358
  */
@@ -1401,8 +1442,8 @@ interface NavbarContext {
1401
1442
  declare const NavbarContext: React$1.Context<NavbarContext>;
1402
1443
  declare const useNavbarCtx: () => NavbarContext;
1403
1444
 
1404
- declare const NavbarItem: React$1.FC<Props$1M>;
1405
- interface Props$1M {
1445
+ declare const NavbarItem: React$1.FC<Props$2f>;
1446
+ interface Props$2f {
1406
1447
  /**
1407
1448
  * Applies active styling.
1408
1449
  */
@@ -1465,8 +1506,8 @@ interface Props$1M {
1465
1506
  onDelete?: () => void;
1466
1507
  }
1467
1508
 
1468
- declare const NavbarItemContainer: React$1.FC<Props$1L>;
1469
- interface Props$1L {
1509
+ declare const NavbarItemContainer: React$1.FC<Props$2e>;
1510
+ interface Props$2e {
1470
1511
  /**
1471
1512
  * Marks container as active.
1472
1513
  */
@@ -1477,8 +1518,8 @@ interface Props$1L {
1477
1518
  children: React$1.ReactNode;
1478
1519
  }
1479
1520
 
1480
- declare const NavbarItemContent: React$1.FC<Props$1K>;
1481
- interface Props$1K {
1521
+ declare const NavbarItemContent: React$1.FC<Props$2d>;
1522
+ interface Props$2d {
1482
1523
  /**
1483
1524
  * Adds enter / exit animation.
1484
1525
  */
@@ -1497,8 +1538,8 @@ interface Props$1K {
1497
1538
  hidden?: boolean;
1498
1539
  }
1499
1540
 
1500
- declare const NavbarItemLabel: React$1.FC<Props$1J>;
1501
- interface Props$1J {
1541
+ declare const NavbarItemLabel: React$1.FC<Props$2c>;
1542
+ interface Props$2c {
1502
1543
  /**
1503
1544
  * Toggles icon animation if parent item is hovered.
1504
1545
  */
@@ -1510,11 +1551,11 @@ interface Props$1J {
1510
1551
  /**
1511
1552
  * Displayed icon.
1512
1553
  */
1513
- icon?: React$1.ReactElement<Props$2r>;
1554
+ icon?: React$1.ReactElement<Props$2W>;
1514
1555
  }
1515
1556
 
1516
- declare const NavbarItemsGroup: React$1.FC<Props$1I>;
1517
- interface Props$1I {
1557
+ declare const NavbarItemsGroup: React$1.FC<Props$2b>;
1558
+ interface Props$2b {
1518
1559
  /**
1519
1560
  * Animates group on collapse.
1520
1561
  */
@@ -1533,8 +1574,8 @@ interface Props$1I {
1533
1574
  level?: number;
1534
1575
  }
1535
1576
 
1536
- declare const NavbarLink: React$1.FC<Props$1H>;
1537
- interface Props$1H {
1577
+ declare const NavbarLink: React$1.FC<Props$2a>;
1578
+ interface Props$2a {
1538
1579
  /**
1539
1580
  * Renders link content.
1540
1581
  */
@@ -1547,8 +1588,8 @@ interface Props$1H {
1547
1588
  href?: string;
1548
1589
  }
1549
1590
 
1550
- declare const NavbarScrollableContent: React$1.FC<Props$1G>;
1551
- interface Props$1G {
1591
+ declare const NavbarScrollableContent: React$1.FC<Props$29>;
1592
+ interface Props$29 {
1552
1593
  /**
1553
1594
  * Main content of the component.
1554
1595
  */
@@ -1557,8 +1598,8 @@ interface Props$1G {
1557
1598
 
1558
1599
  declare const NavbarSeparator: React$1.FC;
1559
1600
 
1560
- declare const NavbarToggleButton: React$1.FC<Props$1F>;
1561
- interface Props$1F {
1601
+ declare const NavbarToggleButton: React$1.FC<Props$28>;
1602
+ interface Props$28 {
1562
1603
  /**
1563
1604
  * Label shown when navbar will collapse.
1564
1605
  */
@@ -1573,8 +1614,8 @@ interface Props$1F {
1573
1614
  openLabel?: string;
1574
1615
  }
1575
1616
 
1576
- declare const Navbar: React$1.FC<Props$1E>;
1577
- interface Props$1E {
1617
+ declare const Navbar: React$1.FC<Props$27>;
1618
+ interface Props$27 {
1578
1619
  /**
1579
1620
  * Labels navigation element.
1580
1621
  */
@@ -1585,8 +1626,8 @@ interface Props$1E {
1585
1626
  children: React$1.ReactNode;
1586
1627
  }
1587
1628
 
1588
- declare const Modal: React$1.FC<Props$1D>;
1589
- interface Props$1D {
1629
+ declare const Modal: React$1.FC<Props$26>;
1630
+ interface Props$26 {
1590
1631
  /**
1591
1632
  * Optional children.
1592
1633
  */
@@ -1609,24 +1650,24 @@ interface Props$1D {
1609
1650
  variant?: 'transparent' | 'semi-transparent';
1610
1651
  }
1611
1652
 
1612
- declare const PanelActions: React$1.FC<Props$1C>;
1613
- interface Props$1C {
1653
+ declare const PanelActions: React$1.FC<Props$25>;
1654
+ interface Props$25 {
1614
1655
  /**
1615
1656
  * Main content of the component.
1616
1657
  */
1617
1658
  children?: React$1.ReactNode;
1618
1659
  }
1619
1660
 
1620
- declare const PanelColumn: React$1.FC<Props$1B>;
1621
- interface Props$1B {
1661
+ declare const PanelColumn: React$1.FC<Props$24>;
1662
+ interface Props$24 {
1622
1663
  /**
1623
1664
  * Main content of the component.
1624
1665
  */
1625
1666
  children: React$1.ReactNode;
1626
1667
  }
1627
1668
 
1628
- declare const PanelContent: React$1.ForwardRefExoticComponent<Props$1A & React$1.RefAttributes<HTMLDivElement>>;
1629
- interface Props$1A {
1669
+ declare const PanelContent: React$1.ForwardRefExoticComponent<Props$23 & React$1.RefAttributes<HTMLDivElement>>;
1670
+ interface Props$23 {
1630
1671
  /**
1631
1672
  * Main content of the component.
1632
1673
  */
@@ -1645,8 +1686,8 @@ interface Props$1A {
1645
1686
  header?: string;
1646
1687
  }
1647
1688
 
1648
- declare const PanelContentProp: React$1.FC<Props$1z>;
1649
- interface Props$1z {
1689
+ declare const PanelContentProp: React$1.FC<Props$22>;
1690
+ interface Props$22 {
1650
1691
  /**
1651
1692
  * Property label.
1652
1693
  */
@@ -1659,8 +1700,8 @@ interface Props$1z {
1659
1700
 
1660
1701
  declare const PanelDragHandle: React$1.ForwardRefExoticComponent<React$1.RefAttributes<HTMLDivElement>>;
1661
1702
 
1662
- declare const PanelList: React$1.FC<Props$1y>;
1663
- interface Props$1y {
1703
+ declare const PanelList: React$1.FC<Props$21>;
1704
+ interface Props$21 {
1664
1705
  /**
1665
1706
  * Main content.
1666
1707
  */
@@ -1675,16 +1716,16 @@ interface Props$1y {
1675
1716
  toolbarLoading?: boolean;
1676
1717
  }
1677
1718
 
1678
- declare const PanelListDivider: React$1.FC<Props$1x>;
1679
- interface Props$1x {
1719
+ declare const PanelListDivider: React$1.FC<Props$20>;
1720
+ interface Props$20 {
1680
1721
  /**
1681
1722
  * Toggles component opacity.
1682
1723
  */
1683
1724
  opaque?: boolean;
1684
1725
  }
1685
1726
 
1686
- declare const PanelSide: React$1.FC<Props$1w>;
1687
- interface Props$1w {
1727
+ declare const PanelSide: React$1.FC<Props$1$>;
1728
+ interface Props$1$ {
1688
1729
  /**
1689
1730
  * Icon to display.
1690
1731
  */
@@ -1698,8 +1739,8 @@ interface Props$1w {
1698
1739
  iconRender?: IconRenderProp;
1699
1740
  }
1700
1741
 
1701
- declare const PanelSkeleton: React$1.FC<Props$1v>;
1702
- interface Props$1v {
1742
+ declare const PanelSkeleton: React$1.FC<Props$1_>;
1743
+ interface Props$1_ {
1703
1744
  /**
1704
1745
  * Number of loading blocks.
1705
1746
  */
@@ -1708,10 +1749,14 @@ interface Props$1v {
1708
1749
  * Relative size of a loading block.
1709
1750
  */
1710
1751
  size?: 'sm' | 'md' | 'lg';
1752
+ /**
1753
+ * Sets bottom spacing.
1754
+ */
1755
+ spacing?: boolean;
1711
1756
  }
1712
1757
 
1713
- declare const PanelTitle: React$1.ForwardRefExoticComponent<Props$1u & React$1.RefAttributes<HTMLDivElement>>;
1714
- interface Props$1u extends Omit<Props$1A, 'children'> {
1758
+ declare const PanelTitle: React$1.ForwardRefExoticComponent<Props$1Z & React$1.RefAttributes<HTMLDivElement>>;
1759
+ interface Props$1Z extends Omit<Props$23, 'children'> {
1715
1760
  /**
1716
1761
  * Panel's title.
1717
1762
  */
@@ -1797,8 +1842,8 @@ declare const useListDnd: (initItems: ListDndItem[]) => {
1797
1842
  setDraggable: ListDndSetDraggable;
1798
1843
  };
1799
1844
 
1800
- declare const SortableDndListItem: React$1.FC<Props$1t>;
1801
- interface Props$1t {
1845
+ declare const SortableDndListItem: React$1.FC<Props$1Y>;
1846
+ interface Props$1Y {
1802
1847
  /**
1803
1848
  * Current item's index in a list.
1804
1849
  */
@@ -1840,8 +1885,8 @@ interface SortableDndListContextShape {
1840
1885
  onDragEnd?: ListDndOnDragEnd;
1841
1886
  }
1842
1887
 
1843
- declare const SortableDndList: React$1.FC<Props$1s>;
1844
- interface Props$1s extends SortableDndListContextShape {
1888
+ declare const SortableDndList: React$1.FC<Props$1X>;
1889
+ interface Props$1X extends SortableDndListContextShape {
1845
1890
  /**
1846
1891
  * Main content of the component.
1847
1892
  */
@@ -1859,8 +1904,8 @@ interface PanelContextShape extends Partial<ListDndChildProps> {
1859
1904
  edit?: boolean;
1860
1905
  }
1861
1906
 
1862
- declare const Panel: React$1.ForwardRefExoticComponent<Props$1r & React$1.RefAttributes<HTMLDivElement>>;
1863
- interface Props$1r extends PanelContextShape {
1907
+ declare const Panel: React$1.ForwardRefExoticComponent<Props$1W & React$1.RefAttributes<HTMLDivElement>>;
1908
+ interface Props$1W extends PanelContextShape {
1864
1909
  /**
1865
1910
  * Main content of the component.
1866
1911
  */
@@ -1875,8 +1920,8 @@ interface Props$1r extends PanelContextShape {
1875
1920
  elevated?: boolean;
1876
1921
  }
1877
1922
 
1878
- declare const Pagination: React$1.FC<Props$1q>;
1879
- interface Props$1q {
1923
+ declare const Pagination: React$1.FC<Props$1V>;
1924
+ interface Props$1V {
1880
1925
  /**
1881
1926
  * Disables interaction with pagination.
1882
1927
  */
@@ -1919,8 +1964,8 @@ interface Props$1q {
1919
1964
  prevPageLabel?: string;
1920
1965
  }
1921
1966
 
1922
- declare const ProgressPanel: React$1.ForwardRefExoticComponent<Props$1p & React$1.RefAttributes<HTMLDivElement>>;
1923
- interface Props$1p {
1967
+ declare const ProgressPanel: React$1.ForwardRefExoticComponent<Props$1U & React$1.RefAttributes<HTMLDivElement>>;
1968
+ interface Props$1U {
1924
1969
  /**
1925
1970
  * Additional info rendered close to a title.
1926
1971
  */
@@ -1955,8 +2000,8 @@ interface Props$1p {
1955
2000
  value: number;
1956
2001
  }
1957
2002
 
1958
- declare const PropertiesTableRow: React$1.FC<Props$1o>;
1959
- interface Props$1o {
2003
+ declare const PropertiesTableRow: React$1.FC<Props$1T>;
2004
+ interface Props$1T {
1960
2005
  /**
1961
2006
  * Item's label.
1962
2007
  */
@@ -1967,16 +2012,16 @@ interface Props$1o {
1967
2012
  value: React$1.ReactNode;
1968
2013
  }
1969
2014
 
1970
- declare const PropertiesTable: React$1.FC<Props$1n>;
1971
- interface Props$1n {
2015
+ declare const PropertiesTable: React$1.FC<Props$1S>;
2016
+ interface Props$1S {
1972
2017
  /**
1973
2018
  * Main content of the component.
1974
2019
  */
1975
2020
  children: React$1.ReactNode;
1976
2021
  }
1977
2022
 
1978
- declare const ResponsiveImageFit: React$1.FC<Props$1m>;
1979
- interface Props$1m {
2023
+ declare const ResponsiveImageFit: React$1.FC<Props$1R>;
2024
+ interface Props$1R {
1980
2025
  /**
1981
2026
  * Image alt text.
1982
2027
  */
@@ -2015,8 +2060,8 @@ interface Props$1m {
2015
2060
  sizes?: number;
2016
2061
  }
2017
2062
 
2018
- declare const ResponsiveImageFallback: React$1.FC<Props$1l>;
2019
- interface Props$1l {
2063
+ declare const ResponsiveImageFallback: React$1.FC<Props$1Q>;
2064
+ interface Props$1Q {
2020
2065
  /**
2021
2066
  * Indicates if cover is allowed for the image.
2022
2067
  */
@@ -2043,8 +2088,8 @@ interface Props$1l {
2043
2088
  showFallback?: boolean;
2044
2089
  }
2045
2090
 
2046
- declare const ResponsiveImageScalable: React$1.FC<Props$1k>;
2047
- interface Props$1k {
2091
+ declare const ResponsiveImageScalable: React$1.FC<Props$1P>;
2092
+ interface Props$1P {
2048
2093
  /**
2049
2094
  * Image alt text.
2050
2095
  */
@@ -2091,8 +2136,8 @@ interface Props$1k {
2091
2136
  sizes?: number;
2092
2137
  }
2093
2138
 
2094
- declare const ResponsiveImage: React$1.FC<Props$1j>;
2095
- interface Props$1j {
2139
+ declare const ResponsiveImage: React$1.FC<Props$1O>;
2140
+ interface Props$1O {
2096
2141
  /**
2097
2142
  * List of available breakpoints.
2098
2143
  */
@@ -2115,8 +2160,8 @@ interface Props$1j {
2115
2160
  loader?: React$1.ReactNode;
2116
2161
  }
2117
2162
 
2118
- declare const Skeleton: React$1.FC<Props$1i>;
2119
- interface Props$1i {
2163
+ declare const Skeleton: React$1.FC<Props$1N>;
2164
+ interface Props$1N {
2120
2165
  /**
2121
2166
  * Optional class name. It overrides class responsible for background color.
2122
2167
  */
@@ -2131,8 +2176,8 @@ interface Props$1i {
2131
2176
  width?: string;
2132
2177
  }
2133
2178
 
2134
- declare const SortButton: React$1.FC<Props$1h>;
2135
- interface Props$1h {
2179
+ declare const SortButton: React$1.FC<Props$1M>;
2180
+ interface Props$1M {
2136
2181
  /**
2137
2182
  * Button's aria label.
2138
2183
  */
@@ -2151,8 +2196,8 @@ interface Props$1h {
2151
2196
  onClick?: () => void;
2152
2197
  }
2153
2198
 
2154
- declare const SwitchView: React$1.FC<Props$1g>;
2155
- interface Props$1g {
2199
+ declare const SwitchView: React$1.FC<Props$1L>;
2200
+ interface Props$1L {
2156
2201
  /**
2157
2202
  * Main content of the component.
2158
2203
  */
@@ -2167,8 +2212,8 @@ interface Props$1g {
2167
2212
  type?: 'default' | 'fallback';
2168
2213
  }
2169
2214
 
2170
- declare const Switch: React$1.FC<Props$1f>;
2171
- interface Props$1f {
2215
+ declare const Switch: React$1.FC<Props$1K>;
2216
+ interface Props$1K {
2172
2217
  /**
2173
2218
  * Main content of the component.
2174
2219
  */
@@ -2179,8 +2224,8 @@ interface Props$1f {
2179
2224
  match?: string;
2180
2225
  }
2181
2226
 
2182
- declare const SwitchInput: React$1.FC<Props$1e>;
2183
- interface Props$1e {
2227
+ declare const SwitchInput: React$1.FC<Props$1J>;
2228
+ interface Props$1J {
2184
2229
  /**
2185
2230
  * Sets current input's value.
2186
2231
  */
@@ -2199,8 +2244,8 @@ interface Props$1e {
2199
2244
  onChange: (checked: boolean) => void;
2200
2245
  }
2201
2246
 
2202
- declare const TagList: React$1.FC<Props$1d>;
2203
- interface Props$1d {
2247
+ declare const TagList: React$1.FC<Props$1I>;
2248
+ interface Props$1I {
2204
2249
  /**
2205
2250
  * Main content of the component.
2206
2251
  */
@@ -2211,8 +2256,8 @@ interface Props$1d {
2211
2256
  className?: string;
2212
2257
  }
2213
2258
 
2214
- declare const TagLabel: React$1.FC<Props$1c>;
2215
- interface Props$1c {
2259
+ declare const TagLabel: React$1.FC<Props$1H>;
2260
+ interface Props$1H {
2216
2261
  /**
2217
2262
  * Emphasizes tag content.
2218
2263
  */
@@ -2223,8 +2268,8 @@ interface Props$1c {
2223
2268
  children: React$1.ReactNode;
2224
2269
  }
2225
2270
 
2226
- declare const Tag: React$1.ForwardRefExoticComponent<Props$1b & React$1.RefAttributes<HTMLDivElement>>;
2227
- interface Props$1b {
2271
+ declare const Tag: React$1.ForwardRefExoticComponent<Props$1G & React$1.RefAttributes<HTMLDivElement>>;
2272
+ interface Props$1G {
2228
2273
  /**
2229
2274
  * Sets component's children.
2230
2275
  */
@@ -2255,8 +2300,8 @@ interface Props$1b {
2255
2300
  removeLabel?: string;
2256
2301
  }
2257
2302
 
2258
- declare const TagInput: React$1.FC<Props$1a>;
2259
- interface Props$1a {
2303
+ declare const TagInput: React$1.FC<Props$1F>;
2304
+ interface Props$1F {
2260
2305
  /**
2261
2306
  * Input's class name.
2262
2307
  */
@@ -2304,8 +2349,8 @@ interface Props$1a {
2304
2349
  }[];
2305
2350
  }
2306
2351
 
2307
- declare const Tab: React$1.FC<Props$19>;
2308
- interface Props$19 {
2352
+ declare const Tab: React$1.FC<Props$1E>;
2353
+ interface Props$1E {
2309
2354
  /**
2310
2355
  * Main content.
2311
2356
  */
@@ -2320,8 +2365,8 @@ interface Props$19 {
2320
2365
  label: string;
2321
2366
  }
2322
2367
 
2323
- declare const Tabs: React$1.FC<Props$18>;
2324
- interface Props$18 {
2368
+ declare const Tabs: React$1.FC<Props$1D>;
2369
+ interface Props$1D {
2325
2370
  /**
2326
2371
  * Currently selected tab.
2327
2372
  */
@@ -2336,8 +2381,8 @@ interface Props$18 {
2336
2381
  onTabSelect?: (tab: string) => void;
2337
2382
  }
2338
2383
 
2339
- declare const Tooltip: React$1.FC<Props$17>;
2340
- interface Props$17 {
2384
+ declare const Tooltip: React$1.FC<Props$1C>;
2385
+ interface Props$1C {
2341
2386
  /**
2342
2387
  * Main content of the component.
2343
2388
  * It must be a single child that accepts `ref`.
@@ -2357,11 +2402,8 @@ interface Props$17 {
2357
2402
  title: React$1.ReactNode;
2358
2403
  }
2359
2404
 
2360
- /**
2361
- * `TopbarAction` component acts as a props carrier only.
2362
- */
2363
- declare const TopbarAction: React$1.FC<Props$16>;
2364
- interface Props$16 {
2405
+ declare const TopbarAction: React$1.FC<Props$1B>;
2406
+ interface Props$1B {
2365
2407
  /**
2366
2408
  * Applies active styling.
2367
2409
  */
@@ -2390,14 +2432,10 @@ interface Props$16 {
2390
2432
  * Action invoked upon click.
2391
2433
  */
2392
2434
  onClick?: () => void;
2393
- /**
2394
- * Download action URL.
2395
- */
2396
- downloadUrl?: string;
2397
2435
  }
2398
2436
 
2399
- declare const Topbar: React$1.FC<Props$15>;
2400
- interface Props$15 {
2437
+ declare const Topbar: React$1.FC<Props$1A>;
2438
+ interface Props$1A {
2401
2439
  /**
2402
2440
  * Main content of the component.
2403
2441
  */
@@ -2482,6 +2520,16 @@ declare const useUIContext: () => UIContext;
2482
2520
  */
2483
2521
  declare const areItemsIdentical: (items1: string[], items2: string[]) => boolean;
2484
2522
 
2523
+ /**
2524
+ * Compares two numbers and checks if they are equal.
2525
+ * Takes only first two decimal numbers into account.
2526
+ *
2527
+ * @param num1 first number
2528
+ * @param num2 second number
2529
+ * @returns whether numbers are equal
2530
+ */
2531
+ declare const areNumbersEqual: (num1: number, num2: number) => boolean;
2532
+
2485
2533
  /**
2486
2534
  * Generates base64-encoded image from its `blurhash` representation.
2487
2535
  *
@@ -2696,129 +2744,341 @@ declare const useClipboard: () => {
2696
2744
  */
2697
2745
  declare const useContainerKeyDown: (container?: HTMLElement | null, onKeyDown?: ((evt: KeyEventLike) => void) | undefined) => void;
2698
2746
 
2699
- /**
2700
- * Use this hook in order to defer unmount of a component.
2701
- * It makes sure that component relying on this hook can be mounted for at least `waitFor` period.
2702
- * This is useful to keep loader-like components mounted for a minimum time to avoid "flashing" effect.
2703
- *
2704
- * @param loading loading flag
2705
- * @param waitFor indicates minimum mount time
2706
- * @returns flag indicating if component relying on this hook should be kept mounted
2707
- */
2708
- declare const useDeferredUnmount: (loading: boolean, waitFor?: number) => boolean;
2709
-
2710
- /**
2711
- * Allows to delay `shouldWait` flag by a value specified by `delay` option.
2712
- *
2713
- * @param shouldWait observed flag
2714
- * @param delay delay time (in ms)
2715
- * @returns flag indicating if `delay` time has passed and `shouldWait` is still `true`.
2716
- */
2717
- declare const useDelay: (shouldWait: boolean, delay: number) => boolean;
2718
-
2719
- interface Dimensions {
2720
- width: number;
2721
- height: number;
2722
- top: number;
2723
- left: number;
2724
- }
2725
- interface ResizeOptions {
2726
- /**
2727
- * Resize direction.
2728
- */
2729
- dir?: 'SE' | 'SW';
2747
+ type CropperDimensions = [number, number];
2748
+ interface CropperResult {
2730
2749
  /**
2731
- * Minimum resize width.
2750
+ * Cropper instance.
2732
2751
  */
2733
- minWidth?: number;
2752
+ cropper: Cropper | null;
2734
2753
  /**
2735
- * Callback invoked when resizing is done.
2754
+ * Whether instance of Cropper is ready for interaction.
2736
2755
  */
2737
- onResizeEnd?: (dimensions: Dimensions) => void;
2756
+ cropperReady: boolean;
2738
2757
  }
2739
2758
 
2740
2759
  /**
2741
- * Manages element resize.
2760
+ * Initializes an instance of CropperJS.
2761
+ * Returns the instance once it is ready.
2762
+ * Reuses the instance on rerenders.
2742
2763
  *
2743
- * @param opts resize options
2744
- * @returns resize state and utils
2764
+ * @param element preview element
2765
+ * @param options cropper options
2766
+ * @returns cropper instance
2745
2767
  */
2746
- declare const useResize: (opts: ResizeOptions) => {
2747
- onMouseDown: React$1.MouseEventHandler<HTMLElement> | undefined;
2748
- setResizableEl: (el: HTMLElement | null) => void;
2749
- isResizing: boolean | undefined;
2750
- };
2768
+ declare function useCropper(element?: HTMLCanvasElement | null, options?: Cropper$1.Options<HTMLCanvasElement>): CropperResult;
2769
+ declare function useCropper(element?: HTMLImageElement | null, options?: Cropper$1.Options<HTMLImageElement>): CropperResult;
2751
2770
 
2752
- type DragHandler = (diff: {
2771
+ interface CropperCrop {
2753
2772
  /**
2754
- * Dragged element.
2773
+ * Clears crop box within Cropper and resets React state.
2755
2774
  */
2756
- draggableEl: HTMLElement;
2775
+ clearCrop: () => void;
2757
2776
  /**
2758
- * Initial X offset of dragged element in relation to its closest positioned ancestor.
2777
+ * Applies crop box with specified aspect ratio.
2778
+ * If aspect ratio is not provided, then crop box in freeform will be applied.
2779
+ *
2780
+ * @param aspectRatio crop item aspect ratio
2759
2781
  */
2760
- initOffsetX: number;
2782
+ crop: (aspectRatio?: number) => void;
2761
2783
  /**
2762
- * Initial Y offset of dragged element in relation to its closest positioned ancestor.
2784
+ * Whether aspect ratio of crop box is locked.
2763
2785
  */
2764
- initOffsetY: number;
2786
+ cropBoxAspectRatioLocked: boolean;
2765
2787
  /**
2766
- * Initial offset width of dragged element.
2788
+ * Height of the crop box (if it's applied).
2789
+ * This always shows real size of the crop box, even in FIXED_CROP_SIZE mode.
2767
2790
  */
2768
- initOffsetWidth: number;
2791
+ cropBoxHeight?: number;
2769
2792
  /**
2770
- * Initial offset height of dragged element.
2793
+ * Width of the crop box (if it's applied).
2794
+ * This always shows real size of the crop box, even in FIXED_CROP_SIZE mode.
2771
2795
  */
2772
- initOffsetHeight: number;
2796
+ cropBoxWidth?: number;
2773
2797
  /**
2774
- * Pointer's X client offset.
2798
+ * Whether crop is enabled.
2775
2799
  */
2776
- clientOffsetX: number;
2800
+ cropEnabled: boolean;
2777
2801
  /**
2778
- * Pointer's Y client offset.
2802
+ * Sets custom crop box dimensions.
2803
+ *
2804
+ * @param width crop box width
2805
+ * @param height crop box height
2779
2806
  */
2780
- clientOffsetY: number;
2807
+ cropWithCustomDimensions: (width: number, height: number) => void;
2781
2808
  /**
2782
- * Value of a vector representing pointer movement in X axis.
2809
+ * Sets fixed crop box dimensions and enables crop box within Cropper if disabled.
2810
+ *
2811
+ * From CropperJS's perspective, this is similar to setting a custom crop box.
2812
+ * For the user, this is a different experience: The crop box dimensions have also fixed sized in pixels.
2813
+ * This operation basically equals setting a crop box along with scaling the image at the same time.
2814
+ * Actual scaling will be performed on the server, not with the CropperJS.
2815
+ *
2816
+ * @param width crop box fixed width
2817
+ * @param height crop box fixed height
2783
2818
  */
2784
- clientVX: number;
2819
+ cropWithFixedDimensions: (width: number, height: number) => void;
2785
2820
  /**
2786
- * Value of a vector representing pointer movement in Y axis.
2821
+ * Height of the crop box in FIXED_CROP_SIZE.
2787
2822
  */
2788
- clientVY: number;
2789
- }) => void;
2790
- type DragDimensionsHandler = (dimensions: Dimensions) => void;
2791
- interface DraggableOptions {
2823
+ fixedCropBoxHeight?: number;
2792
2824
  /**
2793
- * Callback invoked on dragging. Passes most recent drag vectors.
2825
+ * Width of the crop box in FIXED_CROP_SIZE.
2794
2826
  */
2795
- onDrag?: DragHandler;
2827
+ fixedCropBoxWidth?: number;
2796
2828
  /**
2797
- * Callback invoked on drag end.
2829
+ * Whether crop box is in CROP mode.
2798
2830
  */
2799
- onDragEnd?: DragDimensionsHandler;
2831
+ isCropMode: boolean;
2800
2832
  /**
2801
- * Callback invoked on drag start.
2833
+ * Whether crop box is in FIXED_CROP_SIZE.
2802
2834
  */
2803
- onDragStart?: React.MouseEventHandler<HTMLElement>;
2835
+ isFixedCropMode: boolean;
2836
+ /**
2837
+ * Toggles crop box dimensions lock.
2838
+ */
2839
+ toggleAspectRatioLock: () => void;
2804
2840
  }
2805
- interface DraggableState {
2841
+
2842
+ /**
2843
+ * Hook that allows to crop CropperJS image. Exposes helper methods.
2844
+ *
2845
+ * @param cropper instance of CropperJS
2846
+ * @returns crop result and methods
2847
+ */
2848
+ declare const useCropperCrop: (cropper: Cropper$1 | null, element?: HTMLElement | null) => CropperCrop;
2849
+
2850
+ declare const CROPPER_ROTATION_ANGLE = 90;
2851
+ declare const CROPPER_FULL_ROTATION = 360;
2852
+
2853
+ interface CropperRotateResult {
2806
2854
  /**
2807
- * Dragged element.
2855
+ * Whether image has inverted orientation in relation to the original one.
2808
2856
  */
2809
- draggableEl: HTMLElement | null;
2857
+ hasInvertedOrientation: boolean;
2810
2858
  /**
2811
- * Indicates if dragging is happening.
2859
+ * Rotates image left by 90 degrees.
2812
2860
  */
2813
- isDragging?: boolean;
2861
+ rotateLeft: () => void;
2814
2862
  /**
2815
- * Event handler that should be attached to drag handle.
2863
+ * Rotates image right by 90 degrees.
2816
2864
  */
2817
- onMouseDown?: React.MouseEventHandler<HTMLElement>;
2865
+ rotateRight: () => void;
2818
2866
  /**
2819
- * Setter for element that will be dragged.
2867
+ * Rotates image to a given angle.
2868
+ *
2869
+ * @param angle angle to rotate to
2820
2870
  */
2821
- setDraggableEl: (el: HTMLElement | null) => void;
2871
+ rotateTo: (angle: number) => void;
2872
+ /**
2873
+ * Current rotation angle.
2874
+ */
2875
+ rotationAngle: number;
2876
+ }
2877
+
2878
+ /**
2879
+ * Hook that allows to rotate CropperJS image.
2880
+ *
2881
+ * @param cropper instance of CropperJS
2882
+ * @returns result
2883
+ */
2884
+ declare const useCropperRotate: (cropper: Cropper$1 | null) => CropperRotateResult;
2885
+
2886
+ declare const CROPPER_FLIP_FACTOR = -1;
2887
+ declare const CROPPER_INIT_SCALE = 1;
2888
+
2889
+ interface CropperScaleResult {
2890
+ /**
2891
+ * Flips image horizontally.
2892
+ */
2893
+ flipHorizontal: () => void;
2894
+ /**
2895
+ * Flips image vertically.
2896
+ */
2897
+ flipVertical: () => void;
2898
+ /**
2899
+ * Resizes image by respecting aspect ratio.
2900
+ * The one that has changed will be used as a reference and the second one will be resized accordingly.
2901
+ *
2902
+ * @param width requested width
2903
+ * @param height requested height
2904
+ */
2905
+ resize: (width: number, height: number) => void;
2906
+ /**
2907
+ * Scale value in X dimension.
2908
+ */
2909
+ scaleX: number;
2910
+ /**
2911
+ * Scale value in Y dimension.
2912
+ */
2913
+ scaleY: number;
2914
+ }
2915
+
2916
+ /**
2917
+ * Hook that allows to scale CropperJS image.
2918
+ *
2919
+ * @param cropper instance of CropperJS
2920
+ * @param onRotateTo callback invoked when image is rotated to a given angle
2921
+ * @returns result
2922
+ */
2923
+ declare const useCropperScale: (cropper: Cropper$1 | null, onRotateTo?: ((angle: number) => void) | undefined) => CropperScaleResult;
2924
+
2925
+ interface CropperZoomResult {
2926
+ /**
2927
+ * Enlarges image.
2928
+ */
2929
+ zoomIn: () => void;
2930
+ /**
2931
+ * Zooms out.
2932
+ */
2933
+ zoomOut: () => void;
2934
+ /**
2935
+ * Resets zoom to initial value.
2936
+ * Centers image with regards to the canvas.
2937
+ */
2938
+ resetZoom: () => void;
2939
+ /**
2940
+ * Initial zoom value.
2941
+ */
2942
+ zoomBaseline: number;
2943
+ /**
2944
+ * Current zoom value.
2945
+ */
2946
+ zoomValue: number;
2947
+ }
2948
+
2949
+ /**
2950
+ * Hook that allows to zoom CropperJS image.
2951
+ * Zoom values are reported in %.
2952
+ *
2953
+ * @param cropper instance of CropperJS
2954
+ * @param element element that was used to initialize CropperJS
2955
+ * @returns result
2956
+ */
2957
+ declare const useCropperZoom: (cropper: Cropper$1 | null, element?: HTMLElement | null) => CropperZoomResult;
2958
+
2959
+ /**
2960
+ * Use this hook in order to defer unmount of a component.
2961
+ * It makes sure that component relying on this hook can be mounted for at least `waitFor` period.
2962
+ * This is useful to keep loader-like components mounted for a minimum time to avoid "flashing" effect.
2963
+ *
2964
+ * @param loading loading flag
2965
+ * @param waitFor indicates minimum mount time
2966
+ * @returns flag indicating if component relying on this hook should be kept mounted
2967
+ */
2968
+ declare const useDeferredUnmount: (loading: boolean, waitFor?: number) => boolean;
2969
+
2970
+ /**
2971
+ * Allows to delay `shouldWait` flag by a value specified by `delay` option.
2972
+ *
2973
+ * @param shouldWait observed flag
2974
+ * @param delay delay time (in ms)
2975
+ * @returns flag indicating if `delay` time has passed and `shouldWait` is still `true`.
2976
+ */
2977
+ declare const useDelay: (shouldWait: boolean, delay: number) => boolean;
2978
+
2979
+ interface Dimensions {
2980
+ width: number;
2981
+ height: number;
2982
+ top: number;
2983
+ left: number;
2984
+ }
2985
+ interface ResizeOptions {
2986
+ /**
2987
+ * Resize direction.
2988
+ */
2989
+ dir?: 'SE' | 'SW';
2990
+ /**
2991
+ * Minimum resize width.
2992
+ */
2993
+ minWidth?: number;
2994
+ /**
2995
+ * Callback invoked when resizing is done.
2996
+ */
2997
+ onResizeEnd?: (dimensions: Dimensions) => void;
2998
+ }
2999
+
3000
+ /**
3001
+ * Manages element resize.
3002
+ *
3003
+ * @param opts resize options
3004
+ * @returns resize state and utils
3005
+ */
3006
+ declare const useResize: (opts: ResizeOptions) => {
3007
+ onMouseDown: React$1.MouseEventHandler<HTMLElement> | undefined;
3008
+ setResizableEl: (el: HTMLElement | null) => void;
3009
+ isResizing: boolean | undefined;
3010
+ };
3011
+
3012
+ type DragHandler = (diff: {
3013
+ /**
3014
+ * Dragged element.
3015
+ */
3016
+ draggableEl: HTMLElement;
3017
+ /**
3018
+ * Initial X offset of dragged element in relation to its closest positioned ancestor.
3019
+ */
3020
+ initOffsetX: number;
3021
+ /**
3022
+ * Initial Y offset of dragged element in relation to its closest positioned ancestor.
3023
+ */
3024
+ initOffsetY: number;
3025
+ /**
3026
+ * Initial offset width of dragged element.
3027
+ */
3028
+ initOffsetWidth: number;
3029
+ /**
3030
+ * Initial offset height of dragged element.
3031
+ */
3032
+ initOffsetHeight: number;
3033
+ /**
3034
+ * Pointer's X client offset.
3035
+ */
3036
+ clientOffsetX: number;
3037
+ /**
3038
+ * Pointer's Y client offset.
3039
+ */
3040
+ clientOffsetY: number;
3041
+ /**
3042
+ * Value of a vector representing pointer movement in X axis.
3043
+ */
3044
+ clientVX: number;
3045
+ /**
3046
+ * Value of a vector representing pointer movement in Y axis.
3047
+ */
3048
+ clientVY: number;
3049
+ }) => void;
3050
+ type DragDimensionsHandler = (dimensions: Dimensions) => void;
3051
+ interface DraggableOptions {
3052
+ /**
3053
+ * Callback invoked on dragging. Passes most recent drag vectors.
3054
+ */
3055
+ onDrag?: DragHandler;
3056
+ /**
3057
+ * Callback invoked on drag end.
3058
+ */
3059
+ onDragEnd?: DragDimensionsHandler;
3060
+ /**
3061
+ * Callback invoked on drag start.
3062
+ */
3063
+ onDragStart?: React.MouseEventHandler<HTMLElement>;
3064
+ }
3065
+ interface DraggableState {
3066
+ /**
3067
+ * Dragged element.
3068
+ */
3069
+ draggableEl: HTMLElement | null;
3070
+ /**
3071
+ * Indicates if dragging is happening.
3072
+ */
3073
+ isDragging?: boolean;
3074
+ /**
3075
+ * Event handler that should be attached to drag handle.
3076
+ */
3077
+ onMouseDown?: React.MouseEventHandler<HTMLElement>;
3078
+ /**
3079
+ * Setter for element that will be dragged.
3080
+ */
3081
+ setDraggableEl: (el: HTMLElement | null) => void;
2822
3082
  }
2823
3083
 
2824
3084
  /**
@@ -2935,6 +3195,14 @@ declare const useFilesDrop: ({ onDrop }: UseFilesDropProps) => {
2935
3195
  isActive: boolean;
2936
3196
  };
2937
3197
 
3198
+ /**
3199
+ * Utility hook allowing syncing two refs.
3200
+ *
3201
+ * @param ref
3202
+ * @returns single forked ref synced with the provided ref
3203
+ */
3204
+ declare const useForkRef: <T>(ref: React$1.MutableRefObject<T | null> | ((instance: T | null) => void) | null | undefined) => React$1.RefObject<T>;
3205
+
2938
3206
  type Selected = Set<string>;
2939
3207
 
2940
3208
  /**
@@ -3183,8 +3451,8 @@ declare namespace validators_d {
3183
3451
  };
3184
3452
  }
3185
3453
 
3186
- declare const ViewDialog: React$1.FC<Props$14>;
3187
- interface Props$14 {
3454
+ declare const ViewDialog: React$1.FC<Props$1z>;
3455
+ interface Props$1z {
3188
3456
  /**
3189
3457
  * Main content of the component.
3190
3458
  */
@@ -3247,8 +3515,8 @@ interface Props$14 {
3247
3515
  label?: string;
3248
3516
  }
3249
3517
 
3250
- declare const UIProvider: React$1.FC<Props$13>;
3251
- interface Props$13 {
3518
+ declare const UIProvider: React$1.FC<Props$1y>;
3519
+ interface Props$1y {
3252
3520
  /**
3253
3521
  * Main content.
3254
3522
  */
@@ -3276,7 +3544,7 @@ interface Props$13 {
3276
3544
  /**
3277
3545
  * Dialog mode options.
3278
3546
  */
3279
- dialog?: Omit<Props$14, 'children'>;
3547
+ dialog?: Omit<Props$1z, 'children'>;
3280
3548
  /**
3281
3549
  * Name of selected theme.
3282
3550
  */
@@ -3287,16 +3555,16 @@ interface Props$13 {
3287
3555
  label?: string;
3288
3556
  }
3289
3557
 
3290
- declare const View: React$1.FC<Props$12>;
3291
- interface Props$12 {
3558
+ declare const View: React$1.FC<Props$1x>;
3559
+ interface Props$1x {
3292
3560
  /**
3293
3561
  * Sets component's children.
3294
3562
  */
3295
3563
  children?: React$1.ReactNode;
3296
3564
  }
3297
3565
 
3298
- declare const ViewContent: React$1.ForwardRefExoticComponent<Props$11 & React$1.RefAttributes<HTMLDivElement>>;
3299
- interface Props$11 {
3566
+ declare const ViewContent: React$1.ForwardRefExoticComponent<Props$1w & React$1.RefAttributes<HTMLDivElement>>;
3567
+ interface Props$1w {
3300
3568
  /**
3301
3569
  * Sets component's children.
3302
3570
  */
@@ -3319,48 +3587,48 @@ interface Props$11 {
3319
3587
  onKeyDown?: React$1.KeyboardEventHandler;
3320
3588
  }
3321
3589
 
3322
- declare const ViewContentBar: React$1.FC<Props$10>;
3323
- interface Props$10 {
3590
+ declare const ViewContentBar: React$1.FC<Props$1v>;
3591
+ interface Props$1v {
3324
3592
  /**
3325
3593
  * Sets component's children.
3326
3594
  */
3327
3595
  children?: React$1.ReactNode;
3328
3596
  }
3329
3597
 
3330
- declare const ViewFooter: React$1.FC<Props$$>;
3331
- interface Props$$ {
3598
+ declare const ViewFooter: React$1.FC<Props$1u>;
3599
+ interface Props$1u {
3332
3600
  /**
3333
3601
  * Sets component's children.
3334
3602
  */
3335
3603
  children?: React$1.ReactNode;
3336
3604
  }
3337
3605
 
3338
- declare const ViewHeader: React$1.FC<Props$_>;
3339
- interface Props$_ {
3606
+ declare const ViewHeader: React$1.FC<Props$1t>;
3607
+ interface Props$1t {
3340
3608
  /**
3341
3609
  * Sets component's children.
3342
3610
  */
3343
3611
  children?: React$1.ReactNode;
3344
3612
  }
3345
3613
 
3346
- declare const ViewSideContent: React$1.FC<Props$Z>;
3347
- interface Props$Z {
3614
+ declare const ViewSideContent: React$1.FC<Props$1s>;
3615
+ interface Props$1s {
3348
3616
  /**
3349
3617
  * Sets component's children.
3350
3618
  */
3351
3619
  children?: React$1.ReactNode;
3352
3620
  }
3353
3621
 
3354
- declare const ViewContentWrapper: React$1.FC<Props$Y>;
3355
- interface Props$Y {
3622
+ declare const ViewContentWrapper: React$1.FC<Props$1r>;
3623
+ interface Props$1r {
3356
3624
  /**
3357
3625
  * Sets component's children.
3358
3626
  */
3359
3627
  children?: React$1.ReactNode;
3360
3628
  }
3361
3629
 
3362
- declare const ViewWrapper: React$1.FC<Props$X>;
3363
- interface Props$X {
3630
+ declare const ViewWrapper: React$1.FC<Props$1q>;
3631
+ interface Props$1q {
3364
3632
  /**
3365
3633
  * Main content of the component.
3366
3634
  */
@@ -3371,8 +3639,8 @@ interface Props$X {
3371
3639
  navbar?: React$1.ReactNode;
3372
3640
  }
3373
3641
 
3374
- declare const RangeSlider: React$1.FC<Props$W>;
3375
- type Props$W = {
3642
+ declare const RangeSlider: React$1.FC<Props$1p>;
3643
+ type Props$1p = {
3376
3644
  /**
3377
3645
  * Slider value.
3378
3646
  */
@@ -3405,8 +3673,8 @@ type Props$W = {
3405
3673
  showLabels?: boolean;
3406
3674
  };
3407
3675
 
3408
- declare const FormFeedback: React$1.FC<Props$V>;
3409
- type Props$V = {
3676
+ declare const FormFeedback: React$1.FC<Props$1o>;
3677
+ type Props$1o = {
3410
3678
  /**
3411
3679
  * Main content of the component.
3412
3680
  */
@@ -3421,8 +3689,8 @@ type Props$V = {
3421
3689
  warning?: boolean;
3422
3690
  };
3423
3691
 
3424
- declare const FormGroup: React$1.FC<Props$U>;
3425
- interface Props$U {
3692
+ declare const FormGroup: React$1.FC<Props$1n>;
3693
+ interface Props$1n {
3426
3694
  /**
3427
3695
  * Main content of the component.
3428
3696
  */
@@ -3433,24 +3701,24 @@ interface Props$U {
3433
3701
  halfWidth?: boolean;
3434
3702
  }
3435
3703
 
3436
- declare const FormGroupColumn: React$1.FC<Props$T>;
3437
- interface Props$T {
3704
+ declare const FormGroupColumn: React$1.FC<Props$1m>;
3705
+ interface Props$1m {
3438
3706
  /**
3439
3707
  * Main content of the component.
3440
3708
  */
3441
3709
  children: React$1.ReactNode;
3442
3710
  }
3443
3711
 
3444
- declare const FormGroupInfo: React$1.FC<Props$S>;
3445
- interface Props$S {
3712
+ declare const FormGroupInfo: React$1.FC<Props$1l>;
3713
+ interface Props$1l {
3446
3714
  /**
3447
3715
  * Main content of the component.
3448
3716
  */
3449
3717
  children: React$1.ReactNode;
3450
3718
  }
3451
3719
 
3452
- declare const FormInputLabel: React$1.FC<Props$R>;
3453
- type Props$R = {
3720
+ declare const FormInputLabel: React$1.FC<Props$1k>;
3721
+ type Props$1k = {
3454
3722
  /**
3455
3723
  * Main content of the component.
3456
3724
  */
@@ -3465,8 +3733,8 @@ type Props$R = {
3465
3733
  hidden?: boolean;
3466
3734
  };
3467
3735
 
3468
- declare const Form: React$1.ForwardRefExoticComponent<Props$Q & React$1.RefAttributes<HTMLFormElement>>;
3469
- type Props$Q = {
3736
+ declare const Form: React$1.ForwardRefExoticComponent<Props$1j & React$1.RefAttributes<HTMLFormElement>>;
3737
+ type Props$1j = {
3470
3738
  /**
3471
3739
  * Main content of the component.
3472
3740
  */
@@ -3489,8 +3757,8 @@ type Props$Q = {
3489
3757
  onSubmit: React$1.FormEventHandler<HTMLFormElement>;
3490
3758
  };
3491
3759
 
3492
- declare const EmptyViewLabel: React$1.FC<Props$P>;
3493
- interface Props$P {
3760
+ declare const EmptyViewLabel: React$1.FC<Props$1i>;
3761
+ interface Props$1i {
3494
3762
  /**
3495
3763
  * Main content of the component.
3496
3764
  */
@@ -3501,8 +3769,8 @@ interface Props$P {
3501
3769
  muted?: boolean;
3502
3770
  }
3503
3771
 
3504
- declare const EmptyView: React$1.ForwardRefExoticComponent<Props$O & React$1.RefAttributes<HTMLDivElement>>;
3505
- interface Props$O {
3772
+ declare const EmptyView: React$1.ForwardRefExoticComponent<Props$1h & React$1.RefAttributes<HTMLDivElement>>;
3773
+ interface Props$1h {
3506
3774
  /**
3507
3775
  * Adds active styling.
3508
3776
  */
@@ -3525,8 +3793,8 @@ interface Props$O {
3525
3793
  type?: 'dropzone' | 'default';
3526
3794
  }
3527
3795
 
3528
- declare const Ellipsis: React$1.FC<Props$N>;
3529
- interface Props$N {
3796
+ declare const Ellipsis: React$1.FC<Props$1g>;
3797
+ interface Props$1g {
3530
3798
  /**
3531
3799
  * Items to display.
3532
3800
  */
@@ -3537,8 +3805,8 @@ interface Props$N {
3537
3805
  maxVisibleItems?: number;
3538
3806
  }
3539
3807
 
3540
- declare const FilePreviewActions: React$1.FC<Props$M>;
3541
- interface Props$M {
3808
+ declare const FilePreviewActions: React$1.FC<Props$1f>;
3809
+ interface Props$1f {
3542
3810
  /**
3543
3811
  * Label of the back button.
3544
3812
  */
@@ -3553,33 +3821,33 @@ interface Props$M {
3553
3821
  title: string;
3554
3822
  }
3555
3823
 
3556
- declare const FilePreviewColumn: React$1.FC<Props$L>;
3557
- interface Props$L {
3824
+ declare const FilePreviewColumn: React$1.FC<Props$1e>;
3825
+ interface Props$1e {
3558
3826
  /**
3559
3827
  * Main content of the component.
3560
3828
  */
3561
3829
  children: React$1.ReactNode;
3562
3830
  }
3563
3831
 
3564
- declare const FilePreviewContent: React$1.ForwardRefExoticComponent<Props$K & React$1.RefAttributes<HTMLDivElement>>;
3565
- interface Props$K {
3832
+ declare const FilePreviewContent: React$1.ForwardRefExoticComponent<Props$1d & React$1.RefAttributes<HTMLDivElement>>;
3833
+ interface Props$1d {
3566
3834
  /**
3567
3835
  * Main content of the component.
3568
3836
  */
3569
3837
  children: React$1.ReactNode;
3570
3838
  }
3571
3839
 
3572
- declare const FilePreviewHoverable: React$1.ForwardRefExoticComponent<Props$J & React$1.RefAttributes<HTMLDivElement>>;
3573
- interface Props$J {
3840
+ declare const FilePreviewHoverable: React$1.ForwardRefExoticComponent<Props$1c & React$1.RefAttributes<HTMLDivElement>>;
3841
+ interface Props$1c {
3574
3842
  /**
3575
3843
  * Main content of the component.
3576
3844
  */
3577
3845
  children: React$1.ReactNode;
3578
3846
  }
3579
3847
 
3580
- declare const FilePreviewNavButton: React$1.FC<Props$I>;
3848
+ declare const FilePreviewNavButton: React$1.FC<Props$1b>;
3581
3849
  type Side = 'left' | 'right';
3582
- interface Props$I {
3850
+ interface Props$1b {
3583
3851
  /**
3584
3852
  * Disables button.
3585
3853
  */
@@ -3602,16 +3870,16 @@ interface Props$I {
3602
3870
  tooltipPlacement?: PopperPlacement;
3603
3871
  }
3604
3872
 
3605
- declare const FilePreviewTooltip: React$1.FC<Props$H>;
3606
- interface Props$H {
3873
+ declare const FilePreviewTooltip: React$1.FC<Props$1a>;
3874
+ interface Props$1a {
3607
3875
  /**
3608
3876
  * Main content of the tooltip.
3609
3877
  */
3610
3878
  children?: React$1.ReactNode;
3611
3879
  }
3612
3880
 
3613
- declare const FilePreview: React$1.ForwardRefExoticComponent<Props$G & React$1.RefAttributes<HTMLDivElement>>;
3614
- interface Props$G {
3881
+ declare const FilePreview: React$1.ForwardRefExoticComponent<Props$19 & React$1.RefAttributes<HTMLDivElement>>;
3882
+ interface Props$19 {
3615
3883
  /**
3616
3884
  * Main content of the component.
3617
3885
  */
@@ -3661,8 +3929,8 @@ interface SelectionAreaCoords {
3661
3929
  height: number;
3662
3930
  }
3663
3931
 
3664
- declare const SelectionArea: React$1.FC<Props$F>;
3665
- interface Props$F {
3932
+ declare const SelectionArea: React$1.FC<Props$18>;
3933
+ interface Props$18 {
3666
3934
  /**
3667
3935
  * Selection area container.
3668
3936
  */
@@ -3722,8 +3990,8 @@ type SelectToggleHandler = (opt: SelectOption) => void;
3722
3990
  */
3723
3991
  type SelectKeyboardNextIdGetter = (options: SelectOption[], currentIndex: number) => SelectOption | undefined;
3724
3992
 
3725
- declare const Select: React$1.FC<Props$E>;
3726
- interface Props$E {
3993
+ declare const Select: React$1.FC<Props$17>;
3994
+ interface Props$17 {
3727
3995
  /**
3728
3996
  * Indicate error in input element.
3729
3997
  */
@@ -3768,10 +4036,14 @@ interface Props$E {
3768
4036
  * Sizing variant.
3769
4037
  */
3770
4038
  size?: 'small' | 'medium';
4039
+ /**
4040
+ * Turns on/off select border.
4041
+ */
4042
+ noBorder?: boolean;
3771
4043
  }
3772
4044
 
3773
- declare const Notifications: React$1.FC<Props$D>;
3774
- interface Props$D {
4045
+ declare const Notifications: React$1.FC<Props$16>;
4046
+ interface Props$16 {
3775
4047
  /**
3776
4048
  * Container's position will be adjusted in accordance with provided element's height.
3777
4049
  */
@@ -3784,11 +4056,11 @@ interface Props$D {
3784
4056
 
3785
4057
  type NotificationType = 'success' | 'error' | 'warning';
3786
4058
 
3787
- declare const Notification: React$1.FC<Props$C>;
4059
+ declare const Notification: React$1.FC<Props$15>;
3788
4060
  /**
3789
4061
  * `Notification` component is rendered as part of `TransitionGroup` and therefore gets transition props in addition to its regular props.
3790
4062
  */
3791
- type Props$C = Partial<TransitionProps> & {
4063
+ type Props$15 = Partial<TransitionProps> & {
3792
4064
  /**
3793
4065
  * Main content of the component.
3794
4066
  */
@@ -3815,8 +4087,8 @@ type Props$C = Partial<TransitionProps> & {
3815
4087
  type: NotificationType;
3816
4088
  };
3817
4089
 
3818
- declare const CopyableInput: React$1.FC<Props$B>;
3819
- interface Props$B {
4090
+ declare const CopyableInput: React$1.FC<Props$14>;
4091
+ interface Props$14 {
3820
4092
  /**
3821
4093
  * Unique input's id.
3822
4094
  */
@@ -3839,8 +4111,28 @@ interface Props$B {
3839
4111
  labelCopied: string;
3840
4112
  }
3841
4113
 
3842
- declare const CopyButton: React$1.FC<Props$A>;
3843
- interface Props$A {
4114
+ declare const CopyableLabel: React$1.FC<Props$13>;
4115
+ interface Props$13 {
4116
+ /**
4117
+ * Label's text. This text will be copied to clipboard upon clicking on the label.
4118
+ */
4119
+ value?: string;
4120
+ /**
4121
+ * Label's class name.
4122
+ */
4123
+ className?: string;
4124
+ /**
4125
+ * Label displayed in the popup on hover and the internal button's aria-label.
4126
+ */
4127
+ labelCopy: string;
4128
+ /**
4129
+ * Label displayed in the popup upon clicking on the copyable text.
4130
+ */
4131
+ labelCopied: string;
4132
+ }
4133
+
4134
+ declare const CopyButton: React$1.FC<Props$12>;
4135
+ interface Props$12 {
3844
4136
  /**
3845
4137
  * Value to be copied to clipboard.
3846
4138
  */
@@ -3909,8 +4201,8 @@ interface ContainerQueryContext {
3909
4201
  declare const ContainerQueryContext: React$1.Context<ContainerQueryContext>;
3910
4202
  declare const useContainerQuery: () => ContainerQueryContext;
3911
4203
 
3912
- declare const ContainerQueryProvider: React$1.FC<Props$z>;
3913
- interface Props$z {
4204
+ declare const ContainerQueryProvider: React$1.FC<Props$11>;
4205
+ interface Props$11 {
3914
4206
  /**
3915
4207
  * Maps breakpoint keys to width values. Each key corresponds to minimum value (in px).
3916
4208
  */
@@ -3925,8 +4217,8 @@ interface Props$z {
3925
4217
  containerEl?: HTMLElement | null;
3926
4218
  }
3927
4219
 
3928
- declare const ContainerQuery: React$1.FC<Props$y>;
3929
- interface Props$y {
4220
+ declare const ContainerQuery: React$1.FC<Props$10>;
4221
+ interface Props$10 {
3930
4222
  /**
3931
4223
  * Main content of the component.
3932
4224
  */
@@ -3950,8 +4242,8 @@ interface FixedContext {
3950
4242
  declare const FixedContext: React$1.Context<FixedContext>;
3951
4243
  declare const useFixedCtx: () => FixedContext;
3952
4244
 
3953
- declare const FixedProvider: React$1.FC<Props$x>;
3954
- interface Props$x {
4245
+ declare const FixedProvider: React$1.FC<Props$$>;
4246
+ interface Props$$ {
3955
4247
  /**
3956
4248
  * Main content of the component.
3957
4249
  */
@@ -3963,16 +4255,16 @@ interface Props$x {
3963
4255
  rootEl?: HTMLElement | null;
3964
4256
  }
3965
4257
 
3966
- declare const Fixed: React$1.FC<Props$w>;
3967
- interface Props$w {
4258
+ declare const Fixed: React$1.FC<Props$_>;
4259
+ interface Props$_ {
3968
4260
  /**
3969
4261
  * Main content of the component.
3970
4262
  */
3971
4263
  children: React$1.ReactNode;
3972
4264
  }
3973
4265
 
3974
- declare const LoadingButton: React$1.ForwardRefExoticComponent<Props$v & React$1.RefAttributes<HTMLButtonElement>>;
3975
- interface Props$v extends Props$2q {
4266
+ declare const LoadingButton: React$1.ForwardRefExoticComponent<Props$Z & React$1.RefAttributes<HTMLButtonElement>>;
4267
+ interface Props$Z extends Props$2V {
3976
4268
  /**
3977
4269
  * Delays loader appearance. Defaults to `true`.
3978
4270
  */
@@ -3987,8 +4279,8 @@ interface Props$v extends Props$2q {
3987
4279
  loaderPosition?: 'left' | 'center' | 'right';
3988
4280
  }
3989
4281
 
3990
- declare const ListItem: React$1.FC<Props$u>;
3991
- interface Props$u {
4282
+ declare const ListItem: React$1.FC<Props$Y>;
4283
+ interface Props$Y {
3992
4284
  /**
3993
4285
  * Main content of the component.
3994
4286
  */
@@ -3999,16 +4291,16 @@ interface Props$u {
3999
4291
  onClick?: () => void;
4000
4292
  }
4001
4293
 
4002
- declare const ListItemActions: React$1.FC<Props$t>;
4003
- interface Props$t {
4294
+ declare const ListItemActions: React$1.FC<Props$X>;
4295
+ interface Props$X {
4004
4296
  /**
4005
4297
  * Main content of the component.
4006
4298
  */
4007
4299
  children: React$1.ReactNode;
4008
4300
  }
4009
4301
 
4010
- declare const ListItemContent: React$1.FC<Props$s>;
4011
- interface Props$s {
4302
+ declare const ListItemContent: React$1.FC<Props$W>;
4303
+ interface Props$W {
4012
4304
  /**
4013
4305
  * Main content of the component.
4014
4306
  */
@@ -4019,8 +4311,8 @@ interface Props$s {
4019
4311
  muted?: boolean;
4020
4312
  }
4021
4313
 
4022
- declare const List: React$1.FC<Props$r>;
4023
- interface Props$r {
4314
+ declare const List: React$1.FC<Props$V>;
4315
+ interface Props$V {
4024
4316
  /**
4025
4317
  * Main content of the component.
4026
4318
  */
@@ -4031,32 +4323,32 @@ interface Props$r {
4031
4323
  className?: string;
4032
4324
  }
4033
4325
 
4034
- declare const SearchDialogActions: React$1.FC<Props$q>;
4035
- interface Props$q {
4326
+ declare const SearchDialogActions: React$1.FC<Props$U>;
4327
+ interface Props$U {
4036
4328
  /**
4037
4329
  * Main content of the component.
4038
4330
  */
4039
4331
  children: React$1.ReactNode;
4040
4332
  }
4041
4333
 
4042
- declare const SearchDialogContent: React$1.FC<Props$p>;
4043
- interface Props$p {
4334
+ declare const SearchDialogContent: React$1.FC<Props$T>;
4335
+ interface Props$T {
4044
4336
  /**
4045
4337
  * Main content of the component.
4046
4338
  */
4047
4339
  children: React$1.ReactNode;
4048
4340
  }
4049
4341
 
4050
- declare const SearchDialogFallback: React$1.FC<Props$o>;
4051
- interface Props$o {
4342
+ declare const SearchDialogFallback: React$1.FC<Props$S>;
4343
+ interface Props$S {
4052
4344
  /**
4053
4345
  * Main content of the component.
4054
4346
  */
4055
4347
  children: React$1.ReactNode;
4056
4348
  }
4057
4349
 
4058
- declare const SearchDialogHeader: React$1.FC<Props$n>;
4059
- interface Props$n {
4350
+ declare const SearchDialogHeader: React$1.FC<Props$R>;
4351
+ interface Props$R {
4060
4352
  /**
4061
4353
  * Optional action rendered next to close button.
4062
4354
  */
@@ -4079,8 +4371,8 @@ interface Props$n {
4079
4371
  onSubmit?: React$1.FormEventHandler;
4080
4372
  }
4081
4373
 
4082
- declare const SearchDialogInput: React$1.ForwardRefExoticComponent<Props$m & React$1.RefAttributes<HTMLInputElement>>;
4083
- interface Props$m {
4374
+ declare const SearchDialogInput: React$1.ForwardRefExoticComponent<Props$Q & React$1.RefAttributes<HTMLInputElement>>;
4375
+ interface Props$Q {
4084
4376
  /**
4085
4377
  * Input's name to register.
4086
4378
  */
@@ -4107,8 +4399,8 @@ interface Props$m {
4107
4399
  value?: string;
4108
4400
  }
4109
4401
 
4110
- declare const SearchDialogSection: React$1.FC<Props$l>;
4111
- interface Props$l {
4402
+ declare const SearchDialogSection: React$1.FC<Props$P>;
4403
+ interface Props$P {
4112
4404
  /**
4113
4405
  * Main content of the component.
4114
4406
  */
@@ -4123,8 +4415,8 @@ interface Props$l {
4123
4415
  headerButtons?: React$1.ReactNode;
4124
4416
  }
4125
4417
 
4126
- declare const SearchDialog: React$1.FC<Props$k>;
4127
- interface Props$k {
4418
+ declare const SearchDialog: React$1.FC<Props$O>;
4419
+ interface Props$O {
4128
4420
  /**
4129
4421
  * Main content of the component.
4130
4422
  */
@@ -4143,24 +4435,24 @@ interface Props$k {
4143
4435
  open?: boolean;
4144
4436
  }
4145
4437
 
4146
- declare const DrawerActions: React$1.FC<Props$j>;
4147
- interface Props$j {
4438
+ declare const DrawerActions: React$1.FC<Props$N>;
4439
+ interface Props$N {
4148
4440
  /**
4149
4441
  * Main content of the component.
4150
4442
  */
4151
4443
  children: React$1.ReactNode;
4152
4444
  }
4153
4445
 
4154
- declare const DrawerContent: React$1.FC<Props$i>;
4155
- interface Props$i {
4446
+ declare const DrawerContent: React$1.FC<Props$M>;
4447
+ interface Props$M {
4156
4448
  /**
4157
4449
  * Main content of the component.
4158
4450
  */
4159
4451
  children: React$1.ReactNode;
4160
4452
  }
4161
4453
 
4162
- declare const DrawerHeader: React$1.FC<Props$h>;
4163
- interface Props$h {
4454
+ declare const DrawerHeader: React$1.FC<Props$L>;
4455
+ interface Props$L {
4164
4456
  /**
4165
4457
  * Text displayed as title in the bar.
4166
4458
  */
@@ -4179,8 +4471,8 @@ interface Props$h {
4179
4471
  iconRender?: IconRenderProp;
4180
4472
  }
4181
4473
 
4182
- declare const DrawerSection: React$1.ForwardRefExoticComponent<Props$g & React$1.RefAttributes<HTMLDivElement>>;
4183
- interface Props$g {
4474
+ declare const DrawerSection: React$1.ForwardRefExoticComponent<Props$K & React$1.RefAttributes<HTMLDivElement>>;
4475
+ interface Props$K {
4184
4476
  /**
4185
4477
  * Main content of the component.
4186
4478
  */
@@ -4195,8 +4487,8 @@ interface Props$g {
4195
4487
  centeredContent?: boolean;
4196
4488
  }
4197
4489
 
4198
- declare const Drawer: React$1.FC<Props$f>;
4199
- interface Props$f {
4490
+ declare const Drawer: React$1.FC<Props$J>;
4491
+ interface Props$J {
4200
4492
  /**
4201
4493
  * Main content of the component.
4202
4494
  */
@@ -4219,8 +4511,8 @@ interface Props$f {
4219
4511
  fixed?: boolean;
4220
4512
  }
4221
4513
 
4222
- declare const SearchResultsBarPhrase: React$1.FC<Props$e>;
4223
- interface Props$e {
4514
+ declare const SearchResultsBarPhrase: React$1.FC<Props$I>;
4515
+ interface Props$I {
4224
4516
  /**
4225
4517
  * Sets the placeholder.
4226
4518
  */
@@ -4231,24 +4523,24 @@ interface Props$e {
4231
4523
  count: number;
4232
4524
  }
4233
4525
 
4234
- declare const SearchResultsBarFilters: React$1.FC<Props$d>;
4235
- interface Props$d {
4526
+ declare const SearchResultsBarFilters: React$1.FC<Props$H>;
4527
+ interface Props$H {
4236
4528
  /**
4237
4529
  * Sets component's children.
4238
4530
  */
4239
4531
  children: React$1.ReactNode;
4240
4532
  }
4241
4533
 
4242
- declare const SearchResultsBar: React$1.FC<Props$c>;
4243
- interface Props$c {
4534
+ declare const SearchResultsBar: React$1.FC<Props$G>;
4535
+ interface Props$G {
4244
4536
  /**
4245
4537
  * Sets component's children.
4246
4538
  */
4247
4539
  children: React$1.ReactNode;
4248
4540
  }
4249
4541
 
4250
- declare const TextEllipsis: React$1.FC<Props$b>;
4251
- interface Props$b {
4542
+ declare const TextEllipsis: React$1.FC<Props$F>;
4543
+ interface Props$F {
4252
4544
  /**
4253
4545
  * Text content.
4254
4546
  */
@@ -4259,8 +4551,8 @@ interface Props$b {
4259
4551
  noWrap?: boolean;
4260
4552
  }
4261
4553
 
4262
- declare const FileInput: React$1.ForwardRefExoticComponent<Props$a & React$1.RefAttributes<HTMLInputElement>>;
4263
- interface Props$a {
4554
+ declare const FileInput: React$1.ForwardRefExoticComponent<Props$E & React$1.RefAttributes<HTMLInputElement>>;
4555
+ interface Props$E {
4264
4556
  /**
4265
4557
  * Specify comma-separated list of allowed file extensions.
4266
4558
  */
@@ -4279,24 +4571,24 @@ interface Props$a {
4279
4571
  onChange?: React$1.ChangeEventHandler<HTMLInputElement>;
4280
4572
  }
4281
4573
 
4282
- declare const NavigationDialogContent: React$1.ForwardRefExoticComponent<Props$9 & React$1.RefAttributes<HTMLDivElement>>;
4283
- interface Props$9 {
4574
+ declare const NavigationDialogContent: React$1.ForwardRefExoticComponent<Props$D & React$1.RefAttributes<HTMLDivElement>>;
4575
+ interface Props$D {
4284
4576
  /**
4285
4577
  * Main content of the component.
4286
4578
  */
4287
4579
  children?: React$1.ReactNode;
4288
4580
  }
4289
4581
 
4290
- declare const NavigationDialogFallbackContent: React$1.ForwardRefExoticComponent<Props$8 & React$1.RefAttributes<HTMLDivElement>>;
4291
- interface Props$8 {
4582
+ declare const NavigationDialogFallbackContent: React$1.ForwardRefExoticComponent<Props$C & React$1.RefAttributes<HTMLDivElement>>;
4583
+ interface Props$C {
4292
4584
  /**
4293
4585
  * Main content of the component.
4294
4586
  */
4295
4587
  children?: React$1.ReactNode;
4296
4588
  }
4297
4589
 
4298
- declare const NavigationDialogFooter: React$1.ForwardRefExoticComponent<Props$7 & React$1.RefAttributes<HTMLDivElement>>;
4299
- interface Props$7 {
4590
+ declare const NavigationDialogFooter: React$1.ForwardRefExoticComponent<Props$B & React$1.RefAttributes<HTMLDivElement>>;
4591
+ interface Props$B {
4300
4592
  /**
4301
4593
  * Main content of the component.
4302
4594
  */
@@ -4307,8 +4599,8 @@ interface Props$7 {
4307
4599
  className?: string;
4308
4600
  }
4309
4601
 
4310
- declare const NavigationDialogHeader: React$1.ForwardRefExoticComponent<Props$6 & React$1.RefAttributes<HTMLDivElement>>;
4311
- interface Props$6 {
4602
+ declare const NavigationDialogHeader: React$1.ForwardRefExoticComponent<Props$A & React$1.RefAttributes<HTMLDivElement>>;
4603
+ interface Props$A {
4312
4604
  /**
4313
4605
  * Optional action component rendered next to title.
4314
4606
  */
@@ -4331,8 +4623,8 @@ interface Props$6 {
4331
4623
  titleId?: string;
4332
4624
  }
4333
4625
 
4334
- declare const NavigationDialogItem: React$1.ForwardRefExoticComponent<Props$5 & React$1.RefAttributes<HTMLLIElement>>;
4335
- interface Props$5 {
4626
+ declare const NavigationDialogItem: React$1.ForwardRefExoticComponent<Props$z & React$1.RefAttributes<HTMLLIElement>>;
4627
+ interface Props$z {
4336
4628
  /**
4337
4629
  * Indicates if navbar item is active.
4338
4630
  */
@@ -4355,20 +4647,20 @@ interface Props$5 {
4355
4647
  onDoubleClick?: () => void;
4356
4648
  }
4357
4649
 
4358
- declare const NavigationDialogItemAction: React$1.FC<Props$4>;
4359
- interface Props$4 {
4650
+ declare const NavigationDialogItemAction: React$1.FC<Props$y>;
4651
+ interface Props$y {
4360
4652
  /**
4361
4653
  * Optional button.
4362
4654
  */
4363
- button?: React$1.ReactElement<Props$2q> | null;
4655
+ button?: React$1.ReactElement<Props$2V> | null;
4364
4656
  /**
4365
4657
  * Optional icon.
4366
4658
  */
4367
- icon?: React$1.ReactElement<Props$2r> | ((props: Props$2r) => React$1.ReactNode) | null;
4659
+ icon?: React$1.ReactElement<Props$2W> | ((props: Props$2W) => React$1.ReactNode) | null;
4368
4660
  }
4369
4661
 
4370
- declare const NavigationDialogItemLabel: React$1.FC<Props$3>;
4371
- interface Props$3 {
4662
+ declare const NavigationDialogItemLabel: React$1.FC<Props$x>;
4663
+ interface Props$x {
4372
4664
  /**
4373
4665
  * Main content of the component.
4374
4666
  */
@@ -4376,11 +4668,11 @@ interface Props$3 {
4376
4668
  /**
4377
4669
  * Displayed icon.
4378
4670
  */
4379
- icon?: React$1.ReactElement<Props$2r>;
4671
+ icon?: React$1.ReactElement<Props$2W>;
4380
4672
  }
4381
4673
 
4382
- declare const NavigationDialog: React$1.ForwardRefExoticComponent<Props$2 & React$1.RefAttributes<HTMLDivElement>>;
4383
- interface Props$2 {
4674
+ declare const NavigationDialog: React$1.ForwardRefExoticComponent<Props$w & React$1.RefAttributes<HTMLDivElement>>;
4675
+ interface Props$w {
4384
4676
  /**
4385
4677
  * Main content of the component.
4386
4678
  */
@@ -4407,8 +4699,8 @@ interface Props$2 {
4407
4699
  open?: boolean;
4408
4700
  }
4409
4701
 
4410
- declare const CheckboxLabel: React$1.ForwardRefExoticComponent<Props$1 & React$1.RefAttributes<HTMLLabelElement>>;
4411
- interface Props$1 {
4702
+ declare const CheckboxLabel: React$1.ForwardRefExoticComponent<Props$v & React$1.RefAttributes<HTMLLabelElement>>;
4703
+ interface Props$v {
4412
4704
  /**
4413
4705
  * Main content of the component.
4414
4706
  */
@@ -4419,8 +4711,8 @@ interface Props$1 {
4419
4711
  labelFor?: string;
4420
4712
  }
4421
4713
 
4422
- declare const Checkbox: React$1.FC<Props>;
4423
- interface Props {
4714
+ declare const Checkbox: React$1.FC<Props$u>;
4715
+ interface Props$u {
4424
4716
  /**
4425
4717
  * Optional content of the component.
4426
4718
  */
@@ -4459,4 +4751,711 @@ interface Props {
4459
4751
  disabled?: boolean;
4460
4752
  }
4461
4753
 
4462
- export { Bottombar, Button, ButtonColor, ButtonGroup, ButtonSize, ButtonType, COLLAPSE_THRESHOLD, CONTAINER_QUERY_BREAKPOINTS, Checkbox, CheckboxLabel, CircularLoader, ContainerQuery, ContainerQueryProvider, CopyButton, CopyableInput, Dialog, DialogActions, DialogColumn, DialogFooter, DialogHeader, DialogNext, DialogNextCloseButton, DialogNextColumn, DialogNextContent, DialogNextFooter, DialogNextHeader, DialogNextSeparator, DialogNextTitle, DialogProgressHeader, DialogRow, DialogSection, Dimensions, DocIcon, DocIconName, DragDimensionsHandler, DragHandler, DraggableOptions, DraggableState, Drawer, DrawerActions, DrawerContent, DrawerHeader, DrawerSection, Ellipsis, EmptyView, EmptyViewLabel, FileInput, FilePreview, FilePreviewActions, FilePreviewColumn, FilePreviewContent, FilePreviewHoverable, FilePreviewNavButton, FilePreviewTooltip, Fixed, FixedContext, FixedProvider, Form, FormFeedback, FormGroup, FormGroupColumn, FormGroupInfo, FormInputLabel, Gallery, GalleryFigure, GalleryItem, Icon, IconColor, IconName, IconRenderProp, IconRenderer, IconSize, Input, Props$22 as InputProps, KeyAction, KeyCombination, KeyEventLike, KeyModifier, KeyProps, List, ListDndChildProps, ListDndItem, ListDndItemHookProps, ListDndMoveItem, ListDndOnDragEnd, ListDndSetDraggable, ListDndSetDraggablePartial, ListItem, ListItemActions, ListItemContent, LoadingButton, Menu, MenuItem, MenuSection, MenuSubSection, ModalDialog, ModalDialogActionContent, ModalDialogActionItem, ModalDialogCallout, ModalDialogContent, ModalDialogContentColumn, ModalDialogFooter, ModalDialogFooterAction, ModalDialogHeader, ModalDialogList, ModalDialogListItem, MouseEventButton, NAVBAR_COLLAPSED_WIDTH, NAVBAR_LOADING_DELAY, NAVBAR_MAX_WIDTH, NAVBAR_MIN_WIDTH, NAVBAR_PREVIEW_TIMEOUT, Navbar, NavbarContext, NavbarItem, NavbarItemContainer, NavbarItemContent, NavbarItemLabel, NavbarItemsGroup, NavbarLink, NavbarScrollableContent, NavbarSeparator, NavbarToggleButton, NavigationDialog, NavigationDialogContent, NavigationDialogFallbackContent, NavigationDialogFooter, NavigationDialogHeader, NavigationDialogItem, NavigationDialogItemAction, NavigationDialogItemLabel, Notification, Notifications, OnScrollHandler, Modal as Overlay, Pagination, Panel, PanelActions, PanelColumn, PanelContent, PanelContentProp, PanelDragHandle, PanelList, PanelListDivider, PanelSide, PanelSkeleton, PanelTitle, Popper, PopperAnchorRef, PopperArrow, PopperContext, PopperOffset, PopperOffsetValue, PopperPlacement, ProgressPanel, PropertiesTable, PropertiesTableRow, Props$2r as Props, RInterval, RangeSlider, ResizeOptions, ResponsiveImage, ResponsiveImageFallback, ResponsiveImageFit, ResponsiveImageScalable, ScrollCoordsConfig, ScrollOptions, SearchDialog, SearchDialogActions, SearchDialogContent, SearchDialogFallback, SearchDialogHeader, SearchDialogInput, SearchDialogSection, SearchResultsBar, SearchResultsBarFilters, SearchResultsBarPhrase, Select, SelectKeyboardNavProps, SelectKeyboardNextIdGetter, SelectOption, SelectToggleHandler, SelectionArea, SelectionAreaCoords, Skeleton, SortButton, SortableDndList, SortableDndListItem, Switch, SwitchInput, SwitchView, Tab, Tabs, Tag, TagInput, TagLabel, TagList, TextEllipsis, Tooltip, Topbar, TopbarAction, UIContext, UIProvider, Props$13 as UIProviderProps, View, ViewContent, ViewContentBar, ViewContentWrapper, ViewDialog, Props$14 as ViewDialogProps, ViewFooter, ViewHeader, ViewSideContent, ViewWrapper, XYCoord, areItemsIdentical, base64FromBlurHash, clamp, clsx, copyObjectToClipboard, copyToClipboard, formatTimeDistance, getKeyHandler, getPixelCountFromImageBlob, getScrollVectors, getStandardDeviation, getValidChildren, hasOwnProperty, matchesCombination, navbarContextInitProps, noOp, rInterval, readObjectFromClipboard, uiContextInitProps, useBatchUpdate, useClickAway, useClipboard, useContainerKeyDown, useContainerQuery, useDeferredUnmount, useDelay, useDownload, useDraggable, useElementVisibility, useFilesDrop, useFixedCtx, useGridSelection, useIsMounted, useIsomorphicLayoutEffect, useItemsOverflow, useListDnd, useNavbarCtx, usePopperCtx, useResettableTimeout, useResize, useResponsiveSizes, useScaleDown, useScroll, useScrollDnd, useToggle, useUIContext, validators_d as validators };
4754
+ type ImageEditorPresetOption = SelectOption & {
4755
+ height?: number;
4756
+ width?: number;
4757
+ };
4758
+ interface ImageEditorEditingResult {
4759
+ /**
4760
+ * Offset of the crop box horizontally.
4761
+ */
4762
+ x: number;
4763
+ /**
4764
+ * Offset of the crop box vertically.
4765
+ */
4766
+ y: number;
4767
+ /**
4768
+ * Width of the crop box.
4769
+ */
4770
+ width: number;
4771
+ /**
4772
+ * Height of the crop box.
4773
+ */
4774
+ height: number;
4775
+ /**
4776
+ * Rotation of the image.
4777
+ */
4778
+ rotation: number;
4779
+ /**
4780
+ * Whether the image is flipped horizontally.
4781
+ */
4782
+ flipX: boolean;
4783
+ /**
4784
+ * Whether the image is flipped vertically.
4785
+ */
4786
+ flipY: boolean;
4787
+ /**
4788
+ * Resized width of the original image.
4789
+ */
4790
+ resizedWidth?: number;
4791
+ /**
4792
+ * Resized height of the original image.
4793
+ */
4794
+ resizedHeight?: number;
4795
+ }
4796
+
4797
+ declare const imageEditorContextDefaultValue: ImageEditorContext;
4798
+ interface ImageEditorContext {
4799
+ /**
4800
+ * Currently active crop item.
4801
+ */
4802
+ activeCropItemId?: string;
4803
+ /**
4804
+ * Deselects any selected crop item and clears crop box.
4805
+ */
4806
+ clearCrop: () => void;
4807
+ /**
4808
+ * Closes image editor.
4809
+ */
4810
+ close: () => void;
4811
+ /**
4812
+ * Closes save dialog.
4813
+ */
4814
+ closeSaveDialog: () => void;
4815
+ /**
4816
+ * Uses a predefined crop item to apply crop box.
4817
+ * Keeps aspect ratio if specified.
4818
+ *
4819
+ * @param id ID of the crop item
4820
+ * @param aspectRatio aspect ratio of the crop box
4821
+ */
4822
+ crop: (id: string, aspectRatio?: number) => void;
4823
+ /**
4824
+ * Whether crop is enabled.
4825
+ */
4826
+ cropEnabled: boolean;
4827
+ /**
4828
+ * Cropper ready state.
4829
+ */
4830
+ cropperReady?: boolean;
4831
+ /**
4832
+ * Instance of Cropper.
4833
+ */
4834
+ cropper?: Cropper | null;
4835
+ /**
4836
+ * Whether aspect ratio of custom crop box dimensions is locked.
4837
+ */
4838
+ cropBoxAspectRatioLocked?: boolean;
4839
+ /**
4840
+ * Disables crop box dimensions lock.
4841
+ */
4842
+ cropBoxAspectRatioLockDisabled?: boolean;
4843
+ /**
4844
+ * Height of current crop box.
4845
+ */
4846
+ cropBoxHeight?: number;
4847
+ /**
4848
+ * Width of current crop box.
4849
+ */
4850
+ cropBoxWidth?: number;
4851
+ /**
4852
+ * Applies crop box with custom dimensions.
4853
+ *
4854
+ * If none of the crop box items has been selected, then freeform crop item will be selected.
4855
+ * If freeform crop item has been selected, it will remain selected.
4856
+ * If any crop item with predefined aspect ratio has been selected, then aspect ratio will be respected.
4857
+ *
4858
+ * @param width width of the crop box
4859
+ * @param height height of the crop box
4860
+ */
4861
+ cropWithCustomDimensions: (width: number, height: number) => void;
4862
+ /**
4863
+ * Applies crop box in FIXED_CROP_SIZE mode. In this mode crop box will always have the same size in pixels.
4864
+ *
4865
+ * @param id ID of the crop item
4866
+ * @param width width of the crop box in px
4867
+ * @param height height of the crop box in px
4868
+ */
4869
+ cropWithFixedDimensions: (id: string, width: number, height: number) => void;
4870
+ /**
4871
+ * ID of the custom crop item.
4872
+ */
4873
+ freeformCropItemId: string;
4874
+ /**
4875
+ * Height of the crop box in FIXED_CROP_SIZE mode.
4876
+ */
4877
+ fixedCropBoxHeight?: number;
4878
+ /**
4879
+ * Width of the crop box in FIXED_CROP_SIZE mode.
4880
+ */
4881
+ fixedCropBoxWidth?: number;
4882
+ /**
4883
+ * Flips image horizontally.
4884
+ */
4885
+ flipHorizontal: () => void;
4886
+ /**
4887
+ * Flips image vertically.
4888
+ */
4889
+ flipVertical: () => void;
4890
+ /**
4891
+ * Underlying image element.
4892
+ */
4893
+ imgElement: HTMLImageElement | null;
4894
+ /**
4895
+ * Whether crop box is in CROP mode.
4896
+ */
4897
+ isCropMode: boolean;
4898
+ /**
4899
+ * Whether crop box is in FIXED_CROP_SIZE.
4900
+ */
4901
+ isFixedCropMode: boolean;
4902
+ /**
4903
+ * Opens save dialog.
4904
+ */
4905
+ openSaveDialog: () => void;
4906
+ /**
4907
+ * Original aspect ratio of the edited image.
4908
+ */
4909
+ originalImageAspectRatio?: number;
4910
+ /**
4911
+ * Original height of the edited image.
4912
+ */
4913
+ originalImageHeight?: number;
4914
+ /**
4915
+ * Original width of the edited image.
4916
+ */
4917
+ originalImageWidth?: number;
4918
+ /**
4919
+ * Mime type of the original image.
4920
+ */
4921
+ originalImageMimeType?: string;
4922
+ /**
4923
+ * Source URL of the original image.
4924
+ */
4925
+ originalImageSrc?: string;
4926
+ /**
4927
+ * ID of the crop item with original ratio.
4928
+ */
4929
+ originalCropItemId: string;
4930
+ /**
4931
+ * Resets editing to initial values.
4932
+ */
4933
+ reset: () => void;
4934
+ /**
4935
+ * Resets zoom of edited image to baseline value.
4936
+ */
4937
+ resetZoom: () => void;
4938
+ /**
4939
+ * Rotates image left by 90 degrees.
4940
+ */
4941
+ rotateLeft: () => void;
4942
+ /**
4943
+ * Rotates image right by 90 degrees.
4944
+ */
4945
+ rotateRight: () => void;
4946
+ /**
4947
+ * Whether save dialog is open.
4948
+ */
4949
+ saveDialogOpen?: boolean;
4950
+ /**
4951
+ * Setter for underlying canvas element.
4952
+ *
4953
+ * @param canvasElement canvas element
4954
+ */
4955
+ setImgElement: (canvasElement: HTMLImageElement | null) => void;
4956
+ /**
4957
+ * Target (final) height of the edited image.
4958
+ */
4959
+ targetImageHeight: number;
4960
+ /**
4961
+ * Target (final) width of the edited image.
4962
+ */
4963
+ targetImageWidth: number;
4964
+ /**
4965
+ * Toggles locked state of custom crop box dimensions.
4966
+ */
4967
+ toggleAspectRatioLock: () => void;
4968
+ /**
4969
+ * Zooms in.
4970
+ */
4971
+ zoomIn: () => void;
4972
+ /**
4973
+ * Zooms out.
4974
+ */
4975
+ zoomOut: () => void;
4976
+ /**
4977
+ * Current zoom value.
4978
+ */
4979
+ zoomValue?: number;
4980
+ }
4981
+ declare const ImageEditorContext: React$1.Context<ImageEditorContext>;
4982
+ declare const useImageEditorContext: () => ImageEditorContext;
4983
+
4984
+ declare const imageEditorPreviewContextDefaultValue: ImageEditorPreviewContext;
4985
+ interface ImageEditorPreviewContext {
4986
+ /**
4987
+ * Instance of Cropper.
4988
+ */
4989
+ cropper?: Cropper | null;
4990
+ /**
4991
+ * Cropper ready state.
4992
+ */
4993
+ cropperReady: boolean;
4994
+ /**
4995
+ * Underlying image element.
4996
+ */
4997
+ imgElement: HTMLImageElement | null;
4998
+ /**
4999
+ * Resized width.
5000
+ */
5001
+ resizedWidth: number;
5002
+ /**
5003
+ * Resized height.
5004
+ */
5005
+ resizedHeight: number;
5006
+ /**
5007
+ * Resizes image by respecting aspect ratio.
5008
+ * The one that has changed will be used as a reference and the second one will be resized accordingly.
5009
+ *
5010
+ * @param width requested width
5011
+ * @param height requested height
5012
+ */
5013
+ resize: (width: number, height: number) => void;
5014
+ /**
5015
+ * Gets final image data.
5016
+ */
5017
+ getSaveData: () => ImageEditorEditingResult | void;
5018
+ /**
5019
+ * Setter for underlying canvas element.
5020
+ *
5021
+ * @param canvasElement canvas element
5022
+ */
5023
+ setImgElement: (canvasElement: HTMLImageElement | null) => void;
5024
+ }
5025
+ declare const ImageEditorPreviewContext: React$1.Context<ImageEditorPreviewContext>;
5026
+ declare const useImageEditorPreviewContext: () => ImageEditorPreviewContext;
5027
+
5028
+ declare const ImageEditorActions: React$1.FC<Props$t>;
5029
+ interface Props$t {
5030
+ /**
5031
+ * Label of the back button.
5032
+ */
5033
+ backBtnLabel?: string;
5034
+ /**
5035
+ * Main content of the component.
5036
+ */
5037
+ children?: React$1.ReactNode;
5038
+ /**
5039
+ * Text displayed as title in the action bar.
5040
+ */
5041
+ title?: string;
5042
+ }
5043
+
5044
+ declare const ImageEditorApplyButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5045
+
5046
+ declare const ImageEditorButtonsRow: React$1.ForwardRefExoticComponent<Props$s & React$1.RefAttributes<HTMLDivElement>>;
5047
+ interface Props$s {
5048
+ /**
5049
+ * Main content of the component.
5050
+ */
5051
+ children?: React$1.ReactNode;
5052
+ }
5053
+
5054
+ declare const ImageEditorCanvas: React$1.ForwardRefExoticComponent<Props$r & React$1.RefAttributes<HTMLDivElement>>;
5055
+ interface Props$r {
5056
+ /**
5057
+ * Alternative text description of the image.
5058
+ */
5059
+ alt: string;
5060
+ }
5061
+
5062
+ declare const ImageEditorContent: React$1.ForwardRefExoticComponent<Props$q & React$1.RefAttributes<HTMLDivElement>>;
5063
+ interface Props$q {
5064
+ /**
5065
+ * Main content of the component.
5066
+ */
5067
+ children?: React$1.ReactNode;
5068
+ }
5069
+
5070
+ declare const ImageEditorCropBoxDimensions: React$1.ForwardRefExoticComponent<Props$p & React$1.RefAttributes<HTMLDivElement>>;
5071
+ interface Props$p {
5072
+ /**
5073
+ * Label displayed above the height input.
5074
+ */
5075
+ heightLabel?: string;
5076
+ /**
5077
+ * Label of the lock button in unlocked state.
5078
+ */
5079
+ lockBtnLabel?: string;
5080
+ /**
5081
+ * Label of the lock button in locked state.
5082
+ */
5083
+ unlockBtnLabel?: string;
5084
+ /**
5085
+ * Label displayed above the width input.
5086
+ */
5087
+ widthLabel?: string;
5088
+ }
5089
+
5090
+ declare const ImageEditorCropCard: React$1.ForwardRefExoticComponent<Props$o & React$1.RefAttributes<HTMLDivElement>>;
5091
+ interface Props$o {
5092
+ /**
5093
+ * Aspect ratio to set on the crop box.
5094
+ */
5095
+ aspectRatio?: number;
5096
+ /**
5097
+ * Main content of the component.
5098
+ */
5099
+ children: React$1.ReactNode;
5100
+ /**
5101
+ * ID that uniquely identifies the crop card.
5102
+ */
5103
+ id: string;
5104
+ /**
5105
+ * Icon to display.
5106
+ */
5107
+ icon?: React$1.ReactElement<Props$2W>;
5108
+ }
5109
+
5110
+ declare const ImageEditorCropCardFreeform: React$1.ForwardRefExoticComponent<Props$n & React$1.RefAttributes<HTMLDivElement>>;
5111
+ interface Props$n {
5112
+ /**
5113
+ * Main content of the component.
5114
+ */
5115
+ children: React$1.ReactNode;
5116
+ /**
5117
+ * Icon to display
5118
+ */
5119
+ icon?: React$1.ReactElement<Props$2W>;
5120
+ }
5121
+
5122
+ declare const ImageEditorCropCardList: React$1.ForwardRefExoticComponent<Props$m & React$1.RefAttributes<HTMLDivElement>>;
5123
+ interface Props$m {
5124
+ /**
5125
+ * Main content of the component.
5126
+ */
5127
+ children?: React$1.ReactNode;
5128
+ }
5129
+
5130
+ declare const ImageEditorCropCardOriginal: React$1.ForwardRefExoticComponent<Props$l & React$1.RefAttributes<HTMLDivElement>>;
5131
+ interface Props$l {
5132
+ /**
5133
+ * Main content of the component.
5134
+ */
5135
+ children: React$1.ReactNode;
5136
+ /**
5137
+ * Icon to display
5138
+ */
5139
+ icon?: React$1.ReactElement<Props$2W>;
5140
+ }
5141
+
5142
+ declare const ImageEditorFlipHorizontalButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5143
+
5144
+ declare const ImageEditorFlipVerticalButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5145
+
5146
+ declare const ImageEditorMenu: React$1.ForwardRefExoticComponent<Props$k & React$1.RefAttributes<HTMLDivElement>>;
5147
+ interface Props$k {
5148
+ /**
5149
+ * Main content of the component.
5150
+ */
5151
+ children?: React$1.ReactNode;
5152
+ }
5153
+
5154
+ declare const ImageEditorMenuSection: React$1.ForwardRefExoticComponent<Props$j & React$1.RefAttributes<HTMLDivElement>>;
5155
+ interface Props$j {
5156
+ /**
5157
+ * Main content of the component.
5158
+ */
5159
+ children?: React$1.ReactNode;
5160
+ /**
5161
+ * Title of the section.
5162
+ */
5163
+ title?: string;
5164
+ }
5165
+
5166
+ declare const ImageEditorMenuSubSection: React$1.ForwardRefExoticComponent<Props$i & React$1.RefAttributes<HTMLDivElement>>;
5167
+ interface Props$i {
5168
+ /**
5169
+ * Main content of the component.
5170
+ */
5171
+ children?: React$1.ReactNode;
5172
+ /**
5173
+ * Title of the section.
5174
+ */
5175
+ title?: string;
5176
+ }
5177
+
5178
+ declare const ImageEditorPresetSelect: React$1.FC<Props$h>;
5179
+ interface Props$h {
5180
+ /**
5181
+ * Predefined options to select from.
5182
+ */
5183
+ options: ImageEditorPresetOption[];
5184
+ /**
5185
+ * Input placeholder.
5186
+ */
5187
+ placeholder?: string;
5188
+ }
5189
+
5190
+ declare const ImageEditorResetButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5191
+
5192
+ declare const ImageEditorResizeDimensions: React$1.ForwardRefExoticComponent<Props$g & React$1.RefAttributes<HTMLDivElement>>;
5193
+ interface Props$g {
5194
+ /**
5195
+ * Label displayed above the height input.
5196
+ */
5197
+ heightLabel?: string;
5198
+ /**
5199
+ * Label displayed above the width input.
5200
+ */
5201
+ widthLabel?: string;
5202
+ }
5203
+
5204
+ declare const ImageEditorRotateLeftButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5205
+
5206
+ declare const ImageEditorRotateRightButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5207
+
5208
+ declare const ImageEditorSaveDialog: React$1.ForwardRefExoticComponent<Props$f & React$1.RefAttributes<HTMLDivElement>>;
5209
+ interface Props$f {
5210
+ /**
5211
+ * Main content of the component.
5212
+ */
5213
+ children?: React$1.ReactNode;
5214
+ /**
5215
+ * Sets the ID of label element.
5216
+ */
5217
+ labelledBy?: string;
5218
+ }
5219
+
5220
+ declare const ImageEditorSaveDialogActions: React$1.ForwardRefExoticComponent<Props$e & React$1.RefAttributes<HTMLDivElement>>;
5221
+ interface Props$e {
5222
+ /**
5223
+ * Main content of the component.
5224
+ */
5225
+ children: React$1.ReactNode;
5226
+ }
5227
+
5228
+ declare const ImageEditorSaveDialogCanvas: React$1.ForwardRefExoticComponent<Props$d & React$1.RefAttributes<HTMLDivElement>>;
5229
+ interface Props$d {
5230
+ /**
5231
+ * Alternative text description of the preview image.
5232
+ */
5233
+ alt: string;
5234
+ /**
5235
+ * Main content of the component.
5236
+ */
5237
+ children?: React$1.ReactNode;
5238
+ }
5239
+
5240
+ declare const ImageEditorPreviewCloseButton: React$1.ForwardRefExoticComponent<Omit<Props$2V, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5241
+
5242
+ declare const ImageEditorSaveDialogHeader: React$1.ForwardRefExoticComponent<Props$c & React$1.RefAttributes<HTMLDivElement>>;
5243
+ interface Props$c {
5244
+ /**
5245
+ * Main content of the component.
5246
+ */
5247
+ children?: React$1.ReactNode;
5248
+ /**
5249
+ * Close button's label.
5250
+ */
5251
+ closeLabel?: string;
5252
+ /**
5253
+ * Sets ID of dialog header title element.
5254
+ */
5255
+ titleId?: string;
5256
+ }
5257
+
5258
+ declare const ImageEditorSaveDialogInfo: React$1.ForwardRefExoticComponent<Props$b & React$1.RefAttributes<HTMLDivElement>>;
5259
+ interface Props$b {
5260
+ /**
5261
+ * Main content of the component.
5262
+ */
5263
+ children?: React$1.ReactNode;
5264
+ }
5265
+
5266
+ declare const ImageEditorSaveDialogPreview: React$1.ForwardRefExoticComponent<Props$a & React$1.RefAttributes<HTMLDivElement>>;
5267
+ interface Props$a {
5268
+ /**
5269
+ * Main content of the component.
5270
+ */
5271
+ children?: React$1.ReactNode;
5272
+ }
5273
+
5274
+ declare const ImageEditorSaveDialogSaveButton: React$1.ForwardRefExoticComponent<Omit<Props$Z, "onClick"> & Props$9 & React$1.RefAttributes<HTMLButtonElement>>;
5275
+ interface Props$9 {
5276
+ /**
5277
+ * Save handler.
5278
+ *
5279
+ * @param data final image data
5280
+ */
5281
+ onSave?: (data: ImageEditorEditingResult) => Promise<void> | void;
5282
+ }
5283
+
5284
+ declare const ImageEditorSaveDialogSection: React$1.ForwardRefExoticComponent<Props$8 & React$1.RefAttributes<HTMLDivElement>>;
5285
+ interface Props$8 {
5286
+ /**
5287
+ * Main content of the component.
5288
+ */
5289
+ children: React$1.ReactNode;
5290
+ /**
5291
+ * Title of the section.
5292
+ */
5293
+ title?: string;
5294
+ }
5295
+
5296
+ declare const ImageEditorSwitchInput: React$1.ForwardRefExoticComponent<Props$7 & React$1.RefAttributes<HTMLDivElement>>;
5297
+ interface Props$7 {
5298
+ /**
5299
+ * Main content of the component.
5300
+ */
5301
+ children: React$1.ReactNode;
5302
+ /**
5303
+ * Whether switch is turned on.
5304
+ */
5305
+ checked: boolean;
5306
+ /**
5307
+ * Callback invoked upon value's change.
5308
+ */
5309
+ onChange: (checked: boolean) => void;
5310
+ }
5311
+
5312
+ declare const ImageEditorToolbar: React$1.ForwardRefExoticComponent<Props$6 & React$1.RefAttributes<HTMLDivElement>>;
5313
+ interface Props$6 {
5314
+ /**
5315
+ * Main content of the component.
5316
+ */
5317
+ children: React$1.ReactNode;
5318
+ }
5319
+
5320
+ interface Props$5 {
5321
+ /**
5322
+ * Main button content.
5323
+ */
5324
+ children?: React$1.ReactNode;
5325
+ /**
5326
+ * Optional aria-label for the button.
5327
+ */
5328
+ label?: string;
5329
+ /**
5330
+ * Click event handler.
5331
+ */
5332
+ onClick?: React$1.MouseEventHandler;
5333
+ }
5334
+
5335
+ declare const ImageEditorToolbarFlipHorizontalButton: React$1.ForwardRefExoticComponent<Omit<Props$5, "children" | "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5336
+
5337
+ declare const ImageEditorToolbarFlipVerticalButton: React$1.ForwardRefExoticComponent<Omit<Props$5, "children" | "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5338
+
5339
+ declare const ImageEditorToolbarImageSize: React$1.ForwardRefExoticComponent<React$1.RefAttributes<HTMLDivElement>>;
5340
+
5341
+ declare const ImageEditorToolbarRotateLeftButton: React$1.ForwardRefExoticComponent<Omit<Props$5, "children" | "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5342
+
5343
+ declare const ImageEditorToolbarRotateRightButton: React$1.ForwardRefExoticComponent<Omit<Props$5, "children" | "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5344
+
5345
+ declare const ImageEditorToolbarSection: React$1.ForwardRefExoticComponent<Props$4 & React$1.RefAttributes<HTMLDivElement>>;
5346
+ interface Props$4 {
5347
+ /**
5348
+ * Main content of the component.
5349
+ */
5350
+ children: React$1.ReactNode;
5351
+ }
5352
+
5353
+ declare const ImageEditorToolbarZoomInButton: React$1.ForwardRefExoticComponent<Omit<Props$5, "children" | "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5354
+
5355
+ declare const ImageEditorToolbarZoomOutButton: React$1.ForwardRefExoticComponent<Omit<Props$5, "children" | "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
5356
+
5357
+ declare const ImageEditorToolbarZoomValue: React$1.ForwardRefExoticComponent<Props$3 & React$1.RefAttributes<HTMLButtonElement>>;
5358
+ interface Props$3 {
5359
+ /**
5360
+ * Optional aria-label for the button.
5361
+ */
5362
+ label?: string;
5363
+ }
5364
+
5365
+ declare const ImageEditorWorkspace: React$1.ForwardRefExoticComponent<Props$2 & React$1.RefAttributes<HTMLDivElement>>;
5366
+ interface Props$2 {
5367
+ /**
5368
+ * Main content of the component.
5369
+ */
5370
+ children?: React$1.ReactNode;
5371
+ }
5372
+
5373
+ declare const ImageEditor: React$1.ForwardRefExoticComponent<Props$1 & React$1.RefAttributes<HTMLDivElement>>;
5374
+ interface Props$1 {
5375
+ /**
5376
+ * Main content of the component.
5377
+ */
5378
+ children: React$1.ReactNode;
5379
+ /**
5380
+ * Label of the dialog element.
5381
+ */
5382
+ label?: string;
5383
+ /**
5384
+ * Callback fired when the component requests to be closed.
5385
+ */
5386
+ onClose: () => void;
5387
+ /**
5388
+ * If `true`, the component is shown.
5389
+ */
5390
+ open?: boolean;
5391
+ /**
5392
+ * Mime type of the original image.
5393
+ */
5394
+ originalImageMimeType?: string;
5395
+ /**
5396
+ * Source URL of the original image.
5397
+ */
5398
+ originalImageSrc?: string;
5399
+ }
5400
+
5401
+ declare const Textarea: React$1.ForwardRefExoticComponent<Props & React$1.RefAttributes<HTMLTextAreaElement>>;
5402
+ interface Props {
5403
+ /**
5404
+ * Input's class name.
5405
+ */
5406
+ className?: string;
5407
+ /**
5408
+ * Marks input as disabled.
5409
+ */
5410
+ disabled?: boolean;
5411
+ /**
5412
+ * Marks input as read-only.
5413
+ */
5414
+ readOnly?: boolean;
5415
+ /**
5416
+ * Unique input's id.
5417
+ */
5418
+ id: string;
5419
+ /**
5420
+ * Input's name to register.
5421
+ */
5422
+ name?: string;
5423
+ /**
5424
+ * Callback invoked when the blur event is fired.
5425
+ */
5426
+ onBlur?: (evt: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
5427
+ /**
5428
+ * Callback invoked when the value is changed.
5429
+ */
5430
+ onChange?: (evt: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
5431
+ /**
5432
+ * Callback invoked when the element receives focus.
5433
+ */
5434
+ onFocus?: (evt: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
5435
+ /**
5436
+ * Callback invoked when the element is clicked.
5437
+ */
5438
+ onClick?: (evt: React$1.MouseEvent<HTMLTextAreaElement>) => void;
5439
+ /**
5440
+ * Input's placeholder text value.
5441
+ */
5442
+ placeholder?: string;
5443
+ /**
5444
+ * Input's value.
5445
+ */
5446
+ value?: string;
5447
+ /**
5448
+ * Indicate error in input element.
5449
+ */
5450
+ error?: boolean;
5451
+ /**
5452
+ * Input's label.
5453
+ */
5454
+ label?: string;
5455
+ /**
5456
+ * Maximum number of textarea lines.
5457
+ */
5458
+ maxRows?: number;
5459
+ }
5460
+
5461
+ export { Bottombar, Button, ButtonColor, ButtonGroup, ButtonSize, ButtonType, COLLAPSE_THRESHOLD, CONTAINER_QUERY_BREAKPOINTS, CROPPER_FLIP_FACTOR, CROPPER_FULL_ROTATION, CROPPER_INIT_SCALE, CROPPER_ROTATION_ANGLE, Checkbox, CheckboxLabel, CircularLoader, ContainerQuery, ContainerQueryProvider, CopyButton, CopyableInput, CopyableLabel, CropperDimensions, Dialog, DialogActions, DialogColumn, DialogFooter, DialogHeader, DialogNext, DialogNextCloseButton, DialogNextColumn, DialogNextContent, DialogNextFooter, DialogNextHeader, DialogNextSeparator, DialogNextTitle, DialogProgressHeader, DialogRow, DialogSection, Dimensions, DocIcon, DocIconName, DragDimensionsHandler, DragHandler, DraggableOptions, DraggableState, Drawer, DrawerActions, DrawerContent, DrawerHeader, DrawerSection, Ellipsis, EmptyView, EmptyViewLabel, FileInput, FilePreview, FilePreviewActions, FilePreviewColumn, FilePreviewContent, FilePreviewHoverable, FilePreviewNavButton, FilePreviewTooltip, Fixed, FixedContext, FixedProvider, Form, FormFeedback, FormGroup, FormGroupColumn, FormGroupInfo, FormInputLabel, Gallery, GalleryFigure, GalleryItem, Icon, IconColor, IconName, IconRenderProp, IconRenderer, IconSize, ImageEditor, ImageEditorActions, ImageEditorApplyButton, ImageEditorButtonsRow, ImageEditorCanvas, ImageEditorContent, ImageEditorContext, ImageEditorCropBoxDimensions, ImageEditorCropCard, ImageEditorCropCardFreeform, ImageEditorCropCardList, ImageEditorCropCardOriginal, ImageEditorEditingResult, ImageEditorFlipHorizontalButton, ImageEditorFlipVerticalButton, ImageEditorMenu, ImageEditorMenuSection, ImageEditorMenuSubSection, ImageEditorPresetOption, ImageEditorPresetSelect, ImageEditorPreviewContext, ImageEditorResetButton, ImageEditorResizeDimensions, ImageEditorRotateLeftButton, ImageEditorRotateRightButton, ImageEditorSaveDialog, ImageEditorSaveDialogActions, ImageEditorSaveDialogCanvas, ImageEditorPreviewCloseButton as ImageEditorSaveDialogCloseButton, ImageEditorSaveDialogHeader, ImageEditorSaveDialogInfo, ImageEditorSaveDialogPreview, ImageEditorSaveDialogSaveButton, ImageEditorSaveDialogSection, ImageEditorSwitchInput, ImageEditorToolbar, ImageEditorToolbarFlipHorizontalButton, ImageEditorToolbarFlipVerticalButton, ImageEditorToolbarImageSize, ImageEditorToolbarRotateLeftButton, ImageEditorToolbarRotateRightButton, ImageEditorToolbarSection, ImageEditorToolbarZoomInButton, ImageEditorToolbarZoomOutButton, ImageEditorToolbarZoomValue, ImageEditorWorkspace, Input, Props$2x as InputProps, KeyAction, KeyCombination, KeyEventLike, KeyModifier, KeyProps, List, ListDndChildProps, ListDndItem, ListDndItemHookProps, ListDndMoveItem, ListDndOnDragEnd, ListDndSetDraggable, ListDndSetDraggablePartial, ListItem, ListItemActions, ListItemContent, LoadingButton, Menu, MenuItem, MenuSection, MenuSubSection, ModalDialog, ModalDialogActionContent, ModalDialogActionItem, ModalDialogCallout, ModalDialogContent, ModalDialogContentColumn, ModalDialogFooter, ModalDialogFooterAction, ModalDialogHeader, ModalDialogList, ModalDialogListItem, MouseEventButton, NAVBAR_COLLAPSED_WIDTH, NAVBAR_LOADING_DELAY, NAVBAR_MAX_WIDTH, NAVBAR_MIN_WIDTH, NAVBAR_PREVIEW_TIMEOUT, Navbar, NavbarContext, NavbarItem, NavbarItemContainer, NavbarItemContent, NavbarItemLabel, NavbarItemsGroup, NavbarLink, NavbarScrollableContent, NavbarSeparator, NavbarToggleButton, NavigationDialog, NavigationDialogContent, NavigationDialogFallbackContent, NavigationDialogFooter, NavigationDialogHeader, NavigationDialogItem, NavigationDialogItemAction, NavigationDialogItemLabel, Notification, Notifications, OnScrollHandler, Modal as Overlay, Pagination, Panel, PanelActions, PanelColumn, PanelContent, PanelContentProp, PanelDragHandle, PanelList, PanelListDivider, PanelSide, PanelSkeleton, PanelTitle, Popper, PopperAnchorRef, PopperArrow, PopperContext, PopperOffset, PopperOffsetValue, PopperPlacement, ProgressPanel, PropertiesTable, PropertiesTableRow, Props$2W as Props, RInterval, RangeSlider, ResizeOptions, ResponsiveImage, ResponsiveImageFallback, ResponsiveImageFit, ResponsiveImageScalable, ScrollCoordsConfig, ScrollOptions, SearchDialog, SearchDialogActions, SearchDialogContent, SearchDialogFallback, SearchDialogHeader, SearchDialogInput, SearchDialogSection, SearchResultsBar, SearchResultsBarFilters, SearchResultsBarPhrase, Select, SelectKeyboardNavProps, SelectKeyboardNextIdGetter, SelectOption, SelectToggleHandler, SelectionArea, SelectionAreaCoords, Skeleton, SortButton, SortableDndList, SortableDndListItem, Switch, SwitchInput, SwitchView, Tab, Tabs, Tag, TagInput, TagLabel, TagList, TextEllipsis, Textarea, Props as TextareaProps, Tooltip, Topbar, TopbarAction, UIContext, UIProvider, Props$1y as UIProviderProps, View, ViewContent, ViewContentBar, ViewContentWrapper, ViewDialog, Props$1z as ViewDialogProps, ViewFooter, ViewHeader, ViewSideContent, ViewWrapper, XYCoord, areItemsIdentical, areNumbersEqual, base64FromBlurHash, clamp, clsx, copyObjectToClipboard, copyToClipboard, formatTimeDistance, getKeyHandler, getPixelCountFromImageBlob, getScrollVectors, getStandardDeviation, getValidChildren, hasOwnProperty, imageEditorContextDefaultValue, imageEditorPreviewContextDefaultValue, matchesCombination, navbarContextInitProps, noOp, rInterval, readObjectFromClipboard, uiContextInitProps, useBatchUpdate, useClickAway, useClipboard, useContainerKeyDown, useContainerQuery, useCropper, useCropperCrop, useCropperRotate, useCropperScale, useCropperZoom, useDeferredUnmount, useDelay, useDownload, useDraggable, useElementVisibility, useFilesDrop, useFixedCtx, useForkRef, useGridSelection, useImageEditorContext, useImageEditorPreviewContext, useIsMounted, useIsomorphicLayoutEffect, useItemsOverflow, useListDnd, useNavbarCtx, usePopperCtx, useResettableTimeout, useResize, useResponsiveSizes, useScaleDown, useScroll, useScrollDnd, useToggle, useUIContext, validators_d as validators };