@ckbox/components 2.4.0-dev.0 → 2.5.0-rc.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/LICENSE.md +1 -1
- package/README.md +4 -4
- package/dist/index.d.ts +391 -185
- package/dist/index.js +1 -1
- package/dist/styles/ckbox.css +1 -1
- package/icons/ManageAccountsOutlined.svg +3 -0
- package/icons/PeopleAltOutlined.svg +3 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
/**
|
|
3
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
3
|
*/
|
|
@@ -9,8 +8,8 @@ import { TransitionProps } from 'react-transition-group/Transition';
|
|
|
9
8
|
import Cropper$1 from 'cropperjs';
|
|
10
9
|
import * as react_dnd from 'react-dnd';
|
|
11
10
|
|
|
12
|
-
declare const Avatar: React$1.FC<Props$
|
|
13
|
-
interface Props$
|
|
11
|
+
declare const Avatar: React$1.FC<Props$3s>;
|
|
12
|
+
interface Props$3s {
|
|
14
13
|
/**
|
|
15
14
|
* ID used for determining color.
|
|
16
15
|
*/
|
|
@@ -29,8 +28,8 @@ interface Props$3d {
|
|
|
29
28
|
showFullName?: boolean;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
declare const Bottombar: React$1.ForwardRefExoticComponent<Props$
|
|
33
|
-
interface Props$
|
|
31
|
+
declare const Bottombar: React$1.ForwardRefExoticComponent<Props$3r & React$1.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
interface Props$3r {
|
|
34
33
|
/**
|
|
35
34
|
* Main content of the component.
|
|
36
35
|
*/
|
|
@@ -145,12 +144,16 @@ declare const LockOpenOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.
|
|
|
145
144
|
|
|
146
145
|
declare const LockOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
147
146
|
|
|
147
|
+
declare const ManageAccountsOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
148
|
+
|
|
148
149
|
declare const MoreVertOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
149
150
|
|
|
150
151
|
declare const OpenInFull: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
151
152
|
|
|
152
153
|
declare const OpenInNew: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
153
154
|
|
|
155
|
+
declare const PeopleAltOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
156
|
+
|
|
154
157
|
declare const PhotoOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
155
158
|
|
|
156
159
|
declare const RemoveOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
@@ -179,7 +182,7 @@ declare const Warning: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
|
179
182
|
|
|
180
183
|
declare const WarningAmberOutlined: (props: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
|
|
181
184
|
|
|
182
|
-
interface Props$
|
|
185
|
+
interface Props$3q {
|
|
183
186
|
/**
|
|
184
187
|
* Toggles optional icon animation.
|
|
185
188
|
*/
|
|
@@ -194,15 +197,15 @@ interface Props$3b {
|
|
|
194
197
|
'data-testid'?: string;
|
|
195
198
|
}
|
|
196
199
|
|
|
197
|
-
declare const ArrowRightOutlinedAnimated: React$1.FC<Props$
|
|
200
|
+
declare const ArrowRightOutlinedAnimated: React$1.FC<Props$3q>;
|
|
198
201
|
|
|
199
|
-
declare const SettingsOutlinedAnimated: React$1.FC<Props$
|
|
202
|
+
declare const SettingsOutlinedAnimated: React$1.FC<Props$3q>;
|
|
200
203
|
|
|
201
|
-
declare const SortAscending: React$1.FC<Props$
|
|
204
|
+
declare const SortAscending: React$1.FC<Props$3q>;
|
|
202
205
|
|
|
203
|
-
declare const SortDescending: React$1.FC<Props$
|
|
206
|
+
declare const SortDescending: React$1.FC<Props$3q>;
|
|
204
207
|
|
|
205
|
-
declare const Spinner: React$1.FC<Props$
|
|
208
|
+
declare const Spinner: React$1.FC<Props$3q>;
|
|
206
209
|
|
|
207
210
|
declare const icons$1_AccessTimeOutlined: typeof AccessTimeOutlined;
|
|
208
211
|
declare const icons$1_AddOutlined: typeof AddOutlined;
|
|
@@ -253,9 +256,11 @@ declare const icons$1_KeyboardDoubleArrowRightOutlined: typeof KeyboardDoubleArr
|
|
|
253
256
|
declare const icons$1_LastPageOutlined: typeof LastPageOutlined;
|
|
254
257
|
declare const icons$1_LockOpenOutlined: typeof LockOpenOutlined;
|
|
255
258
|
declare const icons$1_LockOutlined: typeof LockOutlined;
|
|
259
|
+
declare const icons$1_ManageAccountsOutlined: typeof ManageAccountsOutlined;
|
|
256
260
|
declare const icons$1_MoreVertOutlined: typeof MoreVertOutlined;
|
|
257
261
|
declare const icons$1_OpenInFull: typeof OpenInFull;
|
|
258
262
|
declare const icons$1_OpenInNew: typeof OpenInNew;
|
|
263
|
+
declare const icons$1_PeopleAltOutlined: typeof PeopleAltOutlined;
|
|
259
264
|
declare const icons$1_PhotoOutlined: typeof PhotoOutlined;
|
|
260
265
|
declare const icons$1_RemoveOutlined: typeof RemoveOutlined;
|
|
261
266
|
declare const icons$1_RotateLeftOutlined: typeof RotateLeftOutlined;
|
|
@@ -275,7 +280,7 @@ declare const icons$1_VisibilityOutlined: typeof VisibilityOutlined;
|
|
|
275
280
|
declare const icons$1_Warning: typeof Warning;
|
|
276
281
|
declare const icons$1_WarningAmberOutlined: typeof WarningAmberOutlined;
|
|
277
282
|
declare namespace icons$1 {
|
|
278
|
-
export { icons$1_AccessTimeOutlined as AccessTimeOutlined, icons$1_AddOutlined as AddOutlined, icons$1_AdminPanelSettingsOutlined as AdminPanelSettingsOutlined, icons$1_ArrowBackIosNewOutlined as ArrowBackIosNewOutlined, icons$1_ArrowBackOutlined as ArrowBackOutlined, icons$1_ArrowForwardIosOutlined as ArrowForwardIosOutlined, icons$1_ArrowForwardOutlined as ArrowForwardOutlined, icons$1_ArrowRightOutlined as ArrowRightOutlined, icons$1_ArrowRightOutlinedAnimated as ArrowRightOutlinedAnimated, icons$1_ArticleOutlined as ArticleOutlined, icons$1_CheckCircleOutlineOutlined as CheckCircleOutlineOutlined, icons$1_CheckOutlined as CheckOutlined, icons$1_ChevronLeftOutlined as ChevronLeftOutlined, icons$1_ChevronRightOutlined as ChevronRightOutlined, icons$1_CloseFullscreen as CloseFullscreen, icons$1_CloseOutlined as CloseOutlined, icons$1_ContentCopyOutlined as ContentCopyOutlined, icons$1_CreateNewFolderOutlined as CreateNewFolderOutlined, icons$1_Crop169Outlined as Crop169Outlined, icons$1_Crop916Outlined as Crop916Outlined, icons$1_CropLandscapeOutlined as CropLandscapeOutlined, icons$1_CropOriginalOutlined as CropOriginalOutlined, icons$1_CropOutlined as CropOutlined, icons$1_CropPortraitOutlined as CropPortraitOutlined, icons$1_CropSquareOutlined as CropSquareOutlined, icons$1_DeleteOutlineOutlined as DeleteOutlineOutlined, icons$1_DragIndicatorOutlined as DragIndicatorOutlined, icons$1_DriveFileRenameOutlineOutlined as DriveFileRenameOutlineOutlined, icons$1_DriveFolderUploadOutlined as DriveFolderUploadOutlined, icons$1_EditOutlined as EditOutlined, icons$1_ExpandMoreOutlined as ExpandMoreOutlined, icons$1_FileCopyOutlined as FileCopyOutlined, icons$1_FileDownloadOutlined as FileDownloadOutlined, icons$1_FileMoveOutlined as FileMoveOutlined, icons$1_FileUploadOutlined as FileUploadOutlined, icons$1_FilterListOutlined as FilterListOutlined, icons$1_FirstPageOutlined as FirstPageOutlined, icons$1_FlipHorizontalOutlined as FlipHorizontalOutlined, icons$1_FlipVerticalOutlined as FlipVerticalOutlined, icons$1_Folder as Folder, icons$1_FolderOutlined as FolderOutlined, icons$1_HighlightOffOutlined as HighlightOffOutlined, icons$1_InfoOutlined as InfoOutlined, icons$1_Inventory2Outlined as Inventory2Outlined, icons$1_KeyboardDoubleArrowLeftOutlined as KeyboardDoubleArrowLeftOutlined, icons$1_KeyboardDoubleArrowRightOutlined as KeyboardDoubleArrowRightOutlined, icons$1_LastPageOutlined as LastPageOutlined, icons$1_LockOpenOutlined as LockOpenOutlined, icons$1_LockOutlined as LockOutlined, icons$1_MoreVertOutlined as MoreVertOutlined, icons$1_OpenInFull as OpenInFull, icons$1_OpenInNew as OpenInNew, icons$1_PhotoOutlined as PhotoOutlined, icons$1_RemoveOutlined as RemoveOutlined, icons$1_RotateLeftOutlined as RotateLeftOutlined, icons$1_RotateRightOutlined as RotateRightOutlined, icons$1_SaveOutlined as SaveOutlined, icons$1_SearchMissingResults as SearchMissingResults, icons$1_SearchOutlined as SearchOutlined, icons$1_SettingsOutlined as SettingsOutlined, icons$1_SettingsOutlinedAnimated as SettingsOutlinedAnimated, icons$1_Sort as Sort, icons$1_SortAscending as SortAscending, icons$1_SortDescending as SortDescending, icons$1_Spinner as Spinner, icons$1_TuneOutlined as TuneOutlined, icons$1_UploadFileOutlined as UploadFileOutlined, icons$1_VisibilityOutlined as VisibilityOutlined, icons$1_Warning as Warning, icons$1_WarningAmberOutlined as WarningAmberOutlined };
|
|
283
|
+
export { icons$1_AccessTimeOutlined as AccessTimeOutlined, icons$1_AddOutlined as AddOutlined, icons$1_AdminPanelSettingsOutlined as AdminPanelSettingsOutlined, icons$1_ArrowBackIosNewOutlined as ArrowBackIosNewOutlined, icons$1_ArrowBackOutlined as ArrowBackOutlined, icons$1_ArrowForwardIosOutlined as ArrowForwardIosOutlined, icons$1_ArrowForwardOutlined as ArrowForwardOutlined, icons$1_ArrowRightOutlined as ArrowRightOutlined, icons$1_ArrowRightOutlinedAnimated as ArrowRightOutlinedAnimated, icons$1_ArticleOutlined as ArticleOutlined, icons$1_CheckCircleOutlineOutlined as CheckCircleOutlineOutlined, icons$1_CheckOutlined as CheckOutlined, icons$1_ChevronLeftOutlined as ChevronLeftOutlined, icons$1_ChevronRightOutlined as ChevronRightOutlined, icons$1_CloseFullscreen as CloseFullscreen, icons$1_CloseOutlined as CloseOutlined, icons$1_ContentCopyOutlined as ContentCopyOutlined, icons$1_CreateNewFolderOutlined as CreateNewFolderOutlined, icons$1_Crop169Outlined as Crop169Outlined, icons$1_Crop916Outlined as Crop916Outlined, icons$1_CropLandscapeOutlined as CropLandscapeOutlined, icons$1_CropOriginalOutlined as CropOriginalOutlined, icons$1_CropOutlined as CropOutlined, icons$1_CropPortraitOutlined as CropPortraitOutlined, icons$1_CropSquareOutlined as CropSquareOutlined, icons$1_DeleteOutlineOutlined as DeleteOutlineOutlined, icons$1_DragIndicatorOutlined as DragIndicatorOutlined, icons$1_DriveFileRenameOutlineOutlined as DriveFileRenameOutlineOutlined, icons$1_DriveFolderUploadOutlined as DriveFolderUploadOutlined, icons$1_EditOutlined as EditOutlined, icons$1_ExpandMoreOutlined as ExpandMoreOutlined, icons$1_FileCopyOutlined as FileCopyOutlined, icons$1_FileDownloadOutlined as FileDownloadOutlined, icons$1_FileMoveOutlined as FileMoveOutlined, icons$1_FileUploadOutlined as FileUploadOutlined, icons$1_FilterListOutlined as FilterListOutlined, icons$1_FirstPageOutlined as FirstPageOutlined, icons$1_FlipHorizontalOutlined as FlipHorizontalOutlined, icons$1_FlipVerticalOutlined as FlipVerticalOutlined, icons$1_Folder as Folder, icons$1_FolderOutlined as FolderOutlined, icons$1_HighlightOffOutlined as HighlightOffOutlined, icons$1_InfoOutlined as InfoOutlined, icons$1_Inventory2Outlined as Inventory2Outlined, icons$1_KeyboardDoubleArrowLeftOutlined as KeyboardDoubleArrowLeftOutlined, icons$1_KeyboardDoubleArrowRightOutlined as KeyboardDoubleArrowRightOutlined, icons$1_LastPageOutlined as LastPageOutlined, icons$1_LockOpenOutlined as LockOpenOutlined, icons$1_LockOutlined as LockOutlined, icons$1_ManageAccountsOutlined as ManageAccountsOutlined, icons$1_MoreVertOutlined as MoreVertOutlined, icons$1_OpenInFull as OpenInFull, icons$1_OpenInNew as OpenInNew, icons$1_PeopleAltOutlined as PeopleAltOutlined, icons$1_PhotoOutlined as PhotoOutlined, icons$1_RemoveOutlined as RemoveOutlined, icons$1_RotateLeftOutlined as RotateLeftOutlined, icons$1_RotateRightOutlined as RotateRightOutlined, icons$1_SaveOutlined as SaveOutlined, icons$1_SearchMissingResults as SearchMissingResults, icons$1_SearchOutlined as SearchOutlined, icons$1_SettingsOutlined as SettingsOutlined, icons$1_SettingsOutlinedAnimated as SettingsOutlinedAnimated, icons$1_Sort as Sort, icons$1_SortAscending as SortAscending, icons$1_SortDescending as SortDescending, icons$1_Spinner as Spinner, icons$1_TuneOutlined as TuneOutlined, icons$1_UploadFileOutlined as UploadFileOutlined, icons$1_VisibilityOutlined as VisibilityOutlined, icons$1_Warning as Warning, icons$1_WarningAmberOutlined as WarningAmberOutlined };
|
|
279
284
|
}
|
|
280
285
|
|
|
281
286
|
type IconRenderer = (props: {
|
|
@@ -286,8 +291,8 @@ type IconName = keyof typeof icons$1;
|
|
|
286
291
|
type IconSize = 'small' | 'base' | 'medium' | 'big' | 'bigger' | 'humongous';
|
|
287
292
|
type IconColor = 'accent' | 'danger' | 'default' | 'disabled' | 'muted' | 'success' | 'warning';
|
|
288
293
|
|
|
289
|
-
declare const Icon: React$1.FC<Props$
|
|
290
|
-
interface Props$
|
|
294
|
+
declare const Icon: React$1.FC<Props$3p>;
|
|
295
|
+
interface Props$3p {
|
|
291
296
|
/**
|
|
292
297
|
* Toggles optional icon animation.
|
|
293
298
|
*/
|
|
@@ -317,8 +322,8 @@ interface Props$3a {
|
|
|
317
322
|
size?: IconSize;
|
|
318
323
|
}
|
|
319
324
|
|
|
320
|
-
declare const Button: React$1.ForwardRefExoticComponent<Props$
|
|
321
|
-
interface Props$
|
|
325
|
+
declare const Button: React$1.ForwardRefExoticComponent<Props$3o & React$1.RefAttributes<HTMLButtonElement>>;
|
|
326
|
+
interface Props$3o {
|
|
322
327
|
/**
|
|
323
328
|
* Applies active styling.
|
|
324
329
|
*/
|
|
@@ -413,24 +418,24 @@ interface Props$39 {
|
|
|
413
418
|
disabledLabelWrapping?: boolean;
|
|
414
419
|
}
|
|
415
420
|
|
|
416
|
-
declare const ButtonGroup: React$1.FC<Props$
|
|
417
|
-
interface Props$
|
|
421
|
+
declare const ButtonGroup: React$1.FC<Props$3n>;
|
|
422
|
+
interface Props$3n {
|
|
418
423
|
/**
|
|
419
424
|
* Button components.
|
|
420
425
|
*/
|
|
421
426
|
children: React$1.ReactNode;
|
|
422
427
|
}
|
|
423
428
|
|
|
424
|
-
declare const ButtonRow: React$1.FC<Props$
|
|
425
|
-
interface Props$
|
|
429
|
+
declare const ButtonRow: React$1.FC<Props$3m>;
|
|
430
|
+
interface Props$3m {
|
|
426
431
|
/**
|
|
427
432
|
* Button components.
|
|
428
433
|
*/
|
|
429
434
|
children: React$1.ReactNode;
|
|
430
435
|
}
|
|
431
436
|
|
|
432
|
-
declare const CircularLoader: React$1.ForwardRefExoticComponent<Props$
|
|
433
|
-
interface Props$
|
|
437
|
+
declare const CircularLoader: React$1.ForwardRefExoticComponent<Props$3l & React$1.RefAttributes<HTMLButtonElement>>;
|
|
438
|
+
interface Props$3l {
|
|
434
439
|
/**
|
|
435
440
|
* Component's label.
|
|
436
441
|
*/
|
|
@@ -453,8 +458,8 @@ interface Props$36 {
|
|
|
453
458
|
onClick?: () => void;
|
|
454
459
|
}
|
|
455
460
|
|
|
456
|
-
declare const DialogNextTitle: React$1.ForwardRefExoticComponent<Props$
|
|
457
|
-
interface Props$
|
|
461
|
+
declare const DialogNextTitle: React$1.ForwardRefExoticComponent<Props$3k & React$1.RefAttributes<HTMLDivElement>>;
|
|
462
|
+
interface Props$3k {
|
|
458
463
|
/**
|
|
459
464
|
* Main content of the component.
|
|
460
465
|
*/
|
|
@@ -473,8 +478,8 @@ interface Props$35 {
|
|
|
473
478
|
titleId?: string;
|
|
474
479
|
}
|
|
475
480
|
|
|
476
|
-
declare const DialogNextColumn: React$1.ForwardRefExoticComponent<Props$
|
|
477
|
-
interface Props$
|
|
481
|
+
declare const DialogNextColumn: React$1.ForwardRefExoticComponent<Props$3j & React$1.RefAttributes<HTMLDivElement>>;
|
|
482
|
+
interface Props$3j {
|
|
478
483
|
/**
|
|
479
484
|
* Main content of the component.
|
|
480
485
|
*/
|
|
@@ -485,8 +490,8 @@ interface Props$34 {
|
|
|
485
490
|
className?: string;
|
|
486
491
|
}
|
|
487
492
|
|
|
488
|
-
declare const DialogNextContent: React$1.ForwardRefExoticComponent<Props$
|
|
489
|
-
interface Props$
|
|
493
|
+
declare const DialogNextContent: React$1.ForwardRefExoticComponent<Props$3i & React$1.RefAttributes<HTMLDivElement>>;
|
|
494
|
+
interface Props$3i {
|
|
490
495
|
/**
|
|
491
496
|
* Main content of the component.
|
|
492
497
|
*/
|
|
@@ -505,8 +510,8 @@ interface Props$33 {
|
|
|
505
510
|
id?: string;
|
|
506
511
|
}
|
|
507
512
|
|
|
508
|
-
declare const DialogNextFooter: React$1.ForwardRefExoticComponent<Props$
|
|
509
|
-
interface Props$
|
|
513
|
+
declare const DialogNextFooter: React$1.ForwardRefExoticComponent<Props$3h & React$1.RefAttributes<HTMLDivElement>>;
|
|
514
|
+
interface Props$3h {
|
|
510
515
|
/**
|
|
511
516
|
* Main content of the component.
|
|
512
517
|
*/
|
|
@@ -517,8 +522,8 @@ interface Props$32 {
|
|
|
517
522
|
className?: string;
|
|
518
523
|
}
|
|
519
524
|
|
|
520
|
-
declare const DialogNextCloseButton: React$1.ForwardRefExoticComponent<Props$
|
|
521
|
-
interface Props$
|
|
525
|
+
declare const DialogNextCloseButton: React$1.ForwardRefExoticComponent<Props$3g & React$1.RefAttributes<HTMLButtonElement>>;
|
|
526
|
+
interface Props$3g {
|
|
522
527
|
/**
|
|
523
528
|
* Close button's label.
|
|
524
529
|
*/
|
|
@@ -529,8 +534,8 @@ interface Props$31 {
|
|
|
529
534
|
className?: string;
|
|
530
535
|
}
|
|
531
536
|
|
|
532
|
-
declare const DialogNextHeader: React$1.ForwardRefExoticComponent<Props$
|
|
533
|
-
interface Props$
|
|
537
|
+
declare const DialogNextHeader: React$1.ForwardRefExoticComponent<Props$3f & React$1.RefAttributes<HTMLDivElement>>;
|
|
538
|
+
interface Props$3f {
|
|
534
539
|
/**
|
|
535
540
|
* Main content of the component.
|
|
536
541
|
*/
|
|
@@ -541,16 +546,16 @@ interface Props$30 {
|
|
|
541
546
|
className?: string;
|
|
542
547
|
}
|
|
543
548
|
|
|
544
|
-
declare const DialogNextSeparator: React$1.ForwardRefExoticComponent<Props$
|
|
545
|
-
interface Props$
|
|
549
|
+
declare const DialogNextSeparator: React$1.ForwardRefExoticComponent<Props$3e & React$1.RefAttributes<HTMLDivElement>>;
|
|
550
|
+
interface Props$3e {
|
|
546
551
|
/**
|
|
547
552
|
* Sets root header class.
|
|
548
553
|
*/
|
|
549
554
|
className?: string;
|
|
550
555
|
}
|
|
551
556
|
|
|
552
|
-
declare const DialogNext: React$1.ForwardRefExoticComponent<Props$
|
|
553
|
-
interface Props$
|
|
557
|
+
declare const DialogNext: React$1.ForwardRefExoticComponent<Props$3d & React$1.RefAttributes<HTMLDivElement>>;
|
|
558
|
+
interface Props$3d {
|
|
554
559
|
/**
|
|
555
560
|
* Main content of the component.
|
|
556
561
|
*/
|
|
@@ -589,16 +594,16 @@ interface Props$2_ {
|
|
|
589
594
|
alert?: boolean;
|
|
590
595
|
}
|
|
591
596
|
|
|
592
|
-
declare const DialogActions: React$1.FC<Props$
|
|
593
|
-
interface Props$
|
|
597
|
+
declare const DialogActions: React$1.FC<Props$3c>;
|
|
598
|
+
interface Props$3c {
|
|
594
599
|
/**
|
|
595
600
|
* Main content of the component.
|
|
596
601
|
*/
|
|
597
602
|
children: React$1.ReactNode;
|
|
598
603
|
}
|
|
599
604
|
|
|
600
|
-
declare const DialogColumn: React$1.ForwardRefExoticComponent<Props$
|
|
601
|
-
interface Props$
|
|
605
|
+
declare const DialogColumn: React$1.ForwardRefExoticComponent<Props$3b & React$1.RefAttributes<HTMLDivElement>>;
|
|
606
|
+
interface Props$3b extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
602
607
|
/**
|
|
603
608
|
* Main content of the component.
|
|
604
609
|
*/
|
|
@@ -609,8 +614,8 @@ interface Props$2Y extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
609
614
|
overflow?: boolean;
|
|
610
615
|
}
|
|
611
616
|
|
|
612
|
-
declare const DialogFooter: React$1.FC<Props$
|
|
613
|
-
interface Props$
|
|
617
|
+
declare const DialogFooter: React$1.FC<Props$3a>;
|
|
618
|
+
interface Props$3a {
|
|
614
619
|
/**
|
|
615
620
|
* Main content of the component.
|
|
616
621
|
*/
|
|
@@ -626,8 +631,8 @@ interface Props$2X {
|
|
|
626
631
|
}[];
|
|
627
632
|
}
|
|
628
633
|
|
|
629
|
-
declare const DialogHeader: React$1.FC<Props$
|
|
630
|
-
interface Props$
|
|
634
|
+
declare const DialogHeader: React$1.FC<Props$39>;
|
|
635
|
+
interface Props$39 {
|
|
631
636
|
/**
|
|
632
637
|
* Sets focus on close button on mount.
|
|
633
638
|
*/
|
|
@@ -650,8 +655,8 @@ interface Props$2W {
|
|
|
650
655
|
type?: 'success' | 'error' | 'info';
|
|
651
656
|
}
|
|
652
657
|
|
|
653
|
-
declare const DialogProgressHeader: React$1.FC<Props$
|
|
654
|
-
interface Props$
|
|
658
|
+
declare const DialogProgressHeader: React$1.FC<Props$38>;
|
|
659
|
+
interface Props$38 {
|
|
655
660
|
/**
|
|
656
661
|
* Sets focus on close button on mount.
|
|
657
662
|
*/
|
|
@@ -682,16 +687,16 @@ interface Props$2V {
|
|
|
682
687
|
title?: string;
|
|
683
688
|
}
|
|
684
689
|
|
|
685
|
-
declare const DialogRow: React$1.FC<Props$
|
|
686
|
-
interface Props$
|
|
690
|
+
declare const DialogRow: React$1.FC<Props$37>;
|
|
691
|
+
interface Props$37 extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
687
692
|
/**
|
|
688
693
|
* Main content of the component.
|
|
689
694
|
*/
|
|
690
695
|
children: React$1.ReactNode;
|
|
691
696
|
}
|
|
692
697
|
|
|
693
|
-
declare const DialogSection: React$1.FC<Props$
|
|
694
|
-
interface Props$
|
|
698
|
+
declare const DialogSection: React$1.FC<Props$36>;
|
|
699
|
+
interface Props$36 {
|
|
695
700
|
/**
|
|
696
701
|
* Main content of the component.
|
|
697
702
|
*/
|
|
@@ -716,10 +721,6 @@ interface Props$2T {
|
|
|
716
721
|
* Toggles content spacing.
|
|
717
722
|
*/
|
|
718
723
|
spacing?: boolean;
|
|
719
|
-
/**
|
|
720
|
-
* Accepts ref.
|
|
721
|
-
*/
|
|
722
|
-
ref?: React$1.Ref<HTMLDivElement>;
|
|
723
724
|
/**
|
|
724
725
|
* Shows content as an error.
|
|
725
726
|
*/
|
|
@@ -814,35 +815,35 @@ interface DialogProps extends DialogSwitchProps {
|
|
|
814
815
|
* Entry component for the dialog.
|
|
815
816
|
* Initializes selected dialog mode and optionally adds common options and draggability if needed.
|
|
816
817
|
*/
|
|
817
|
-
declare const Dialog: React$1.FC<Props$
|
|
818
|
-
type Props$
|
|
818
|
+
declare const Dialog: React$1.FC<Props$35>;
|
|
819
|
+
type Props$35 = DialogProps;
|
|
819
820
|
|
|
820
|
-
interface Props$
|
|
821
|
+
interface Props$34 {
|
|
821
822
|
/**
|
|
822
823
|
* Sets root class.
|
|
823
824
|
*/
|
|
824
825
|
className: string;
|
|
825
826
|
}
|
|
826
827
|
|
|
827
|
-
declare const Zip: React$1.FC<Props$
|
|
828
|
+
declare const Zip: React$1.FC<Props$34>;
|
|
828
829
|
|
|
829
|
-
declare const Empty: React$1.FC<Props$
|
|
830
|
+
declare const Empty: React$1.FC<Props$34>;
|
|
830
831
|
|
|
831
|
-
declare const Excel: React$1.FC<Props$
|
|
832
|
+
declare const Excel: React$1.FC<Props$34>;
|
|
832
833
|
|
|
833
|
-
declare const Img: React$1.FC<Props$
|
|
834
|
+
declare const Img: React$1.FC<Props$34>;
|
|
834
835
|
|
|
835
|
-
declare const Movie: React$1.FC<Props$
|
|
836
|
+
declare const Movie: React$1.FC<Props$34>;
|
|
836
837
|
|
|
837
|
-
declare const Music: React$1.FC<Props$
|
|
838
|
+
declare const Music: React$1.FC<Props$34>;
|
|
838
839
|
|
|
839
|
-
declare const Pdf: React$1.FC<Props$
|
|
840
|
+
declare const Pdf: React$1.FC<Props$34>;
|
|
840
841
|
|
|
841
|
-
declare const Ppt: React$1.FC<Props$
|
|
842
|
+
declare const Ppt: React$1.FC<Props$34>;
|
|
842
843
|
|
|
843
|
-
declare const Txt: React$1.FC<Props$
|
|
844
|
+
declare const Txt: React$1.FC<Props$34>;
|
|
844
845
|
|
|
845
|
-
declare const Word: React$1.FC<Props$
|
|
846
|
+
declare const Word: React$1.FC<Props$34>;
|
|
846
847
|
|
|
847
848
|
declare const icons_Empty: typeof Empty;
|
|
848
849
|
declare const icons_Excel: typeof Excel;
|
|
@@ -857,9 +858,9 @@ declare namespace icons {
|
|
|
857
858
|
export { Zip as Archive, icons_Empty as Empty, icons_Excel as Excel, icons_Img as Img, icons_Movie as Movie, icons_Music as Music, icons_Pdf as Pdf, icons_Ppt as Ppt, icons_Txt as Txt, icons_Word as Word };
|
|
858
859
|
}
|
|
859
860
|
|
|
860
|
-
declare const DocIcon: React$1.FC<Props$
|
|
861
|
+
declare const DocIcon: React$1.FC<Props$33>;
|
|
861
862
|
type DocIconName = keyof typeof icons;
|
|
862
|
-
interface Props$
|
|
863
|
+
interface Props$33 {
|
|
863
864
|
/**
|
|
864
865
|
* Name of selected icon.
|
|
865
866
|
*/
|
|
@@ -870,8 +871,8 @@ interface Props$2Q {
|
|
|
870
871
|
limitSize?: boolean;
|
|
871
872
|
}
|
|
872
873
|
|
|
873
|
-
declare const GalleryFigure: React$1.ForwardRefExoticComponent<Props$
|
|
874
|
-
interface Props$
|
|
874
|
+
declare const GalleryFigure: React$1.ForwardRefExoticComponent<Props$32 & React$1.RefAttributes<HTMLElement>>;
|
|
875
|
+
interface Props$32 {
|
|
875
876
|
/**
|
|
876
877
|
* Main content of the component.
|
|
877
878
|
*/
|
|
@@ -886,8 +887,8 @@ interface Props$2P {
|
|
|
886
887
|
'data-visible'?: boolean;
|
|
887
888
|
}
|
|
888
889
|
|
|
889
|
-
declare const GalleryItem: React$1.ForwardRefExoticComponent<Props$
|
|
890
|
-
interface Props$
|
|
890
|
+
declare const GalleryItem: React$1.ForwardRefExoticComponent<Props$31 & React$1.RefAttributes<HTMLDivElement>>;
|
|
891
|
+
interface Props$31 {
|
|
891
892
|
/**
|
|
892
893
|
* Sets item as active.
|
|
893
894
|
*/
|
|
@@ -942,8 +943,8 @@ interface Props$2O {
|
|
|
942
943
|
onCheckboxClick?: React$1.MouseEventHandler<HTMLButtonElement>;
|
|
943
944
|
}
|
|
944
945
|
|
|
945
|
-
declare const Gallery: React$1.FC<Props$
|
|
946
|
-
interface Props$
|
|
946
|
+
declare const Gallery: React$1.FC<Props$30>;
|
|
947
|
+
interface Props$30 {
|
|
947
948
|
/**
|
|
948
949
|
* Main content of the component.
|
|
949
950
|
*/
|
|
@@ -962,8 +963,20 @@ interface Props$2N {
|
|
|
962
963
|
zoom?: number;
|
|
963
964
|
}
|
|
964
965
|
|
|
965
|
-
declare const
|
|
966
|
-
interface Props$
|
|
966
|
+
declare const Link: React$1.FC<Props$2$>;
|
|
967
|
+
interface Props$2$ {
|
|
968
|
+
/**
|
|
969
|
+
* URL to pass to the link element.
|
|
970
|
+
*/
|
|
971
|
+
href: string;
|
|
972
|
+
/**
|
|
973
|
+
* Main content displayed inside the element.
|
|
974
|
+
*/
|
|
975
|
+
children: React$1.ReactNode;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
declare const MenuItem: React$1.FC<Props$2_>;
|
|
979
|
+
interface Props$2_ {
|
|
967
980
|
/**
|
|
968
981
|
* Disables auto-close on click.
|
|
969
982
|
*/
|
|
@@ -990,8 +1003,8 @@ interface Props$2M {
|
|
|
990
1003
|
onClick?: () => void;
|
|
991
1004
|
}
|
|
992
1005
|
|
|
993
|
-
declare const MenuSubSection: React$1.FC<Props$
|
|
994
|
-
interface Props$
|
|
1006
|
+
declare const MenuSubSection: React$1.FC<Props$2Z>;
|
|
1007
|
+
interface Props$2Z {
|
|
995
1008
|
/**
|
|
996
1009
|
* Main content of the component.
|
|
997
1010
|
*/
|
|
@@ -1018,8 +1031,8 @@ interface Props$2L {
|
|
|
1018
1031
|
title: string;
|
|
1019
1032
|
}
|
|
1020
1033
|
|
|
1021
|
-
declare const MenuSection: React$1.FC<Props$
|
|
1022
|
-
interface Props$
|
|
1034
|
+
declare const MenuSection: React$1.FC<Props$2Y>;
|
|
1035
|
+
interface Props$2Y {
|
|
1023
1036
|
/**
|
|
1024
1037
|
* Main content of the component.
|
|
1025
1038
|
*/
|
|
@@ -1051,16 +1064,16 @@ type PopperAnchorRef = HTMLElement | null | undefined;
|
|
|
1051
1064
|
type PopperOffsetValue = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1052
1065
|
type PopperOffset = [PopperOffsetValue, PopperOffsetValue];
|
|
1053
1066
|
|
|
1054
|
-
declare const PopperArrow: React__default.FC<Props$
|
|
1055
|
-
interface Props$
|
|
1067
|
+
declare const PopperArrow: React__default.FC<Props$2X>;
|
|
1068
|
+
interface Props$2X {
|
|
1056
1069
|
/**
|
|
1057
1070
|
* Sets arrow size.
|
|
1058
1071
|
*/
|
|
1059
1072
|
size?: 'sm' | 'md';
|
|
1060
1073
|
}
|
|
1061
1074
|
|
|
1062
|
-
declare const Popper: React__default.ForwardRefExoticComponent<Props$
|
|
1063
|
-
interface Props$
|
|
1075
|
+
declare const Popper: React__default.ForwardRefExoticComponent<Props$2W & React__default.RefAttributes<HTMLElement>>;
|
|
1076
|
+
interface Props$2W {
|
|
1064
1077
|
/**
|
|
1065
1078
|
* Anchor element. Popper will be mounted to this element.
|
|
1066
1079
|
*/
|
|
@@ -1099,8 +1112,8 @@ interface Props$2I {
|
|
|
1099
1112
|
onKeyDown?: React__default.KeyboardEventHandler;
|
|
1100
1113
|
}
|
|
1101
1114
|
|
|
1102
|
-
declare const Menu: React$1.ForwardRefExoticComponent<Props$
|
|
1103
|
-
interface Props$
|
|
1115
|
+
declare const Menu: React$1.ForwardRefExoticComponent<Props$2V & React$1.RefAttributes<HTMLDivElement>>;
|
|
1116
|
+
interface Props$2V {
|
|
1104
1117
|
/**
|
|
1105
1118
|
* Anchor element.
|
|
1106
1119
|
*/
|
|
@@ -1131,16 +1144,16 @@ interface Props$2H {
|
|
|
1131
1144
|
sameWidth?: boolean;
|
|
1132
1145
|
}
|
|
1133
1146
|
|
|
1134
|
-
declare const ModalDialogActionContent: React$1.ForwardRefExoticComponent<Props$
|
|
1135
|
-
interface Props$
|
|
1147
|
+
declare const ModalDialogActionContent: React$1.ForwardRefExoticComponent<Props$2U & React$1.RefAttributes<HTMLDivElement>>;
|
|
1148
|
+
interface Props$2U {
|
|
1136
1149
|
/**
|
|
1137
1150
|
* Main content of the component.
|
|
1138
1151
|
*/
|
|
1139
1152
|
children?: React$1.ReactNode;
|
|
1140
1153
|
}
|
|
1141
1154
|
|
|
1142
|
-
declare const ModalDialogActionItem: React$1.ForwardRefExoticComponent<Props$
|
|
1143
|
-
interface Props$
|
|
1155
|
+
declare const ModalDialogActionItem: React$1.ForwardRefExoticComponent<Props$2T & React$1.RefAttributes<HTMLLIElement>>;
|
|
1156
|
+
interface Props$2T {
|
|
1144
1157
|
/**
|
|
1145
1158
|
* Main content of the component.
|
|
1146
1159
|
*/
|
|
@@ -1159,8 +1172,8 @@ interface Props$2F {
|
|
|
1159
1172
|
isLoading?: boolean;
|
|
1160
1173
|
}
|
|
1161
1174
|
|
|
1162
|
-
declare const ModalDialogCallout: React$1.ForwardRefExoticComponent<Props$
|
|
1163
|
-
interface Props$
|
|
1175
|
+
declare const ModalDialogCallout: React$1.ForwardRefExoticComponent<Props$2S & React$1.RefAttributes<HTMLDivElement>>;
|
|
1176
|
+
interface Props$2S {
|
|
1164
1177
|
/**
|
|
1165
1178
|
* Main content of the component.
|
|
1166
1179
|
*/
|
|
@@ -1175,8 +1188,8 @@ interface Props$2E {
|
|
|
1175
1188
|
type: 'error' | 'warning';
|
|
1176
1189
|
}
|
|
1177
1190
|
|
|
1178
|
-
declare const ModalDialogContent: React$1.ForwardRefExoticComponent<Props$
|
|
1179
|
-
interface Props$
|
|
1191
|
+
declare const ModalDialogContent: React$1.ForwardRefExoticComponent<Props$2R & React$1.RefAttributes<HTMLDivElement>>;
|
|
1192
|
+
interface Props$2R {
|
|
1180
1193
|
/**
|
|
1181
1194
|
* Main content of the component.
|
|
1182
1195
|
*/
|
|
@@ -1187,8 +1200,8 @@ interface Props$2D {
|
|
|
1187
1200
|
id?: string;
|
|
1188
1201
|
}
|
|
1189
1202
|
|
|
1190
|
-
declare const ModalDialogContentColumn: React$1.ForwardRefExoticComponent<Props$
|
|
1191
|
-
interface Props$
|
|
1203
|
+
declare const ModalDialogContentColumn: React$1.ForwardRefExoticComponent<Props$2Q & React$1.RefAttributes<HTMLDivElement>>;
|
|
1204
|
+
interface Props$2Q {
|
|
1192
1205
|
/**
|
|
1193
1206
|
* Main content of the component.
|
|
1194
1207
|
*/
|
|
@@ -1199,8 +1212,8 @@ interface Props$2C {
|
|
|
1199
1212
|
id?: string;
|
|
1200
1213
|
}
|
|
1201
1214
|
|
|
1202
|
-
declare const ModalDialogList: React$1.ForwardRefExoticComponent<Props$
|
|
1203
|
-
interface Props$
|
|
1215
|
+
declare const ModalDialogList: React$1.ForwardRefExoticComponent<Props$2P & React$1.RefAttributes<HTMLDivElement>>;
|
|
1216
|
+
interface Props$2P {
|
|
1204
1217
|
/**
|
|
1205
1218
|
* Sets the dialog content ID.
|
|
1206
1219
|
*/
|
|
@@ -1215,16 +1228,16 @@ interface Props$2B {
|
|
|
1215
1228
|
children: React$1.ReactNode;
|
|
1216
1229
|
}
|
|
1217
1230
|
|
|
1218
|
-
declare const ModalDialogListItem: React$1.ForwardRefExoticComponent<Props$
|
|
1219
|
-
interface Props$
|
|
1231
|
+
declare const ModalDialogListItem: React$1.ForwardRefExoticComponent<Props$2O & React$1.RefAttributes<HTMLLIElement>>;
|
|
1232
|
+
interface Props$2O {
|
|
1220
1233
|
/**
|
|
1221
1234
|
* Item to display in the list.
|
|
1222
1235
|
*/
|
|
1223
1236
|
children: React$1.ReactNode;
|
|
1224
1237
|
}
|
|
1225
1238
|
|
|
1226
|
-
declare const ModalDialogFooter: React$1.ForwardRefExoticComponent<Props$
|
|
1227
|
-
interface Props$
|
|
1239
|
+
declare const ModalDialogFooter: React$1.ForwardRefExoticComponent<Props$2N & React$1.RefAttributes<HTMLDivElement>>;
|
|
1240
|
+
interface Props$2N {
|
|
1228
1241
|
/**
|
|
1229
1242
|
* Main content of the component.
|
|
1230
1243
|
*/
|
|
@@ -1235,16 +1248,16 @@ interface Props$2z {
|
|
|
1235
1248
|
spaceBetween?: boolean;
|
|
1236
1249
|
}
|
|
1237
1250
|
|
|
1238
|
-
declare const ModalDialogFooterAction: React$1.ForwardRefExoticComponent<Props$
|
|
1239
|
-
interface Props$
|
|
1251
|
+
declare const ModalDialogFooterAction: React$1.ForwardRefExoticComponent<Props$2M & React$1.RefAttributes<HTMLDivElement>>;
|
|
1252
|
+
interface Props$2M {
|
|
1240
1253
|
/**
|
|
1241
1254
|
* Main content of the component.
|
|
1242
1255
|
*/
|
|
1243
1256
|
children?: React$1.ReactNode;
|
|
1244
1257
|
}
|
|
1245
1258
|
|
|
1246
|
-
declare const ModalDialogHeader: React$1.ForwardRefExoticComponent<Props$
|
|
1247
|
-
interface Props$
|
|
1259
|
+
declare const ModalDialogHeader: React$1.ForwardRefExoticComponent<Props$2L & React$1.RefAttributes<HTMLDivElement>>;
|
|
1260
|
+
interface Props$2L {
|
|
1248
1261
|
/**
|
|
1249
1262
|
* Enables the top border accent.
|
|
1250
1263
|
*/
|
|
@@ -1256,7 +1269,7 @@ interface Props$2x {
|
|
|
1256
1269
|
/**
|
|
1257
1270
|
* Name of selected icon.
|
|
1258
1271
|
*/
|
|
1259
|
-
icon?: 'info' | 'success' | 'error' | 'warning' | React$1.ReactElement<Props$
|
|
1272
|
+
icon?: 'info' | 'success' | 'error' | 'warning' | React$1.ReactElement<Props$3p>;
|
|
1260
1273
|
/**
|
|
1261
1274
|
* Optional sub title of the modal.
|
|
1262
1275
|
*/
|
|
@@ -1271,8 +1284,8 @@ interface Props$2x {
|
|
|
1271
1284
|
titleId?: string;
|
|
1272
1285
|
}
|
|
1273
1286
|
|
|
1274
|
-
declare const ModalDialog: React$1.ForwardRefExoticComponent<Props$
|
|
1275
|
-
interface Props$
|
|
1287
|
+
declare const ModalDialog: React$1.ForwardRefExoticComponent<Props$2K & React$1.RefAttributes<HTMLDivElement>>;
|
|
1288
|
+
interface Props$2K {
|
|
1276
1289
|
/**
|
|
1277
1290
|
* Main content of the component.
|
|
1278
1291
|
*/
|
|
@@ -1370,8 +1383,8 @@ interface NavbarContext {
|
|
|
1370
1383
|
declare const NavbarContext: React$1.Context<NavbarContext>;
|
|
1371
1384
|
declare const useNavbarCtx: () => NavbarContext;
|
|
1372
1385
|
|
|
1373
|
-
declare const NavbarItem: React$1.FC<Props$
|
|
1374
|
-
interface Props$
|
|
1386
|
+
declare const NavbarItem: React$1.FC<Props$2J>;
|
|
1387
|
+
interface Props$2J {
|
|
1375
1388
|
/**
|
|
1376
1389
|
* Applies active styling.
|
|
1377
1390
|
*/
|
|
@@ -1438,8 +1451,8 @@ interface Props$2v {
|
|
|
1438
1451
|
onDelete?: () => void;
|
|
1439
1452
|
}
|
|
1440
1453
|
|
|
1441
|
-
declare const NavbarItemContainer: React$1.FC<Props$
|
|
1442
|
-
interface Props$
|
|
1454
|
+
declare const NavbarItemContainer: React$1.FC<Props$2I>;
|
|
1455
|
+
interface Props$2I {
|
|
1443
1456
|
/**
|
|
1444
1457
|
* Marks container as active.
|
|
1445
1458
|
*/
|
|
@@ -1450,8 +1463,8 @@ interface Props$2u {
|
|
|
1450
1463
|
children: React$1.ReactNode;
|
|
1451
1464
|
}
|
|
1452
1465
|
|
|
1453
|
-
declare const NavbarItemContent: React$1.FC<Props$
|
|
1454
|
-
interface Props$
|
|
1466
|
+
declare const NavbarItemContent: React$1.FC<Props$2H>;
|
|
1467
|
+
interface Props$2H {
|
|
1455
1468
|
/**
|
|
1456
1469
|
* Adds enter / exit animation.
|
|
1457
1470
|
*/
|
|
@@ -1470,8 +1483,8 @@ interface Props$2t {
|
|
|
1470
1483
|
hidden?: boolean;
|
|
1471
1484
|
}
|
|
1472
1485
|
|
|
1473
|
-
declare const NavbarItemLabel: React$1.FC<Props$
|
|
1474
|
-
interface Props$
|
|
1486
|
+
declare const NavbarItemLabel: React$1.FC<Props$2G>;
|
|
1487
|
+
interface Props$2G {
|
|
1475
1488
|
/**
|
|
1476
1489
|
* Toggles icon animation if parent item is hovered.
|
|
1477
1490
|
*/
|
|
@@ -1483,11 +1496,11 @@ interface Props$2s {
|
|
|
1483
1496
|
/**
|
|
1484
1497
|
* Displayed icon.
|
|
1485
1498
|
*/
|
|
1486
|
-
icon?: React$1.ReactElement<Props$
|
|
1499
|
+
icon?: React$1.ReactElement<Props$3p>;
|
|
1487
1500
|
}
|
|
1488
1501
|
|
|
1489
|
-
declare const NavbarItemsGroup: React$1.FC<Props$
|
|
1490
|
-
interface Props$
|
|
1502
|
+
declare const NavbarItemsGroup: React$1.FC<Props$2F>;
|
|
1503
|
+
interface Props$2F {
|
|
1491
1504
|
/**
|
|
1492
1505
|
* Animates group on collapse.
|
|
1493
1506
|
*/
|
|
@@ -1506,8 +1519,8 @@ interface Props$2r {
|
|
|
1506
1519
|
level?: number;
|
|
1507
1520
|
}
|
|
1508
1521
|
|
|
1509
|
-
declare const NavbarLink: React$1.FC<Props$
|
|
1510
|
-
interface Props$
|
|
1522
|
+
declare const NavbarLink: React$1.FC<Props$2E>;
|
|
1523
|
+
interface Props$2E {
|
|
1511
1524
|
/**
|
|
1512
1525
|
* Renders link content.
|
|
1513
1526
|
*/
|
|
@@ -1520,8 +1533,8 @@ interface Props$2q {
|
|
|
1520
1533
|
href?: string;
|
|
1521
1534
|
}
|
|
1522
1535
|
|
|
1523
|
-
declare const NavbarScrollableContent: React$1.FC<Props$
|
|
1524
|
-
interface Props$
|
|
1536
|
+
declare const NavbarScrollableContent: React$1.FC<Props$2D>;
|
|
1537
|
+
interface Props$2D {
|
|
1525
1538
|
/**
|
|
1526
1539
|
* Main content of the component.
|
|
1527
1540
|
*/
|
|
@@ -1530,8 +1543,8 @@ interface Props$2p {
|
|
|
1530
1543
|
|
|
1531
1544
|
declare const NavbarSeparator: React$1.FC;
|
|
1532
1545
|
|
|
1533
|
-
declare const NavbarToggleButton: React$1.FC<Props$
|
|
1534
|
-
interface Props$
|
|
1546
|
+
declare const NavbarToggleButton: React$1.FC<Props$2C>;
|
|
1547
|
+
interface Props$2C {
|
|
1535
1548
|
/**
|
|
1536
1549
|
* Label shown when navbar will collapse.
|
|
1537
1550
|
*/
|
|
@@ -1546,8 +1559,8 @@ interface Props$2o {
|
|
|
1546
1559
|
openLabel?: string;
|
|
1547
1560
|
}
|
|
1548
1561
|
|
|
1549
|
-
declare const Navbar: React$1.FC<Props$
|
|
1550
|
-
interface Props$
|
|
1562
|
+
declare const Navbar: React$1.FC<Props$2B>;
|
|
1563
|
+
interface Props$2B {
|
|
1551
1564
|
/**
|
|
1552
1565
|
* Labels navigation element.
|
|
1553
1566
|
*/
|
|
@@ -1566,8 +1579,8 @@ interface Props$2n {
|
|
|
1566
1579
|
onActiveItemFocus?: () => void;
|
|
1567
1580
|
}
|
|
1568
1581
|
|
|
1569
|
-
declare const Modal: React$1.FC<Props$
|
|
1570
|
-
interface Props$
|
|
1582
|
+
declare const Modal: React$1.FC<Props$2A>;
|
|
1583
|
+
interface Props$2A {
|
|
1571
1584
|
/**
|
|
1572
1585
|
* Optional children.
|
|
1573
1586
|
*/
|
|
@@ -1590,24 +1603,24 @@ interface Props$2m {
|
|
|
1590
1603
|
variant?: 'transparent' | 'semi-transparent';
|
|
1591
1604
|
}
|
|
1592
1605
|
|
|
1593
|
-
declare const PanelActions: React$1.FC<Props$
|
|
1594
|
-
interface Props$
|
|
1606
|
+
declare const PanelActions: React$1.FC<Props$2z>;
|
|
1607
|
+
interface Props$2z {
|
|
1595
1608
|
/**
|
|
1596
1609
|
* Main content of the component.
|
|
1597
1610
|
*/
|
|
1598
1611
|
children?: React$1.ReactNode;
|
|
1599
1612
|
}
|
|
1600
1613
|
|
|
1601
|
-
declare const PanelColumn: React$1.FC<Props$
|
|
1602
|
-
interface Props$
|
|
1614
|
+
declare const PanelColumn: React$1.FC<Props$2y>;
|
|
1615
|
+
interface Props$2y {
|
|
1603
1616
|
/**
|
|
1604
1617
|
* Main content of the component.
|
|
1605
1618
|
*/
|
|
1606
1619
|
children: React$1.ReactNode;
|
|
1607
1620
|
}
|
|
1608
1621
|
|
|
1609
|
-
declare const PanelContent: React$1.ForwardRefExoticComponent<Props$
|
|
1610
|
-
interface Props$
|
|
1622
|
+
declare const PanelContent: React$1.ForwardRefExoticComponent<Props$2x & React$1.RefAttributes<HTMLDivElement>>;
|
|
1623
|
+
interface Props$2x {
|
|
1611
1624
|
/**
|
|
1612
1625
|
* Main content of the component.
|
|
1613
1626
|
*/
|
|
@@ -1626,8 +1639,8 @@ interface Props$2j {
|
|
|
1626
1639
|
header?: string;
|
|
1627
1640
|
}
|
|
1628
1641
|
|
|
1629
|
-
declare const PanelContentProp: React$1.FC<Props$
|
|
1630
|
-
interface Props$
|
|
1642
|
+
declare const PanelContentProp: React$1.FC<Props$2w>;
|
|
1643
|
+
interface Props$2w {
|
|
1631
1644
|
/**
|
|
1632
1645
|
* Property label.
|
|
1633
1646
|
*/
|
|
@@ -1640,8 +1653,8 @@ interface Props$2i {
|
|
|
1640
1653
|
|
|
1641
1654
|
declare const PanelDragHandle: React$1.ForwardRefExoticComponent<React$1.RefAttributes<HTMLDivElement>>;
|
|
1642
1655
|
|
|
1643
|
-
declare const PanelList: React$1.FC<Props$
|
|
1644
|
-
interface Props$
|
|
1656
|
+
declare const PanelList: React$1.FC<Props$2v>;
|
|
1657
|
+
interface Props$2v {
|
|
1645
1658
|
/**
|
|
1646
1659
|
* Main content.
|
|
1647
1660
|
*/
|
|
@@ -1656,16 +1669,16 @@ interface Props$2h {
|
|
|
1656
1669
|
toolbarLoading?: boolean;
|
|
1657
1670
|
}
|
|
1658
1671
|
|
|
1659
|
-
declare const PanelListDivider: React$1.FC<Props$
|
|
1660
|
-
interface Props$
|
|
1672
|
+
declare const PanelListDivider: React$1.FC<Props$2u>;
|
|
1673
|
+
interface Props$2u {
|
|
1661
1674
|
/**
|
|
1662
1675
|
* Toggles component opacity.
|
|
1663
1676
|
*/
|
|
1664
1677
|
opaque?: boolean;
|
|
1665
1678
|
}
|
|
1666
1679
|
|
|
1667
|
-
declare const PanelSide: React$1.FC<Props$
|
|
1668
|
-
interface Props$
|
|
1680
|
+
declare const PanelSide: React$1.FC<Props$2t>;
|
|
1681
|
+
interface Props$2t {
|
|
1669
1682
|
/**
|
|
1670
1683
|
* Custom content rendered instead of icon.
|
|
1671
1684
|
*/
|
|
@@ -1687,8 +1700,8 @@ interface Props$2f {
|
|
|
1687
1700
|
verticalSpacing?: boolean;
|
|
1688
1701
|
}
|
|
1689
1702
|
|
|
1690
|
-
declare const PanelSkeleton: React$1.FC<Props$
|
|
1691
|
-
interface Props$
|
|
1703
|
+
declare const PanelSkeleton: React$1.FC<Props$2s>;
|
|
1704
|
+
interface Props$2s {
|
|
1692
1705
|
/**
|
|
1693
1706
|
* Number of loading blocks.
|
|
1694
1707
|
*/
|
|
@@ -1703,24 +1716,32 @@ interface Props$2e {
|
|
|
1703
1716
|
spacing?: boolean;
|
|
1704
1717
|
}
|
|
1705
1718
|
|
|
1706
|
-
declare const PanelTitle: React$1.ForwardRefExoticComponent<Props$
|
|
1707
|
-
interface Props$
|
|
1719
|
+
declare const PanelTitle: React$1.ForwardRefExoticComponent<Props$2r & React$1.RefAttributes<HTMLDivElement>>;
|
|
1720
|
+
interface Props$2r extends Omit<Props$2x, 'children'> {
|
|
1708
1721
|
/**
|
|
1709
1722
|
* Panel's title.
|
|
1710
1723
|
*/
|
|
1711
|
-
title:
|
|
1724
|
+
title: React$1.ReactNode;
|
|
1712
1725
|
/**
|
|
1713
1726
|
* Panel's description.
|
|
1714
1727
|
*/
|
|
1715
1728
|
description?: React$1.ReactNode;
|
|
1729
|
+
/**
|
|
1730
|
+
* Optional tooltip explanation to be displayed next to title.
|
|
1731
|
+
*/
|
|
1732
|
+
tooltip?: string;
|
|
1716
1733
|
}
|
|
1717
1734
|
|
|
1718
|
-
declare const PanelDescriptionItem: React$1.FC<Props$
|
|
1719
|
-
interface Props$
|
|
1735
|
+
declare const PanelDescriptionItem: React$1.FC<Props$2q>;
|
|
1736
|
+
interface Props$2q {
|
|
1720
1737
|
/**
|
|
1721
1738
|
* Main components content.
|
|
1722
1739
|
*/
|
|
1723
1740
|
children: React$1.ReactNode;
|
|
1741
|
+
/**
|
|
1742
|
+
* Determines if description item contents should be displayed inline
|
|
1743
|
+
*/
|
|
1744
|
+
inline?: boolean;
|
|
1724
1745
|
}
|
|
1725
1746
|
|
|
1726
1747
|
interface ListDndItem {
|
|
@@ -1798,8 +1819,8 @@ declare const useListDnd: (initItems: ListDndItem[]) => {
|
|
|
1798
1819
|
setDraggable: ListDndSetDraggable;
|
|
1799
1820
|
};
|
|
1800
1821
|
|
|
1801
|
-
declare const SortableDndListItem: React$1.FC<Props$
|
|
1802
|
-
interface Props$
|
|
1822
|
+
declare const SortableDndListItem: React$1.FC<Props$2p>;
|
|
1823
|
+
interface Props$2p {
|
|
1803
1824
|
/**
|
|
1804
1825
|
* Current item's index in a list.
|
|
1805
1826
|
*/
|
|
@@ -1841,8 +1862,8 @@ interface SortableDndListContextShape {
|
|
|
1841
1862
|
onDragEnd?: ListDndOnDragEnd;
|
|
1842
1863
|
}
|
|
1843
1864
|
|
|
1844
|
-
declare const SortableDndList: React$1.FC<Props$
|
|
1845
|
-
interface Props$
|
|
1865
|
+
declare const SortableDndList: React$1.FC<Props$2o>;
|
|
1866
|
+
interface Props$2o extends SortableDndListContextShape {
|
|
1846
1867
|
/**
|
|
1847
1868
|
* Main content of the component.
|
|
1848
1869
|
*/
|
|
@@ -1860,8 +1881,8 @@ interface PanelContextShape extends Partial<ListDndChildProps> {
|
|
|
1860
1881
|
edit?: boolean;
|
|
1861
1882
|
}
|
|
1862
1883
|
|
|
1863
|
-
declare const Panel: React$1.ForwardRefExoticComponent<Props$
|
|
1864
|
-
interface Props$
|
|
1884
|
+
declare const Panel: React$1.ForwardRefExoticComponent<Props$2n & React$1.RefAttributes<HTMLDivElement>>;
|
|
1885
|
+
interface Props$2n extends PanelContextShape {
|
|
1865
1886
|
/**
|
|
1866
1887
|
* Main content of the component.
|
|
1867
1888
|
*/
|
|
@@ -1880,8 +1901,8 @@ interface Props$29 extends PanelContextShape {
|
|
|
1880
1901
|
elevated?: boolean;
|
|
1881
1902
|
}
|
|
1882
1903
|
|
|
1883
|
-
declare const Pagination: React$1.FC<Props$
|
|
1884
|
-
interface Props$
|
|
1904
|
+
declare const Pagination: React$1.FC<Props$2m>;
|
|
1905
|
+
interface Props$2m {
|
|
1885
1906
|
/**
|
|
1886
1907
|
* Disables interaction with pagination.
|
|
1887
1908
|
*/
|
|
@@ -1924,6 +1945,187 @@ interface Props$28 {
|
|
|
1924
1945
|
prevPageLabel?: string;
|
|
1925
1946
|
}
|
|
1926
1947
|
|
|
1948
|
+
declare const Permissions: React$1.FC<Props$2l>;
|
|
1949
|
+
interface Props$2l {
|
|
1950
|
+
/**
|
|
1951
|
+
* Main content of the component.
|
|
1952
|
+
*/
|
|
1953
|
+
children: React$1.ReactNode;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
declare const PermissionsPanel: ({ children }: Props$2k) => React$1.JSX.Element;
|
|
1957
|
+
interface Props$2k {
|
|
1958
|
+
/**
|
|
1959
|
+
* Main content of the component.
|
|
1960
|
+
*/
|
|
1961
|
+
children?: React$1.ReactNode;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
declare const PermissionsTitle: React$1.FC<Props$2j>;
|
|
1965
|
+
interface Props$2j {
|
|
1966
|
+
/**
|
|
1967
|
+
* Flag to enable select all mode.
|
|
1968
|
+
*/
|
|
1969
|
+
allowSelectAll?: boolean;
|
|
1970
|
+
/**
|
|
1971
|
+
* Main content of the component.
|
|
1972
|
+
*/
|
|
1973
|
+
children: React$1.ReactNode;
|
|
1974
|
+
/**
|
|
1975
|
+
* Flag to set select all state.
|
|
1976
|
+
*/
|
|
1977
|
+
selectAll?: boolean;
|
|
1978
|
+
/**
|
|
1979
|
+
* Label for select all checkbox.
|
|
1980
|
+
*/
|
|
1981
|
+
selectAllLabel?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* Callback to handle select all event.
|
|
1984
|
+
* @param checked
|
|
1985
|
+
* @returns
|
|
1986
|
+
*/
|
|
1987
|
+
onSelectAll?: (checked: boolean) => void;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
declare const PermissionsContent: ({ children }: Props$2i) => React$1.JSX.Element;
|
|
1991
|
+
interface Props$2i {
|
|
1992
|
+
/**
|
|
1993
|
+
* Main content of the component.
|
|
1994
|
+
*/
|
|
1995
|
+
children: React$1.ReactNode;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
declare const PermissionsForm: ({ children }: Props$2h) => React$1.JSX.Element;
|
|
1999
|
+
interface Props$2h {
|
|
2000
|
+
/**
|
|
2001
|
+
* Main content of the component.
|
|
2002
|
+
*/
|
|
2003
|
+
children: React$1.ReactNode;
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
declare const PermissionsFormGroup: ({ children, title }: Props$2g) => React$1.JSX.Element;
|
|
2007
|
+
interface Props$2g {
|
|
2008
|
+
/**
|
|
2009
|
+
* Title of the form group.
|
|
2010
|
+
*/
|
|
2011
|
+
title: React$1.ReactNode;
|
|
2012
|
+
/**
|
|
2013
|
+
* Main content of the component.
|
|
2014
|
+
*/
|
|
2015
|
+
children: React$1.ReactNode;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
declare const PermissionsFormInput: ({ checked, label, tooltip, onChange }: Props$2f) => React$1.JSX.Element;
|
|
2019
|
+
interface Props$2f {
|
|
2020
|
+
/**
|
|
2021
|
+
* Flag to indicate if the input is checked.
|
|
2022
|
+
*/
|
|
2023
|
+
checked: boolean;
|
|
2024
|
+
/**
|
|
2025
|
+
* Label for the input.
|
|
2026
|
+
*/
|
|
2027
|
+
label: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* Tooltip content.
|
|
2030
|
+
*/
|
|
2031
|
+
tooltip?: React$1.ReactNode;
|
|
2032
|
+
/**
|
|
2033
|
+
* Callback to handle input change event.
|
|
2034
|
+
* @param checked
|
|
2035
|
+
* @returns
|
|
2036
|
+
*/
|
|
2037
|
+
onChange: (checked: boolean) => void;
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
declare const PermissionsActions: ({ children }: Props$2e) => React$1.JSX.Element;
|
|
2041
|
+
interface Props$2e {
|
|
2042
|
+
/**
|
|
2043
|
+
* Main content of the component.
|
|
2044
|
+
*/
|
|
2045
|
+
children?: React$1.ReactNode;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
declare const PermissionsScopeHeader: React$1.FC<Props$2d>;
|
|
2049
|
+
interface Props$2d {
|
|
2050
|
+
/**
|
|
2051
|
+
* Description label to display.
|
|
2052
|
+
*/
|
|
2053
|
+
description?: React$1.ReactNode;
|
|
2054
|
+
/**
|
|
2055
|
+
* Main content of the component.
|
|
2056
|
+
*/
|
|
2057
|
+
children: React$1.ReactNode;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
declare const PermissionsScopeList: React$1.FC<Props$2c>;
|
|
2061
|
+
interface Props$2c {
|
|
2062
|
+
/**
|
|
2063
|
+
* Description label to display.
|
|
2064
|
+
*/
|
|
2065
|
+
description?: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* Main content of the component.
|
|
2068
|
+
*/
|
|
2069
|
+
children: React$1.ReactNode;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
declare const PermissionTag: ({ active, children }: Props$2b) => React$1.JSX.Element;
|
|
2073
|
+
interface Props$2b {
|
|
2074
|
+
/**
|
|
2075
|
+
* Toggles active state of the component.
|
|
2076
|
+
*/
|
|
2077
|
+
active?: boolean;
|
|
2078
|
+
/**
|
|
2079
|
+
* Main content of the component.
|
|
2080
|
+
*/
|
|
2081
|
+
children: React$1.ReactNode;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
type PermissionName = 'category:access' | 'asset:create' | 'asset:delete' | 'asset:metadata:modify' | 'asset:overwrite' | 'folder:create' | 'folder:delete' | 'folder:metadata:modify';
|
|
2085
|
+
type PermissionMap = {
|
|
2086
|
+
[key in PermissionName]: boolean;
|
|
2087
|
+
};
|
|
2088
|
+
|
|
2089
|
+
declare const PermissionsManagementPanelHeader: React$1.FC<Props$2a>;
|
|
2090
|
+
interface Props$2a {
|
|
2091
|
+
/**
|
|
2092
|
+
* Title to display.
|
|
2093
|
+
*/
|
|
2094
|
+
title: string;
|
|
2095
|
+
/**
|
|
2096
|
+
* Panel description to display.
|
|
2097
|
+
*/
|
|
2098
|
+
description: string;
|
|
2099
|
+
/**
|
|
2100
|
+
* Label of the back button.
|
|
2101
|
+
*/
|
|
2102
|
+
backBtnLabel?: string;
|
|
2103
|
+
/**
|
|
2104
|
+
* Callback invoked on closing the panel.
|
|
2105
|
+
*/
|
|
2106
|
+
onClose: () => void;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
declare const PermissionsManagementPanelRulesHeader: React$1.FC<Props$29>;
|
|
2110
|
+
interface Props$29 {
|
|
2111
|
+
/**
|
|
2112
|
+
* Title to display.
|
|
2113
|
+
*/
|
|
2114
|
+
title: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* Content to display.
|
|
2117
|
+
*/
|
|
2118
|
+
children: React$1.ReactNode;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
declare const PermissionsManagementPanel: React$1.FC<Props$28>;
|
|
2122
|
+
interface Props$28 {
|
|
2123
|
+
/**
|
|
2124
|
+
* Main content of the component.
|
|
2125
|
+
*/
|
|
2126
|
+
children: React$1.ReactNode;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
1927
2129
|
declare const ProgressPanel: React$1.ForwardRefExoticComponent<Props$27 & React$1.RefAttributes<HTMLDivElement>>;
|
|
1928
2130
|
interface Props$27 {
|
|
1929
2131
|
/**
|
|
@@ -2313,6 +2515,10 @@ interface Props$1U {
|
|
|
2313
2515
|
removeLabel?: string;
|
|
2314
2516
|
title?: string;
|
|
2315
2517
|
}[];
|
|
2518
|
+
/**
|
|
2519
|
+
* Disables the input.
|
|
2520
|
+
*/
|
|
2521
|
+
disabled?: boolean;
|
|
2316
2522
|
}
|
|
2317
2523
|
|
|
2318
2524
|
declare const Tab: React$1.FC<Props$1T>;
|
|
@@ -2658,7 +2864,7 @@ declare const getPixelCountFromImageBlob: (data: Blob) => Promise<number | undef
|
|
|
2658
2864
|
*/
|
|
2659
2865
|
declare const getStandardDeviation: (array: number[]) => number | undefined;
|
|
2660
2866
|
|
|
2661
|
-
declare const getValidChildren: <ChildProps>(children: React$1.ReactNode) => React$1.ReactElement<ChildProps
|
|
2867
|
+
declare const getValidChildren: <ChildProps>(children: React$1.ReactNode) => React$1.ReactElement<ChildProps>[];
|
|
2662
2868
|
|
|
2663
2869
|
/**
|
|
2664
2870
|
* Shorthand for recommended use of hasOwnProperty (see https://eslint.org/docs/rules/no-prototype-builtins).
|
|
@@ -2787,7 +2993,7 @@ declare const useClickAway: (container?: HTMLElement | null, el?: HTMLElement |
|
|
|
2787
2993
|
* @param container outer container
|
|
2788
2994
|
* @param onKeyDown callback invoked on container keydown
|
|
2789
2995
|
*/
|
|
2790
|
-
declare const useContainerKeyDown: (container?: HTMLElement | null, onKeyDown?: (
|
|
2996
|
+
declare const useContainerKeyDown: (container?: HTMLElement | null, onKeyDown?: (evt: KeyEventLike) => void) => void;
|
|
2791
2997
|
|
|
2792
2998
|
type CropperLockedDimension = 'height' | 'width';
|
|
2793
2999
|
type CropperDimensions = [number, number];
|
|
@@ -3462,7 +3668,7 @@ declare const nonEmpty: (msg: string) => (value?: string) => string | true;
|
|
|
3462
3668
|
* @param allowedValues list of allowed values
|
|
3463
3669
|
* @returns validator that returns `true` if check passes, error message otherwise
|
|
3464
3670
|
*/
|
|
3465
|
-
declare const isAllowed: <T>(msg: string, allowedValues: T[]) => (value?: T
|
|
3671
|
+
declare const isAllowed: <T>(msg: string, allowedValues: T[]) => (value?: T) => string | true;
|
|
3466
3672
|
/**
|
|
3467
3673
|
* Creates validation rule that checks if supplied `value` string is present in `allowedValues`.
|
|
3468
3674
|
* Makes comparison without taking letter case into account.
|
|
@@ -3478,14 +3684,14 @@ declare const isCaseInsensitiveStringAllowed: (msg: string, allowedValues: strin
|
|
|
3478
3684
|
* @param msg error message
|
|
3479
3685
|
* @returns validator that returns `true` if check passes, error message otherwise
|
|
3480
3686
|
*/
|
|
3481
|
-
declare const nonEmptyArray: <T>(msg: string) => (value?: T[]
|
|
3687
|
+
declare const nonEmptyArray: <T>(msg: string) => (value?: T[]) => string | true;
|
|
3482
3688
|
/**
|
|
3483
3689
|
* Creates validation rule that checks if supplied array does not exceed `max` items.
|
|
3484
3690
|
*
|
|
3485
3691
|
* @param msg error message
|
|
3486
3692
|
* @returns validator that returns `true` if check passes, error message otherwise
|
|
3487
3693
|
*/
|
|
3488
|
-
declare const maxItems: <T>(msg: string, max: number) => (value?: T[]
|
|
3694
|
+
declare const maxItems: <T>(msg: string, max: number) => (value?: T[]) => string | true;
|
|
3489
3695
|
/**
|
|
3490
3696
|
* Creates validation rule that checks if supplied `value` is not already present within `existingValues`.
|
|
3491
3697
|
*
|
|
@@ -3493,7 +3699,7 @@ declare const maxItems: <T>(msg: string, max: number) => (value?: T[] | undefine
|
|
|
3493
3699
|
* @param existingValues list of existing values
|
|
3494
3700
|
* @returns validator that returns `true` if check passes, error message otherwise
|
|
3495
3701
|
*/
|
|
3496
|
-
declare const unique: <T>(msg: string, existingValues: T[]) => (value?: T
|
|
3702
|
+
declare const unique: <T>(msg: string, existingValues: T[]) => (value?: T) => string | true;
|
|
3497
3703
|
/**
|
|
3498
3704
|
* Creates validation rule that checks if supplied value contains a dot.
|
|
3499
3705
|
*
|
|
@@ -4457,7 +4663,7 @@ interface Props$1a {
|
|
|
4457
4663
|
}
|
|
4458
4664
|
|
|
4459
4665
|
declare const LoadingButton: React$1.ForwardRefExoticComponent<Props$19 & React$1.RefAttributes<HTMLButtonElement>>;
|
|
4460
|
-
interface Props$19 extends Props$
|
|
4666
|
+
interface Props$19 extends Props$3o {
|
|
4461
4667
|
/**
|
|
4462
4668
|
* Delays loader appearance. Defaults to `true`.
|
|
4463
4669
|
*/
|
|
@@ -4821,11 +5027,11 @@ interface Props$N {
|
|
|
4821
5027
|
/**
|
|
4822
5028
|
* Optional button.
|
|
4823
5029
|
*/
|
|
4824
|
-
button?: React$1.ReactElement<Props$
|
|
5030
|
+
button?: React$1.ReactElement<Props$3o> | null;
|
|
4825
5031
|
/**
|
|
4826
5032
|
* Optional icon.
|
|
4827
5033
|
*/
|
|
4828
|
-
icon?: React$1.ReactElement<Props$
|
|
5034
|
+
icon?: React$1.ReactElement<Props$3p> | ((props: Props$3p) => React$1.ReactNode) | null;
|
|
4829
5035
|
}
|
|
4830
5036
|
|
|
4831
5037
|
declare const NavigationDialogItemLabel: React$1.FC<Props$M>;
|
|
@@ -4837,7 +5043,7 @@ interface Props$M {
|
|
|
4837
5043
|
/**
|
|
4838
5044
|
* Displayed icon.
|
|
4839
5045
|
*/
|
|
4840
|
-
icon?: React$1.ReactElement<Props$
|
|
5046
|
+
icon?: React$1.ReactElement<Props$3p>;
|
|
4841
5047
|
}
|
|
4842
5048
|
|
|
4843
5049
|
declare const NavigationDialog: React$1.ForwardRefExoticComponent<Props$L & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -5263,7 +5469,7 @@ interface Props$H {
|
|
|
5263
5469
|
title?: string;
|
|
5264
5470
|
}
|
|
5265
5471
|
|
|
5266
|
-
declare const ImageEditorApplyButton: React$1.ForwardRefExoticComponent<Omit<Props$
|
|
5472
|
+
declare const ImageEditorApplyButton: React$1.ForwardRefExoticComponent<Omit<Props$3o, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
5267
5473
|
|
|
5268
5474
|
declare const ImageEditorButtonsGroup: React$1.ForwardRefExoticComponent<Props$G & React$1.RefAttributes<HTMLDivElement>>;
|
|
5269
5475
|
interface Props$G {
|
|
@@ -5338,7 +5544,7 @@ interface Props$B {
|
|
|
5338
5544
|
/**
|
|
5339
5545
|
* Icon to display.
|
|
5340
5546
|
*/
|
|
5341
|
-
icon?: React$1.ReactElement<Props$
|
|
5547
|
+
icon?: React$1.ReactElement<Props$3p>;
|
|
5342
5548
|
}
|
|
5343
5549
|
|
|
5344
5550
|
declare const ImageEditorCropCardFreeform: React$1.ForwardRefExoticComponent<Props$A & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -5350,7 +5556,7 @@ interface Props$A {
|
|
|
5350
5556
|
/**
|
|
5351
5557
|
* Icon to display
|
|
5352
5558
|
*/
|
|
5353
|
-
icon?: React$1.ReactElement<Props$
|
|
5559
|
+
icon?: React$1.ReactElement<Props$3p>;
|
|
5354
5560
|
}
|
|
5355
5561
|
|
|
5356
5562
|
declare const ImageEditorCropCardList: React$1.ForwardRefExoticComponent<Props$z & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -5370,7 +5576,7 @@ interface Props$y {
|
|
|
5370
5576
|
/**
|
|
5371
5577
|
* Icon to display
|
|
5372
5578
|
*/
|
|
5373
|
-
icon?: React$1.ReactElement<Props$
|
|
5579
|
+
icon?: React$1.ReactElement<Props$3p>;
|
|
5374
5580
|
}
|
|
5375
5581
|
|
|
5376
5582
|
declare const ImageEditorDemoLabel: React$1.FC<Props$x>;
|
|
@@ -5385,9 +5591,9 @@ interface Props$x {
|
|
|
5385
5591
|
creditHref?: string;
|
|
5386
5592
|
}
|
|
5387
5593
|
|
|
5388
|
-
declare const ImageEditorFlipHorizontalButton: React$1.FC<Omit<Props$
|
|
5594
|
+
declare const ImageEditorFlipHorizontalButton: React$1.FC<Omit<Props$3o, 'children' | 'onClick'>>;
|
|
5389
5595
|
|
|
5390
|
-
declare const ImageEditorFlipVerticalButton: React$1.FC<Omit<Props$
|
|
5596
|
+
declare const ImageEditorFlipVerticalButton: React$1.FC<Omit<Props$3o, 'children' | 'onClick'>>;
|
|
5391
5597
|
|
|
5392
5598
|
declare const ImageEditorLoader: React$1.ForwardRefExoticComponent<Props$w & React$1.RefAttributes<HTMLDivElement>>;
|
|
5393
5599
|
interface Props$w {
|
|
@@ -5465,7 +5671,7 @@ interface Props$r {
|
|
|
5465
5671
|
placeholder?: string;
|
|
5466
5672
|
}
|
|
5467
5673
|
|
|
5468
|
-
declare const ImageEditorResetButton: React$1.ForwardRefExoticComponent<Omit<Props$
|
|
5674
|
+
declare const ImageEditorResetButton: React$1.ForwardRefExoticComponent<Omit<Props$3o, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
5469
5675
|
|
|
5470
5676
|
declare const ImageEditorResizeDimensions: React$1.ForwardRefExoticComponent<Props$q & React$1.RefAttributes<HTMLDivElement>>;
|
|
5471
5677
|
interface Props$q {
|
|
@@ -5483,9 +5689,9 @@ interface Props$q {
|
|
|
5483
5689
|
widthInput: React$1.ReactNode;
|
|
5484
5690
|
}
|
|
5485
5691
|
|
|
5486
|
-
declare const ImageEditorRotateLeftButton: React$1.FC<Omit<Props$
|
|
5692
|
+
declare const ImageEditorRotateLeftButton: React$1.FC<Omit<Props$3o, 'children' | 'onClick'>>;
|
|
5487
5693
|
|
|
5488
|
-
declare const ImageEditorRotateRightButton: React$1.FC<Omit<Props$
|
|
5694
|
+
declare const ImageEditorRotateRightButton: React$1.FC<Omit<Props$3o, 'children' | 'onClick'>>;
|
|
5489
5695
|
|
|
5490
5696
|
declare const ImageEditorSaveDialog: React$1.ForwardRefExoticComponent<Props$p & React$1.RefAttributes<HTMLDivElement>>;
|
|
5491
5697
|
interface Props$p {
|
|
@@ -5519,7 +5725,7 @@ interface Props$n {
|
|
|
5519
5725
|
title?: string;
|
|
5520
5726
|
}
|
|
5521
5727
|
|
|
5522
|
-
declare const ImageEditorPreviewCloseButton: React$1.ForwardRefExoticComponent<Omit<Props$
|
|
5728
|
+
declare const ImageEditorPreviewCloseButton: React$1.ForwardRefExoticComponent<Omit<Props$3o, "onClick"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
5523
5729
|
|
|
5524
5730
|
declare const ImageEditorSaveDialogHeader: React$1.ForwardRefExoticComponent<Props$m & React$1.RefAttributes<HTMLDivElement>>;
|
|
5525
5731
|
interface Props$m {
|
|
@@ -5730,7 +5936,7 @@ declare const TextFieldInput: React$1.ForwardRefExoticComponent<React$1.InputHTM
|
|
|
5730
5936
|
/**
|
|
5731
5937
|
* Used as aria-label attribute.
|
|
5732
5938
|
*/
|
|
5733
|
-
label?: string
|
|
5939
|
+
label?: string;
|
|
5734
5940
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
5735
5941
|
|
|
5736
5942
|
type TextFieldSize = 'md' | 'base';
|
|
@@ -5789,7 +5995,7 @@ interface Props$a {
|
|
|
5789
5995
|
/**
|
|
5790
5996
|
* Icon to display.
|
|
5791
5997
|
*/
|
|
5792
|
-
icon?: React$1.ReactElement<Props$
|
|
5998
|
+
icon?: React$1.ReactElement<Props$3p>;
|
|
5793
5999
|
/**
|
|
5794
6000
|
* Unique ID of a tab.
|
|
5795
6001
|
*/
|
|
@@ -5904,4 +6110,4 @@ interface Props {
|
|
|
5904
6110
|
className?: string;
|
|
5905
6111
|
}
|
|
5906
6112
|
|
|
5907
|
-
export { Avatar, Bottombar, Button, type ButtonColor, ButtonGroup, ButtonRow, type ButtonSize, type ButtonType, COLLAPSE_THRESHOLD, CONTAINER_QUERY_BREAKPOINTS, CROPPER_FLIP_FACTOR, CROPPER_FULL_ROTATION, CROPPER_INIT_SCALE, CROPPER_MIN_ZOOM_VALUE, CROPPER_ROTATION_ANGLE, CROPPER_ZOOM_FACTOR, CROPPER_ZOOM_STEP, CROPPER_ZOOM_STEP_FINE, CROPPER_ZOOM_THRESHOLD, Checkbox, CheckboxLabel, CircularLoader, ContainerQuery, ContainerQueryProvider, CopyButton, CopyableInput, CopyableLabel, type CropperDimensions, type CropperLockedDimension, Dialog, DialogActions, DialogColumn, DialogFooter, DialogHeader, DialogNext, DialogNextCloseButton, DialogNextColumn, DialogNextContent, DialogNextFooter, DialogNextHeader, DialogNextSeparator, DialogNextTitle, DialogProgressHeader, DialogRow, DialogSection, type Dimensions, DocIcon, type DocIconName, type DragDimensionsHandler, type DragHandler, type DraggableOptions, type 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, type IconColor, type IconName, type IconRenderProp, type IconRenderer, type IconSize, ImageEditor, ImageEditorActions, ImageEditorApplyButton, ImageEditorButtonsGroup, ImageEditorButtonsRow, ImageEditorCanvas, ImageEditorContent, ImageEditorContext, ImageEditorCropBoxDimensions, ImageEditorCropCard, ImageEditorCropCardFreeform, ImageEditorCropCardList, ImageEditorCropCardOriginal, ImageEditorDemoLabel, ImageEditorDimensionsInput, type ImageEditorEditingResult, ImageEditorFlipHorizontalButton, ImageEditorFlipVerticalButton, ImageEditorLoader, ImageEditorMenu, ImageEditorMenuContainer, ImageEditorMenuSection, ImageEditorMenuSubSection, type ImageEditorPresetGroup, type ImageEditorPresetOption, ImageEditorPresetSelect, ImageEditorPreviewContext, ImageEditorResetButton, ImageEditorResizeDimensions, ImageEditorRotateLeftButton, ImageEditorRotateRightButton, ImageEditorSaveDialog, ImageEditorSaveDialogActions, ImageEditorSaveDialogCanvas, ImageEditorPreviewCloseButton as ImageEditorSaveDialogCloseButton, ImageEditorSaveDialogHeader, ImageEditorSaveDialogImage, ImageEditorSaveDialogInfo, ImageEditorSaveDialogPreview, ImageEditorSaveDialogSaveButton, ImageEditorSaveDialogSection, ImageEditorToolbar, ImageEditorToolbarFlipHorizontalButton, ImageEditorToolbarFlipVerticalButton, ImageEditorToolbarImageSize, ImageEditorToolbarRotateLeftButton, ImageEditorToolbarRotateRightButton, ImageEditorToolbarSection, ImageEditorToolbarZoomInButton, ImageEditorToolbarZoomOutButton, ImageEditorToolbarZoomValue, ImageEditorWorkspace, type KeyAction, type KeyCombination, type KeyEventLike, type KeyModifier, type KeyProps, List, type ListDndChildProps, type ListDndItem, type ListDndItemHookProps, type ListDndMoveItem, type ListDndOnDragEnd, type ListDndSetDraggable, type ListDndSetDraggablePartial, ListItem, ListItemActions, ListItemContent, type ListboxProps, 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, type OnScrollHandler, Modal as Overlay, Pagination, Panel, PanelActions, PanelColumn, PanelContent, PanelContentProp, PanelDescriptionItem, PanelDragHandle, PanelList, PanelListDivider, PanelSide, PanelSkeleton, PanelTitle, PdfViewer, Pill, Pills, Popper, type PopperAnchorRef, PopperArrow, PopperContext, type PopperOffset, type PopperOffsetValue, type PopperPlacement, ProgressPanel, PropertiesTable, PropertiesTableRow, type Props$
|
|
6113
|
+
export { Avatar, Bottombar, Button, type ButtonColor, ButtonGroup, ButtonRow, type ButtonSize, type ButtonType, COLLAPSE_THRESHOLD, CONTAINER_QUERY_BREAKPOINTS, CROPPER_FLIP_FACTOR, CROPPER_FULL_ROTATION, CROPPER_INIT_SCALE, CROPPER_MIN_ZOOM_VALUE, CROPPER_ROTATION_ANGLE, CROPPER_ZOOM_FACTOR, CROPPER_ZOOM_STEP, CROPPER_ZOOM_STEP_FINE, CROPPER_ZOOM_THRESHOLD, Checkbox, CheckboxLabel, CircularLoader, ContainerQuery, ContainerQueryProvider, CopyButton, CopyableInput, CopyableLabel, type CropperDimensions, type CropperLockedDimension, Dialog, DialogActions, DialogColumn, DialogFooter, DialogHeader, DialogNext, DialogNextCloseButton, DialogNextColumn, DialogNextContent, DialogNextFooter, DialogNextHeader, DialogNextSeparator, DialogNextTitle, DialogProgressHeader, DialogRow, DialogSection, type Dimensions, DocIcon, type DocIconName, type DragDimensionsHandler, type DragHandler, type DraggableOptions, type 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, type IconColor, type IconName, type IconRenderProp, type IconRenderer, type IconSize, ImageEditor, ImageEditorActions, ImageEditorApplyButton, ImageEditorButtonsGroup, ImageEditorButtonsRow, ImageEditorCanvas, ImageEditorContent, ImageEditorContext, ImageEditorCropBoxDimensions, ImageEditorCropCard, ImageEditorCropCardFreeform, ImageEditorCropCardList, ImageEditorCropCardOriginal, ImageEditorDemoLabel, ImageEditorDimensionsInput, type ImageEditorEditingResult, ImageEditorFlipHorizontalButton, ImageEditorFlipVerticalButton, ImageEditorLoader, ImageEditorMenu, ImageEditorMenuContainer, ImageEditorMenuSection, ImageEditorMenuSubSection, type ImageEditorPresetGroup, type ImageEditorPresetOption, ImageEditorPresetSelect, ImageEditorPreviewContext, ImageEditorResetButton, ImageEditorResizeDimensions, ImageEditorRotateLeftButton, ImageEditorRotateRightButton, ImageEditorSaveDialog, ImageEditorSaveDialogActions, ImageEditorSaveDialogCanvas, ImageEditorPreviewCloseButton as ImageEditorSaveDialogCloseButton, ImageEditorSaveDialogHeader, ImageEditorSaveDialogImage, ImageEditorSaveDialogInfo, ImageEditorSaveDialogPreview, ImageEditorSaveDialogSaveButton, ImageEditorSaveDialogSection, ImageEditorToolbar, ImageEditorToolbarFlipHorizontalButton, ImageEditorToolbarFlipVerticalButton, ImageEditorToolbarImageSize, ImageEditorToolbarRotateLeftButton, ImageEditorToolbarRotateRightButton, ImageEditorToolbarSection, ImageEditorToolbarZoomInButton, ImageEditorToolbarZoomOutButton, ImageEditorToolbarZoomValue, ImageEditorWorkspace, type KeyAction, type KeyCombination, type KeyEventLike, type KeyModifier, type KeyProps, Link, List, type ListDndChildProps, type ListDndItem, type ListDndItemHookProps, type ListDndMoveItem, type ListDndOnDragEnd, type ListDndSetDraggable, type ListDndSetDraggablePartial, ListItem, ListItemActions, ListItemContent, type ListboxProps, 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, type OnScrollHandler, Modal as Overlay, Pagination, Panel, PanelActions, PanelColumn, PanelContent, PanelContentProp, PanelDescriptionItem, PanelDragHandle, PanelList, PanelListDivider, PanelSide, PanelSkeleton, PanelTitle, PdfViewer, type PermissionMap, type PermissionName, PermissionTag, Permissions, PermissionsActions, PermissionsContent, PermissionsForm, PermissionsFormGroup, PermissionsFormInput, PermissionsManagementPanel, PermissionsManagementPanelHeader, PermissionsManagementPanelRulesHeader, PermissionsPanel, PermissionsScopeHeader, PermissionsScopeList, PermissionsTitle, Pill, Pills, Popper, type PopperAnchorRef, PopperArrow, PopperContext, type PopperOffset, type PopperOffsetValue, type PopperPlacement, ProgressPanel, PropertiesTable, PropertiesTableRow, type Props$3p as Props, type RInterval, RangeSlider, type ResizeOptions, ResponsiveImage, ResponsiveImageFallback, ResponsiveImageFit, ResponsiveImageScalable, ResponsiveImageSkeleton, type ScrollCoordsConfig, type ScrollOptions, SearchDialog, SearchDialogActions, SearchDialogContent, SearchDialogFallback, SearchDialogHeader, SearchDialogInput, SearchDialogSection, Select, type SelectKeyboardNavProps, type SelectKeyboardNextIdGetter, SelectListboxGrid, type SelectOption, type SelectRenderableOption, type SelectSection, type SelectToggleHandler, SelectionArea, type SelectionAreaCoords, Skeleton, SortButton, SortableDndList, SortableDndListItem, Switch, SwitchInput, SwitchView, Tab, TabPanel, Table, TableBody, TableCell, TableContainer, TableHead, TableHeader, TableRow, TableToolbar, Tabs, Tag, TagInput, TagLabel, TagList, TextEllipsis, TextField, TextFieldInput, Textarea, type Props$c as TextareaProps, Tooltip, Topbar, TopbarAction, UIContext, UIProvider, type Props$1M as UIProviderProps, View, ViewContent, ViewContentBar, ViewContentWrapper, ViewDialog, type Props$1N as ViewDialogProps, ViewFooter, ViewHeader, ViewPaper, ViewSideContent, ViewWrapper, type XYCoord, areItemsIdentical, base64FromBlurHash, clamp, clsx, formatTimeDistance, getClampedDimension, getClampedDimensions, getKeyHandler, getPixelCountFromImageBlob, getScrollVectors, getStandardDeviation, getValidChildren, hasOwnProperty, imageEditorContextDefaultValue, imageEditorPreviewContextDefaultValue, isClipboardItemSupported, matchesCombination, navbarContextInitProps, noOp, rInterval, readFromClipboard, tryReadFromClipboard, tryWriteTextToClipboard, tryWriteToClipboard, uiContextInitProps, useBatchUpdate, useClickAway, useContainerKeyDown, useContainerQuery, useCropper, useCropperCrop, useCropperRotate, useCropperScale, useCropperZoom, useDeferredLoader, 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, writeTextToClipboard, writeToClipboard };
|