@kentico/xperience-admin-components 30.0.3 → 30.1.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
@@ -3764,7 +3764,7 @@ export declare const Select: React_2.ForwardRefExoticComponent<SelectProps & Rea
3764
3764
 
3765
3765
  export declare const SelectGroupCell: React_2.ForwardRefExoticComponent<SelectGroupCellProps & React_2.RefAttributes<HTMLDivElement>>;
3766
3766
 
3767
- declare interface SelectGroupCellProps {
3767
+ declare interface SelectGroupCellProps extends UITestProps {
3768
3768
  readonly open?: boolean;
3769
3769
  readonly label?: string;
3770
3770
  readonly tooltipText?: string;
@@ -4455,6 +4455,8 @@ export declare interface TableColumn {
4455
4455
  export declare const TableHeader: React_2.ForwardRefExoticComponent<TableHeaderProps & React_2.RefAttributes<HTMLDivElement>>;
4456
4456
 
4457
4457
  export declare interface TableHeaderProps extends UITestProps {
4458
+ readonly style?: React.CSSProperties;
4459
+ readonly className?: string;
4458
4460
  readonly columns: TableColumn[];
4459
4461
  readonly selectable?: boolean;
4460
4462
  readonly selection?: HeaderSelection;
@@ -4514,6 +4516,10 @@ export declare interface TableProps extends UITestProps {
4514
4516
  * Function to render table pre-header.
4515
4517
  */
4516
4518
  readonly renderPreheader?: () => ReactNode;
4519
+ /**
4520
+ * Function to render table footer.
4521
+ */
4522
+ readonly renderFooter?: () => ReactNode;
4517
4523
  /**
4518
4524
  * Handler that is called when selection of the rows changes.
4519
4525
  * @param selectedItems Identifiers of selected rows.
@@ -4529,6 +4535,12 @@ export declare interface TableProps extends UITestProps {
4529
4535
  * @param identifier Identifier of the clicked row.
4530
4536
  */
4531
4537
  readonly onRowClick?: (identifier: unknown) => void;
4538
+ /**
4539
+ * Handler that fires when the table view changes.
4540
+ * @param x horizontal scroll position
4541
+ * @param y vertical scroll position
4542
+ */
4543
+ readonly onViewChange?: (viewChangeEvent: ViewChangeEvent) => void;
4532
4544
  /**
4533
4545
  * Indicates if the row selection should be toggled when the row is clicked on and table is in selectable mode (property {@link TableProps.selectable} is set to true).
4534
4546
  * Callback {@link TableProps.onRowClick} is invoked if defined.
@@ -4560,7 +4572,7 @@ export declare interface TableRow {
4560
4572
  }
4561
4573
 
4562
4574
  export declare const TableRowComponent: {
4563
- ({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick, isInvalid, dragElement }: TableRowProps): JSX_2.Element;
4575
+ ({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick, isInvalid, dragElement, gridLayout }: TableRowProps): JSX_2.Element;
4564
4576
  displayName: string;
4565
4577
  };
4566
4578
 
@@ -4636,6 +4648,10 @@ export declare interface TableRowProps extends UITestProps {
4636
4648
  * Drag element for the table row.
4637
4649
  */
4638
4650
  readonly dragElement?: JSX.Element;
4651
+ /**
4652
+ * Indicates whether the row should use grid layout.
4653
+ */
4654
+ readonly gridLayout?: boolean;
4639
4655
  }
4640
4656
 
4641
4657
  export declare const Tag: React_2.ForwardRefExoticComponent<TagProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -4688,6 +4704,7 @@ export declare enum TestIds {
4688
4704
  RenameSmartFolderDialog = "rename-smart-folder-dialog",
4689
4705
  CloneSmartFolderDialog = "clone-smart-folder-dialog",
4690
4706
  SidePanel = "side-panel",
4707
+ SidePanelCloseButton = "side-panel-close",
4691
4708
  SmartFolderFilterForm = "smart-folder-form",
4692
4709
  SmartFolderLabel = "smart-folder-label",
4693
4710
  SubmitButton = "submit-button",
@@ -4698,11 +4715,13 @@ export declare enum TestIds {
4698
4715
  UserNameInputField = "userName",
4699
4716
  Submit = "submit",
4700
4717
  CreateButton = "button-create",
4718
+ ButtonCreate = "Create",
4701
4719
  ChannelDisplayName = "ChannelDisplayName",
4702
4720
  ChannelType = "ChannelType",
4703
4721
  MenuItem = "menu-item",
4704
4722
  ChannelSize = "ChannelSize",
4705
- LanguageField = "primary-language",
4723
+ PrimaryLanguage = "primary-language",
4724
+ ContentLanguage = "content-language",
4706
4725
  WebsiteChannelDomain = "WebsiteChannelDomain",
4707
4726
  EnglishLanguage = "english",
4708
4727
  SubmitFormButton = "submit-form-button",
@@ -4721,10 +4740,63 @@ export declare enum TestIds {
4721
4740
  TemplateLoaderErrorPane = "templateLoaderErrorPane",
4722
4741
  GoToDashboardButton = "button-goToDashboard",
4723
4742
  Snackbar = "snackbar",
4743
+ SendingDomain = "EmailChannelSendingDomain",
4744
+ EmailServiceDomain = "EmailChannelServiceDomain",
4745
+ CodeName = "code-name",
4746
+ ContentTypeType = "ClassContentTypeType",
4747
+ ClassDisplayName = "ClassDisplayName",
4748
+ Namespace = "code-name-namespace",
4749
+ Name = "Name",
4750
+ RequiredCheckbox = "RequiredCheckbox",
4751
+ FieldCaption = "FieldCaption",
4752
+ FormComponent = "FormComponent",
4753
+ DataType = "DataType",
4754
+ Dialog = "dialog",
4755
+ CancelAction = "cancel-action",
4756
+ CloseCross = "xp-cancel",
4757
+ GenerateEmailContentButton = "generate-email-content-button",
4758
+ GenerateEmailSubjectBasedOnEmailContentButton = "generate-email-subject-based-on-email-content-button",
4759
+ RichTextEditorRefinementsButton = "rich-text-editor-refinements-button",
4760
+ EmailContentFieldsSelector = "email-content-fields",
4761
+ BarItem = "bar-item",
4762
+ Size = "Size",
4763
+ DraggableButton = "draggable-button",
4764
+ EmailContentFieldsChevron = "email-content-fields-dropdown-indicator",
4765
+ BindingSidePanelButton = "button-open-binding-sidepanel",
4766
+ SideNavigationVerticalMenu = "side-navigation-vertical-menu",
4767
+ EmailTemplateDisplayName = "EmailTemplateDisplayName",
4768
+ EmailTemplateSelector = "EmailTemplate",
4769
+ ContinueButton = "content-item-action-button-continue",
4770
+ CreateEmailPage = "create-email-page",
4771
+ ContentItemActionButtonCreate = "content-item-action-button-create",
4772
+ ContentItemActionButtonSave = "content-item-action-button-save",
4773
+ EmailPreviewText = "EmailPreviewText",
4774
+ EmailBody = "Body",
4775
+ ArrowSend = "xp-arrow-send",
4776
+ RefinementHeader = "refinement-header",
4777
+ RteRefinementSuggestionsList = "rte-refinement-suggestions-list",
4778
+ SubjectSuggestionsList = "email-subject-suggestions-list",
4779
+ BodySuggestionsList = "email-body-suggestions-list",
4780
+ EmailSubject = "EmailSubject",
4781
+ ProvideAdditionalParametersCheckbox = "ProvideAdditionalParametersCheckbox",
4782
+ GenerateWebsiteChannelCheckbox = "GenerateWebsiteChannelCheckbox",
4783
+ TopicAndMainMessage = "TopicAndMainMessage",
4784
+ CallToActionDescription = "CallToActionDescription",
4785
+ TargetAudience = "TargetAudience",
4786
+ WebUrls = "WebUrls",
4787
+ CustomDescription = "CustomDescription",
4788
+ MagicEdit = "xp-magic-edit",
4789
+ EditPage = "edit-page",
4790
+ ContentSource = "Source",
4791
+ MaximumNumberOfWords = "MaximumNumberOfWords",
4724
4792
  SnackbarMessage = "snackbar-item-message",
4725
4793
  AutomationNodeStatisticsCount = "statistics-count",
4726
4794
  AutomationNode = "automation-node",
4727
- EnableDisableProcessButton = "enable-disable-process-button"
4795
+ EnableDisableProcessButton = "enable-disable-process-button",
4796
+ WorkspaceSelectorDropdownGroup = "WorkspaceSelectionDropdown",
4797
+ WorkspaceSelectorDropdownActionMenu = "WorkspaceSelectorDropdownActionMenu",
4798
+ VerticalTab = "vertical-tab",
4799
+ RecalculateAutomationsStatisticsButton = "recalculate-automations-statistics-button"
4728
4800
  }
4729
4801
 
4730
4802
  export declare const TextArea: React_2.ForwardRefExoticComponent<TextAreaProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -5319,6 +5391,35 @@ declare enum VerticalMenuType {
5319
5391
  SelectGroupMenu = "select-group-menu"
5320
5392
  }
5321
5393
 
5394
+ export declare interface ViewChangeEvent {
5395
+ /**
5396
+ * Horizontal scroll position.
5397
+ */
5398
+ scrollX: number;
5399
+ /**
5400
+ * Vertical scroll position.
5401
+ */
5402
+ scrollY: number;
5403
+ /**
5404
+ * Width of the table.
5405
+ */
5406
+ width: number;
5407
+ /**
5408
+ * Height of the table.
5409
+ */
5410
+ height: number;
5411
+ scrollWidth: number;
5412
+ scrollHeight: number;
5413
+ /**
5414
+ * Width of the table content (i.e. scrollable rows).
5415
+ */
5416
+ contentWidth: number;
5417
+ /**
5418
+ * Height of the table content (i.e. scrollable rows).
5419
+ */
5420
+ contentHeight: number;
5421
+ }
5422
+
5322
5423
  export declare const ViewMenu: React_2.ForwardRefExoticComponent<ViewMenuProps & React_2.RefAttributes<HTMLDivElement>>;
5323
5424
 
5324
5425
  export declare interface ViewMenuProps extends Omit<ShelfProps, 'fullHeight'> {