@progress/kendo-react-layout 5.13.1 → 5.14.0-dev.202305011423
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/cdn/js/kendo-react-layout.js +1 -1
- package/dist/es/bottomnavigation/BottomNavigation.js +25 -7
- package/dist/es/bottomnavigation/BottomNavigationProps.d.ts +8 -1
- package/dist/es/breadcrumb/Breadcrumb.js +2 -2
- package/dist/es/breadcrumb/BreadcrumbLink.d.ts +4 -0
- package/dist/es/breadcrumb/BreadcrumbLink.js +7 -2
- package/dist/es/breadcrumb/BreadcrumbListItem.d.ts +8 -0
- package/dist/es/breadcrumb/BreadcrumbListItem.js +4 -1
- package/dist/es/breadcrumb/BreadcrumbOrderedList.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/bottomnavigation/BottomNavigation.js +24 -6
- package/dist/npm/bottomnavigation/BottomNavigationProps.d.ts +8 -1
- package/dist/npm/breadcrumb/Breadcrumb.js +2 -2
- package/dist/npm/breadcrumb/BreadcrumbLink.d.ts +4 -0
- package/dist/npm/breadcrumb/BreadcrumbLink.js +7 -2
- package/dist/npm/breadcrumb/BreadcrumbListItem.d.ts +8 -0
- package/dist/npm/breadcrumb/BreadcrumbListItem.js +4 -1
- package/dist/npm/breadcrumb/BreadcrumbOrderedList.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-layout.js +1 -1
- package/package.json +13 -13
|
@@ -14,7 +14,7 @@ import * as PropTypes from 'prop-types';
|
|
|
14
14
|
import { validatePackage } from '@progress/kendo-react-common';
|
|
15
15
|
import { packageMetadata } from '../package-metadata';
|
|
16
16
|
import { classNames, focusFirstFocusableChild, guid, useDir, dispatchEvent, Keys } from '@progress/kendo-react-common';
|
|
17
|
-
import {
|
|
17
|
+
import { ITEM_FLOW_CLASSES, POSITION_MODE_CLASSES } from './models/utils';
|
|
18
18
|
import { BottomNavigationItem } from './BottomNavigationItem';
|
|
19
19
|
/**
|
|
20
20
|
* Represents the [KendoReact BottomNavigation component]({% slug overview_bottomnavigation %}).
|
|
@@ -50,13 +50,30 @@ export var BottomNavigation = React.forwardRef(function (props, ref) {
|
|
|
50
50
|
focus: focusElement
|
|
51
51
|
}); }, [focusElement]);
|
|
52
52
|
React.useImperativeHandle(ref, getImperativeHandle);
|
|
53
|
-
var _a = props.
|
|
53
|
+
var _a = props.positionMode, positionMode = _a === void 0 ? defaultProps.positionMode : _a, _b = props.itemFlow, itemFlow = _b === void 0 ? defaultProps.itemFlow : _b, _c = props.border, border = _c === void 0 ? defaultProps.border : _c, className = props.className, items = props.items, item = props.item, itemRender = props.itemRender, disabled = props.disabled, style = props.style, id = props.id, onSelect = props.onSelect, onKeyDown = props.onKeyDown;
|
|
54
54
|
var navId = React.useMemo(function () { return guid(); }, []);
|
|
55
55
|
var dir = useDir(elementRef, props.dir);
|
|
56
|
-
var
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
var fillMode = React.useMemo(function () {
|
|
57
|
+
if (props.fillMode === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
else if (props.fill === null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return props.fill || props.fillMode || defaultProps.fillMode;
|
|
65
|
+
}
|
|
66
|
+
}, [props.fillMode, props.fill]);
|
|
67
|
+
var themeColor = React.useMemo(function () { return props.themeColor || defaultProps.themeColor; }, [props.themeColor]);
|
|
68
|
+
var navClasses = React.useMemo(function () {
|
|
69
|
+
var _a;
|
|
70
|
+
return classNames('k-bottom-nav', POSITION_MODE_CLASSES[positionMode], ITEM_FLOW_CLASSES[itemFlow], (_a = {},
|
|
71
|
+
_a["k-bottom-nav-".concat(fillMode)] = fillMode,
|
|
72
|
+
_a["k-bottom-nav-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor),
|
|
73
|
+
_a['k-bottom-nav-border'] = border,
|
|
74
|
+
_a['k-disabled'] = disabled,
|
|
75
|
+
_a), className);
|
|
76
|
+
}, [positionMode, themeColor, fillMode, itemFlow, border, disabled, className]);
|
|
60
77
|
var dispatchSelectEvent = React.useCallback(function (dispatchedEvent, index) {
|
|
61
78
|
if (!items) {
|
|
62
79
|
return;
|
|
@@ -89,7 +106,7 @@ export var BottomNavigation = React.forwardRef(function (props, ref) {
|
|
|
89
106
|
});
|
|
90
107
|
var defaultProps = {
|
|
91
108
|
themeColor: 'primary',
|
|
92
|
-
|
|
109
|
+
fillMode: 'flat',
|
|
93
110
|
itemFlow: 'vertical',
|
|
94
111
|
positionMode: 'fixed',
|
|
95
112
|
border: true
|
|
@@ -105,6 +122,7 @@ BottomNavigation.propTypes = {
|
|
|
105
122
|
'error', 'dark', 'light', 'inverse'
|
|
106
123
|
]),
|
|
107
124
|
fill: PropTypes.oneOf(['solid', 'flat']),
|
|
125
|
+
fillMode: PropTypes.oneOf(['solid', 'flat']),
|
|
108
126
|
itemFlow: PropTypes.oneOf(['vertical', 'horizontal']),
|
|
109
127
|
border: PropTypes.bool,
|
|
110
128
|
disabled: PropTypes.bool,
|
|
@@ -38,6 +38,13 @@ export interface BottomNavigationProps {
|
|
|
38
38
|
* * `inverse` — Applies coloring based on the inverted theme color.
|
|
39
39
|
*/
|
|
40
40
|
themeColor?: BottomNavigationThemeColor;
|
|
41
|
+
/**
|
|
42
|
+
* **Deprecated**. Use `fillMode` prop instead.
|
|
43
|
+
*
|
|
44
|
+
* @deprecated
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
fill?: BottomNavigationFill;
|
|
41
48
|
/**
|
|
42
49
|
* The fill style of the BottomNavigation
|
|
43
50
|
* ([see example]({% slug appearance_bottomnavigation %}#toc-fill)).
|
|
@@ -46,7 +53,7 @@ export interface BottomNavigationProps {
|
|
|
46
53
|
* * `flat`(Default) — Sets the theme color as the text color. The background will be white.
|
|
47
54
|
* * `solid` — Sets the theme color as a background color.
|
|
48
55
|
*/
|
|
49
|
-
|
|
56
|
+
fillMode?: BottomNavigationFill;
|
|
50
57
|
/**
|
|
51
58
|
* Specifies the position and behavior of the BottomNavigation when the page is scrolled
|
|
52
59
|
* ([see example]({% slug positioning_bottomnavigation %}#toc-position-mode)).
|
|
@@ -63,9 +63,9 @@ export var Breadcrumb = React.forwardRef(function (props, ref) {
|
|
|
63
63
|
React.createElement(OrderedListComponent, null,
|
|
64
64
|
React.createElement(React.Fragment, null, props.data.map(function (item, index, data) {
|
|
65
65
|
var key = item[valueField];
|
|
66
|
-
return (React.createElement(ListItemComponent, { key: key },
|
|
66
|
+
return (React.createElement(ListItemComponent, { key: key, isFirstItem: index === 0, isLastItem: data.length - 1 === index },
|
|
67
67
|
index !== 0 && React.createElement(DelimiterComponent, null),
|
|
68
|
-
React.createElement(LinkComponent, __assign({ isLast: data.length - 1 === index, id: String(key), icon: item[iconField] || undefined, iconClass: item[iconClassField] ? String(item[iconClassField]) : undefined, text: item[textField] ? String(item[textField]) : undefined, disabled: item.disabled || false, onItemSelect: handleItemSelect, onKeyDown: handleKeyDown }, props))));
|
|
68
|
+
React.createElement(LinkComponent, __assign({ isLast: data.length - 1 === index, isFirst: index === 0, id: String(key), icon: item[iconField] || undefined, iconClass: item[iconClassField] ? String(item[iconClassField]) : undefined, text: item[textField] ? String(item[textField]) : undefined, disabled: item.disabled || false, onItemSelect: handleItemSelect, onKeyDown: handleKeyDown }, props))));
|
|
69
69
|
})))));
|
|
70
70
|
});
|
|
71
71
|
var propTypes = {
|
|
@@ -28,14 +28,19 @@ export var BreadcrumbLink = React.forwardRef(function (props, ref) {
|
|
|
28
28
|
dispatchEvent(props.onKeyDown, event, event.target, { id: props.id });
|
|
29
29
|
}
|
|
30
30
|
}, [props.onKeyDown]);
|
|
31
|
-
return (React.createElement("span", { "aria-current": props.ariaCurrent ? props.ariaCurrent : props.isLast, role: 'link', id: props.id, ref: linkRef, style: props.style, dir: useDir(linkRef, props.dir), tabIndex: getTabIndex(props.tabIndex, props.disabled), className: classNames(
|
|
31
|
+
return (React.createElement("span", { "aria-current": props.ariaCurrent ? props.ariaCurrent : props.isLast, role: 'link', id: props.id, ref: linkRef, style: props.style, dir: useDir(linkRef, props.dir), tabIndex: getTabIndex(props.tabIndex, props.disabled), className: classNames({
|
|
32
|
+
'k-breadcrumb-root-link': props.isFirst,
|
|
33
|
+
'k-breadcrumb-link': !props.isFirst,
|
|
34
|
+
'k-breadcrumb-icontext-link': props.iconClass !== undefined && props.text,
|
|
35
|
+
'k-breadcrumb-icon-link': props.iconClass !== undefined && !props.text,
|
|
32
36
|
'k-disabled': props.disabled
|
|
33
37
|
}), onClick: handleItemSelect, onKeyDown: handleKeyDown },
|
|
34
38
|
props.iconClass
|
|
35
39
|
?
|
|
36
40
|
React.createElement("span", { className: classNames('k-icon', props.iconClass) })
|
|
37
41
|
: props.icon ? props.icon : '',
|
|
38
|
-
props.text
|
|
42
|
+
props.text &&
|
|
43
|
+
React.createElement("span", { className: "k-breadcrumb-item-text" }, props.text)));
|
|
39
44
|
});
|
|
40
45
|
var propTypes = {
|
|
41
46
|
id: PropTypes.string,
|
|
@@ -19,6 +19,14 @@ export interface BreadcrumbListItemProps {
|
|
|
19
19
|
* Determines the children nodes.
|
|
20
20
|
*/
|
|
21
21
|
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
isFirstItem: any;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
isLastItem: any;
|
|
22
30
|
}
|
|
23
31
|
/**
|
|
24
32
|
* Represents the target (element, props, and focus()) of the BreadcrumbListItem.
|
|
@@ -21,7 +21,10 @@ export var BreadcrumbListItem = React.forwardRef(function (props, ref) {
|
|
|
21
21
|
props: props
|
|
22
22
|
}); });
|
|
23
23
|
React.useImperativeHandle(ref, function () { return target.current; });
|
|
24
|
-
return (React.createElement("li", { ref: breadcrumbLIRef, id: props.id, style: props.style, className: classNames('k-
|
|
24
|
+
return (React.createElement("li", { ref: breadcrumbLIRef, id: props.id, style: props.style, className: classNames('k-breadcrumb-item', {
|
|
25
|
+
'k-breadcrumb-root-item': props.isFirstItem,
|
|
26
|
+
'k-breadcrumb-last-item': props.isLastItem
|
|
27
|
+
}, props.className) }, props.children));
|
|
25
28
|
});
|
|
26
29
|
var propTypes = {
|
|
27
30
|
id: PropTypes.string,
|
|
@@ -15,7 +15,7 @@ export var BreadcrumbOrderedList = React.forwardRef(function (props, ref) {
|
|
|
15
15
|
props: props
|
|
16
16
|
}); });
|
|
17
17
|
React.useImperativeHandle(ref, function () { return target.current; });
|
|
18
|
-
return (React.createElement("ol", { id: props.id, ref: orderedListRef, style: props.style, dir: useDir(orderedListRef, props.dir), tabIndex: getTabIndex(props.tabIndex, props.disabled), className: classNames('k-breadcrumb-container
|
|
18
|
+
return (React.createElement("ol", { id: props.id, ref: orderedListRef, style: props.style, dir: useDir(orderedListRef, props.dir), tabIndex: getTabIndex(props.tabIndex, props.disabled), className: classNames('k-breadcrumb-container', {
|
|
19
19
|
'k-disabled': props.disabled
|
|
20
20
|
}, props.className) }, props.children));
|
|
21
21
|
});
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-layout',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1682949228,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -53,13 +53,30 @@ exports.BottomNavigation = React.forwardRef(function (props, ref) {
|
|
|
53
53
|
focus: focusElement
|
|
54
54
|
}); }, [focusElement]);
|
|
55
55
|
React.useImperativeHandle(ref, getImperativeHandle);
|
|
56
|
-
var _a = props.
|
|
56
|
+
var _a = props.positionMode, positionMode = _a === void 0 ? defaultProps.positionMode : _a, _b = props.itemFlow, itemFlow = _b === void 0 ? defaultProps.itemFlow : _b, _c = props.border, border = _c === void 0 ? defaultProps.border : _c, className = props.className, items = props.items, item = props.item, itemRender = props.itemRender, disabled = props.disabled, style = props.style, id = props.id, onSelect = props.onSelect, onKeyDown = props.onKeyDown;
|
|
57
57
|
var navId = React.useMemo(function () { return (0, kendo_react_common_2.guid)(); }, []);
|
|
58
58
|
var dir = (0, kendo_react_common_2.useDir)(elementRef, props.dir);
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
var fillMode = React.useMemo(function () {
|
|
60
|
+
if (props.fillMode === null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
else if (props.fill === null) {
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
return props.fill || props.fillMode || defaultProps.fillMode;
|
|
68
|
+
}
|
|
69
|
+
}, [props.fillMode, props.fill]);
|
|
70
|
+
var themeColor = React.useMemo(function () { return props.themeColor || defaultProps.themeColor; }, [props.themeColor]);
|
|
71
|
+
var navClasses = React.useMemo(function () {
|
|
72
|
+
var _a;
|
|
73
|
+
return (0, kendo_react_common_2.classNames)('k-bottom-nav', utils_1.POSITION_MODE_CLASSES[positionMode], utils_1.ITEM_FLOW_CLASSES[itemFlow], (_a = {},
|
|
74
|
+
_a["k-bottom-nav-".concat(fillMode)] = fillMode,
|
|
75
|
+
_a["k-bottom-nav-".concat(fillMode, "-").concat(themeColor)] = Boolean(fillMode && themeColor),
|
|
76
|
+
_a['k-bottom-nav-border'] = border,
|
|
77
|
+
_a['k-disabled'] = disabled,
|
|
78
|
+
_a), className);
|
|
79
|
+
}, [positionMode, themeColor, fillMode, itemFlow, border, disabled, className]);
|
|
63
80
|
var dispatchSelectEvent = React.useCallback(function (dispatchedEvent, index) {
|
|
64
81
|
if (!items) {
|
|
65
82
|
return;
|
|
@@ -92,7 +109,7 @@ exports.BottomNavigation = React.forwardRef(function (props, ref) {
|
|
|
92
109
|
});
|
|
93
110
|
var defaultProps = {
|
|
94
111
|
themeColor: 'primary',
|
|
95
|
-
|
|
112
|
+
fillMode: 'flat',
|
|
96
113
|
itemFlow: 'vertical',
|
|
97
114
|
positionMode: 'fixed',
|
|
98
115
|
border: true
|
|
@@ -108,6 +125,7 @@ exports.BottomNavigation.propTypes = {
|
|
|
108
125
|
'error', 'dark', 'light', 'inverse'
|
|
109
126
|
]),
|
|
110
127
|
fill: PropTypes.oneOf(['solid', 'flat']),
|
|
128
|
+
fillMode: PropTypes.oneOf(['solid', 'flat']),
|
|
111
129
|
itemFlow: PropTypes.oneOf(['vertical', 'horizontal']),
|
|
112
130
|
border: PropTypes.bool,
|
|
113
131
|
disabled: PropTypes.bool,
|
|
@@ -38,6 +38,13 @@ export interface BottomNavigationProps {
|
|
|
38
38
|
* * `inverse` — Applies coloring based on the inverted theme color.
|
|
39
39
|
*/
|
|
40
40
|
themeColor?: BottomNavigationThemeColor;
|
|
41
|
+
/**
|
|
42
|
+
* **Deprecated**. Use `fillMode` prop instead.
|
|
43
|
+
*
|
|
44
|
+
* @deprecated
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
fill?: BottomNavigationFill;
|
|
41
48
|
/**
|
|
42
49
|
* The fill style of the BottomNavigation
|
|
43
50
|
* ([see example]({% slug appearance_bottomnavigation %}#toc-fill)).
|
|
@@ -46,7 +53,7 @@ export interface BottomNavigationProps {
|
|
|
46
53
|
* * `flat`(Default) — Sets the theme color as the text color. The background will be white.
|
|
47
54
|
* * `solid` — Sets the theme color as a background color.
|
|
48
55
|
*/
|
|
49
|
-
|
|
56
|
+
fillMode?: BottomNavigationFill;
|
|
50
57
|
/**
|
|
51
58
|
* Specifies the position and behavior of the BottomNavigation when the page is scrolled
|
|
52
59
|
* ([see example]({% slug positioning_bottomnavigation %}#toc-position-mode)).
|
|
@@ -66,9 +66,9 @@ exports.Breadcrumb = React.forwardRef(function (props, ref) {
|
|
|
66
66
|
React.createElement(OrderedListComponent, null,
|
|
67
67
|
React.createElement(React.Fragment, null, props.data.map(function (item, index, data) {
|
|
68
68
|
var key = item[valueField];
|
|
69
|
-
return (React.createElement(ListItemComponent, { key: key },
|
|
69
|
+
return (React.createElement(ListItemComponent, { key: key, isFirstItem: index === 0, isLastItem: data.length - 1 === index },
|
|
70
70
|
index !== 0 && React.createElement(DelimiterComponent, null),
|
|
71
|
-
React.createElement(LinkComponent, __assign({ isLast: data.length - 1 === index, id: String(key), icon: item[iconField] || undefined, iconClass: item[iconClassField] ? String(item[iconClassField]) : undefined, text: item[textField] ? String(item[textField]) : undefined, disabled: item.disabled || false, onItemSelect: handleItemSelect, onKeyDown: handleKeyDown }, props))));
|
|
71
|
+
React.createElement(LinkComponent, __assign({ isLast: data.length - 1 === index, isFirst: index === 0, id: String(key), icon: item[iconField] || undefined, iconClass: item[iconClassField] ? String(item[iconClassField]) : undefined, text: item[textField] ? String(item[textField]) : undefined, disabled: item.disabled || false, onItemSelect: handleItemSelect, onKeyDown: handleKeyDown }, props))));
|
|
72
72
|
})))));
|
|
73
73
|
});
|
|
74
74
|
var propTypes = {
|
|
@@ -31,14 +31,19 @@ exports.BreadcrumbLink = React.forwardRef(function (props, ref) {
|
|
|
31
31
|
(0, kendo_react_common_1.dispatchEvent)(props.onKeyDown, event, event.target, { id: props.id });
|
|
32
32
|
}
|
|
33
33
|
}, [props.onKeyDown]);
|
|
34
|
-
return (React.createElement("span", { "aria-current": props.ariaCurrent ? props.ariaCurrent : props.isLast, role: 'link', id: props.id, ref: linkRef, style: props.style, dir: (0, kendo_react_common_1.useDir)(linkRef, props.dir), tabIndex: (0, kendo_react_common_1.getTabIndex)(props.tabIndex, props.disabled), className: (0, kendo_react_common_1.classNames)(
|
|
34
|
+
return (React.createElement("span", { "aria-current": props.ariaCurrent ? props.ariaCurrent : props.isLast, role: 'link', id: props.id, ref: linkRef, style: props.style, dir: (0, kendo_react_common_1.useDir)(linkRef, props.dir), tabIndex: (0, kendo_react_common_1.getTabIndex)(props.tabIndex, props.disabled), className: (0, kendo_react_common_1.classNames)({
|
|
35
|
+
'k-breadcrumb-root-link': props.isFirst,
|
|
36
|
+
'k-breadcrumb-link': !props.isFirst,
|
|
37
|
+
'k-breadcrumb-icontext-link': props.iconClass !== undefined && props.text,
|
|
38
|
+
'k-breadcrumb-icon-link': props.iconClass !== undefined && !props.text,
|
|
35
39
|
'k-disabled': props.disabled
|
|
36
40
|
}), onClick: handleItemSelect, onKeyDown: handleKeyDown },
|
|
37
41
|
props.iconClass
|
|
38
42
|
?
|
|
39
43
|
React.createElement("span", { className: (0, kendo_react_common_1.classNames)('k-icon', props.iconClass) })
|
|
40
44
|
: props.icon ? props.icon : '',
|
|
41
|
-
props.text
|
|
45
|
+
props.text &&
|
|
46
|
+
React.createElement("span", { className: "k-breadcrumb-item-text" }, props.text)));
|
|
42
47
|
});
|
|
43
48
|
var propTypes = {
|
|
44
49
|
id: PropTypes.string,
|
|
@@ -19,6 +19,14 @@ export interface BreadcrumbListItemProps {
|
|
|
19
19
|
* Determines the children nodes.
|
|
20
20
|
*/
|
|
21
21
|
children?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
isFirstItem: any;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
isLastItem: any;
|
|
22
30
|
}
|
|
23
31
|
/**
|
|
24
32
|
* Represents the target (element, props, and focus()) of the BreadcrumbListItem.
|
|
@@ -24,7 +24,10 @@ exports.BreadcrumbListItem = React.forwardRef(function (props, ref) {
|
|
|
24
24
|
props: props
|
|
25
25
|
}); });
|
|
26
26
|
React.useImperativeHandle(ref, function () { return target.current; });
|
|
27
|
-
return (React.createElement("li", { ref: breadcrumbLIRef, id: props.id, style: props.style, className: (0, kendo_react_common_1.classNames)('k-
|
|
27
|
+
return (React.createElement("li", { ref: breadcrumbLIRef, id: props.id, style: props.style, className: (0, kendo_react_common_1.classNames)('k-breadcrumb-item', {
|
|
28
|
+
'k-breadcrumb-root-item': props.isFirstItem,
|
|
29
|
+
'k-breadcrumb-last-item': props.isLastItem
|
|
30
|
+
}, props.className) }, props.children));
|
|
28
31
|
});
|
|
29
32
|
var propTypes = {
|
|
30
33
|
id: PropTypes.string,
|
|
@@ -18,7 +18,7 @@ exports.BreadcrumbOrderedList = React.forwardRef(function (props, ref) {
|
|
|
18
18
|
props: props
|
|
19
19
|
}); });
|
|
20
20
|
React.useImperativeHandle(ref, function () { return target.current; });
|
|
21
|
-
return (React.createElement("ol", { id: props.id, ref: orderedListRef, style: props.style, dir: (0, kendo_react_common_1.useDir)(orderedListRef, props.dir), tabIndex: (0, kendo_react_common_1.getTabIndex)(props.tabIndex, props.disabled), className: (0, kendo_react_common_1.classNames)('k-breadcrumb-container
|
|
21
|
+
return (React.createElement("ol", { id: props.id, ref: orderedListRef, style: props.style, dir: (0, kendo_react_common_1.useDir)(orderedListRef, props.dir), tabIndex: (0, kendo_react_common_1.getTabIndex)(props.tabIndex, props.disabled), className: (0, kendo_react_common_1.classNames)('k-breadcrumb-container', {
|
|
22
22
|
'k-disabled': props.disabled
|
|
23
23
|
}, props.className) }, props.children));
|
|
24
24
|
});
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-react-layout',
|
|
9
9
|
productName: 'KendoReact',
|
|
10
10
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1682949228,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
14
14
|
};
|