@progress/kendo-react-layout 13.3.0-develop.9 → 13.4.0-develop.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/actionsheet/ActionSheet.d.ts +242 -0
- package/actionsheet/ActionSheetContent.d.ts +17 -0
- package/actionsheet/ActionSheetFooter.d.ts +42 -0
- package/actionsheet/ActionSheetHeader.d.ts +17 -0
- package/actionsheet/ActionSheetItem.d.ts +13 -0
- package/actionsheet/ActionSheetView.d.ts +16 -0
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +20 -0
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +76 -0
- package/appbar/AppBar.d.ts +56 -0
- package/appbar/AppBar.js +1 -1
- package/appbar/AppBar.mjs +10 -10
- package/appbar/AppBarSection.d.ts +55 -0
- package/appbar/AppBarSpacer.d.ts +56 -0
- package/appbar/interfaces/AppBarProps.d.ts +143 -0
- package/appbar/interfaces/AppBarSectionProps.d.ts +25 -0
- package/appbar/interfaces/AppBarSpacerProps.d.ts +26 -0
- package/bottomnavigation/BottomNavigation.d.ts +44 -0
- package/bottomnavigation/BottomNavigation.js +1 -1
- package/bottomnavigation/BottomNavigation.mjs +13 -13
- package/bottomnavigation/BottomNavigationItem.d.ts +19 -0
- package/bottomnavigation/BottomNavigationItem.mjs +3 -3
- package/bottomnavigation/BottomNavigationItemProps.d.ts +120 -0
- package/bottomnavigation/BottomNavigationProps.d.ts +238 -0
- package/bottomnavigation/models/events.d.ts +27 -0
- package/bottomnavigation/models/utils.d.ts +43 -0
- package/breadcrumb/Breadcrumb.d.ts +276 -0
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Breadcrumb.mjs +0 -1
- package/breadcrumb/BreadcrumbDelimiter.d.ts +50 -0
- package/breadcrumb/BreadcrumbLink.d.ts +136 -0
- package/breadcrumb/BreadcrumbLink.mjs +3 -3
- package/breadcrumb/BreadcrumbListItem.d.ts +58 -0
- package/breadcrumb/BreadcrumbOrderedList.d.ts +62 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +5 -5
- package/card/Avatar.d.ts +10 -0
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +20 -22
- package/card/Card.d.ts +11 -0
- package/card/CardActions.d.ts +10 -0
- package/card/CardActions.mjs +1 -1
- package/card/CardBody.d.ts +10 -0
- package/card/CardFooter.d.ts +10 -0
- package/card/CardHeader.d.ts +10 -0
- package/card/CardImage.d.ts +10 -0
- package/card/CardSubtitle.d.ts +10 -0
- package/card/CardTitle.d.ts +10 -0
- package/card/interfaces/AvatarProps.d.ts +141 -0
- package/card/interfaces/CardActionsProps.d.ts +76 -0
- package/card/interfaces/CardBodyProps.d.ts +36 -0
- package/card/interfaces/CardFooterProps.d.ts +36 -0
- package/card/interfaces/CardHandle.d.ts +21 -0
- package/card/interfaces/CardHeaderProps.d.ts +36 -0
- package/card/interfaces/CardImageProps.d.ts +45 -0
- package/card/interfaces/CardProps.d.ts +91 -0
- package/card/interfaces/CardSubtitleProps.d.ts +36 -0
- package/card/interfaces/CardTitleProps.d.ts +21 -0
- package/card/interfaces/Enums.d.ts +30 -0
- package/contextmenu/ContextMenu.d.ts +50 -0
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/drawer/Drawer.d.ts +52 -0
- package/drawer/DrawerContent.d.ts +48 -0
- package/drawer/DrawerItem.d.ts +37 -0
- package/drawer/DrawerNavigation.d.ts +49 -0
- package/drawer/DrawerNavigation.js +1 -1
- package/drawer/DrawerNavigation.mjs +27 -27
- package/drawer/context/DrawerContext.d.ts +27 -0
- package/drawer/interfaces/DrawerAnimation.d.ts +21 -0
- package/drawer/interfaces/DrawerContentProps.d.ts +24 -0
- package/drawer/interfaces/DrawerItemHandle.d.ts +24 -0
- package/drawer/interfaces/DrawerItemProps.d.ts +129 -0
- package/drawer/interfaces/DrawerNavigationProps.d.ts +24 -0
- package/drawer/interfaces/DrawerProps.d.ts +171 -0
- package/drawer/interfaces/DrawerSelectEvent.d.ts +22 -0
- package/expansionpanel/ExpansionPanel.d.ts +13 -0
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.d.ts +12 -0
- package/expansionpanel/index.d.ts +10 -0
- package/expansionpanel/interfaces.d.ts +99 -0
- package/gridlayout/GridLayout.d.ts +45 -0
- package/gridlayout/GridLayoutItem.d.ts +44 -0
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +21 -0
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +87 -0
- package/gridlayout/interfaces/GridLayoutProps.d.ts +144 -0
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +21 -0
- package/index.d.mts +101 -6278
- package/index.d.ts +101 -6278
- package/menu/BaseMenuItemInternalProps.d.ts +29 -0
- package/menu/MenuProps.d.ts +189 -0
- package/menu/components/Menu.d.ts +132 -0
- package/menu/components/Menu.mjs +1 -1
- package/menu/components/MenuItem.d.ts +43 -0
- package/menu/components/MenuItemArrow.d.ts +53 -0
- package/menu/components/MenuItemInternal.d.ts +70 -0
- package/menu/components/MenuItemLink.d.ts +37 -0
- package/menu/consts.d.ts +65 -0
- package/menu/events.d.ts +45 -0
- package/menu/models/BaseMenuItem.d.ts +65 -0
- package/menu/models/MenuItemModel.d.ts +30 -0
- package/menu/utils/DirectionHolder.d.ts +18 -0
- package/menu/utils/MouseOverHandler.d.ts +24 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +14 -0
- package/menu/utils/hoverDelay.d.ts +16 -0
- package/menu/utils/itemsIdsUtils.d.ts +71 -0
- package/menu/utils/itemsIdsUtils.mjs +49 -49
- package/menu/utils/misc.d.ts +23 -0
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +13 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +8 -8
- package/panelbar/PanelBar.d.ts +89 -0
- package/panelbar/PanelBarItem.d.ts +61 -0
- package/panelbar/interfaces/NavigationAction.d.ts +19 -0
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +15 -0
- package/panelbar/interfaces/PanelBarItemProps.d.ts +116 -0
- package/panelbar/interfaces/PanelBarProps.d.ts +140 -0
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +21 -0
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +22 -0
- package/panelbar/util.d.ts +63 -0
- package/splitter/Splitter.d.ts +150 -0
- package/splitter/SplitterBar.d.ts +51 -0
- package/splitter/SplitterPane.d.ts +76 -0
- package/splitter/messages/index.d.ts +17 -0
- package/stacklayout/StackLayout.d.ts +43 -0
- package/stacklayout/StackLayoutProps.d.ts +97 -0
- package/stepper/Step.d.ts +29 -0
- package/stepper/Stepper.d.ts +29 -0
- package/stepper/contants.d.ts +15 -0
- package/stepper/context/StepperContext.d.ts +30 -0
- package/stepper/interfaces/StepChangeEvent.d.ts +18 -0
- package/stepper/interfaces/StepFocusEvent.d.ts +14 -0
- package/stepper/interfaces/StepHandle.d.ts +20 -0
- package/stepper/interfaces/StepProps.d.ts +95 -0
- package/stepper/interfaces/StepperChangeEvent.d.ts +18 -0
- package/stepper/interfaces/StepperFocusEvent.d.ts +14 -0
- package/stepper/interfaces/StepperHandle.d.ts +20 -0
- package/stepper/interfaces/StepperOnNavigateEvent.d.ts +38 -0
- package/stepper/interfaces/StepperProps.d.ts +216 -0
- package/stepper/messages/index.d.ts +22 -0
- package/tabstrip/TabStrip.d.ts +297 -0
- package/tabstrip/TabStrip.js +1 -1
- package/tabstrip/TabStrip.mjs +1 -1
- package/tabstrip/TabStripContent.d.ts +70 -0
- package/tabstrip/TabStripNavigation.d.ts +144 -0
- package/tabstrip/TabStripNavigation.mjs +6 -6
- package/tabstrip/TabStripNavigationItem.d.ts +82 -0
- package/tabstrip/TabStripTab.d.ts +50 -0
- package/tabstrip/messages/index.d.ts +22 -0
- package/tilelayout/InternalTile.d.ts +112 -0
- package/tilelayout/ResizeHandlers.d.ts +27 -0
- package/tilelayout/TileLayout.d.ts +228 -0
- package/tilelayout/interfaces/index.d.ts +159 -0
- package/timeline/Timeline.d.ts +205 -0
- package/timeline/TimelineCard.d.ts +44 -0
- package/timeline/TimelineHorizontal.d.ts +10 -0
- package/timeline/TimelineHorizontal.js +1 -1
- package/timeline/TimelineHorizontal.mjs +0 -2
- package/timeline/TimelineVertical.d.ts +19 -0
- package/timeline/utils.d.ts +22 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { cardActionsLayout, cardOrientation } from './Enums.js';
|
|
9
|
+
export interface CardActionsProps {
|
|
10
|
+
/**
|
|
11
|
+
* Sets the CardActions children elements.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```jsx
|
|
15
|
+
* <CardActions>
|
|
16
|
+
* <Button>Action 1</Button>
|
|
17
|
+
* <Button>Action 2</Button>
|
|
18
|
+
* </CardActions>
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Sets additional CSS styles to the CardActions.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```jsx
|
|
27
|
+
* <CardActions style={{ justifyContent: 'center' }}>
|
|
28
|
+
* <Button>Action</Button>
|
|
29
|
+
* </CardActions>
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
/**
|
|
34
|
+
* Sets additional classes to the CardActions.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```jsx
|
|
38
|
+
* <CardActions className="custom-class">
|
|
39
|
+
* <Button>Action</Button>
|
|
40
|
+
* </CardActions>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
className?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the layout of the actions.
|
|
46
|
+
*
|
|
47
|
+
* The supported values are:
|
|
48
|
+
* * (Default) `start`
|
|
49
|
+
* * `center`
|
|
50
|
+
* * `end`
|
|
51
|
+
* * `stretched`
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```jsx
|
|
55
|
+
* <CardActions layout="center">
|
|
56
|
+
* <Button>Action</Button>
|
|
57
|
+
* </CardActions>
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
layout?: cardActionsLayout | string;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies the orientation of the Card action buttons.
|
|
63
|
+
*
|
|
64
|
+
* The possible values are:
|
|
65
|
+
* * (Default) `horizontal`
|
|
66
|
+
* * `vertical`
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```jsx
|
|
70
|
+
* <CardActions orientation="vertical">
|
|
71
|
+
* <Button>Action</Button>
|
|
72
|
+
* </CardActions>
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
orientation?: cardOrientation | string;
|
|
76
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export interface CardBodyProps {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the CardBody children elements.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```jsx
|
|
14
|
+
* <CardBody>Body Content</CardBody>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Sets additional CSS styles to the CardBody.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```jsx
|
|
23
|
+
* <CardBody style={{ padding: '20px' }}>Body Content</CardBody>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
/**
|
|
28
|
+
* Sets additional classes to the CardBody.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```jsx
|
|
32
|
+
* <CardBody className="custom-class">Body Content</CardBody>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export interface CardFooterProps {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the CardFooter children elements.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```jsx
|
|
14
|
+
* <CardFooter>Footer Content</CardFooter>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Sets additional CSS styles to the CardFooter.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```jsx
|
|
23
|
+
* <CardFooter style={{ textAlign: 'center' }}>Footer Content</CardFooter>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
/**
|
|
28
|
+
* Sets additional classes to the CardFooter.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```jsx
|
|
32
|
+
* <CardFooter className="custom-class">Footer Content</CardFooter>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { CardProps } from './CardProps.js';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the target(element and props) of the Card component.
|
|
11
|
+
*/
|
|
12
|
+
export interface CardHandle {
|
|
13
|
+
/**
|
|
14
|
+
* The current element or `null` if there is no one.
|
|
15
|
+
*/
|
|
16
|
+
element: HTMLDivElement | null;
|
|
17
|
+
/**
|
|
18
|
+
* The props values of the Card.
|
|
19
|
+
*/
|
|
20
|
+
props: CardProps;
|
|
21
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export interface CardHeaderProps {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the CardHeader children elements.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```jsx
|
|
14
|
+
* <CardHeader>Header Content</CardHeader>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Sets additional CSS styles to the CardHeader.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```jsx
|
|
23
|
+
* <CardHeader style={{ fontWeight: 'bold' }}>Header Content</CardHeader>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
/**
|
|
28
|
+
* Sets additional classes to the CardHeader.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```jsx
|
|
32
|
+
* <CardHeader className="custom-class">Header Content</CardHeader>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export interface CardImageProps {
|
|
9
|
+
/**
|
|
10
|
+
* Sets additional CSS styles to the CardImageProps.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```jsx
|
|
14
|
+
* <CardImage style={{ borderRadius: '50%' }} src="image.jpg" />
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
/**
|
|
19
|
+
* Sets additional classes to the CardImageProps.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```jsx
|
|
23
|
+
* <CardImage className="custom-class" src="image.jpg" />
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
className?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the source of the image.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```jsx
|
|
32
|
+
* <CardImage src="image.jpg" />
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
src?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies an alternate text for the image.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```jsx
|
|
41
|
+
* <CardImage src="image.jpg" alt="Description of the image" />
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
alt?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { cardType, cardOrientation } from './Enums.js';
|
|
9
|
+
export interface CardProps {
|
|
10
|
+
/**
|
|
11
|
+
* Sets the Card child elements.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```jsx
|
|
15
|
+
* <Card>
|
|
16
|
+
* <CardBody>Content</CardBody>
|
|
17
|
+
* </Card>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Sets the [dir](https://www.w3schools.com/tags/att_global_dir.asp) of the Card.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```jsx
|
|
26
|
+
* <Card dir="rtl">Content</Card>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
dir?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Sets additional CSS styles to the Card.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```jsx
|
|
35
|
+
* <Card style={{ backgroundColor: 'blue' }}>Content</Card>
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
style?: React.CSSProperties;
|
|
39
|
+
/**
|
|
40
|
+
* Sets additional classes to the Card.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```jsx
|
|
44
|
+
* <Card className="custom-class">Content</Card>
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
className?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the Card type.
|
|
50
|
+
*
|
|
51
|
+
* The supported values are:
|
|
52
|
+
* * `default`
|
|
53
|
+
* * `primary`
|
|
54
|
+
* * `info`
|
|
55
|
+
* * `success`
|
|
56
|
+
* * `warning`
|
|
57
|
+
* * `error`
|
|
58
|
+
*
|
|
59
|
+
* @default default
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```jsx
|
|
63
|
+
* <Card type="primary">Content</Card>
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
type?: cardType | string;
|
|
67
|
+
/**
|
|
68
|
+
* Sets the Card orientation.
|
|
69
|
+
*
|
|
70
|
+
* The supported values are:
|
|
71
|
+
* * `horizontal` - Default
|
|
72
|
+
* * `vertical`
|
|
73
|
+
*
|
|
74
|
+
* @default horizontal
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```jsx
|
|
78
|
+
* <Card orientation="vertical">Content</Card>
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
orientation?: cardOrientation | string;
|
|
82
|
+
/**
|
|
83
|
+
* Sets a custom property to the component DOM element.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* ```jsx
|
|
87
|
+
* <Card data-custom="value">Content</Card>
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
[customProp: string]: any;
|
|
91
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export interface CardSubtitleProps {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the CardSubtitle children elements.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```jsx
|
|
14
|
+
* <CardSubtitle>Subtitle Text</CardSubtitle>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* Sets additional CSS styles to the CardSubtitle.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```jsx
|
|
23
|
+
* <CardSubtitle style={{ color: 'red' }}>Subtitle Text</CardSubtitle>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
style?: React.CSSProperties;
|
|
27
|
+
/**
|
|
28
|
+
* Sets additional classes to the CardSubtitle.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```jsx
|
|
32
|
+
* <CardSubtitle className="custom-class">Subtitle Text</CardSubtitle>
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export interface CardTitleProps {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the CardTitle children elements.
|
|
11
|
+
*/
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Sets additional CSS styles to the CardTitle.
|
|
15
|
+
*/
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
/**
|
|
18
|
+
* Add additional classes to the CardTitle.
|
|
19
|
+
*/
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export declare enum avatarType {
|
|
9
|
+
TEXT = "text",
|
|
10
|
+
IMAGE = "image",
|
|
11
|
+
ICON = "icon"
|
|
12
|
+
}
|
|
13
|
+
export declare enum cardOrientation {
|
|
14
|
+
HORIZONTAL = "horizontal",
|
|
15
|
+
VERTICAL = "vertical"
|
|
16
|
+
}
|
|
17
|
+
export declare enum cardType {
|
|
18
|
+
DEFAULT = "default",
|
|
19
|
+
primary = "primary",
|
|
20
|
+
INFO = "info",
|
|
21
|
+
SUCCESS = "success",
|
|
22
|
+
WARNING = "warning",
|
|
23
|
+
ERROR = "error"
|
|
24
|
+
}
|
|
25
|
+
export declare enum cardActionsLayout {
|
|
26
|
+
START = "start",
|
|
27
|
+
CENTER = "center",
|
|
28
|
+
END = "end",
|
|
29
|
+
STRETCHED = "stretched"
|
|
30
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Offset } from '@progress/kendo-react-popup';
|
|
9
|
+
import { MenuProps } from '../menu/MenuProps.js';
|
|
10
|
+
import { MenuCloseEvent } from '../menu/events.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* The props of the [KendoReact ContextMenu component](https://www.telerik.com/kendo-react-ui/components/layout/contextmenu).
|
|
14
|
+
*/
|
|
15
|
+
export interface ContextMenuProps extends Omit<MenuProps, 'onClose' | 'openOnClick' | 'hoverOpenDelay' | 'hoverCloseDelay'> {
|
|
16
|
+
/**
|
|
17
|
+
* Controls the Popup visibility of the ContextMenu.
|
|
18
|
+
*
|
|
19
|
+
* Example:
|
|
20
|
+
* ```jsx
|
|
21
|
+
* <ContextMenu show={true} />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
show: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the absolute position of the ContextMenu. The Popover opens next to that point.
|
|
27
|
+
*
|
|
28
|
+
* Example:
|
|
29
|
+
* ```jsx
|
|
30
|
+
* <ContextMenu offset={{ left: 100, top: 200 }} />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
offset: Offset;
|
|
34
|
+
/**
|
|
35
|
+
* Triggers when the ContextMenu needs to hide.
|
|
36
|
+
*
|
|
37
|
+
* Example:
|
|
38
|
+
* ```jsx
|
|
39
|
+
* <ContextMenu onClose={(e) => setShow(false)} />
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
onClose: (event: MenuCloseEvent) => void;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Represents the [KendoReact ContextMenu component](https://www.telerik.com/kendo-react-ui/components/layout/contextmenu).
|
|
46
|
+
*/
|
|
47
|
+
export declare const ContextMenu: {
|
|
48
|
+
(props: ContextMenuProps): React.JSX.Element;
|
|
49
|
+
displayName: string;
|
|
50
|
+
};
|