@kentico/xperience-admin-components 29.3.3 → 29.4.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
@@ -1,5 +1,3 @@
1
- /// <reference types="react" />
2
-
3
1
  import { ConnectDragPreview } from 'react-dnd';
4
2
  import { ConnectDragSource } from 'react-dnd';
5
3
  import { ConnectDropTarget } from 'react-dnd';
@@ -18,6 +16,7 @@ import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
18
16
  import { ReactCodeMirrorRef } from '@uiw/react-codemirror';
19
17
  import { ReactNode } from 'react';
20
18
  import { ReactPortal } from 'react';
19
+ import { Ref } from 'react';
21
20
  import { RefAttributes } from 'react';
22
21
  import { RefObject } from 'react';
23
22
  import { RegisterCommandParameters } from 'froala-editor';
@@ -310,6 +309,7 @@ export declare interface BarItemProps extends UITestProps {
310
309
  readonly onHeaderClick?: () => void;
311
310
  readonly children?: React.ReactNode;
312
311
  readonly headerColumns?: BarItemHeaderColumn[];
312
+ readonly disabled?: boolean;
313
313
  }
314
314
 
315
315
  declare interface BaseButtonProps extends UITestProps {
@@ -342,6 +342,10 @@ declare interface BaseNotificationBarProps extends UITestProps {
342
342
  * Dangerously sets notification content as inner HTML. Applies only to the text content.
343
343
  */
344
344
  readonly childrenAsHtml?: boolean;
345
+ /**
346
+ * Disables the bold weight of the text.
347
+ */
348
+ readonly noBoldWeight?: boolean;
345
349
  readonly children: string | React.ReactNode;
346
350
  }
347
351
 
@@ -2334,6 +2338,7 @@ export declare const KXIcons: {
2334
2338
  'xp-triangle-right': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2335
2339
  'xp-trophy': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2336
2340
  'xp-truck': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2341
+ 'xp-truck-moving': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2337
2342
  'xp-two-rectangles-h': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2338
2343
  'xp-two-rectangles-stacked-times': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
2339
2344
  'xp-two-rectangles-stacked': ForwardRefExoticComponent<GeneratedIconProps & RefAttributes<SVGSVGElement>>;
@@ -2543,13 +2548,13 @@ declare type NativeInputProps = Pick<React.InputHTMLAttributes<HTMLInputElement>
2543
2548
 
2544
2549
  export declare const NotificationBarAlert: ForwardRefExoticComponent<NotificationBarAlertProps & RefAttributes<HTMLDivElement>>;
2545
2550
 
2546
- export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId'> {
2547
- readonly onDismiss: () => void;
2551
+ export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight'> {
2552
+ readonly onDismiss?: () => void;
2548
2553
  }
2549
2554
 
2550
2555
  export declare const NotificationBarInfo: ForwardRefExoticComponent<NotificationBarInfoProps & RefAttributes<HTMLDivElement>>;
2551
2556
 
2552
- export declare interface NotificationBarInfoProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId'> {
2557
+ export declare interface NotificationBarInfoProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight'> {
2553
2558
  readonly onDismiss?: () => void;
2554
2559
  }
2555
2560
 
@@ -2561,7 +2566,7 @@ declare enum NotificationBarType {
2561
2566
 
2562
2567
  export declare const NotificationBarWarning: ForwardRefExoticComponent<NotificationBarWarningProps & RefAttributes<HTMLDivElement>>;
2563
2568
 
2564
- export declare interface NotificationBarWarningProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId'> {
2569
+ export declare interface NotificationBarWarningProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight'> {
2565
2570
  readonly onDismiss?: () => void;
2566
2571
  }
2567
2572
 
@@ -3266,6 +3271,10 @@ export declare interface SidePanelProps extends UITestProps {
3266
3271
  * Class name of the content holding inner component.
3267
3272
  */
3268
3273
  readonly contentClassName?: string;
3274
+ /**
3275
+ * Reference to the content wrapper.
3276
+ */
3277
+ readonly contentRef?: Ref<HTMLDivElement>;
3269
3278
  }
3270
3279
 
3271
3280
  export declare enum SidePanelSize {
@@ -3842,6 +3851,7 @@ declare enum TagMode {
3842
3851
  export declare interface TagProps {
3843
3852
  readonly label: string;
3844
3853
  readonly tooltipText?: string;
3854
+ readonly tooltipTextAsHtml?: boolean;
3845
3855
  readonly onClick?: () => void;
3846
3856
  readonly onRemoveClick?: () => void;
3847
3857
  readonly onRemoveMouseDown?: () => void;
@@ -3869,18 +3879,21 @@ export declare enum TestIds {
3869
3879
  Chevron = "chevron",
3870
3880
  ConfirmAction = "confirm-action",
3871
3881
  DeleteFolderActionButton = "deletefolder-action",
3882
+ EnableFolderActionButton = "enablecontentdelivery-action",
3872
3883
  DisplayName = "DisplayName",
3873
3884
  FolderDisplayName = "FolderDisplayName",
3874
3885
  NewSmartFolderPlusButton = "new-smart-folder-plus-button",
3875
3886
  RenameFolderActionButton = "renamefolder-action",
3876
3887
  RenameSmartFolderDialog = "rename-smart-folder-dialog",
3888
+ CloneSmartFolderDialog = "clone-smart-folder-dialog",
3877
3889
  SidePanel = "side-panel",
3878
3890
  SmartFolderFilterForm = "smart-folder-form",
3879
3891
  SmartFolderLabel = "smart-folder-label",
3880
3892
  SubmitButton = "submit-button",
3881
3893
  TreeItemMenuButton = "tree-item-menu-button",
3882
3894
  Button = "button",
3883
- SaveSmartFolderDialog = "save-smart-folder-dialog"
3895
+ SaveSmartFolderDialog = "save-smart-folder-dialog",
3896
+ EnabledForDeliveryIcon = "xp-truck-moving"
3884
3897
  }
3885
3898
 
3886
3899
  export declare const TextArea: React_2.ForwardRefExoticComponent<TextAreaProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -4608,9 +4621,9 @@ export declare enum Zindex {
4608
4621
  Elevated = "1",
4609
4622
  Rte = "10",
4610
4623
  RtePopup = "20",
4611
- DropDown = "100",
4624
+ StickyHeader = "100",
4625
+ DropDown = "200",
4612
4626
  Statusbar = "1000",
4613
- StickyHeader = "200",
4614
4627
  Sidepanel = "3000",
4615
4628
  AppMenu = "4000",
4616
4629
  Dialog = "2000",