@kentico/xperience-admin-components 22.2.3 → 22.3.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 +45 -4
- package/dist/entry.js +13 -13
- package/package.json +22 -22
package/dist/entry.d.ts
CHANGED
|
@@ -1965,7 +1965,7 @@ export declare const NameToggleButtons: React_2.ForwardRefExoticComponent<NameTo
|
|
|
1965
1965
|
export declare interface NameToggleButtonsProps extends ToggleButtonsProps<NameToggleButton> {
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
|
-
declare type NativeInputProps = Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'disabled' | 'name' | 'onClick' | 'onKeyPress' | 'min' | 'max' | 'id' | 'placeholder' | 'tabIndex' | 'onBlur' | 'role'>;
|
|
1968
|
+
declare type NativeInputProps = Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'disabled' | 'name' | 'onClick' | 'onKeyPress' | 'min' | 'max' | 'id' | 'placeholder' | 'tabIndex' | 'onBlur' | 'role' | 'autoComplete'>;
|
|
1969
1969
|
|
|
1970
1970
|
export declare const NotificationBarAlert: ForwardRefExoticComponent<NotificationBarAlertProps & RefAttributes<HTMLDivElement>>;
|
|
1971
1971
|
|
|
@@ -2093,6 +2093,10 @@ export declare interface RadioButtonProps {
|
|
|
2093
2093
|
* The value used to identify radiobutton (required).
|
|
2094
2094
|
*/
|
|
2095
2095
|
readonly value: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* Test id data attribute.
|
|
2098
|
+
*/
|
|
2099
|
+
readonly dataTestId?: string;
|
|
2096
2100
|
/**
|
|
2097
2101
|
* State indicating radiobutton availability.
|
|
2098
2102
|
*/
|
|
@@ -2397,20 +2401,56 @@ export declare const SidePanel: React_2.ForwardRefExoticComponent<SidePanelProps
|
|
|
2397
2401
|
|
|
2398
2402
|
declare interface SidePanelContextType {
|
|
2399
2403
|
readonly getCurrentSidePanel: () => string | null;
|
|
2400
|
-
readonly addSidePanel: (sidePanelId: string) => void;
|
|
2404
|
+
readonly addSidePanel: (sidePanelId: string, ref: RefObject<HTMLDivElement>) => void;
|
|
2401
2405
|
readonly removeSidePanel: (sidePanelId: string) => void;
|
|
2406
|
+
readonly getSidePanelLevel: (sidePanelId: string) => number;
|
|
2407
|
+
readonly getOpenedSidePanelLevel: () => number;
|
|
2408
|
+
readonly getSidePanelOffset: (sidePanelId: string) => number;
|
|
2402
2409
|
}
|
|
2403
2410
|
|
|
2404
2411
|
export declare interface SidePanelProps extends UITestProps {
|
|
2412
|
+
/**
|
|
2413
|
+
* Headline of the SidePanel.
|
|
2414
|
+
*/
|
|
2405
2415
|
readonly headline: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Function called when clicking on the close and if onOutsideCloseClick not specified, too.
|
|
2418
|
+
*/
|
|
2406
2419
|
readonly onCloseClick: () => void;
|
|
2420
|
+
/**
|
|
2421
|
+
* Children of the SidePanel.
|
|
2422
|
+
*/
|
|
2407
2423
|
readonly children: React_2.ReactNode;
|
|
2424
|
+
/**
|
|
2425
|
+
* Footer of the SidePanel.
|
|
2426
|
+
*/
|
|
2408
2427
|
readonly footer: React_2.ReactNode;
|
|
2428
|
+
/**
|
|
2429
|
+
* Notification bar.
|
|
2430
|
+
*/
|
|
2409
2431
|
readonly notificationBar?: React_2.ReactNode;
|
|
2432
|
+
/**
|
|
2433
|
+
* Indicates whether the cancel button should be automatically focused
|
|
2434
|
+
* when the SidePanel is presented to the user.
|
|
2435
|
+
*/
|
|
2410
2436
|
readonly autofocusCancelButton?: boolean;
|
|
2437
|
+
/**
|
|
2438
|
+
* SidePanel size.
|
|
2439
|
+
*/
|
|
2411
2440
|
readonly size: SidePanelSize;
|
|
2441
|
+
/**
|
|
2442
|
+
* Indicates the visibility of the SidePanel.
|
|
2443
|
+
*/
|
|
2412
2444
|
readonly isVisible: boolean;
|
|
2445
|
+
/**
|
|
2446
|
+
* Class name of the SidePanel.
|
|
2447
|
+
*/
|
|
2413
2448
|
readonly className?: string;
|
|
2449
|
+
/**
|
|
2450
|
+
* If specified, when the user clicks outside the SidePanel, this function will be called.
|
|
2451
|
+
* Otherwise the SidePanel will use the default onCloseClick action.
|
|
2452
|
+
*/
|
|
2453
|
+
readonly onOutsideCloseClick?: () => void;
|
|
2414
2454
|
}
|
|
2415
2455
|
|
|
2416
2456
|
export declare const SidePanelProvider: ({ children }: SidePanelProviderProps) => JSX.Element;
|
|
@@ -2421,7 +2461,8 @@ declare interface SidePanelProviderProps {
|
|
|
2421
2461
|
|
|
2422
2462
|
export declare enum SidePanelSize {
|
|
2423
2463
|
Full = "Full",
|
|
2424
|
-
Wrapped = "Wrapped"
|
|
2464
|
+
Wrapped = "Wrapped",
|
|
2465
|
+
Stackable = "Stackable"
|
|
2425
2466
|
}
|
|
2426
2467
|
|
|
2427
2468
|
export declare enum SimpleStatusAlign {
|
|
@@ -2689,7 +2730,7 @@ export declare interface TableRow {
|
|
|
2689
2730
|
}
|
|
2690
2731
|
|
|
2691
2732
|
export declare const TableRowComponent: {
|
|
2692
|
-
({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect, onRowClick }: TableRowProps): JSX.Element;
|
|
2733
|
+
({ cells, columns, disabled, selectable, selected, skeleton, selectLabel, maxVisibleRowActions, inactiveMessage, dataTestId, onRowSelect: onSelect, onRowClick }: TableRowProps): JSX.Element;
|
|
2693
2734
|
displayName: string;
|
|
2694
2735
|
};
|
|
2695
2736
|
|