@kentico/xperience-admin-components 30.12.3 → 31.0.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 +49 -8
- package/dist/entry.js +111 -111
- package/package.json +77 -6
- package/README.md +0 -9
package/dist/entry.d.ts
CHANGED
|
@@ -363,6 +363,10 @@ declare interface BaseNotificationBarProps extends UITestProps {
|
|
|
363
363
|
*/
|
|
364
364
|
readonly className?: string;
|
|
365
365
|
readonly children: string | React.ReactNode;
|
|
366
|
+
/**
|
|
367
|
+
* Actions to be rendered in the notification bar.
|
|
368
|
+
*/
|
|
369
|
+
readonly actions?: React.ReactNode;
|
|
366
370
|
}
|
|
367
371
|
|
|
368
372
|
declare interface BaseSimpleStatusProps extends UITestProps {
|
|
@@ -1672,6 +1676,20 @@ export declare interface DropzoneProps {
|
|
|
1672
1676
|
readonly children: React.ReactNode;
|
|
1673
1677
|
}
|
|
1674
1678
|
|
|
1679
|
+
export declare const FileDropOverlay: React_2.ForwardRefExoticComponent<FileDropOverlayProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1680
|
+
|
|
1681
|
+
export declare interface FileDropOverlayProps extends Omit<DropzoneOverlayProps, 'onCurrentTransfer' | 'onUpload'> {
|
|
1682
|
+
/**
|
|
1683
|
+
* Maximum number of files allowed to be dropped at once.
|
|
1684
|
+
* If not specified, any number of files is allowed.
|
|
1685
|
+
*/
|
|
1686
|
+
readonly maxFiles?: number;
|
|
1687
|
+
/**
|
|
1688
|
+
* Callback method called when files are dropped.
|
|
1689
|
+
*/
|
|
1690
|
+
readonly onDrop: (files: FileList) => void;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1675
1693
|
/**
|
|
1676
1694
|
* 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.
|
|
1677
1695
|
*/
|
|
@@ -3535,13 +3553,13 @@ declare type NativeInputProps = Pick<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
3535
3553
|
|
|
3536
3554
|
export declare const NotificationBarAlert: ForwardRefExoticComponent<NotificationBarAlertProps & RefAttributes<HTMLDivElement>>;
|
|
3537
3555
|
|
|
3538
|
-
export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight' | 'className'> {
|
|
3556
|
+
export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight' | 'className' | 'actions'> {
|
|
3539
3557
|
readonly onDismiss?: () => void;
|
|
3540
3558
|
}
|
|
3541
3559
|
|
|
3542
3560
|
export declare const NotificationBarInfo: ForwardRefExoticComponent<NotificationBarInfoProps & RefAttributes<HTMLDivElement>>;
|
|
3543
3561
|
|
|
3544
|
-
export declare interface NotificationBarInfoProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight' | 'className'> {
|
|
3562
|
+
export declare interface NotificationBarInfoProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight' | 'className' | 'actions'> {
|
|
3545
3563
|
readonly onDismiss?: () => void;
|
|
3546
3564
|
}
|
|
3547
3565
|
|
|
@@ -3553,7 +3571,7 @@ declare enum NotificationBarType {
|
|
|
3553
3571
|
|
|
3554
3572
|
export declare const NotificationBarWarning: ForwardRefExoticComponent<NotificationBarWarningProps & RefAttributes<HTMLDivElement>>;
|
|
3555
3573
|
|
|
3556
|
-
export declare interface NotificationBarWarningProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight' | 'className'> {
|
|
3574
|
+
export declare interface NotificationBarWarningProps extends Pick<BaseNotificationBarProps, 'noAutoIncrease' | 'children' | 'childrenAsHtml' | 'dataTestId' | 'noBoldWeight' | 'className' | 'actions'> {
|
|
3557
3575
|
readonly onDismiss?: () => void;
|
|
3558
3576
|
}
|
|
3559
3577
|
|
|
@@ -4468,7 +4486,7 @@ export declare interface SpinnerProps extends Omit<IconProps, 'name'> {
|
|
|
4468
4486
|
}
|
|
4469
4487
|
|
|
4470
4488
|
export declare const SplitButton: {
|
|
4471
|
-
({ size, color,
|
|
4489
|
+
({ size, color, disabledState, inProgress, icon, open, onToggle, children, href, target, onClick, title, ...props }: SplitButtonProps): JSX_2.Element;
|
|
4472
4490
|
displayName: string;
|
|
4473
4491
|
};
|
|
4474
4492
|
|
|
@@ -4488,10 +4506,6 @@ export declare interface SplitButtonProps extends Omit<BaseButtonProps, 'renderC
|
|
|
4488
4506
|
readonly onClick?: (e: MouseEvent_2<HTMLElement>) => void;
|
|
4489
4507
|
readonly children: React.ReactNode;
|
|
4490
4508
|
readonly title?: string;
|
|
4491
|
-
/**
|
|
4492
|
-
* @deprecated Property is deprecated and will be removed in the next version. Use disabledState instead.
|
|
4493
|
-
*/
|
|
4494
|
-
readonly disabled?: boolean;
|
|
4495
4509
|
readonly disabledState?: SplitButtonDisabledState;
|
|
4496
4510
|
}
|
|
4497
4511
|
|
|
@@ -5087,6 +5101,7 @@ declare const testIds: {
|
|
|
5087
5101
|
AddCondition: "add-condition";
|
|
5088
5102
|
AddConditionGroup: "add-condition-group";
|
|
5089
5103
|
AddRoles: "add-roles-button";
|
|
5104
|
+
AddValidationRule: "add-validation-rule-button";
|
|
5090
5105
|
Adjust: "adjust-button";
|
|
5091
5106
|
Aira: "AiraButton";
|
|
5092
5107
|
AiraClose: "aira-close-button";
|
|
@@ -5125,6 +5140,7 @@ declare const testIds: {
|
|
|
5125
5140
|
EnableContentItemDelivery: "enablecontentdelivery-action";
|
|
5126
5141
|
EnableDisableProcess: "enable-disable-process-button";
|
|
5127
5142
|
Expand: "expand-button";
|
|
5143
|
+
ExpandRedirectCategory: "form-category-button-Redirect";
|
|
5128
5144
|
ExpandSplit: "expand-split-button";
|
|
5129
5145
|
Filter: "filter-button";
|
|
5130
5146
|
ForgottenPassword: "forgottenPassword";
|
|
@@ -5151,6 +5167,7 @@ declare const testIds: {
|
|
|
5151
5167
|
SelectExistingContentItem: "button-select-existing-content-item";
|
|
5152
5168
|
SelectExistingIcon: "select-existing-icon-button";
|
|
5153
5169
|
SelectPage: "select-page";
|
|
5170
|
+
SelectProductCategory: "button-select-tag";
|
|
5154
5171
|
SelectTag: "button-select-tag";
|
|
5155
5172
|
SelectWebPage: "button-select-web-page";
|
|
5156
5173
|
SettingsSave: "settings-save-button";
|
|
@@ -5193,11 +5210,13 @@ declare const testIds: {
|
|
|
5193
5210
|
OrderStatusInternalNotificationEnabledCheckbox: "OrderStatusInternalNotificationEnabledCheckbox";
|
|
5194
5211
|
PaymentMethodEnabledCheckbox: "PaymentMethodEnabledCheckbox";
|
|
5195
5212
|
ProvideAdditionalParametersCheckbox: "ProvideAdditionalParametersCheckbox";
|
|
5213
|
+
SetEndDateCheckbox: "SetEndDate";
|
|
5196
5214
|
ShippingMethodEnabledCheckbox: "ShippingMethodEnabledCheckbox";
|
|
5197
5215
|
UserEnabled: "UserEnabledCheckbox";
|
|
5198
5216
|
VisibleCheckbox: "VisibleCheckbox";
|
|
5199
5217
|
Default: "checkbox";
|
|
5200
5218
|
CodeName: "code-name-checkbox";
|
|
5219
|
+
ExpectedValueCheckbox: "ExpectedValueCheckbox";
|
|
5201
5220
|
InheritSettings: "inherit-settings";
|
|
5202
5221
|
TableRow: "table-row-checkbox";
|
|
5203
5222
|
};
|
|
@@ -5227,6 +5246,7 @@ declare const testIds: {
|
|
|
5227
5246
|
RenameFolder: "rename-folder-dialog";
|
|
5228
5247
|
RenameSmartFolder: "rename-smart-folder-dialog";
|
|
5229
5248
|
SaveSmartFolder: "save-smart-folder-dialog";
|
|
5249
|
+
ValidationRuleDialog: "validation-rule-dialog";
|
|
5230
5250
|
WebPageUrlEdit: "web-page-url-edit-dialog";
|
|
5231
5251
|
};
|
|
5232
5252
|
DropDownActionMenus: {
|
|
@@ -5338,6 +5358,12 @@ declare const testIds: {
|
|
|
5338
5358
|
Password: "password";
|
|
5339
5359
|
PaymentMethodDescription: "PaymentMethodDescription";
|
|
5340
5360
|
PaymentMethodDisplayName: "PaymentMethodDisplayName";
|
|
5361
|
+
PromotionActiveFrom: "PromotionActiveFrom";
|
|
5362
|
+
PromotionActiveTo: "PromotionActiveTo";
|
|
5363
|
+
PromotionDescription: "PromotionDescription";
|
|
5364
|
+
PromotionDiscountValue: "kxp_DiscountValue";
|
|
5365
|
+
PromotionDisplayName: "PromotionDisplayName";
|
|
5366
|
+
PromotionStatus: "PromotionStatus";
|
|
5341
5367
|
RegisterPassword: "register-password";
|
|
5342
5368
|
RoleDescription: "RoleDescription";
|
|
5343
5369
|
RoleDisplayName: "RoleDisplayName";
|
|
@@ -5373,10 +5399,12 @@ declare const testIds: {
|
|
|
5373
5399
|
DisplayNamePlaceholder: "DisplayNamePlaceholder";
|
|
5374
5400
|
EditPageName: "edit-page-name-input";
|
|
5375
5401
|
Email: "Email";
|
|
5402
|
+
ErrorMessage: "ErrorMessage";
|
|
5376
5403
|
FieldName: "field-name";
|
|
5377
5404
|
FolderDisplayName: "FolderDisplayName";
|
|
5378
5405
|
Label: "Label";
|
|
5379
5406
|
LinkText: "LinkText";
|
|
5407
|
+
MaximumLength: "MaximumLength";
|
|
5380
5408
|
NewUrl: "NewUrl";
|
|
5381
5409
|
Passcode: "passcode";
|
|
5382
5410
|
Search: "search-input";
|
|
@@ -5462,6 +5490,7 @@ declare const testIds: {
|
|
|
5462
5490
|
RadioGroups: {
|
|
5463
5491
|
AutoresponderEmailSource: "AutoresponderEmailSource";
|
|
5464
5492
|
EmailSendRadioOptions: "ImmediateSend";
|
|
5493
|
+
PromotionCustomerEligibility: "kxp_CustomerEligibility";
|
|
5465
5494
|
PublishNow: "PublishNow";
|
|
5466
5495
|
SchedulePublish: "schedule-publish";
|
|
5467
5496
|
Source: "Source";
|
|
@@ -5492,6 +5521,9 @@ declare const testIds: {
|
|
|
5492
5521
|
EmailTemplateProperties: "email-template";
|
|
5493
5522
|
OrderStatusCustomerNotificationEmailConfiguration: "OrderStatusCustomerNotificationEmailConfiguration";
|
|
5494
5523
|
PrimaryLanguage: "primary-language";
|
|
5524
|
+
ProductCategories: "kxp_ProductCategories";
|
|
5525
|
+
PromotionCategories: "kxp_Categories";
|
|
5526
|
+
PromotionProducts: "kxp_Products";
|
|
5495
5527
|
Role: "role";
|
|
5496
5528
|
ScopeWebPage: "ScopeWebPage";
|
|
5497
5529
|
WorkflowStepIconClass: "ContentWorkflowStepIconClass";
|
|
@@ -5527,6 +5559,9 @@ declare const testIds: {
|
|
|
5527
5559
|
MoveToWorkflowStep: "MoveToWorkflowStep";
|
|
5528
5560
|
NotificationEmailEventType: "NotificationEmailEventType";
|
|
5529
5561
|
NotificationTemplate: "notification-template";
|
|
5562
|
+
PromotionDiscountValueType: "kxp_DiscountValueType";
|
|
5563
|
+
PromotionRuleIdentifier: "PromotionRuleIdentifier";
|
|
5564
|
+
PromotionScope: "kxp_Scope";
|
|
5530
5565
|
RecipientAttribute: "RecipientAttribute";
|
|
5531
5566
|
Recipients: "recipients";
|
|
5532
5567
|
SelectedEmailName: "table-cell-EmailInfo";
|
|
@@ -5552,6 +5587,7 @@ declare const testIds: {
|
|
|
5552
5587
|
};
|
|
5553
5588
|
SidePanels: {
|
|
5554
5589
|
CombinedSelectorSelectExisting: "CombinedSelector.SelectExisting";
|
|
5590
|
+
ProductCategorySelector: "kxp_ProductCategories.Select";
|
|
5555
5591
|
Default: "side-panel";
|
|
5556
5592
|
Account: "account-panel";
|
|
5557
5593
|
ApplicationList: "application-list";
|
|
@@ -5589,6 +5625,7 @@ declare const testIds: {
|
|
|
5589
5625
|
Default: "tag";
|
|
5590
5626
|
};
|
|
5591
5627
|
TextAreas: {
|
|
5628
|
+
Redirect: "Redirect";
|
|
5592
5629
|
SearchedData: "searched_data";
|
|
5593
5630
|
};
|
|
5594
5631
|
TreeViews: {
|
|
@@ -5605,6 +5642,10 @@ declare const testIds: {
|
|
|
5605
5642
|
Taxonomy: "taxonomy-tree";
|
|
5606
5643
|
Template: "tree-template-treeview";
|
|
5607
5644
|
};
|
|
5645
|
+
ValidationRules: {
|
|
5646
|
+
BoolEqualsValue: "Kentico.BoolEqualsValue";
|
|
5647
|
+
MaximumStringLength: "Kentico.MaximumStringLengthFormValidationRule";
|
|
5648
|
+
};
|
|
5608
5649
|
VerticalMenus: {
|
|
5609
5650
|
Item: "vertical-menu-item";
|
|
5610
5651
|
SideNavigation: "side-navigation-vertical-menu";
|