@kentico/xperience-admin-components 31.1.2 → 31.2.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
@@ -757,9 +757,22 @@ export declare enum CalloutType {
757
757
  export declare const Card: React_2.ForwardRefExoticComponent<CardProps & React_2.RefAttributes<HTMLDivElement>>;
758
758
 
759
759
  export declare interface CardProps extends UITestProps {
760
+ /**
761
+ * The main content of the card.
762
+ */
760
763
  readonly children: React.ReactNode;
764
+ /**
765
+ * The footer content of the card.
766
+ */
761
767
  readonly footer?: React.ReactNode;
762
- readonly headline?: string;
768
+ /**
769
+ * The title text of the card.
770
+ */
771
+ readonly headline?: React.ReactNode;
772
+ /**
773
+ * The subtitle with description of the card.
774
+ */
775
+ readonly description?: React.ReactNode;
763
776
  /**
764
777
  * Indicates if the card should fill full height of the parent.
765
778
  */
@@ -965,6 +978,7 @@ export declare enum Colors {
965
978
  BorderDisabled = "var(--color-border-disabled)",
966
979
  BorderHover = "var(--color-border-hover)",
967
980
  BorderWarning = "var(--color-border-warning)",
981
+ BorderChatContent = "var(--color-border-chat-content)",
968
982
  CommentBackgroundSelected = "var(--color-comment-background-selected)",
969
983
  DividerDefault = "var(--color-divider-default)",
970
984
  Focus = "var(--color-focus)",
@@ -1175,6 +1189,13 @@ declare type Content = {
1175
1189
  readonly tooltipAppendTo?: Element;
1176
1190
  };
1177
1191
 
1192
+ declare type Content_2 = {
1193
+ readonly title: string;
1194
+ readonly tooltipText?: string;
1195
+ readonly tooltipPlacement?: TooltipPlacement;
1196
+ readonly tooltipAppendTo?: Element;
1197
+ };
1198
+
1178
1199
  /**
1179
1200
  * Props specific for content item tile.
1180
1201
  */
@@ -1676,6 +1697,14 @@ export declare interface DropzoneProps {
1676
1697
  readonly children: React.ReactNode;
1677
1698
  }
1678
1699
 
1700
+ export declare const EnablementStatus: React_2.ForwardRefExoticComponent<EnablementStatusProps & React_2.RefAttributes<HTMLDivElement>>;
1701
+
1702
+ export declare interface EnablementStatusProps extends UITestProps {
1703
+ readonly textColor: Colors;
1704
+ readonly backgroundColor: Colors;
1705
+ readonly content: Content_2;
1706
+ }
1707
+
1679
1708
  export declare const FileDropOverlay: React_2.ForwardRefExoticComponent<FileDropOverlayProps & React_2.RefAttributes<HTMLDivElement>>;
1680
1709
 
1681
1710
  export declare interface FileDropOverlayProps extends Omit<DropzoneOverlayProps, 'onCurrentTransfer' | 'onUpload'> {
@@ -3525,7 +3554,7 @@ export declare interface MultiselectTreeViewProps extends BaseTreeViewProps {
3525
3554
  readonly selectedIdentifiers?: TreeNodeId[];
3526
3555
  }
3527
3556
 
3528
- declare interface NameButtonProps extends Pick<ToggleButtonBaseProps, 'onClick' | 'ariaLabel' | 'isSelected'> {
3557
+ declare interface NameButtonProps extends Pick<ToggleButtonBaseProps, 'onClick' | 'ariaLabel' | 'isSelected' | 'disabled' | 'tooltip'> {
3529
3558
  readonly label: string;
3530
3559
  readonly dataTestId?: TestId;
3531
3560
  }
@@ -3541,7 +3570,7 @@ export declare interface NamedComponentCell extends TableCell {
3541
3570
  componentProps: Record<string, any>;
3542
3571
  }
3543
3572
 
3544
- export declare interface NameToggleButton extends Pick<NameButtonProps, 'label' | 'ariaLabel'>, ToggleButtonsItem {
3573
+ export declare interface NameToggleButton extends Pick<NameButtonProps, 'label' | 'ariaLabel' | 'disabled' | 'tooltip'>, ToggleButtonsItem {
3545
3574
  }
3546
3575
 
3547
3576
  export declare const NameToggleButtons: React_2.ForwardRefExoticComponent<NameToggleButtonsProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -4497,7 +4526,7 @@ export declare enum SplitButtonDisabledState {
4497
4526
  }
4498
4527
 
4499
4528
  export declare interface SplitButtonProps extends Omit<BaseButtonProps, 'renderComponent' | 'trailingIcon' | 'active' | 'badge' | 'fillContainer' | 'destructive' | 'borderless' | 'className'> {
4500
- readonly color: ButtonColor.Primary | ButtonColor.Secondary;
4529
+ readonly color: ButtonColor.Primary | ButtonColor.Secondary | ButtonColor.Tertiary;
4501
4530
  readonly onToggle?: (isOpen: boolean) => void;
4502
4531
  readonly size: ButtonSize.S | ButtonSize.M | ButtonSize.L;
4503
4532
  readonly open?: boolean;
@@ -5077,6 +5106,7 @@ declare const testIds: {
5077
5106
  DeleteInTree: "delete-action";
5078
5107
  DeleteMassAction: "Move to recycle bin-action";
5079
5108
  DeleteSchemaField: "xp-button";
5109
+ EditButtonStrategistAgent: "edit-agent-settings-button";
5080
5110
  EditRecipientListBasicData: "edit-recipient-list-basic-data-button";
5081
5111
  EmailContentFieldsDropdown: "email-content-fields-dropdown-indicator";
5082
5112
  EnableContentDelivery: "enablecontentdelivery-action";
@@ -5094,6 +5124,7 @@ declare const testIds: {
5094
5124
  Restore: "button-Restore";
5095
5125
  RichTextEditorRefinements: "rich-text-editor-refinements-button";
5096
5126
  Save: "button-save";
5127
+ TranslateUsingAira: "Translate using AIRA-action";
5097
5128
  WebsiteChannel: "website-channel";
5098
5129
  Default: "button";
5099
5130
  ActionMenu: "button-action-menu";
@@ -5106,6 +5137,7 @@ declare const testIds: {
5106
5137
  Adjust: "adjust-button";
5107
5138
  Aira: "AiraButton";
5108
5139
  AiraClose: "aira-close-button";
5140
+ AiraFlap: "aira-flap-button";
5109
5141
  AiraNewConversation: "aira-new-conversation-button";
5110
5142
  AllContentItemsButton: "all-content-items-button";
5111
5143
  Avatar: "AvatarButton";
@@ -5130,13 +5162,14 @@ declare const testIds: {
5130
5162
  CreatePage: "create-page-button";
5131
5163
  Delete: "delete-button";
5132
5164
  DeleteAction: "Delete-action";
5133
- DeleteConditionButton: "delete-condition-button";
5165
+ DeleteCondition: "delete-condition-button";
5134
5166
  DeleteCustomerJourneyStageBuilder: "button-delete";
5135
5167
  DialogFooterAction: "dialog-footer-action";
5136
5168
  Draggable: "draggable-button";
5137
5169
  Edit_V1: "button-edit";
5138
5170
  Edit_V2: "button-Edit";
5139
5171
  EditableHeader: "editable-header-button";
5172
+ EditCondition: "update-conditions-button";
5140
5173
  EditContentItem: "edit-content-item-button";
5141
5174
  EnableContentItemDelivery: "enablecontentdelivery-action";
5142
5175
  EnableDisableProcess: "enable-disable-process-button";
@@ -5158,6 +5191,7 @@ declare const testIds: {
5158
5191
  PublishAction: "Publish-action";
5159
5192
  Recalculate: "button-recalculate";
5160
5193
  RecalculateAutomationsStatistics: "recalculate-automations-statistics-button";
5194
+ RecalculateContactGroup: "callout-button-rebuild";
5161
5195
  RecalculateEmailStatistics: "recalculate-email-statistics-button";
5162
5196
  SaveAutomation: "save-automation-button";
5163
5197
  SavePermissions: "save-permissions-button";
@@ -5168,7 +5202,6 @@ declare const testIds: {
5168
5202
  SelectExistingContentItem: "button-select-existing-content-item";
5169
5203
  SelectExistingIcon: "select-existing-icon-button";
5170
5204
  SelectPage: "select-page";
5171
- SelectProductCategory: "button-select-tag";
5172
5205
  SelectTag: "button-select-tag";
5173
5206
  SelectWebPage: "button-select-web-page";
5174
5207
  SettingsSave: "settings-save-button";
@@ -5198,6 +5231,9 @@ declare const testIds: {
5198
5231
  TranslateUsingAiraWarningMessage: "TranslateUsingAiraWarningMessage";
5199
5232
  };
5200
5233
  Cards: {
5234
+ ContentStrategistAgent: "ContentStrategistAgent";
5235
+ DisabledStatusCard: "disabled-status-card";
5236
+ EnabledStatusCard: "enabled-status-card";
5201
5237
  Register: "register-card";
5202
5238
  };
5203
5239
  Charts: {
@@ -5205,6 +5241,8 @@ declare const testIds: {
5205
5241
  };
5206
5242
  Checkboxes: {
5207
5243
  ApplyForSubItemsCheckbox: "ApplyForSubItemsCheckbox";
5244
+ ContactGroupScheduledRecalculation: "ContactGroupIsAutomaticallyRebuiltCheckbox";
5245
+ EnabledCheckBox: "EnabledCheckbox";
5208
5246
  GenerateWebsiteChannel: "GenerateWebsiteChannelCheckbox";
5209
5247
  IsContentDeliveryEnabledCheckbox: "IsContentDeliveryEnabledCheckbox";
5210
5248
  OrderStatusCustomerNotificationEnabledCheckbox: "OrderStatusCustomerNotificationEnabledCheckbox";
@@ -5261,6 +5299,7 @@ declare const testIds: {
5261
5299
  };
5262
5300
  FilterStatusIndicators: {
5263
5301
  Default: "filter-status-indicator";
5302
+ RemoveHideAnonymousProfiles: "remove-Hide anonymous profiles";
5264
5303
  };
5265
5304
  Forms: {
5266
5305
  CreateNewStage: "create-new-stage-form";
@@ -5286,6 +5325,7 @@ declare const testIds: {
5286
5325
  SmartFolder: "smart-folder-form";
5287
5326
  };
5288
5327
  Headlines: {
5328
+ PersonalDetails: "Personal details";
5289
5329
  PropertyName: "property-name";
5290
5330
  SidePanel: "side-panel-headline";
5291
5331
  Window: "window-headline";
@@ -5295,6 +5335,7 @@ declare const testIds: {
5295
5335
  XpChevronDown: "xp-chevron-down";
5296
5336
  XpChevronUp: "xp-chevron-up";
5297
5337
  XpMagicEdit: "xp-magic-edit";
5338
+ XpPicture: "xp-picture";
5298
5339
  XpTimesCircle: "xp-times-circle";
5299
5340
  XpTruckMoving: "xp-truck-moving";
5300
5341
  ItemLeadingIcon: "tree-item-leading-icon";
@@ -5302,6 +5343,10 @@ declare const testIds: {
5302
5343
  };
5303
5344
  InfoCards: {
5304
5345
  ContactDescriptiveName: "ContactDescriptiveName";
5346
+ ContactEmail: "ContactEmail";
5347
+ ContactGroupBasicData: "contact-group-basic-data";
5348
+ ContactGroupConditions: "conditions";
5349
+ ContactGroupContacts: "contacts";
5305
5350
  DeliveryStatistics: "delivery-statistics-cards";
5306
5351
  EngagementStatistics: "engagement-statistics-cards";
5307
5352
  LatestActivityItem: "latest-activity-item";
@@ -5319,6 +5364,7 @@ declare const testIds: {
5319
5364
  ContactGroupDisplayName: "ContactGroupDisplayName";
5320
5365
  ContentTypeName: "ClassDisplayName";
5321
5366
  CustomDescription: "CustomDescription";
5367
+ CustomInstructions: "CustomInstructions";
5322
5368
  DateFrom: "EventTime-date-from";
5323
5369
  DateTo: "data-testid=\"EventTime-date-to";
5324
5370
  Description: "Description";
@@ -5400,6 +5446,7 @@ declare const testIds: {
5400
5446
  CodeNameNamespace: "code-name-namespace";
5401
5447
  ConditionSearch: "condition-search";
5402
5448
  CurrentUrl: "CurrentUrl";
5449
+ Days: "days";
5403
5450
  DisplayNamePlaceholder: "DisplayNamePlaceholder";
5404
5451
  EditPageName: "edit-page-name-input";
5405
5452
  Email: "Email";
@@ -5430,8 +5477,11 @@ declare const testIds: {
5430
5477
  AiraUnavailableContentWarning: "aira-unavailable-content-warning";
5431
5478
  CmsContactHasBecomeMember: "cmscontacthasbecomemember";
5432
5479
  CmsContactHasSubmittedForm: "cmscontacthassubmittedform";
5480
+ CmsContactHasSubmittedFormInLastXDays: "cmscontacthassubmittedspecifiedforminlastxdays";
5481
+ CmsContactIsFromCountry: "cmscontactisfromcountry";
5433
5482
  ContactGroupRecipientListThankYouPage: "ContactGroupRecipientListThankYouPage";
5434
5483
  EditableAreaGeneral: "editable-area-general";
5484
+ GeneralSettings: "General settings";
5435
5485
  TableCellAutomation: "table-cell-Automation";
5436
5486
  TableCellConverted: "table-cell-Converted";
5437
5487
  TableCellDroppedOff: "table-cell-Dropped off";
@@ -5440,7 +5490,10 @@ declare const testIds: {
5440
5490
  TableCellTextInput: "table-cell-TextInput";
5441
5491
  AdditionalActions: "additional-actions";
5442
5492
  AiraAssistantMessage: "aira-assistant-message";
5493
+ AiraAttachmentPreviewTile: "aira-attachment-preview-tile";
5494
+ AiraAttachmentTilesContainer: "aira-attachment-tiles-container";
5443
5495
  AiraUserMessage: "aira-user-message";
5496
+ AiraUserMessageAttachments: "aira-user-message-attachments";
5444
5497
  AssetGrid: "asset-grid";
5445
5498
  AutomationNode: "automation-node";
5446
5499
  AutomationNodeStatisticsCount: "statistics-count";
@@ -5456,6 +5509,7 @@ declare const testIds: {
5456
5509
  EmailPanelContent: "email-panel-content";
5457
5510
  EmailPreview: "email-preview";
5458
5511
  EmailSubjectSuggestionsList: "email-subject-suggestions-list";
5512
+ EmptyListingMessagePane: "empty-listing-message-pane";
5459
5513
  EngagementStatistics: "engagement-statistics";
5460
5514
  Header: "Header";
5461
5515
  MassAssetUploadGrid: "mass-asset-upload-grid";
@@ -5524,6 +5578,7 @@ declare const testIds: {
5524
5578
  EmailSender: "sender";
5525
5579
  EmailSendTo: "send-to";
5526
5580
  EmailTemplateProperties: "email-template";
5581
+ FileInputUploadMassAsset: "file-input-upload-mass-asset";
5527
5582
  OrderStatusCustomerNotificationEmailConfiguration: "OrderStatusCustomerNotificationEmailConfiguration";
5528
5583
  PreferredLanguage: "UserPreferredLanguage";
5529
5584
  PrimaryLanguage: "primary-language";
@@ -5534,6 +5589,7 @@ declare const testIds: {
5534
5589
  ScopeWebPage: "ScopeWebPage";
5535
5590
  WorkflowStepIconClass: "ContentWorkflowStepIconClass";
5536
5591
  Asset: "asset-selector";
5592
+ ContentItem: "content-item-selector-wrapper";
5537
5593
  Dropdown: "dropdown-selector";
5538
5594
  EmailExcludedContactGroups: "exclude-recipients-from-contact-groups";
5539
5595
  EmailTargetContactGroups: "send-only-to-recipients-from-contact-groups";
@@ -5547,6 +5603,7 @@ declare const testIds: {
5547
5603
  Workspace: "WorkspaceSelector";
5548
5604
  };
5549
5605
  Selects: {
5606
+ WebsiteChannelDefaultCookieLevel: "WebsiteChannelDefaultCookieLevel";
5550
5607
  ChannelSize: "ChannelSize";
5551
5608
  ChannelType: "ChannelType";
5552
5609
  ClassContentTypeType: "ClassContentTypeType";
@@ -5596,6 +5653,7 @@ declare const testIds: {
5596
5653
  SidePanels: {
5597
5654
  CombinedSelectorSelectExisting: "CombinedSelector.SelectExisting";
5598
5655
  ProductCategorySelector: "kxp_ProductCategories.Select";
5656
+ TagSelector: "Tag.Select";
5599
5657
  Default: "side-panel";
5600
5658
  Account: "account-panel";
5601
5659
  ApplicationList: "application-list";
@@ -5828,6 +5886,8 @@ declare interface ToggleButtonBaseProps {
5828
5886
  readonly children: React.ReactNode;
5829
5887
  readonly className?: string;
5830
5888
  readonly isSelected: boolean;
5889
+ readonly tooltip?: string;
5890
+ readonly disabled?: boolean;
5831
5891
  readonly type: ToggleButtonBaseTypes;
5832
5892
  readonly dataTestId?: TestId;
5833
5893
  }