@progress/kendo-react-layout 13.3.0 → 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,136 @@
|
|
|
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 { BaseEvent } from '@progress/kendo-react-common';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the properties of [BreadcrumbLink](https://www.telerik.com/kendo-react-ui/components/layout/api/breadcrumblink) component.
|
|
12
|
+
*/
|
|
13
|
+
export interface BreadcrumbLinkProps {
|
|
14
|
+
/**
|
|
15
|
+
* Sets the `id` property of the top `div` element of the BreadcrumbLink.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Sets additional classes to the BreadcrumbLink.
|
|
20
|
+
*/
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
/**
|
|
23
|
+
* Sets additional classes to the BreadcrumbLink.
|
|
24
|
+
*/
|
|
25
|
+
className?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the `tabIndex` attribute to the BreadcrumbLink.
|
|
28
|
+
*/
|
|
29
|
+
tabIndex?: number;
|
|
30
|
+
/**
|
|
31
|
+
* The Breadcrumb direction `ltr` or `rtl`.
|
|
32
|
+
*/
|
|
33
|
+
dir?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Determines the `disabled` mode of the BreadcrumbLink. If `true`, the component is disabled.
|
|
36
|
+
*/
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Represents the `text` of the BreadcrumbLink component.
|
|
40
|
+
*/
|
|
41
|
+
text?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Represents the `icon` of the BreadcrumbLink component.
|
|
44
|
+
*/
|
|
45
|
+
icon?: React.ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Represents the `iconClass` of the BreadcrumbLink component.
|
|
48
|
+
*/
|
|
49
|
+
iconClass?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Represents the `onItemSelect` event. Triggered after click on the BreadcrumbLink item.
|
|
52
|
+
*/
|
|
53
|
+
onItemSelect?: (event: BaseEvent<BreadcrumbLinkHandle>) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Represents the `onKeyDown` event. Triggered after key down on the BreadcrumbLink item.
|
|
56
|
+
*/
|
|
57
|
+
onKeyDown?: (event: BaseEvent<BreadcrumbLinkHandle>) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Sets the `aria-current` value.
|
|
60
|
+
*/
|
|
61
|
+
ariaCurrent?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
isLast?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
isFirst?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Represents the target (element, props, and focus()) of the `BreadcrumbClickEvent`.
|
|
73
|
+
*/
|
|
74
|
+
export interface BreadcrumbLinkHandle {
|
|
75
|
+
/**
|
|
76
|
+
* The current element or `null` if there is none.
|
|
77
|
+
*/
|
|
78
|
+
element: HTMLAnchorElement | null;
|
|
79
|
+
/**
|
|
80
|
+
* The props values of the BreadcrumbLink.
|
|
81
|
+
*/
|
|
82
|
+
props: BreadcrumbLinkProps;
|
|
83
|
+
/**
|
|
84
|
+
* The `focus` method of the BreadcrumbLink component.
|
|
85
|
+
*/
|
|
86
|
+
focus: () => void;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Represents the `BreadcrumbLink` component.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```jsx
|
|
93
|
+
* import { Breadcrumb, BreadcrumbLink } from '@progress/kendo-react-layout';
|
|
94
|
+
* const items = [
|
|
95
|
+
* {
|
|
96
|
+
* id: 'home',
|
|
97
|
+
* text: 'Home',
|
|
98
|
+
* iconClass: 'k-i-home',
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* id: 'products',
|
|
102
|
+
* text: 'Products',
|
|
103
|
+
* },
|
|
104
|
+
* {
|
|
105
|
+
* id: 'computer',
|
|
106
|
+
* text: 'Computer',
|
|
107
|
+
* }
|
|
108
|
+
* ];
|
|
109
|
+
*
|
|
110
|
+
* const App = () => {
|
|
111
|
+
* const [data,setData] = React.useState(items);
|
|
112
|
+
* const handleItemSelect = (event, id) => {
|
|
113
|
+
* const itemIndex = data.findIndex((curValue) => curValue.id === id);
|
|
114
|
+
* const newData = data.slice(0, itemIndex + 1);
|
|
115
|
+
* setData(newData);
|
|
116
|
+
* };
|
|
117
|
+
*
|
|
118
|
+
* const CustomLink = (data) => {
|
|
119
|
+
* return (
|
|
120
|
+
* <BreadcrumbLink
|
|
121
|
+
* id={data.id}
|
|
122
|
+
* text={data.text}
|
|
123
|
+
* onItemSelect={(event) => handleItemSelect(event, data.id)}
|
|
124
|
+
* />
|
|
125
|
+
* );
|
|
126
|
+
* };
|
|
127
|
+
*
|
|
128
|
+
* return (
|
|
129
|
+
* <Breadcrumb
|
|
130
|
+
* data={data}
|
|
131
|
+
* breadcrumbLink={(items) => CustomLink(items)}
|
|
132
|
+
* />
|
|
133
|
+
* )}
|
|
134
|
+
* ```
|
|
135
|
+
*/
|
|
136
|
+
export declare const BreadcrumbLink: React.ForwardRefExoticComponent<BreadcrumbLinkProps & React.RefAttributes<BreadcrumbLinkHandle | null>>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as t from "react";
|
|
9
9
|
import n from "prop-types";
|
|
10
|
-
import { dispatchEvent as l,
|
|
10
|
+
import { dispatchEvent as l, classNames as d, getTabIndex as o, useDir as k } from "@progress/kendo-react-common";
|
|
11
11
|
const r = t.forwardRef((e, s) => {
|
|
12
12
|
const c = t.useRef(null), i = t.useRef(null), m = t.useCallback(() => {
|
|
13
13
|
i.current && i.current.focus();
|
|
@@ -41,8 +41,8 @@ const r = t.forwardRef((e, s) => {
|
|
|
41
41
|
id: e.id,
|
|
42
42
|
ref: i,
|
|
43
43
|
style: e.style,
|
|
44
|
-
dir:
|
|
45
|
-
tabIndex:
|
|
44
|
+
dir: k(i, e.dir),
|
|
45
|
+
tabIndex: o(e.tabIndex, e.disabled),
|
|
46
46
|
className: d(e.className, {
|
|
47
47
|
"k-breadcrumb-root-link": e.isFirst,
|
|
48
48
|
"k-breadcrumb-link": !e.isFirst,
|
|
@@ -0,0 +1,58 @@
|
|
|
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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the properties of [BreadcrumbListItem](https://www.telerik.com/kendo-react-ui/components/layout/api/breadcrumblistitem) component.
|
|
11
|
+
*/
|
|
12
|
+
export interface BreadcrumbListItemProps {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the `id` property of the top `div` element of the BreadcrumbListItem.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Sets additional CSS styles to the BreadcrumbListItem.
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/**
|
|
22
|
+
* Sets additional classes to the BreadcrumbListItem.
|
|
23
|
+
*/
|
|
24
|
+
className?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Determines the children nodes.
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
isFirstItem: any;
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
isLastItem: any;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Represents the target (element, props, and focus()) of the BreadcrumbListItem.
|
|
40
|
+
*/
|
|
41
|
+
export interface BreadcrumbListItemHandle {
|
|
42
|
+
/**
|
|
43
|
+
* The current element or `null` if there is none.
|
|
44
|
+
*/
|
|
45
|
+
element: any;
|
|
46
|
+
/**
|
|
47
|
+
* The props values of the Breadcrumb.
|
|
48
|
+
*/
|
|
49
|
+
props: BreadcrumbListItemProps;
|
|
50
|
+
/**
|
|
51
|
+
* The `focus` method of the BreadcrumbListItem component.
|
|
52
|
+
*/
|
|
53
|
+
focus: () => void;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Represents the BreadcrumbListItem component.
|
|
57
|
+
*/
|
|
58
|
+
export declare const BreadcrumbListItem: React.ForwardRefExoticComponent<BreadcrumbListItemProps & React.RefAttributes<BreadcrumbListItemHandle | null>>;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the properties of [BreadcrumbOrderedList](https://www.telerik.com/kendo-react-ui/components/layout/api/breadcrumborderedlist) component.
|
|
11
|
+
*/
|
|
12
|
+
export interface BreadcrumbOrderedListProps {
|
|
13
|
+
/**
|
|
14
|
+
* Sets the `id` property of the top `div` element of the BreadcrumbOrderedList.
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Sets additional CSS styles to the BreadcrumbOrderedList.
|
|
19
|
+
*/
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/**
|
|
22
|
+
* Sets additional classes to the BreadcrumbOrderedList.
|
|
23
|
+
*/
|
|
24
|
+
className?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Determines the children nodes.
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the `tabIndex` attribute to the BreadcrumbOrderedList.
|
|
31
|
+
*/
|
|
32
|
+
tabIndex?: number;
|
|
33
|
+
/**
|
|
34
|
+
* The BreadcrumbOrderedList direction `ltr` or `rtl`.
|
|
35
|
+
*/
|
|
36
|
+
dir?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Determines the `disabled` mode of the BreadcrumbOrderedList. If `true`, the component is disabled.
|
|
39
|
+
*/
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
rootItem?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Represents the target (element, props, and focus()) of the BreadcrumbOrderedList.
|
|
48
|
+
*/
|
|
49
|
+
export interface BreadcrumbOrderedListHandle {
|
|
50
|
+
/**
|
|
51
|
+
* The current element or `null` if there is none.
|
|
52
|
+
*/
|
|
53
|
+
element: HTMLOListElement | null;
|
|
54
|
+
/**
|
|
55
|
+
* The props values of the BreadcrumbOrderedList.
|
|
56
|
+
*/
|
|
57
|
+
props: BreadcrumbOrderedListProps;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Represents the BreadcrumbOrderedList component.
|
|
61
|
+
*/
|
|
62
|
+
export declare const BreadcrumbOrderedList: React.ForwardRefExoticComponent<BreadcrumbOrderedListProps & React.RefAttributes<BreadcrumbOrderedListHandle | null>>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as t from "react";
|
|
9
9
|
import d from "prop-types";
|
|
10
|
-
import {
|
|
10
|
+
import { classNames as l, getTabIndex as i, useDir as n } from "@progress/kendo-react-common";
|
|
11
11
|
const m = t.forwardRef(
|
|
12
12
|
(e, s) => {
|
|
13
13
|
const r = t.useRef(null), a = t.useRef(null);
|
|
@@ -23,9 +23,9 @@ const m = t.forwardRef(
|
|
|
23
23
|
id: e.id,
|
|
24
24
|
ref: a,
|
|
25
25
|
style: e.style,
|
|
26
|
-
dir:
|
|
26
|
+
dir: n(a, e.dir),
|
|
27
27
|
tabIndex: i(e.tabIndex, e.disabled),
|
|
28
|
-
className:
|
|
28
|
+
className: l(
|
|
29
29
|
"k-breadcrumb-root-item-container",
|
|
30
30
|
{
|
|
31
31
|
"k-disabled": e.disabled
|
|
@@ -40,9 +40,9 @@ const m = t.forwardRef(
|
|
|
40
40
|
id: e.id,
|
|
41
41
|
ref: a,
|
|
42
42
|
style: e.style,
|
|
43
|
-
dir:
|
|
43
|
+
dir: n(a, e.dir),
|
|
44
44
|
tabIndex: i(e.tabIndex, e.disabled),
|
|
45
|
-
className:
|
|
45
|
+
className: l(
|
|
46
46
|
"k-breadcrumb-container !k-flex-wrap",
|
|
47
47
|
{
|
|
48
48
|
"k-disabled": e.disabled
|
package/card/Avatar.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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 { AvatarProps } from './interfaces/AvatarProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const Avatar: React.FunctionComponent<AvatarProps>;
|
package/card/Avatar.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),o=require("prop-types"),t=require("@progress/kendo-react-common"),d=require("./interfaces/Enums.js");function c(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const a in r)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(e,a,n.get?n:{enumerable:!0,get:()=>r[a]})}}return e.default=r,Object.freeze(e)}const s=c(i),l=r=>{const e={type:d.avatarType.TEXT,size:void 0,rounded:void 0,fillMode:void 0,themeColor:void 0,...r};return s.createElement("div",{style:e.style,className:t.classNames("k-avatar",{"k-avatar-bordered":e.border,[`k-rounded-${t.kendoThemeMaps.roundedMap[e.rounded]||e.rounded}`]:e.rounded,[`k-avatar-${t.kendoThemeMaps.sizeMap[e.size]||e.size}`]:e.size,[`k-avatar-${e.fillMode}`]:e.fillMode,[`k-avatar-${e.fillMode}-${e.themeColor}`]:!!(e.fillMode&&e.themeColor)},e.className)},s.createElement("span",{className:`k-avatar-${e.type}`},e.children))};l.propTypes={className:o.string,type:o.oneOf(["text","image","icon"]),size:o.oneOf(["small","medium","large"]),rounded:o.oneOf(["small","medium","large","full"]),fillMode:o.oneOf(["solid","outline"]),themeColor:o.oneOf(["base","dark","error","info","inverse","light","primary","secondary","success","tertiary","warning"])};exports.Avatar=l;
|
package/card/Avatar.mjs
CHANGED
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import * as
|
|
9
|
-
import
|
|
10
|
-
import { classNames as s, kendoThemeMaps as
|
|
8
|
+
import * as r from "react";
|
|
9
|
+
import o from "prop-types";
|
|
10
|
+
import { classNames as s, kendoThemeMaps as a } from "@progress/kendo-react-common";
|
|
11
11
|
import { avatarType as t } from "./interfaces/Enums.mjs";
|
|
12
|
-
const
|
|
12
|
+
const d = (l) => {
|
|
13
13
|
const e = {
|
|
14
14
|
type: t.TEXT,
|
|
15
|
-
size:
|
|
16
|
-
rounded:
|
|
17
|
-
fillMode:
|
|
18
|
-
themeColor:
|
|
15
|
+
size: void 0,
|
|
16
|
+
rounded: void 0,
|
|
17
|
+
fillMode: void 0,
|
|
18
|
+
themeColor: void 0,
|
|
19
19
|
...l
|
|
20
20
|
};
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ r.createElement(
|
|
22
22
|
"div",
|
|
23
23
|
{
|
|
24
24
|
style: e.style,
|
|
@@ -26,32 +26,30 @@ const i = (l) => {
|
|
|
26
26
|
"k-avatar",
|
|
27
27
|
{
|
|
28
28
|
"k-avatar-bordered": e.border,
|
|
29
|
-
[`k-rounded-${
|
|
30
|
-
[`k-avatar-${
|
|
29
|
+
[`k-rounded-${a.roundedMap[e.rounded] || e.rounded}`]: e.rounded,
|
|
30
|
+
[`k-avatar-${a.sizeMap[e.size] || e.size}`]: e.size,
|
|
31
31
|
[`k-avatar-${e.fillMode}`]: e.fillMode,
|
|
32
32
|
[`k-avatar-${e.fillMode}-${e.themeColor}`]: !!(e.fillMode && e.themeColor)
|
|
33
33
|
},
|
|
34
34
|
e.className
|
|
35
35
|
)
|
|
36
36
|
},
|
|
37
|
-
/* @__PURE__ */
|
|
37
|
+
/* @__PURE__ */ r.createElement("span", { className: `k-avatar-${e.type}` }, e.children)
|
|
38
38
|
);
|
|
39
39
|
};
|
|
40
|
-
|
|
41
|
-
className:
|
|
42
|
-
type:
|
|
43
|
-
size:
|
|
44
|
-
rounded:
|
|
45
|
-
fillMode:
|
|
40
|
+
d.propTypes = {
|
|
41
|
+
className: o.string,
|
|
42
|
+
type: o.oneOf(["text", "image", "icon"]),
|
|
43
|
+
size: o.oneOf(["small", "medium", "large"]),
|
|
44
|
+
rounded: o.oneOf(["small", "medium", "large", "full"]),
|
|
45
|
+
fillMode: o.oneOf(["solid", "outline"]),
|
|
46
46
|
/* eslint-disable max-len */
|
|
47
|
-
themeColor:
|
|
48
|
-
null,
|
|
47
|
+
themeColor: o.oneOf([
|
|
49
48
|
"base",
|
|
50
49
|
"dark",
|
|
51
50
|
"error",
|
|
52
51
|
"info",
|
|
53
52
|
"inverse",
|
|
54
|
-
"inverse",
|
|
55
53
|
"light",
|
|
56
54
|
"primary",
|
|
57
55
|
"secondary",
|
|
@@ -61,5 +59,5 @@ i.propTypes = {
|
|
|
61
59
|
])
|
|
62
60
|
};
|
|
63
61
|
export {
|
|
64
|
-
|
|
62
|
+
d as Avatar
|
|
65
63
|
};
|
package/card/Card.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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 './interfaces/CardProps.js';
|
|
9
|
+
import { CardHandle } from './interfaces/CardHandle.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<CardHandle | null>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardActionsProps } from './interfaces/CardActionsProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardActions: React.FunctionComponent<CardActionsProps>;
|
package/card/CardActions.mjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import * as e from "react";
|
|
9
9
|
import o from "prop-types";
|
|
10
10
|
import { classNames as n } from "@progress/kendo-react-common";
|
|
11
|
-
import {
|
|
11
|
+
import { cardOrientation as a, cardActionsLayout as i } from "./interfaces/Enums.mjs";
|
|
12
12
|
const s = (r) => {
|
|
13
13
|
const t = {
|
|
14
14
|
layout: i.START,
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardBodyProps } from './interfaces/CardBodyProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardBody: React.FunctionComponent<CardBodyProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardFooterProps } from './interfaces/CardFooterProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardFooter: React.FunctionComponent<CardFooterProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardHeaderProps } from './interfaces/CardHeaderProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardHeader: React.FunctionComponent<CardHeaderProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardImageProps } from './interfaces/CardImageProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardImage: React.FunctionComponent<CardImageProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardSubtitleProps } from './interfaces/CardSubtitleProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardSubtitle: React.FunctionComponent<CardSubtitleProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 { CardTitleProps } from './interfaces/CardTitleProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
export declare const CardTitle: React.FunctionComponent<CardTitleProps>;
|
|
@@ -0,0 +1,141 @@
|
|
|
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 { avatarType } from './Enums.js';
|
|
9
|
+
export interface AvatarProps {
|
|
10
|
+
/**
|
|
11
|
+
* Sets the Avatar children elements.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```jsx
|
|
15
|
+
* <Avatar>AB</Avatar>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Sets additional CSS styles to the Avatar.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```jsx
|
|
24
|
+
* <Avatar style={{ backgroundColor: 'blue' }}>AB</Avatar>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
/**
|
|
29
|
+
* Sets additional classes to the Avatar.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```jsx
|
|
33
|
+
* <Avatar className="custom-class">AB</Avatar>
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
className?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Sets the type of the Avatar.
|
|
39
|
+
*
|
|
40
|
+
* The supported values are:
|
|
41
|
+
* * `image`
|
|
42
|
+
* * `text`
|
|
43
|
+
* * `icon`
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```jsx
|
|
47
|
+
* <Avatar type="image" src="avatar.jpg" />
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
type?: avatarType | string;
|
|
51
|
+
/**
|
|
52
|
+
* Configures the `size` of the Avatar.
|
|
53
|
+
*
|
|
54
|
+
* The available options are:
|
|
55
|
+
* - small
|
|
56
|
+
* - medium
|
|
57
|
+
* - large
|
|
58
|
+
*
|
|
59
|
+
* @default undefined (theme-controlled)
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```jsx
|
|
63
|
+
* <Avatar size="large">AB</Avatar>
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
size?: 'small' | 'medium' | 'large';
|
|
67
|
+
/**
|
|
68
|
+
* Configures the `roundness` of the Avatar.
|
|
69
|
+
*
|
|
70
|
+
* The available options are:
|
|
71
|
+
* - small
|
|
72
|
+
* - medium
|
|
73
|
+
* - large
|
|
74
|
+
* - full
|
|
75
|
+
*
|
|
76
|
+
* @default undefined (theme-controlled)
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```jsx
|
|
80
|
+
* <Avatar rounded="full">AB</Avatar>
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
rounded?: 'small' | 'medium' | 'large' | 'full';
|
|
84
|
+
/**
|
|
85
|
+
* Sets a border to the Avatar.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ```jsx
|
|
89
|
+
* <Avatar border>AB</Avatar>
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
border?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Configures the `fillMode` of the Avatar.
|
|
95
|
+
*
|
|
96
|
+
* The available options are:
|
|
97
|
+
* - solid
|
|
98
|
+
* - outline
|
|
99
|
+
*
|
|
100
|
+
* @default undefined (theme-controlled)
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* ```jsx
|
|
104
|
+
* <Avatar fillMode="outline">AB</Avatar>
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
fillMode?: 'solid' | 'outline';
|
|
108
|
+
/**
|
|
109
|
+
* Configures the `themeColor` of the Avatar.
|
|
110
|
+
*
|
|
111
|
+
* The available options are:
|
|
112
|
+
* - base
|
|
113
|
+
* - primary
|
|
114
|
+
* - secondary
|
|
115
|
+
* - tertiary
|
|
116
|
+
* - info
|
|
117
|
+
* - success
|
|
118
|
+
* - error
|
|
119
|
+
* - warning
|
|
120
|
+
* - dark
|
|
121
|
+
* - light
|
|
122
|
+
* - inverse
|
|
123
|
+
*
|
|
124
|
+
* @default undefined (theme-controlled)
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```jsx
|
|
128
|
+
* <Avatar themeColor="primary">AB</Avatar>
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
themeColor?: 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'error' | 'warning' | 'dark' | 'light' | 'inverse';
|
|
132
|
+
/**
|
|
133
|
+
* Sets the URL for the image when type is 'image'.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```jsx
|
|
137
|
+
* <Avatar type="image" src="avatar.jpg" />
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
src?: string;
|
|
141
|
+
}
|