@kentico/xperience-admin-components 22.0.3 → 22.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 +54 -3
- package/dist/entry.js +14 -14
- package/package.json +28 -21
package/dist/entry.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ import { MouseEvent as MouseEvent_2 } from 'react';
|
|
|
12
12
|
import { MouseEventHandler } from 'react';
|
|
13
13
|
import { MutableRefObject } from 'react';
|
|
14
14
|
import { default as React_2 } from 'react';
|
|
15
|
+
import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
|
|
16
|
+
import { ReactCodeMirrorRef } from '@uiw/react-codemirror';
|
|
15
17
|
import { ReactNode } from 'react';
|
|
16
18
|
import { RefAttributes } from 'react';
|
|
17
19
|
import { RefObject } from 'react';
|
|
@@ -355,7 +357,7 @@ declare interface BaseButtonProps extends UITestProps {
|
|
|
355
357
|
readonly dragHandleProps?: DraggableProvidedDragHandleProps;
|
|
356
358
|
}
|
|
357
359
|
|
|
358
|
-
declare interface BaseNotificationBarProps {
|
|
360
|
+
declare interface BaseNotificationBarProps extends UITestProps {
|
|
359
361
|
readonly type: NotificationBarType;
|
|
360
362
|
readonly children: string;
|
|
361
363
|
readonly onDismiss?: () => void;
|
|
@@ -608,6 +610,21 @@ export declare enum CheckboxSize {
|
|
|
608
610
|
L = "L"
|
|
609
611
|
}
|
|
610
612
|
|
|
613
|
+
export declare const CodeEditor: React_2.ForwardRefExoticComponent<CodeEditorProps & React_2.RefAttributes<ReactCodeMirrorRef>>;
|
|
614
|
+
|
|
615
|
+
export declare enum CodeEditorLanguage {
|
|
616
|
+
Html = "html",
|
|
617
|
+
Css = "css",
|
|
618
|
+
Sql = "sql",
|
|
619
|
+
Xml = "xml",
|
|
620
|
+
Javascript = "javascript"
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export declare interface CodeEditorProps extends Omit<ReactCodeMirrorProps, 'extensions' | 'readOnly' | 'editable'> {
|
|
624
|
+
readonly language: CodeEditorLanguage;
|
|
625
|
+
readonly disabled?: boolean;
|
|
626
|
+
}
|
|
627
|
+
|
|
611
628
|
export declare enum Colors {
|
|
612
629
|
AlertActive = "var(--color-alert-active)",
|
|
613
630
|
AlertBackgroundHighEmphasis = "var(--color-alert-background-high-emphasis)",
|
|
@@ -624,6 +641,17 @@ export declare enum Colors {
|
|
|
624
641
|
BackgroundSelectedHover = "var(--color-background-selected-hover)",
|
|
625
642
|
BackgroundSideMenu = "var(--color-background-side-menu)",
|
|
626
643
|
BackgroundTagDefault = "var(--color-background-tag-default)",
|
|
644
|
+
BackgroundTagGrey = "var(--color-background-tag-grey)",
|
|
645
|
+
BackgroundTagKenticoOrange = "var(--color-background-tag-kentico-orange)",
|
|
646
|
+
BackgroundTagKontentTurquoise = "var(--color-background-tag-kontent-turquoise)",
|
|
647
|
+
BackgroundTagMajorelleBlue = "var(--color-background-tag-majorelle-blue)",
|
|
648
|
+
BackgroundTagNeonGreen = "var(--color-background-tag-neon-green)",
|
|
649
|
+
BackgroundTagRose = "var(--color-background-tag-rose)",
|
|
650
|
+
BackgroundTagSkyBlue = "var(--color-background-tag-sky-blue)",
|
|
651
|
+
BackgroundTagUltramarineBlue = "var(--color-background-tag-ultramarine-blue)",
|
|
652
|
+
BackgroundTagWarmGrey = "var(--color-background-tag-warm-grey)",
|
|
653
|
+
BackgroundTagXperienceViolet = "var(--color-background-tag-xperience-violet)",
|
|
654
|
+
BackgroundTagYellow = "var(--color-background-tag-yellow)",
|
|
627
655
|
BaritemHeaderBackground = "var(--color-baritem-header-background)",
|
|
628
656
|
BorderActive = "var(--color-border-active)",
|
|
629
657
|
BorderAlert = "var(--color-border-alert)",
|
|
@@ -985,6 +1013,14 @@ export declare interface DialogProps extends DialogContentProps, UITestProps {
|
|
|
985
1013
|
* Boolean indicating if the modal should restore focus to the element that had focus prior to its display.
|
|
986
1014
|
*/
|
|
987
1015
|
readonly shouldReturnFocusAfterClose?: boolean;
|
|
1016
|
+
/**
|
|
1017
|
+
* Custom class name for the dialog.
|
|
1018
|
+
*/
|
|
1019
|
+
readonly className?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Custom class name for the dialog overlay.
|
|
1022
|
+
*/
|
|
1023
|
+
readonly overlayClassName?: string;
|
|
988
1024
|
/**
|
|
989
1025
|
* Function that will be run after the modal has closed.
|
|
990
1026
|
*/
|
|
@@ -1878,6 +1914,7 @@ export declare interface Message {
|
|
|
1878
1914
|
readonly message: string;
|
|
1879
1915
|
readonly onClose?: (id: string | number) => void;
|
|
1880
1916
|
readonly variant: SnackbarItemVariant;
|
|
1917
|
+
readonly messageAsHtml?: boolean;
|
|
1881
1918
|
}
|
|
1882
1919
|
|
|
1883
1920
|
declare interface NameButtonProps extends Pick<ToggleButtonBaseProps, 'onClick' | 'ariaLabel' | 'isSelected'> {
|
|
@@ -1902,7 +1939,7 @@ declare type NativeInputProps = Pick<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
1902
1939
|
|
|
1903
1940
|
export declare const NotificationBarAlert: ForwardRefExoticComponent<NotificationBarAlertProps & RefAttributes<HTMLDivElement>>;
|
|
1904
1941
|
|
|
1905
|
-
export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'children'> {
|
|
1942
|
+
export declare interface NotificationBarAlertProps extends Pick<BaseNotificationBarProps, 'children' | 'dataTestId'> {
|
|
1906
1943
|
readonly onDismiss: () => void;
|
|
1907
1944
|
}
|
|
1908
1945
|
|
|
@@ -2202,6 +2239,19 @@ export declare enum RowWrap {
|
|
|
2202
2239
|
WrapReverse = "wrap-reverse"
|
|
2203
2240
|
}
|
|
2204
2241
|
|
|
2242
|
+
/**
|
|
2243
|
+
* Represents position of the horizontal scrollbar
|
|
2244
|
+
* NoScroll - table content fits into its container and has no horizontal scroll
|
|
2245
|
+
* Start/End - scrolled to the start/end of the table
|
|
2246
|
+
* Scroll - scrollbar offset is between the start and end position
|
|
2247
|
+
*/
|
|
2248
|
+
export declare enum ScrollState {
|
|
2249
|
+
NoScroll = "noScroll",
|
|
2250
|
+
Start = "start",
|
|
2251
|
+
Scroll = "scroll",
|
|
2252
|
+
End = "end"
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2205
2255
|
export declare const Select: React_2.ForwardRefExoticComponent<SelectProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
2206
2256
|
|
|
2207
2257
|
export declare const SelectGroupCell: React_2.ForwardRefExoticComponent<SelectGroupCellProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -3234,7 +3284,8 @@ export declare enum Zindex {
|
|
|
3234
3284
|
AppMenu = "2000",
|
|
3235
3285
|
Dialog = "3000",
|
|
3236
3286
|
Snackbar = "6000",
|
|
3237
|
-
Tooltip = "5000"
|
|
3287
|
+
Tooltip = "5000",
|
|
3288
|
+
Prompt = "10000"
|
|
3238
3289
|
}
|
|
3239
3290
|
|
|
3240
3291
|
export { }
|