@kentico/xperience-admin-components 23.0.9 → 24.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/entry.d.ts CHANGED
@@ -149,60 +149,7 @@ export declare enum ApplicationTileState {
149
149
  export declare interface AssetTileActionProps extends Omit<ButtonProps, 'type' | 'size'> {
150
150
  }
151
151
 
152
- declare interface AssetTileBaseProps {
153
- /**
154
- * Tile width and height.
155
- */
156
- readonly dimensions?: {
157
- readonly width: number;
158
- readonly height: number;
159
- };
160
- /**
161
- * AssetTile image size (required).
162
- */
163
- readonly size: number;
164
- /**
165
- * AssetTile image name (required).
166
- */
167
- readonly name: string;
168
- /**
169
- * AssetTile image url.
170
- */
171
- readonly url?: string;
172
- /**
173
- * Error state when uploading file.
174
- */
175
- readonly errorState?: {
176
- /**
177
- * Error message tooltip location (if the error message is longer than tile).
178
- */
179
- readonly tooltipPlacement?: TooltipPlacement;
180
- /**
181
- * Explains why the error occurred.
182
- */
183
- readonly errorMessage: string;
184
- /**
185
- * Function to close AssetTile with error.
186
- */
187
- readonly onErrorClose: () => void;
188
- };
189
- /**
190
- * Indicates uploading a file.
191
- */
192
- readonly uploadState?: {
193
- /**
194
- * Indicates the percentage of loading progress.
195
- */
196
- readonly uploadProgress?: number;
197
- /**
198
- * Function to close uploading AssetTile.
199
- */
200
- readonly onUploadCancel?: () => void;
201
- };
202
- /***
203
- * Disabled Asset tile. Tile is not clickable, it has disabled styles (required).
204
- */
205
- readonly disabled: boolean;
152
+ declare interface AssetTileBaseProps extends Omit<BaseTileBaseProps, 'type'> {
206
153
  }
207
154
 
208
155
  /**
@@ -263,7 +210,7 @@ export declare interface AssetTileSelectableProps extends AssetTileBaseProps, Pi
263
210
  */
264
211
  export declare const AssetTileSkeleton: React_2.ForwardRefExoticComponent<React_2.RefAttributes<HTMLDivElement>>;
265
212
 
266
- declare enum AssetTileType {
213
+ export declare enum AssetTileType {
267
214
  /**
268
215
  * Specifies the AssetTile type (Skeleton, Preview, Selectable).
269
216
  */
@@ -353,14 +300,20 @@ declare interface BaseButtonProps extends UITestProps {
353
300
  readonly destructive?: boolean;
354
301
  readonly inProgress?: boolean;
355
302
  readonly disabled?: boolean;
303
+ readonly borderless?: boolean;
356
304
  readonly tabIndex?: number;
357
305
  readonly dragHandleProps?: DraggableProvidedDragHandleProps;
306
+ readonly className?: string;
358
307
  }
359
308
 
360
309
  declare interface BaseNotificationBarProps extends UITestProps {
361
310
  readonly type: NotificationBarType;
362
311
  readonly children: string;
363
312
  readonly onDismiss?: () => void;
313
+ /**
314
+ * Dangerously sets notification content as inner HTML.
315
+ */
316
+ readonly childrenAsHtml?: boolean;
364
317
  }
365
318
 
366
319
  declare interface BaseSimpleStatusProps {
@@ -369,6 +322,144 @@ declare interface BaseSimpleStatusProps {
369
322
  readonly labelColor?: Colors;
370
323
  readonly iconColor?: Colors;
371
324
  readonly content: Content;
325
+ readonly size?: SimpleStatusSize;
326
+ }
327
+
328
+ /**
329
+ * Action button props.
330
+ */
331
+ declare interface BaseTileActionProps extends Omit<ButtonProps, 'type' | 'size'> {
332
+ }
333
+
334
+ /**
335
+ * Base props that should be available in all tile types and info bar, toolbar, image preview
336
+ */
337
+ declare interface BaseTileBaseProps {
338
+ /**
339
+ * Tile image name (required).
340
+ */
341
+ readonly name: string;
342
+ /**
343
+ * Tile image url.
344
+ */
345
+ readonly url?: string;
346
+ /**
347
+ * Error state when uploading file.
348
+ */
349
+ readonly errorState?: {
350
+ /**
351
+ * Error message tooltip location (if the error message is longer than tile).
352
+ */
353
+ readonly tooltipPlacement?: TooltipPlacement;
354
+ /**
355
+ * Explains why the error occurred.
356
+ */
357
+ readonly errorMessage: string;
358
+ /**
359
+ * Function to close tile with error.
360
+ */
361
+ readonly onErrorClose: () => void;
362
+ };
363
+ /**
364
+ * Indicates uploading a file.
365
+ */
366
+ readonly uploadState?: {
367
+ /**
368
+ * Indicates the percentage of loading progress.
369
+ */
370
+ readonly uploadProgress?: number;
371
+ /**
372
+ * Function to close uploading tile.
373
+ */
374
+ readonly onUploadCancel?: () => void;
375
+ };
376
+ /***
377
+ * Disabled tile. Tile is not clickable, it has disabled styles (required).
378
+ */
379
+ readonly disabled: boolean;
380
+ /**
381
+ * Tile width and height.
382
+ */
383
+ readonly dimensions?: {
384
+ readonly width: number;
385
+ readonly height: number;
386
+ };
387
+ /**
388
+ * AssetTile image size.
389
+ */
390
+ readonly size?: number;
391
+ }
392
+
393
+ declare enum BaseTilePreviewIconSize {
394
+ XXL = "XXL",
395
+ L = "L"
396
+ }
397
+
398
+ declare interface BaseTileProps extends BaseTileBaseProps, UITestProps {
399
+ /**
400
+ * Tile width and height.
401
+ */
402
+ readonly dimensions?: {
403
+ readonly width: number;
404
+ readonly height: number;
405
+ };
406
+ /**
407
+ * Specifies the tile type: Skeleton, Preview, Selectable (required).
408
+ */
409
+ readonly type: BaseTileType;
410
+ /**
411
+ * Function called when checkbox is clicked.
412
+ */
413
+ readonly onChange?: (isSelected: boolean) => void;
414
+ /**
415
+ * Function called when tile is clicked.
416
+ */
417
+ readonly onClick?: () => void;
418
+ /**
419
+ * Specifies if checkbox in tile info bar is visible.
420
+ */
421
+ readonly isCheckboxVisible?: boolean;
422
+ /**
423
+ * Specifies if checkbox in tile info bar is checked.
424
+ */
425
+ readonly isSelected?: boolean;
426
+ /**
427
+ * Specifies if tile is dragging.
428
+ */
429
+ readonly isDragging?: boolean;
430
+ /**
431
+ * Actions button in tile tool bar.
432
+ */
433
+ readonly actions?: Array<BaseTileActionProps>;
434
+ /**
435
+ * Tile image size.
436
+ */
437
+ readonly size?: number;
438
+ /**
439
+ * Tile node ahead of name.
440
+ */
441
+ readonly nameLeadingNode?: React.ReactNode;
442
+ /**
443
+ * Tile content type.
444
+ */
445
+ readonly contentType?: string;
446
+ /**
447
+ * Size of tile preview icon.
448
+ */
449
+ readonly previewIconSize?: BaseTilePreviewIconSize;
450
+ /**
451
+ * Tile icon in preview.
452
+ */
453
+ readonly previewIcon?: IconName;
454
+ }
455
+
456
+ declare enum BaseTileType {
457
+ /**
458
+ * Specifies the BaseTile type (Skeleton, Preview, Selectable).
459
+ */
460
+ Preview = "Preview",
461
+ Selectable = "Selectable",
462
+ Skeleton = "Skeleton"
372
463
  }
373
464
 
374
465
  declare interface BaseTreeNodeProps {
@@ -477,10 +568,30 @@ export declare interface BreadcrumbsProps {
477
568
  export declare const BrowseButton: React_2.ForwardRefExoticComponent<BrowseButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
478
569
 
479
570
  export declare interface BrowseButtonProps {
571
+ /**
572
+ * File types which file input should accept.
573
+ */
480
574
  readonly accept?: string;
575
+ /**
576
+ * Indicates if the browse button is disabled. Defaults to `false`.
577
+ */
481
578
  readonly disabled?: boolean;
579
+ /**
580
+ * Text displayed in button label.
581
+ */
482
582
  readonly label: string;
583
+ /**
584
+ * The tooltip message displayed when the browse button is disabled.
585
+ */
483
586
  readonly inactiveMessage?: string;
587
+ /**
588
+ * Indicates if the file input allows multiple files to be uploaded. Defaults to `true`.
589
+ */
590
+ readonly allowMultipleFiles?: boolean;
591
+ /**
592
+ * Event handler fired when file is being uploaded.
593
+ * @param files list of uploaded files.
594
+ */
484
595
  readonly onUpload: (files: FileList) => void;
485
596
  }
486
597
 
@@ -542,6 +653,10 @@ export declare interface CardProps extends UITestProps {
542
653
  readonly children: React.ReactNode;
543
654
  readonly footer?: React.ReactNode;
544
655
  readonly headline?: string;
656
+ /**
657
+ * Indicates if the card should fill full height of the parent.
658
+ */
659
+ readonly fullHeight?: boolean;
545
660
  }
546
661
 
547
662
  declare type CategoryId = string;
@@ -553,6 +668,12 @@ export declare enum CellType {
553
668
  NamedComponent = "namedComponent"
554
669
  }
555
670
 
671
+ export declare const ChartLicense: ({ children }: ChartLicenseProps) => JSX.Element;
672
+
673
+ declare interface ChartLicenseProps {
674
+ readonly children: React_2.ReactNode;
675
+ }
676
+
556
677
  export declare const Checkbox: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLDivElement>>;
557
678
 
558
679
  declare type CheckboxBaseProps = Pick<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'onClick' | 'disabled' | 'tabIndex'>;
@@ -672,6 +793,7 @@ export declare enum Colors {
672
793
  BackgroundSelected = "var(--color-background-selected)",
673
794
  BackgroundSelectedHover = "var(--color-background-selected-hover)",
674
795
  BackgroundSideMenu = "var(--color-background-side-menu)",
796
+ BackgroundButtonOnDarkHover = "var(--color-background-button-on-dark-hover)",
675
797
  BackgroundTagDefault = "var(--color-background-tag-default)",
676
798
  BackgroundTagGrey = "var(--color-background-tag-grey)",
677
799
  BackgroundTagKenticoOrange = "var(--color-background-tag-kentico-orange)",
@@ -893,6 +1015,67 @@ declare type Content = {
893
1015
  readonly tooltipAppendTo?: Element;
894
1016
  };
895
1017
 
1018
+ /**
1019
+ * Props specific for content item tile.
1020
+ */
1021
+ declare interface ContentItemTileExtendedProps {
1022
+ /**
1023
+ * Tile node ahead of name.
1024
+ */
1025
+ readonly nameLeadingNode?: React.ReactNode;
1026
+ /**
1027
+ * Tile content type.
1028
+ */
1029
+ readonly contentType: string;
1030
+ /**
1031
+ * Tile icon in preview.
1032
+ */
1033
+ readonly previewIcon?: IconName;
1034
+ }
1035
+
1036
+ /**
1037
+ * Component for displaying ContentItemTile Preview type.
1038
+ */
1039
+ export declare const ContentItemTilePreview: React_2.ForwardRefExoticComponent<ContentItemTilePreviewProps & React_2.RefAttributes<HTMLDivElement>>;
1040
+
1041
+ /**
1042
+ * Selected props from ContentItemTileProps for Preview tile.
1043
+ */
1044
+ declare interface ContentItemTilePreviewProps extends ContentItemTileExtendedProps, BaseTileBaseProps, Pick<ContentItemTileProps, 'onClick' | 'isSelected' | 'onChange' | 'isCheckboxVisible' | 'actions' | 'dataTestId'> {
1045
+ }
1046
+
1047
+ declare interface ContentItemTileProps extends ContentItemTileExtendedProps, Pick<BaseTileProps, 'errorState' | 'url' | 'uploadState' | 'name' | 'disabled' | 'isCheckboxVisible' | 'isSelected' | 'isDragging' | 'onChange' | 'onClick' | 'dataTestId' | 'actions'> {
1048
+ /**
1049
+ * Type of content item.
1050
+ */
1051
+ readonly type: ContentItemTileType;
1052
+ }
1053
+
1054
+ /**
1055
+ * Component for displaying ContentItemTile Selectable type.
1056
+ */
1057
+ export declare const ContentItemTileSelectable: React_2.ForwardRefExoticComponent<ContentItemTileSelectableProps & React_2.RefAttributes<HTMLDivElement>>;
1058
+
1059
+ /**
1060
+ * Selected props from ContentItemTileProps for Selectable tile.
1061
+ */
1062
+ declare interface ContentItemTileSelectableProps extends ContentItemTileExtendedProps, BaseTileBaseProps, Pick<ContentItemTileProps, 'onClick' | 'isSelected' | 'onChange' | 'isDragging' | 'dataTestId'> {
1063
+ }
1064
+
1065
+ /**
1066
+ * Component for displaying ContentItemTile Skeleton type.
1067
+ */
1068
+ export declare const ContentItemTileSkeleton: React_2.ForwardRefExoticComponent<React_2.RefAttributes<HTMLDivElement>>;
1069
+
1070
+ declare enum ContentItemTileType {
1071
+ /**
1072
+ * Specifies the ContentItemTile type (Skeleton, Preview, Selectable).
1073
+ */
1074
+ Preview = "Preview",
1075
+ Selectable = "Selectable",
1076
+ Skeleton = "Skeleton"
1077
+ }
1078
+
896
1079
  export declare function createSelectGroup<Group>(): React_2.FC<SelectGroupProps<Group>>;
897
1080
 
898
1081
  export declare const DateTimePicker: React_2.ForwardRefExoticComponent<DateTimePickerProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -952,6 +1135,8 @@ export declare const dialogConfig: {
952
1135
  dialogContainerId: string;
953
1136
  };
954
1137
 
1138
+ export declare const dialogContentClass = "dialog_content";
1139
+
955
1140
  declare interface DialogContentProps extends DialogFooterProps {
956
1141
  /**
957
1142
  * Modal's headline.
@@ -1004,10 +1189,6 @@ declare interface DialogFooterProps {
1004
1189
  * Placeholder for the notification bar.
1005
1190
  */
1006
1191
  readonly notificationBar?: React.ReactNode;
1007
- /**
1008
- * Boolean that determines if the cancel button will be focused on dialog open.
1009
- */
1010
- readonly autofocusCancel?: boolean;
1011
1192
  }
1012
1193
 
1013
1194
  export declare interface DialogProps extends DialogContentProps, UITestProps {
@@ -1066,9 +1247,7 @@ export declare interface DialogProps extends DialogContentProps, UITestProps {
1066
1247
  }
1067
1248
 
1068
1249
  export declare enum Dimensions {
1069
- GridUnit = "8px",
1070
- SelectableAssetTileMaxWidth = "218px",
1071
- PreviewAssetTileMaxWidth = "323px"
1250
+ GridUnit = "8px"
1072
1251
  }
1073
1252
 
1074
1253
  declare type DivBaseProps = Pick<React.HTMLProps<HTMLDivElement>, 'children'>;
@@ -1185,12 +1364,64 @@ export declare enum DropPlacement {
1185
1364
  export declare const Dropzone: React_2.ForwardRefExoticComponent<DropzoneProps & React_2.RefAttributes<HTMLDivElement>>;
1186
1365
 
1187
1366
  export declare interface DropzoneProps {
1367
+ /**
1368
+ * Callback method called when files are selected.
1369
+ */
1188
1370
  readonly onUpload: (files: FileList) => void;
1371
+ /**
1372
+ * Callback method for when an item is dragged over the dropzone.
1373
+ */
1189
1374
  readonly onActiveChange: (isActive: boolean) => void;
1375
+ /**
1376
+ * Callback method for checking current data transfer.
1377
+ * If null, everything is permitted.
1378
+ * If true, drag will be permitted. Otherwise false.
1379
+ */
1380
+ readonly onCurrentTransfer?: (dataTransfer: DataTransfer) => boolean;
1381
+ /**
1382
+ * If true, the dropzone is disabled.
1383
+ */
1190
1384
  readonly disabled?: boolean;
1385
+ /**
1386
+ * Children of the node
1387
+ */
1191
1388
  readonly children: React.ReactNode;
1192
1389
  }
1193
1390
 
1391
+ /**
1392
+ * The component wraps HTML file input and allows to open file selection dialog and handle uploaded files programmatically. The inner file input is hidden by CSS.
1393
+ */
1394
+ export declare const FileInput: {
1395
+ ({ isOpen, accept, allowMultiple, dataTestId, onFileChange, onClose }: FileInputProps): JSX.Element;
1396
+ displayName: string;
1397
+ };
1398
+
1399
+ export declare interface FileInputProps extends UITestProps {
1400
+ /**
1401
+ * Indicates if the file dialog should be opened.
1402
+ */
1403
+ readonly isOpen: boolean;
1404
+ /**
1405
+ * Indicates if the file input allows multiple files to be uploaded. Defaults to `true`.
1406
+ */
1407
+ readonly allowMultiple: boolean;
1408
+ /**
1409
+ * File types which file input should accept.
1410
+ */
1411
+ readonly accept?: string;
1412
+ /**
1413
+ * Callback called when the file dialog closes.
1414
+ */
1415
+ readonly onClose: () => void;
1416
+ /**
1417
+ * Event handler fired when files are selected.
1418
+ * @param files list of selected files.
1419
+ */
1420
+ readonly onFileChange: (files: FileList) => void;
1421
+ }
1422
+
1423
+ export declare function forceClickOutside(e?: MouseEvent): void;
1424
+
1194
1425
  export declare const FormItemWrapper: React_2.ForwardRefExoticComponent<FormItemWrapperProps & React_2.RefAttributes<HTMLDivElement>>;
1195
1426
 
1196
1427
  declare interface FormItemWrapperProps extends UITestProps {
@@ -1231,6 +1462,46 @@ declare interface FroalaEditorConfigurator {
1231
1462
  readonly enableButton: (buttonName: string, buttonTitle?: string) => void;
1232
1463
  }
1233
1464
 
1465
+ export declare const FunnelChart: React_2.ForwardRefExoticComponent<FunnelChartProps & React_2.RefAttributes<HTMLDivElement>>;
1466
+
1467
+ export declare interface FunnelChartData {
1468
+ /**
1469
+ * Stage of the funnel to be displayed in its label.
1470
+ */
1471
+ readonly stage: string;
1472
+ /**
1473
+ * Number to be visualized for particular stage.
1474
+ */
1475
+ readonly interactions: number;
1476
+ }
1477
+
1478
+ export declare interface FunnelChartProps extends UITestProps {
1479
+ /**
1480
+ * Data to be displayed in the chart.
1481
+ */
1482
+ readonly data: FunnelChartData[];
1483
+ /**
1484
+ * ID unique for a chart displayed on the page.
1485
+ */
1486
+ readonly chartId: string;
1487
+ /**
1488
+ * Orientation of the funnel.
1489
+ */
1490
+ readonly orientation: FunnelOrientation;
1491
+ /**
1492
+ * Locale which to use for displaying numbers, e.g. 'en_US'.
1493
+ */
1494
+ readonly locale: string;
1495
+ }
1496
+
1497
+ /**
1498
+ * Enum selecting the orientation of funnel chart.
1499
+ */
1500
+ export declare enum FunnelOrientation {
1501
+ Horizontal = "horizontal",
1502
+ Vertical = "vertical"
1503
+ }
1504
+
1234
1505
  declare interface GeneratedIconProps {
1235
1506
  }
1236
1507
 
@@ -1274,6 +1545,12 @@ export declare interface GridProps extends LayoutComponentProps, UITestProps {
1274
1545
  export declare interface HeaderCloseButton extends Pick<TooltipProps, 'tooltipText' | 'shortcuts'> {
1275
1546
  }
1276
1547
 
1548
+ export declare enum HeaderSelection {
1549
+ None = "None",
1550
+ Some = "Some",
1551
+ All = "All"
1552
+ }
1553
+
1277
1554
  export declare const Headline: React_2.ForwardRefExoticComponent<HeadlineProps & React_2.RefAttributes<HTMLDivElement>>;
1278
1555
 
1279
1556
  export declare interface HeadlineProps extends Pick<BoxProps, 'spacingTop' | 'spacingBottom' | 'spacingY'> {
@@ -1480,6 +1757,7 @@ export declare const KXIcons: {
1480
1757
  'xp-binder': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
1481
1758
  'xp-book-opened': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
1482
1759
  'xp-box-cart': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
1760
+ 'xp-box-cogwheel': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
1483
1761
  'xp-box': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
1484
1762
  'xp-boxes': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
1485
1763
  'xp-braces-octothorpe': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
@@ -1975,12 +2253,19 @@ declare type NativeInputProps = Pick<React.InputHTMLAttributes<HTMLInputElement>
1975
2253
 
1976
2254
  export declare const NotificationBarAlert: ForwardRefExoticComponent<NotificationBarAlertProps & RefAttributes<HTMLDivElement>>;
1977
2255
 
1978
- export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'children' | 'dataTestId'> {
2256
+ export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'children' | 'childrenAsHtml' | 'dataTestId'> {
1979
2257
  readonly onDismiss: () => void;
1980
2258
  }
1981
2259
 
2260
+ export declare const NotificationBarInfo: ForwardRefExoticComponent<NotificationBarInfoProps & RefAttributes<HTMLDivElement>>;
2261
+
2262
+ export declare interface NotificationBarInfoProps extends Pick<BaseNotificationBarProps, 'children' | 'childrenAsHtml' | 'dataTestId'> {
2263
+ readonly onDismiss?: () => void;
2264
+ }
2265
+
1982
2266
  declare enum NotificationBarType {
1983
- Alert = "alert"
2267
+ Alert = "alert",
2268
+ Info = "info"
1984
2269
  }
1985
2270
 
1986
2271
  export declare const OptionalTooltip: {
@@ -2410,12 +2695,34 @@ export declare interface SideMenuProps extends UITestProps {
2410
2695
  export declare const SidePanel: React_2.ForwardRefExoticComponent<SidePanelProps & React_2.RefAttributes<HTMLDivElement>>;
2411
2696
 
2412
2697
  declare interface SidePanelContextType {
2698
+ /**
2699
+ * Gets the current side panel id.
2700
+ */
2413
2701
  readonly getCurrentSidePanel: () => string | null;
2702
+ /**
2703
+ * Adds the side panel under the sidePanelId.
2704
+ */
2414
2705
  readonly addSidePanel: (sidePanelId: string, ref: RefObject<HTMLDivElement>) => void;
2706
+ /**
2707
+ * Removes the side panel from the provider.
2708
+ */
2415
2709
  readonly removeSidePanel: (sidePanelId: string) => void;
2710
+ /**
2711
+ * Gets the level of nesting of the sidePanelId panel.
2712
+ */
2416
2713
  readonly getSidePanelLevel: (sidePanelId: string) => number;
2714
+ /**
2715
+ * Gets the current side panel level of nesting.
2716
+ */
2417
2717
  readonly getOpenedSidePanelLevel: () => number;
2718
+ /**
2719
+ * Gets the side panel offset of the sidePanelId.
2720
+ */
2418
2721
  readonly getSidePanelOffset: (sidePanelId: string) => number;
2722
+ /**
2723
+ * Gets the current side panel ref.
2724
+ */
2725
+ readonly getCurrentSidePanelRef: () => RefObject<HTMLDivElement> | null;
2419
2726
  }
2420
2727
 
2421
2728
  export declare interface SidePanelProps extends UITestProps {
@@ -2497,6 +2804,11 @@ export declare interface SimpleStatusErrorProps extends Omit<BaseSimpleStatusPro
2497
2804
  };
2498
2805
  }
2499
2806
 
2807
+ export declare enum SimpleStatusSize {
2808
+ S = "S",
2809
+ XS = "XS"
2810
+ }
2811
+
2500
2812
  export declare const SimpleStatusSuccess: React_2.ForwardRefExoticComponent<SimpleStatusSuccessProps & React_2.RefAttributes<HTMLDivElement>>;
2501
2813
 
2502
2814
  export declare interface SimpleStatusSuccessProps extends Omit<BaseSimpleStatusProps, 'type' | 'labelColor' | 'iconColor'> {
@@ -2718,6 +3030,18 @@ export declare interface TableColumn {
2718
3030
  searchable: boolean;
2719
3031
  }
2720
3032
 
3033
+ export declare const TableHeader: React_2.ForwardRefExoticComponent<TableHeaderProps & React_2.RefAttributes<HTMLDivElement>>;
3034
+
3035
+ export declare interface TableHeaderProps extends UITestProps {
3036
+ readonly columns: TableColumn[];
3037
+ readonly selectable?: boolean;
3038
+ readonly selection?: HeaderSelection;
3039
+ readonly sortModel?: SortModel;
3040
+ readonly selectLabel?: string;
3041
+ readonly onSortChange?: (sort: SortModel) => void;
3042
+ readonly onSelectAll?: (selected: boolean) => void;
3043
+ }
3044
+
2721
3045
  export declare interface TableProps extends UITestProps {
2722
3046
  readonly columns: TableColumn[];
2723
3047
  readonly rows: TableRow[] | undefined;
@@ -2740,10 +3064,20 @@ export declare interface TableRow {
2740
3064
  }
2741
3065
 
2742
3066
  export declare const TableRowComponent: {
2743
- ({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick }: TableRowProps): JSX.Element;
3067
+ ({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, elevation, onRowSelect: onSelect, onRowClick }: TableRowProps): JSX.Element;
2744
3068
  displayName: string;
2745
3069
  };
2746
3070
 
3071
+ /**
3072
+ * Elevation for the table row.
3073
+ */
3074
+ export declare enum TableRowElevation {
3075
+ XS = "XS",
3076
+ S = "S",
3077
+ M = "M",
3078
+ L = "L"
3079
+ }
3080
+
2747
3081
  /**
2748
3082
  * Represents properties of the TableRow component.
2749
3083
  */
@@ -2784,6 +3118,10 @@ declare interface TableRowProps extends UITestProps {
2784
3118
  * Tooltip message displayed on disabled row.
2785
3119
  */
2786
3120
  readonly inactiveMessage?: string;
3121
+ /**
3122
+ * Elevation of the table row.
3123
+ */
3124
+ readonly elevation?: TableRowElevation;
2787
3125
  /**
2788
3126
  * Callback when selectable row is selected.
2789
3127
  */
@@ -2818,6 +3156,7 @@ export declare interface TagProps {
2818
3156
  readonly isDragging?: boolean;
2819
3157
  readonly leadingButton?: React_2.ReactElement<HTMLButtonElement>;
2820
3158
  readonly mode?: TagMode;
3159
+ readonly dataTestId?: string;
2821
3160
  readonly dataTestIdTagButton?: string;
2822
3161
  readonly dataTestIdRemoveButton?: string;
2823
3162
  }
@@ -3285,7 +3624,7 @@ export declare enum UploadTileSize {
3285
3624
  Compact = "Compact"
3286
3625
  }
3287
3626
 
3288
- export declare const useHandleClickOutside: (ref: React.RefObject<HTMLElement>, onClickOutside: (event: MouseEvent) => void) => void;
3627
+ export declare const useHandleClickOutside: (ref: React.RefObject<HTMLElement>, onClickOutside: (event: Event) => void) => void;
3289
3628
 
3290
3629
  export declare const useMediaBreakpoints: () => {
3291
3630
  mobile: boolean;
@@ -3366,9 +3705,9 @@ export declare enum Zindex {
3366
3705
  DropDown = "100",
3367
3706
  Statusbar = "1000",
3368
3707
  StickyHeader = "200",
3369
- Sidepanel = "4000",
3370
- AppMenu = "2000",
3371
- Dialog = "3000",
3708
+ Sidepanel = "3000",
3709
+ AppMenu = "4000",
3710
+ Dialog = "2000",
3372
3711
  Snackbar = "6000",
3373
3712
  Tooltip = "5000",
3374
3713
  Prompt = "10000"