@kentico/xperience-admin-components 29.4.3 → 29.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/entry.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { DraggableProvidedDragHandleProps } from 'react-beautiful-dnd';
|
|
|
7
7
|
import { DropResult } from 'react-beautiful-dnd';
|
|
8
8
|
import { ForwardRefExoticComponent } from 'react';
|
|
9
9
|
import { FroalaOptions } from 'froala-editor';
|
|
10
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
11
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
11
12
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
12
13
|
import { MouseEventHandler } from 'react';
|
|
@@ -280,7 +281,7 @@ export declare interface BarItemDraggableProps extends BarItemProps {
|
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
export declare const BarItemGroup: {
|
|
283
|
-
(props: BarItemGroupProps):
|
|
284
|
+
(props: BarItemGroupProps): JSX_2.Element;
|
|
284
285
|
displayName: string;
|
|
285
286
|
};
|
|
286
287
|
|
|
@@ -707,7 +708,7 @@ export declare enum CalloutPlacementType {
|
|
|
707
708
|
OnDesk = "onDesk"
|
|
708
709
|
}
|
|
709
710
|
|
|
710
|
-
export declare interface CalloutProps {
|
|
711
|
+
export declare interface CalloutProps extends UITestProps {
|
|
711
712
|
readonly headline?: string;
|
|
712
713
|
readonly subheadline?: string;
|
|
713
714
|
readonly type: CalloutType;
|
|
@@ -743,7 +744,7 @@ export declare enum CellType {
|
|
|
743
744
|
NamedComponent = "namedComponent"
|
|
744
745
|
}
|
|
745
746
|
|
|
746
|
-
export declare const ChartLicense: ({ children }: ChartLicenseProps) =>
|
|
747
|
+
export declare const ChartLicense: ({ children }: ChartLicenseProps) => JSX_2.Element;
|
|
747
748
|
|
|
748
749
|
declare interface ChartLicenseProps {
|
|
749
750
|
readonly children: React_2.ReactNode;
|
|
@@ -1400,7 +1401,7 @@ export declare interface DropDownActionMenuProps extends MenuDropDownProps, Acti
|
|
|
1400
1401
|
}
|
|
1401
1402
|
|
|
1402
1403
|
export declare const DropDownOnClick: {
|
|
1403
|
-
({ renderTrigger, children, dataTestId, offset, placement, open, onToggle, ...props }: DropDownOnClickProps):
|
|
1404
|
+
({ renderTrigger, children, dataTestId, offset, placement, open, onToggle, ...props }: DropDownOnClickProps): JSX_2.Element;
|
|
1404
1405
|
displayName: string;
|
|
1405
1406
|
};
|
|
1406
1407
|
|
|
@@ -1410,7 +1411,7 @@ export declare interface DropDownOnClickProps extends DropDownProps {
|
|
|
1410
1411
|
}
|
|
1411
1412
|
|
|
1412
1413
|
export declare const DropDownOnHover: {
|
|
1413
|
-
({ renderTrigger, children, offset, placement, open, ...props }: DropDownOnHoverProps):
|
|
1414
|
+
({ renderTrigger, children, offset, placement, open, ...props }: DropDownOnHoverProps): JSX_2.Element;
|
|
1414
1415
|
displayName: string;
|
|
1415
1416
|
};
|
|
1416
1417
|
|
|
@@ -1497,7 +1498,7 @@ export declare interface DropzoneProps {
|
|
|
1497
1498
|
* 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.
|
|
1498
1499
|
*/
|
|
1499
1500
|
export declare const FileInput: {
|
|
1500
|
-
({ isOpen, accept, allowMultiple, dataTestId, onFileChange, onClose }: FileInputProps):
|
|
1501
|
+
({ isOpen, accept, allowMultiple, dataTestId, onFileChange, onClose }: FileInputProps): JSX_2.Element;
|
|
1501
1502
|
displayName: string;
|
|
1502
1503
|
};
|
|
1503
1504
|
|
|
@@ -1784,7 +1785,7 @@ export declare interface IconToggleButtonsProps extends ToggleButtonsProps<IconT
|
|
|
1784
1785
|
}
|
|
1785
1786
|
|
|
1786
1787
|
export declare const InfoCard: {
|
|
1787
|
-
({ caption, tooltip, text, details, ...props }: InfoCardProps):
|
|
1788
|
+
({ caption, tooltip, text, details, ...props }: InfoCardProps): JSX_2.Element;
|
|
1788
1789
|
displayName: string;
|
|
1789
1790
|
};
|
|
1790
1791
|
|
|
@@ -2363,7 +2364,7 @@ export declare const KXIcons: {
|
|
|
2363
2364
|
* Component for displaying label with tooltip visible when hovering over information icon.
|
|
2364
2365
|
*/
|
|
2365
2366
|
export declare const LabelWithTooltip: {
|
|
2366
|
-
({ label, tooltipText }: LabelWithTooltipProps):
|
|
2367
|
+
({ label, tooltipText }: LabelWithTooltipProps): JSX_2.Element;
|
|
2367
2368
|
displayName: string;
|
|
2368
2369
|
};
|
|
2369
2370
|
|
|
@@ -2403,7 +2404,7 @@ declare type LeadingElementType = 'icon' | 'avatar' | 'checkbox' | 'quinaryButto
|
|
|
2403
2404
|
export declare const Link: React_2.ForwardRefExoticComponent<LinkProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2404
2405
|
|
|
2405
2406
|
export declare const LinkButton: {
|
|
2406
|
-
({ onClick, href, target, tabIndex, anchorRef, dataTestId, ...props }: LinkButtonProps):
|
|
2407
|
+
({ onClick, href, target, tabIndex, anchorRef, dataTestId, ...props }: LinkButtonProps): JSX_2.Element;
|
|
2407
2408
|
displayName: string;
|
|
2408
2409
|
};
|
|
2409
2410
|
|
|
@@ -2437,7 +2438,7 @@ export declare interface LinkProps extends UITestProps {
|
|
|
2437
2438
|
readonly ellipsis?: boolean;
|
|
2438
2439
|
}
|
|
2439
2440
|
|
|
2440
|
-
export declare const LinkTableCellComponent: ({ text, url }: LinkTableCellComponentProps) =>
|
|
2441
|
+
export declare const LinkTableCellComponent: ({ text, url }: LinkTableCellComponentProps) => JSX_2.Element;
|
|
2441
2442
|
|
|
2442
2443
|
export declare interface LinkTableCellComponentProps {
|
|
2443
2444
|
/**
|
|
@@ -2490,7 +2491,7 @@ export declare interface MenuItemProps extends UITestProps {
|
|
|
2490
2491
|
}
|
|
2491
2492
|
|
|
2492
2493
|
export declare const MenuItemWithSubmenu: {
|
|
2493
|
-
({ submenuContent, onClick, ...restProps }: MenuItemWithSubmenuProps):
|
|
2494
|
+
({ submenuContent, onClick, ...restProps }: MenuItemWithSubmenuProps): JSX_2.Element;
|
|
2494
2495
|
displayName: string;
|
|
2495
2496
|
};
|
|
2496
2497
|
|
|
@@ -2571,7 +2572,7 @@ export declare interface NotificationBarWarningProps extends Pick<BaseNotificati
|
|
|
2571
2572
|
}
|
|
2572
2573
|
|
|
2573
2574
|
export declare const OptionalTooltip: {
|
|
2574
|
-
({ customRenderText, text, tooltipText, children, ...restProps }: OptionalTooltipProps):
|
|
2575
|
+
({ customRenderText, text, tooltipText, children, ...restProps }: OptionalTooltipProps): JSX_2.Element;
|
|
2575
2576
|
displayName: string;
|
|
2576
2577
|
};
|
|
2577
2578
|
|
|
@@ -2603,7 +2604,7 @@ export declare interface OptionTileProps extends Pick<React.ButtonHTMLAttributes
|
|
|
2603
2604
|
* @deprecated Component is deprecated and will be removed in the next version.
|
|
2604
2605
|
* Use SelectorItemInfoTableCellComponent instead.
|
|
2605
2606
|
*/
|
|
2606
|
-
export declare const PageInfoTableCellComponent: ({ iconName, name, disabled }: PageInfoTableCellComponentProps) =>
|
|
2607
|
+
export declare const PageInfoTableCellComponent: ({ iconName, name, disabled }: PageInfoTableCellComponentProps) => JSX_2.Element;
|
|
2607
2608
|
|
|
2608
2609
|
export declare interface PageInfoTableCellComponentProps {
|
|
2609
2610
|
readonly iconName?: IconName;
|
|
@@ -3004,7 +3005,7 @@ export declare const SelectMenu: React_2.ForwardRefExoticComponent<SelectMenuPro
|
|
|
3004
3005
|
export declare interface SelectMenuProps extends Omit<VerticalMenuProps, 'menuType'> {
|
|
3005
3006
|
}
|
|
3006
3007
|
|
|
3007
|
-
export declare const SelectorItemInfoTableCellComponent: ({ iconName, name, disabled }: SelectorItemInfoTableCellComponentProps) =>
|
|
3008
|
+
export declare const SelectorItemInfoTableCellComponent: ({ iconName, name, disabled }: SelectorItemInfoTableCellComponentProps) => JSX_2.Element;
|
|
3008
3009
|
|
|
3009
3010
|
export declare interface SelectorItemInfoTableCellComponentProps {
|
|
3010
3011
|
readonly iconName?: IconName;
|
|
@@ -3167,7 +3168,7 @@ declare type SidePanelId = string & {
|
|
|
3167
3168
|
__type: 'SidePanelId';
|
|
3168
3169
|
};
|
|
3169
3170
|
|
|
3170
|
-
export declare const SidePanelManager: ({ children }: SidePanelManagerProps) =>
|
|
3171
|
+
export declare const SidePanelManager: ({ children }: SidePanelManagerProps) => JSX_2.Element;
|
|
3171
3172
|
|
|
3172
3173
|
declare interface SidePanelManagerContextType {
|
|
3173
3174
|
/**
|
|
@@ -3315,7 +3316,7 @@ export declare const SimpleStatusSuccess: React_2.ForwardRefExoticComponent<Simp
|
|
|
3315
3316
|
export declare interface SimpleStatusSuccessProps extends Omit<BaseSimpleStatusProps, 'type' | 'labelColor' | 'iconColor'> {
|
|
3316
3317
|
}
|
|
3317
3318
|
|
|
3318
|
-
export declare const SimpleStatusTableCellComponent: ({ iconName, label, iconColor, labelColor, tooltipText }: SimpleStatusTableCellComponentProps) =>
|
|
3319
|
+
export declare const SimpleStatusTableCellComponent: ({ iconName, label, iconColor, labelColor, tooltipText }: SimpleStatusTableCellComponentProps) => JSX_2.Element;
|
|
3319
3320
|
|
|
3320
3321
|
export declare interface SimpleStatusTableCellComponentProps extends StatusComponentProps {
|
|
3321
3322
|
readonly tooltipText?: string;
|
|
@@ -3334,7 +3335,7 @@ export declare interface SimpleStatusWarningProps extends Omit<BaseSimpleStatusP
|
|
|
3334
3335
|
}
|
|
3335
3336
|
|
|
3336
3337
|
export declare const SkeletonBody: {
|
|
3337
|
-
({ rowCount, columns, selectable }: SkeletonBodyProps):
|
|
3338
|
+
({ rowCount, columns, selectable }: SkeletonBodyProps): JSX_2.Element;
|
|
3338
3339
|
displayName: string;
|
|
3339
3340
|
};
|
|
3340
3341
|
|
|
@@ -3367,7 +3368,7 @@ export declare enum SnackbarItemVariant {
|
|
|
3367
3368
|
Info = "info"
|
|
3368
3369
|
}
|
|
3369
3370
|
|
|
3370
|
-
export declare const SnackbarProvider: ({ children, position, verticalSpacing, horizontalSpacing }: SnackbarProviderProps) =>
|
|
3371
|
+
export declare const SnackbarProvider: ({ children, position, verticalSpacing, horizontalSpacing }: SnackbarProviderProps) => JSX_2.Element;
|
|
3371
3372
|
|
|
3372
3373
|
declare interface SnackbarProviderProps {
|
|
3373
3374
|
readonly children: React.ReactNode;
|
|
@@ -3411,7 +3412,7 @@ export declare enum Spacing {
|
|
|
3411
3412
|
}
|
|
3412
3413
|
|
|
3413
3414
|
export declare const Spinner: {
|
|
3414
|
-
({ className, ...props }: SpinnerProps):
|
|
3415
|
+
({ className, ...props }: SpinnerProps): JSX_2.Element;
|
|
3415
3416
|
displayName: string;
|
|
3416
3417
|
};
|
|
3417
3418
|
|
|
@@ -3420,7 +3421,7 @@ export declare interface SpinnerProps extends Omit<IconProps, 'name'> {
|
|
|
3420
3421
|
}
|
|
3421
3422
|
|
|
3422
3423
|
export declare const SplitButton: {
|
|
3423
|
-
({ size, color, disabled, disabledState, inProgress, icon, open, onToggle, children, onClick, title, ...props }: SplitButtonProps):
|
|
3424
|
+
({ size, color, disabled, disabledState, inProgress, icon, open, onToggle, children, onClick, title, ...props }: SplitButtonProps): JSX_2.Element;
|
|
3424
3425
|
displayName: string;
|
|
3425
3426
|
};
|
|
3426
3427
|
|
|
@@ -3483,7 +3484,7 @@ export declare interface StatusComponentProps {
|
|
|
3483
3484
|
readonly labelColor: keyof typeof Colors;
|
|
3484
3485
|
}
|
|
3485
3486
|
|
|
3486
|
-
export declare const StickyHeader: ({ children, className }: StickyHeaderProps) =>
|
|
3487
|
+
export declare const StickyHeader: ({ children, className }: StickyHeaderProps) => JSX_2.Element;
|
|
3487
3488
|
|
|
3488
3489
|
export declare interface StickyHeaderProps {
|
|
3489
3490
|
/**
|
|
@@ -3507,7 +3508,7 @@ export declare interface StringCell extends TableCell {
|
|
|
3507
3508
|
tooltipText?: string;
|
|
3508
3509
|
}
|
|
3509
3510
|
|
|
3510
|
-
export declare const StringTableCellComponent: ({ value, tooltipText }: StringTableCellComponentProps) =>
|
|
3511
|
+
export declare const StringTableCellComponent: ({ value, tooltipText }: StringTableCellComponentProps) => JSX_2.Element;
|
|
3511
3512
|
|
|
3512
3513
|
export declare interface StringTableCellComponentProps {
|
|
3513
3514
|
readonly value: string;
|
|
@@ -3759,7 +3760,7 @@ export declare interface TableRow {
|
|
|
3759
3760
|
}
|
|
3760
3761
|
|
|
3761
3762
|
export declare const TableRowComponent: {
|
|
3762
|
-
({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick, isInvalid, dragElement }: TableRowProps):
|
|
3763
|
+
({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick, isInvalid, dragElement }: TableRowProps): JSX_2.Element;
|
|
3763
3764
|
displayName: string;
|
|
3764
3765
|
};
|
|
3765
3766
|
|
|
@@ -3867,7 +3868,7 @@ export declare interface TagProps {
|
|
|
3867
3868
|
readonly dataTestIdRemoveButton?: string;
|
|
3868
3869
|
}
|
|
3869
3870
|
|
|
3870
|
-
export declare const TagTableCellComponent: ({ color, label, tooltipText }: TagTableCellComponentProps) =>
|
|
3871
|
+
export declare const TagTableCellComponent: ({ color, label, tooltipText }: TagTableCellComponentProps) => JSX_2.Element;
|
|
3871
3872
|
|
|
3872
3873
|
export declare interface TagTableCellComponentProps {
|
|
3873
3874
|
readonly label: string;
|
|
@@ -3893,7 +3894,8 @@ export declare enum TestIds {
|
|
|
3893
3894
|
TreeItemMenuButton = "tree-item-menu-button",
|
|
3894
3895
|
Button = "button",
|
|
3895
3896
|
SaveSmartFolderDialog = "save-smart-folder-dialog",
|
|
3896
|
-
EnabledForDeliveryIcon = "xp-truck-moving"
|
|
3897
|
+
EnabledForDeliveryIcon = "xp-truck-moving",
|
|
3898
|
+
Callout = "callout"
|
|
3897
3899
|
}
|
|
3898
3900
|
|
|
3899
3901
|
export declare const TextArea: React_2.ForwardRefExoticComponent<TextAreaProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3958,7 +3960,7 @@ export declare interface ThemeProps {
|
|
|
3958
3960
|
}
|
|
3959
3961
|
|
|
3960
3962
|
export declare const ThemeProvider: {
|
|
3961
|
-
({ children, customThemes, defaultTheme }: ThemeProps):
|
|
3963
|
+
({ children, customThemes, defaultTheme }: ThemeProps): JSX_2.Element;
|
|
3962
3964
|
displayName: string;
|
|
3963
3965
|
};
|
|
3964
3966
|
|
|
@@ -3994,7 +3996,7 @@ export declare type TippyContextType = {
|
|
|
3994
3996
|
containerId: string | undefined;
|
|
3995
3997
|
};
|
|
3996
3998
|
|
|
3997
|
-
export declare const TippyProvider: ({ children, containerId }: TippyProviderProps) =>
|
|
3999
|
+
export declare const TippyProvider: ({ children, containerId }: TippyProviderProps) => JSX_2.Element;
|
|
3998
4000
|
|
|
3999
4001
|
/**
|
|
4000
4002
|
* Tippy context provider properties.
|
|
@@ -4031,7 +4033,7 @@ declare interface ToggleButtonsProps<ItemsType> {
|
|
|
4031
4033
|
}
|
|
4032
4034
|
|
|
4033
4035
|
export declare const Tooltip: {
|
|
4034
|
-
({ children, tooltipText, placement, shortcuts, maxGridUnitWidth, withoutShowDelay, visible, disabled, appendTo, tooltipTextAsHtml, ...props }: TooltipProps):
|
|
4036
|
+
({ children, tooltipText, placement, shortcuts, maxGridUnitWidth, withoutShowDelay, visible, disabled, appendTo, tooltipTextAsHtml, ...props }: TooltipProps): JSX_2.Element;
|
|
4035
4037
|
displayName: string;
|
|
4036
4038
|
};
|
|
4037
4039
|
|
|
@@ -4191,7 +4193,7 @@ export declare interface TreeNodeLeadingIconProps extends TreeNodeContentSharedP
|
|
|
4191
4193
|
* Component representing a tree node menu with actions.
|
|
4192
4194
|
*/
|
|
4193
4195
|
export declare const TreeNodeMenu: {
|
|
4194
|
-
<TActions extends TreeNodeAction>({ disabled, isOpen, actions, onToggle, actionExecutor, menuButtonTooltip }: TreeNodeMenuProps<TActions>):
|
|
4196
|
+
<TActions extends TreeNodeAction>({ disabled, isOpen, actions, onToggle, actionExecutor, menuButtonTooltip }: TreeNodeMenuProps<TActions>): JSX_2.Element;
|
|
4195
4197
|
displayName: string;
|
|
4196
4198
|
};
|
|
4197
4199
|
|
|
@@ -4231,7 +4233,7 @@ export declare interface TreeNodeMenuActionProps extends UITestProps {
|
|
|
4231
4233
|
* Tree node menu actions component.
|
|
4232
4234
|
*/
|
|
4233
4235
|
export declare const TreeNodeMenuActions: {
|
|
4234
|
-
({ title, disabled, isOpen, dataTestIdMenu, dataTestIdMenuButton, onToggle, children }: TreeNodeMenuActionsProps):
|
|
4236
|
+
({ title, disabled, isOpen, dataTestIdMenu, dataTestIdMenuButton, onToggle, children }: TreeNodeMenuActionsProps): JSX_2.Element;
|
|
4235
4237
|
displayName: string;
|
|
4236
4238
|
};
|
|
4237
4239
|
|
|
@@ -4311,7 +4313,7 @@ export declare type TreeNodeProps<TIsDraggable = boolean> = TIsDraggable extends
|
|
|
4311
4313
|
/**
|
|
4312
4314
|
* Tree node title component.
|
|
4313
4315
|
*/
|
|
4314
|
-
export declare const TreeNodeTitle: ({ isSelected, disabled, children, dataTestId, tooltipText, ...props }: TreeNodeTitleProps) =>
|
|
4316
|
+
export declare const TreeNodeTitle: ({ isSelected, disabled, children, dataTestId, tooltipText, ...props }: TreeNodeTitleProps) => JSX_2.Element;
|
|
4315
4317
|
|
|
4316
4318
|
export declare interface TreeNodeTitleProps extends TreeNodeContentSharedProps {
|
|
4317
4319
|
/**
|
|
@@ -4517,7 +4519,7 @@ export declare interface WindowFunctions {
|
|
|
4517
4519
|
readonly setSize: (width: number, height: number) => void;
|
|
4518
4520
|
}
|
|
4519
4521
|
|
|
4520
|
-
export declare const WindowManager: (props: WindowManagerProps) =>
|
|
4522
|
+
export declare const WindowManager: (props: WindowManagerProps) => JSX_2.Element;
|
|
4521
4523
|
|
|
4522
4524
|
declare interface WindowManagerProps {
|
|
4523
4525
|
/**
|