@kentico/xperience-admin-components 30.10.3 → 30.11.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
@@ -65,7 +65,7 @@ declare interface ActionMenuHeadlineProps {
65
65
  export declare interface ActionMenuProps extends Omit<VerticalMenuProps, 'pinnedItem'> {
66
66
  }
67
67
 
68
- export declare const ActionTile: React_2.ForwardRefExoticComponent<ActionTileProps & React_2.RefAttributes<HTMLButtonElement>>;
68
+ export declare const ActionTile: React_2.ForwardRefExoticComponent<ActionTileProps & React_2.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
69
69
 
70
70
  export declare interface ActionTileProps extends UITestProps {
71
71
  /**
@@ -108,6 +108,10 @@ export declare interface ActionTileProps extends UITestProps {
108
108
  * Callback called on the action tile click.
109
109
  */
110
110
  readonly onClick?: () => void;
111
+ /**
112
+ * URL path for navigation. When provided, the ActionTile becomes a navigational link
113
+ */
114
+ readonly href?: string;
111
115
  }
112
116
 
113
117
  export declare enum ActionTileSize {
@@ -591,6 +595,10 @@ declare interface BaseTreeNodeProps {
591
595
  * Indicates if node is disabled. Defaults to `false`.
592
596
  */
593
597
  readonly disabled?: boolean;
598
+ /**
599
+ * Navigation URL for the tree node. When provided, the node will render as a NavLink instead of a button.
600
+ */
601
+ readonly href?: string;
594
602
  /**
595
603
  * Test-id attribute of the current node.
596
604
  */
@@ -1236,11 +1244,11 @@ export declare interface DateTimeInputProps extends UITestProps {
1236
1244
  /**
1237
1245
  * Callback called when a day is selected or when clicked on the action button.
1238
1246
  */
1239
- readonly onChange?: (date: Date | undefined) => void;
1247
+ readonly onChange?: (date: Date | null) => void;
1240
1248
  /**
1241
1249
  * Current selected Date.
1242
1250
  */
1243
- readonly value?: Date;
1251
+ readonly value?: Date | null;
1244
1252
  /**
1245
1253
  * Label for the date input.
1246
1254
  */
@@ -1324,17 +1332,17 @@ export declare interface DateTimeRangeInputProps extends UITestProps {
1324
1332
  /**
1325
1333
  * Callback called when a day is selected or when clicked on the action button.
1326
1334
  */
1327
- readonly onChange?: (value?: {
1335
+ readonly onChange?: (value: {
1328
1336
  from: Date;
1329
1337
  to: Date;
1330
- }) => void;
1338
+ } | null) => void;
1331
1339
  /**
1332
1340
  * Current selected Date.
1333
1341
  */
1334
1342
  readonly value?: {
1335
1343
  from: Date;
1336
1344
  to: Date;
1337
- };
1345
+ } | null;
1338
1346
  /**
1339
1347
  * Minimal date that can be selected.
1340
1348
  */
@@ -4811,10 +4819,14 @@ export declare interface TableRow {
4811
4819
  * The level of row indentation.
4812
4820
  */
4813
4821
  level?: number;
4822
+ /**
4823
+ * URL to navigate to when row is clicked. If provided, row will be rendered as NavLink.
4824
+ */
4825
+ href?: string;
4814
4826
  }
4815
4827
 
4816
4828
  export declare const TableRowComponent: {
4817
- ({ cells, columns, disabled, selectable, selected, level, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick, isInvalid, dragElement, gridLayout }: TableRowProps): JSX_2.Element;
4829
+ ({ cells, columns, disabled, selectable, selected, level, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick, href, isInvalid, dragElement, gridLayout }: TableRowProps): JSX_2.Element;
4818
4830
  displayName: string;
4819
4831
  };
4820
4832
 
@@ -4886,6 +4898,10 @@ export declare interface TableRowProps extends UITestProps {
4886
4898
  * Callback when row is clicked on.
4887
4899
  */
4888
4900
  readonly onRowClick?: () => void;
4901
+ /**
4902
+ * URL to navigate to when row is clicked.
4903
+ */
4904
+ readonly href?: string;
4889
4905
  /**
4890
4906
  * Indicates whether the row is in an invalid state. Defaults to 'False'.
4891
4907
  */
@@ -5057,6 +5073,7 @@ declare const testIds: {
5057
5073
  ButtonMoveContentItem: "button-MoveContentItem";
5058
5074
  Cancel_V1: "cancel-action";
5059
5075
  Cancel_V2: "cancel-button";
5076
+ CancelSchedule: "cancel-schedule-button";
5060
5077
  Chevron: "chevron";
5061
5078
  ClearAll: "clear-all-button";
5062
5079
  ClearSearch: "clear-search-button";
@@ -5090,6 +5107,7 @@ declare const testIds: {
5090
5107
  ForgottenPassword: "forgottenPassword";
5091
5108
  GoToDashboard: "button-goToDashboard";
5092
5109
  GoToSignIn: "button-goToSignIn";
5110
+ InsertDoubleOptInLink: "insertDoubleOptInLinkButton";
5093
5111
  MediaLibrary: "button-media-library";
5094
5112
  MoveAction: "Move-action";
5095
5113
  NewFolderPlus: "new-folder-plus";
@@ -5130,6 +5148,7 @@ declare const testIds: {
5130
5148
  WindowMinimize: "window-minimize";
5131
5149
  WindowShow: "window-show";
5132
5150
  XpMenu: "xp-menu";
5151
+ XpModalClose: "xp-modal-close";
5133
5152
  };
5134
5153
  Callouts: {
5135
5154
  Default: "callout";
@@ -5248,7 +5267,7 @@ declare const testIds: {
5248
5267
  AfterTime: "AfterTime";
5249
5268
  AssetCount: "AssetCount";
5250
5269
  BackupText: "BackupText";
5251
- Body: "Body";
5270
+ Body: "BodyField";
5252
5271
  CallToActionDescription: "CallToActionDescription";
5253
5272
  ChannelDisplayName: "ChannelDisplayName";
5254
5273
  ContactGroupDescription: "ContactGroupDescription";
@@ -5334,6 +5353,7 @@ declare const testIds: {
5334
5353
  FieldName: "field-name";
5335
5354
  FolderDisplayName: "FolderDisplayName";
5336
5355
  Label: "Label";
5356
+ LinkText: "LinkText";
5337
5357
  NewUrl: "NewUrl";
5338
5358
  Passcode: "passcode";
5339
5359
  Search: "search-input";
@@ -5453,6 +5473,8 @@ declare const testIds: {
5453
5473
  WorkflowStepIconClass: "ContentWorkflowStepIconClass";
5454
5474
  Asset: "asset-selector";
5455
5475
  Dropdown: "dropdown-selector";
5476
+ EmailExcludedContactGroups: "exclude-recipients-from-contact-groups";
5477
+ EmailTargetContactGroups: "send-only-to-recipients-from-contact-groups";
5456
5478
  File: "file-uploader";
5457
5479
  FileInputUpdate: "file-input-update";
5458
5480
  FileInputUpload: "file-input-upload";