@progress/kendo-react-layout 5.4.0-dev.202205180853 → 5.4.0-dev.202205271059
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/appbar/interfaces/AppBarProps.js +1 -0
- package/dist/es/appbar/interfaces/AppBarSectionProps.js +1 -0
- package/dist/es/appbar/interfaces/AppBarSpacerProps.js +1 -0
- package/dist/es/bottomnavigation/BottomNavigationItemProps.js +1 -0
- package/dist/es/bottomnavigation/BottomNavigationProps.js +1 -0
- package/dist/es/bottomnavigation/models/events.js +1 -0
- package/dist/es/bottomnavigation/models/utils.d.ts +16 -16
- package/dist/es/card/Card.js +5 -4
- package/dist/es/card/interfaces/AvatarProps.js +1 -0
- package/dist/es/card/interfaces/CardActionsProps.js +1 -0
- package/dist/es/card/interfaces/CardBodyProps.js +1 -0
- package/dist/es/card/interfaces/CardFooterProps.js +1 -0
- package/dist/es/card/interfaces/CardHandle.js +1 -0
- package/dist/es/card/interfaces/CardHeaderProps.js +1 -0
- package/dist/es/card/interfaces/CardImageProps.js +1 -0
- package/dist/es/card/interfaces/CardProps.js +1 -0
- package/dist/es/card/interfaces/CardSubtitleProps.js +1 -0
- package/dist/es/card/interfaces/CardTitleProps.js +1 -0
- package/dist/es/drawer/DrawerItem.js +4 -2
- package/dist/es/drawer/DrawerNavigation.js +2 -2
- package/dist/es/drawer/interfaces/DrawerAnimation.js +1 -0
- package/dist/es/drawer/interfaces/DrawerContentProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerItemHandle.js +1 -0
- package/dist/es/drawer/interfaces/DrawerItemProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerNavigationProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerProps.js +1 -0
- package/dist/es/drawer/interfaces/DrawerSelectEvent.js +1 -0
- package/dist/es/expansionpanel/index.js +1 -0
- package/dist/es/expansionpanel/interfaces.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutColumnProps.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutItemProps.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutProps.js +1 -0
- package/dist/es/gridlayout/interfaces/GridLayoutRowProps.js +1 -0
- package/dist/es/main.js +37 -0
- package/dist/es/menu/BaseMenuItemInternalProps.js +1 -0
- package/dist/es/menu/MenuProps.js +1 -0
- package/dist/es/menu/components/Menu.js +3 -1
- package/dist/es/menu/components/MenuItem.js +3 -1
- package/dist/es/menu/components/MenuItemArrow.js +3 -1
- package/dist/es/menu/components/MenuItemInternal.d.ts +4 -4
- package/dist/es/menu/components/MenuItemInternal.js +7 -5
- package/dist/es/menu/components/MenuItemInternalsList.js +3 -1
- package/dist/es/menu/components/MenuItemLink.js +3 -1
- package/dist/es/menu/events.js +1 -0
- package/dist/es/menu/models/BaseMenuItem.js +1 -0
- package/dist/es/menu/models/MenuItemModel.js +1 -0
- package/dist/es/menu/utils/MouseOverHandler.d.ts +2 -2
- package/dist/es/menu/utils/MouseOverHandler.js +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/panelbar/PanelBar.d.ts +4 -4
- package/dist/es/panelbar/PanelBar.js +15 -8
- package/dist/es/panelbar/PanelBarItem.js +5 -3
- package/dist/es/panelbar/interfaces/PanelBarItemClickEventArguments.js +1 -0
- package/dist/es/panelbar/interfaces/PanelBarItemProps.js +1 -0
- package/dist/es/panelbar/interfaces/PanelBarProps.js +1 -0
- package/dist/es/panelbar/interfaces/PanelBarSelectEventArguments.js +1 -0
- package/dist/es/panelbar/interfaces/RenderPanelBarItem.js +1 -0
- package/dist/es/panelbar/util.js +8 -3
- package/dist/es/splitter/Splitter.d.ts +5 -5
- package/dist/es/splitter/Splitter.js +16 -14
- package/dist/es/splitter/SplitterBar.d.ts +3 -3
- package/dist/es/splitter/SplitterBar.js +7 -5
- package/dist/es/splitter/SplitterPane.js +3 -1
- package/dist/es/stacklayout/StackLayoutProps.js +1 -0
- package/dist/es/stepper/Step.js +4 -2
- package/dist/es/stepper/interfaces/StepChangeEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepFocusEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepHandle.js +1 -0
- package/dist/es/stepper/interfaces/StepProps.js +1 -0
- package/dist/es/stepper/interfaces/StepperChangeEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepperFocusEvent.js +1 -0
- package/dist/es/stepper/interfaces/StepperHandle.js +1 -0
- package/dist/es/stepper/interfaces/StepperProps.js +1 -0
- package/dist/es/stepper/messages/index.d.ts +1 -1
- package/dist/es/tabstrip/TabStrip.js +4 -2
- package/dist/es/tabstrip/TabStripContent.js +4 -2
- package/dist/es/tabstrip/TabStripNavigation.js +3 -1
- package/dist/es/tabstrip/TabStripNavigationItem.js +3 -1
- package/dist/es/tabstrip/TabStripTab.d.ts +4 -0
- package/dist/es/tabstrip/TabStripTab.js +9 -1
- package/dist/es/tilelayout/InternalTile.d.ts +2 -2
- package/dist/es/tilelayout/InternalTile.js +5 -3
- package/dist/es/tilelayout/ResizeHandlers.js +3 -1
- package/dist/es/tilelayout/TileLayout.d.ts +1 -1
- package/dist/es/tilelayout/TileLayout.js +4 -2
- package/dist/es/tilelayout/interfaces/main.js +1 -0
- package/dist/npm/appbar/AppBar.js +1 -0
- package/dist/npm/appbar/AppBarSection.js +1 -0
- package/dist/npm/appbar/AppBarSpacer.js +1 -0
- package/dist/npm/bottomnavigation/BottomNavigation.js +1 -0
- package/dist/npm/bottomnavigation/BottomNavigationItem.js +1 -0
- package/dist/npm/bottomnavigation/models/utils.d.ts +16 -16
- package/dist/npm/bottomnavigation/models/utils.js +1 -0
- package/dist/npm/breadcrumb/Breadcrumb.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbDelimiter.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbLink.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbListItem.js +1 -0
- package/dist/npm/breadcrumb/BreadcrumbOrderedList.js +1 -0
- package/dist/npm/card/Avatar.js +3 -1
- package/dist/npm/card/Card.js +6 -4
- package/dist/npm/card/CardActions.js +3 -1
- package/dist/npm/card/CardBody.js +3 -1
- package/dist/npm/card/CardFooter.js +3 -1
- package/dist/npm/card/CardHeader.js +3 -1
- package/dist/npm/card/CardImage.js +3 -1
- package/dist/npm/card/CardSubtitle.js +3 -1
- package/dist/npm/card/CardTitle.js +3 -1
- package/dist/npm/card/interfaces/Enums.js +1 -0
- package/dist/npm/drawer/Drawer.js +1 -0
- package/dist/npm/drawer/DrawerContent.js +1 -0
- package/dist/npm/drawer/DrawerItem.js +5 -2
- package/dist/npm/drawer/DrawerNavigation.js +3 -2
- package/dist/npm/drawer/context/DrawerContext.js +1 -0
- package/dist/npm/expansionpanel/ExpansionPanel.js +1 -0
- package/dist/npm/expansionpanel/ExpansionPanelContent.js +1 -0
- package/dist/npm/expansionpanel/index.js +13 -5
- package/dist/npm/gridlayout/GridLayout.js +1 -0
- package/dist/npm/gridlayout/GridLayoutItem.js +1 -0
- package/dist/npm/main.js +91 -47
- package/dist/npm/menu/components/Menu.js +4 -1
- package/dist/npm/menu/components/MenuItem.js +4 -1
- package/dist/npm/menu/components/MenuItemArrow.js +4 -1
- package/dist/npm/menu/components/MenuItemInternal.d.ts +4 -4
- package/dist/npm/menu/components/MenuItemInternal.js +8 -5
- package/dist/npm/menu/components/MenuItemInternalsList.js +4 -1
- package/dist/npm/menu/components/MenuItemLink.js +4 -1
- package/dist/npm/menu/consts.js +1 -0
- package/dist/npm/menu/utils/DirectionHolder.js +1 -0
- package/dist/npm/menu/utils/MouseOverHandler.d.ts +2 -2
- package/dist/npm/menu/utils/MouseOverHandler.js +3 -2
- package/dist/npm/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -0
- package/dist/npm/menu/utils/hoverDelay.js +1 -0
- package/dist/npm/menu/utils/itemsIdsUtils.js +1 -0
- package/dist/npm/menu/utils/misc.js +1 -0
- package/dist/npm/menu/utils/prepareInputItemsForInternalWork.js +1 -0
- package/dist/npm/package-metadata.js +2 -1
- package/dist/npm/panelbar/PanelBar.d.ts +4 -4
- package/dist/npm/panelbar/PanelBar.js +16 -8
- package/dist/npm/panelbar/PanelBarItem.js +6 -3
- package/dist/npm/panelbar/interfaces/NavigationAction.js +1 -0
- package/dist/npm/panelbar/util.js +19 -8
- package/dist/npm/splitter/Splitter.d.ts +5 -5
- package/dist/npm/splitter/Splitter.js +17 -14
- package/dist/npm/splitter/SplitterBar.d.ts +3 -3
- package/dist/npm/splitter/SplitterBar.js +8 -5
- package/dist/npm/splitter/SplitterPane.js +4 -1
- package/dist/npm/stacklayout/StackLayout.js +1 -0
- package/dist/npm/stepper/Step.js +5 -2
- package/dist/npm/stepper/Stepper.js +1 -0
- package/dist/npm/stepper/contants.js +1 -0
- package/dist/npm/stepper/context/StepperContext.js +1 -0
- package/dist/npm/stepper/interfaces/StepperOnNavigateEvent.js +1 -0
- package/dist/npm/stepper/messages/index.d.ts +1 -1
- package/dist/npm/stepper/messages/index.js +2 -1
- package/dist/npm/tabstrip/TabStrip.js +5 -2
- package/dist/npm/tabstrip/TabStripContent.js +5 -2
- package/dist/npm/tabstrip/TabStripNavigation.js +4 -1
- package/dist/npm/tabstrip/TabStripNavigationItem.js +4 -1
- package/dist/npm/tabstrip/TabStripTab.d.ts +4 -0
- package/dist/npm/tabstrip/TabStripTab.js +10 -1
- package/dist/npm/tilelayout/InternalTile.d.ts +2 -2
- package/dist/npm/tilelayout/InternalTile.js +6 -3
- package/dist/npm/tilelayout/ResizeHandlers.js +4 -1
- package/dist/npm/tilelayout/TileLayout.d.ts +1 -1
- package/dist/npm/tilelayout/TileLayout.js +5 -2
- package/dist/systemjs/kendo-react-layout.js +1 -1
- package/package.json +13 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
* @hidden
|
|
3
3
|
*/
|
|
4
4
|
export declare const THEME_COLOR_CLASSES: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
primary: string;
|
|
6
|
+
secondary: string;
|
|
7
|
+
tertiary: string;
|
|
8
|
+
info: string;
|
|
9
|
+
success: string;
|
|
10
|
+
warning: string;
|
|
11
|
+
error: string;
|
|
12
|
+
dark: string;
|
|
13
|
+
light: string;
|
|
14
|
+
inverse: string;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* @hidden
|
|
18
18
|
*/
|
|
19
19
|
export declare const FILL_CLASSES: {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
flat: string;
|
|
21
|
+
solid: string;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
26
|
export declare const ITEM_FLOW_CLASSES: {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
vertical: string;
|
|
28
|
+
horizontal: string;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* @hidden
|
|
32
32
|
*/
|
|
33
33
|
export declare const POSITION_MODE_CLASSES: {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
fixed: string;
|
|
35
|
+
sticky: string;
|
|
36
36
|
};
|
package/dist/es/card/Card.js
CHANGED
|
@@ -14,8 +14,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
14
14
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
15
|
t[p] = s[p];
|
|
16
16
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
18
|
-
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
19
21
|
return t;
|
|
20
22
|
};
|
|
21
23
|
import * as React from 'react';
|
|
@@ -49,6 +51,5 @@ Card.propTypes = {
|
|
|
49
51
|
};
|
|
50
52
|
Card.defaultProps = {
|
|
51
53
|
type: cardType.DEFAULT,
|
|
52
|
-
orientation: cardOrientation.VERTICAL
|
|
53
|
-
dir: 'ltr'
|
|
54
|
+
orientation: cardOrientation.VERTICAL
|
|
54
55
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -14,8 +14,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
14
14
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
15
|
t[p] = s[p];
|
|
16
16
|
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
|
18
|
-
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
19
21
|
return t;
|
|
20
22
|
};
|
|
21
23
|
import * as React from 'react';
|
|
@@ -126,11 +126,11 @@ export var DrawerNavigation = React.forwardRef(function (props, target) {
|
|
|
126
126
|
mini ? collapseOverlayMini : collapseOverlayRtl;
|
|
127
127
|
var drawerItems = (items && (React.createElement("ul", { className: 'k-drawer-items', role: "listbox", "aria-label": "drawer-list", "aria-expanded": expanded }, items
|
|
128
128
|
.map(function (element, index) {
|
|
129
|
-
var drawerItemProps = __assign({ index: index }, element, { onSelect: onSelect });
|
|
129
|
+
var drawerItemProps = __assign(__assign({ index: index }, element), { onSelect: onSelect });
|
|
130
130
|
var ItemComp = item || DrawerItem;
|
|
131
131
|
return (React.createElement(ItemComp, __assign({ key: index }, drawerItemProps)));
|
|
132
132
|
}))));
|
|
133
|
-
var drawerNavigation = (React.createElement("div", { style: customSettings ? __assign({}, drawerAnimation, style) : style, className: navigationClassNames, ref: elementRef },
|
|
133
|
+
var drawerNavigation = (React.createElement("div", { style: customSettings ? __assign(__assign({}, drawerAnimation), style) : style, className: navigationClassNames, ref: elementRef },
|
|
134
134
|
React.createElement("div", { className: 'k-drawer-wrapper', style: !expanded && mini && mode === 'overlay' ? { width: navMiniWidth } : { width: navWidth } }, drawerItems || children)));
|
|
135
135
|
return (mode === 'overlay' ?
|
|
136
136
|
(React.createElement(React.Fragment, null,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/es/main.js
CHANGED
|
@@ -6,10 +6,16 @@ export * from './tabstrip/TabStripTab';
|
|
|
6
6
|
export * from './panelbar/PanelBar';
|
|
7
7
|
export * from './panelbar/PanelBarItem';
|
|
8
8
|
export * from './panelbar/util';
|
|
9
|
+
export * from './panelbar/interfaces/PanelBarProps';
|
|
10
|
+
export * from './panelbar/interfaces/PanelBarItemProps';
|
|
11
|
+
export * from './panelbar/interfaces/RenderPanelBarItem';
|
|
12
|
+
export * from './panelbar/interfaces/PanelBarSelectEventArguments';
|
|
9
13
|
export * from './menu/components/Menu';
|
|
10
14
|
export * from './menu/components/MenuItemLink';
|
|
11
15
|
export * from './menu/components/MenuItem';
|
|
12
16
|
export * from './menu/components/MenuItemArrow';
|
|
17
|
+
export * from './menu/models/MenuItemModel';
|
|
18
|
+
export * from './menu/events';
|
|
13
19
|
export * from './splitter/Splitter';
|
|
14
20
|
export * from './splitter/SplitterPane';
|
|
15
21
|
export * from './card/Card';
|
|
@@ -20,22 +26,53 @@ export * from './card/CardActions';
|
|
|
20
26
|
export * from './card/CardImage';
|
|
21
27
|
export * from './card/CardSubtitle';
|
|
22
28
|
export * from './card/CardFooter';
|
|
29
|
+
export * from './card/interfaces/CardProps';
|
|
30
|
+
export * from './card/interfaces/CardHandle';
|
|
31
|
+
export * from './card/interfaces/AvatarProps';
|
|
32
|
+
export * from './card/interfaces/CardActionsProps';
|
|
23
33
|
export * from './card/Avatar';
|
|
24
34
|
export * from './drawer/Drawer';
|
|
35
|
+
export * from './drawer/interfaces/DrawerProps';
|
|
25
36
|
export * from './drawer/DrawerNavigation';
|
|
37
|
+
export * from './drawer/interfaces/DrawerNavigationProps';
|
|
26
38
|
export * from './drawer/DrawerContent';
|
|
39
|
+
export * from './drawer/interfaces/DrawerContentProps';
|
|
27
40
|
export * from './drawer/DrawerItem';
|
|
41
|
+
export * from './drawer/interfaces/DrawerItemHandle';
|
|
42
|
+
export * from './drawer/interfaces/DrawerItemProps';
|
|
43
|
+
export * from './drawer/interfaces/DrawerSelectEvent';
|
|
44
|
+
export * from './drawer/interfaces/DrawerAnimation';
|
|
28
45
|
export * from './stepper/Stepper';
|
|
46
|
+
export * from './stepper/interfaces/StepperProps';
|
|
47
|
+
export * from './stepper/interfaces/StepperHandle';
|
|
48
|
+
export * from './stepper/interfaces/StepperChangeEvent';
|
|
49
|
+
export * from './stepper/interfaces/StepperFocusEvent';
|
|
29
50
|
export * from './stepper/Step';
|
|
51
|
+
export * from './stepper/interfaces/StepProps';
|
|
52
|
+
export * from './stepper/interfaces/StepHandle';
|
|
53
|
+
export * from './stepper/interfaces/StepChangeEvent';
|
|
54
|
+
export * from './stepper/interfaces/StepFocusEvent';
|
|
30
55
|
export * from './appbar/AppBar';
|
|
56
|
+
export * from './appbar/interfaces/AppBarProps';
|
|
31
57
|
export * from './appbar/AppBarSection';
|
|
58
|
+
export * from './appbar/interfaces/AppBarSectionProps';
|
|
32
59
|
export * from './appbar/AppBarSpacer';
|
|
60
|
+
export * from './appbar/interfaces/AppBarSpacerProps';
|
|
33
61
|
export * from './tilelayout/TileLayout';
|
|
62
|
+
export * from './tilelayout/interfaces/main';
|
|
34
63
|
export * from './bottomnavigation/BottomNavigation';
|
|
64
|
+
export * from './bottomnavigation/BottomNavigationProps';
|
|
35
65
|
export * from './bottomnavigation/BottomNavigationItem';
|
|
66
|
+
export * from './bottomnavigation/BottomNavigationItemProps';
|
|
67
|
+
export * from './bottomnavigation/models/events';
|
|
36
68
|
export * from './stacklayout/StackLayout';
|
|
69
|
+
export * from './stacklayout/StackLayoutProps';
|
|
37
70
|
export * from './gridlayout/GridLayout';
|
|
38
71
|
export * from './gridlayout/GridLayoutItem';
|
|
72
|
+
export * from './gridlayout/interfaces/GridLayoutProps';
|
|
73
|
+
export * from './gridlayout/interfaces/GridLayoutItemProps';
|
|
74
|
+
export * from './gridlayout/interfaces/GridLayoutRowProps';
|
|
75
|
+
export * from './gridlayout/interfaces/GridLayoutColumnProps';
|
|
39
76
|
export * from './breadcrumb/Breadcrumb';
|
|
40
77
|
export * from './breadcrumb/BreadcrumbOrderedList';
|
|
41
78
|
export * from './breadcrumb/BreadcrumbListItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -31,10 +31,10 @@ export declare class MenuItemInternal extends React.Component<MenuItemInternalPr
|
|
|
31
31
|
private renderArrowIfApplicable;
|
|
32
32
|
private onMouseOver;
|
|
33
33
|
private onMouseLeave;
|
|
34
|
-
private
|
|
35
|
-
private
|
|
36
|
-
private
|
|
37
|
-
private
|
|
34
|
+
private get itemRender();
|
|
35
|
+
private get linkRender();
|
|
36
|
+
private get contentRender();
|
|
37
|
+
private get Opened();
|
|
38
38
|
private getPopupClassName;
|
|
39
39
|
private getMenuItemClassName;
|
|
40
40
|
}
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -118,21 +120,21 @@ var MenuItemInternal = /** @class */ (function (_super) {
|
|
|
118
120
|
get: function () {
|
|
119
121
|
return this.props.item.render || this.props.itemRender;
|
|
120
122
|
},
|
|
121
|
-
enumerable:
|
|
123
|
+
enumerable: false,
|
|
122
124
|
configurable: true
|
|
123
125
|
});
|
|
124
126
|
Object.defineProperty(MenuItemInternal.prototype, "linkRender", {
|
|
125
127
|
get: function () {
|
|
126
128
|
return this.props.item.linkRender || this.props.linkRender;
|
|
127
129
|
},
|
|
128
|
-
enumerable:
|
|
130
|
+
enumerable: false,
|
|
129
131
|
configurable: true
|
|
130
132
|
});
|
|
131
133
|
Object.defineProperty(MenuItemInternal.prototype, "contentRender", {
|
|
132
134
|
get: function () {
|
|
133
135
|
return this.props.item.contentParentItemId ? this.props.item.contentRender : null;
|
|
134
136
|
},
|
|
135
|
-
enumerable:
|
|
137
|
+
enumerable: false,
|
|
136
138
|
configurable: true
|
|
137
139
|
});
|
|
138
140
|
Object.defineProperty(MenuItemInternal.prototype, "Opened", {
|
|
@@ -144,7 +146,7 @@ var MenuItemInternal = /** @class */ (function (_super) {
|
|
|
144
146
|
// popup inside popup throws an error (for example, hover of item with id '0_0').
|
|
145
147
|
!this.isFirstRender;
|
|
146
148
|
},
|
|
147
|
-
enumerable:
|
|
149
|
+
enumerable: false,
|
|
148
150
|
configurable: true
|
|
149
151
|
});
|
|
150
152
|
MenuItemInternal.prototype.getPopupClassName = function () {
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
package/dist/es/menu/events.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,9 +8,9 @@ export declare class MouseOverHandler {
|
|
|
8
8
|
private isMouseOverEnabled;
|
|
9
9
|
private mouseDown;
|
|
10
10
|
constructor(openOnClick: boolean | undefined, resetMenu: any, openItem: any);
|
|
11
|
-
OpenOnClick: boolean | undefined;
|
|
11
|
+
set OpenOnClick(value: boolean | undefined);
|
|
12
12
|
handleItemSelectedViaKeyboard(): void;
|
|
13
|
-
|
|
13
|
+
get IsMouseOverEnabled(): boolean;
|
|
14
14
|
handleItemMouseDown(): void;
|
|
15
15
|
handleItemFocus(): void;
|
|
16
16
|
handleItemClick(itemId: string, clickedItemIsWithDefaultClose: boolean): void;
|
|
@@ -17,7 +17,7 @@ var MouseOverHandler = /** @class */ (function () {
|
|
|
17
17
|
}
|
|
18
18
|
this.openOnClick = value;
|
|
19
19
|
},
|
|
20
|
-
enumerable:
|
|
20
|
+
enumerable: false,
|
|
21
21
|
configurable: true
|
|
22
22
|
});
|
|
23
23
|
MouseOverHandler.prototype.handleItemSelectedViaKeyboard = function () {
|
|
@@ -30,7 +30,7 @@ var MouseOverHandler = /** @class */ (function () {
|
|
|
30
30
|
get: function () {
|
|
31
31
|
return this.isMouseOverEnabled;
|
|
32
32
|
},
|
|
33
|
-
enumerable:
|
|
33
|
+
enumerable: false,
|
|
34
34
|
configurable: true
|
|
35
35
|
});
|
|
36
36
|
MouseOverHandler.prototype.handleItemMouseDown = function () {
|
|
@@ -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: 1653648336,
|
|
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
|
};
|
|
@@ -44,10 +44,10 @@ export declare class PanelBar extends React.Component<PanelBarProps, PanelBarSta
|
|
|
44
44
|
private activeDescendant?;
|
|
45
45
|
private _element;
|
|
46
46
|
private nextTickId;
|
|
47
|
-
private
|
|
48
|
-
private
|
|
49
|
-
private
|
|
50
|
-
private
|
|
47
|
+
private get expandMode();
|
|
48
|
+
private get selectedItem();
|
|
49
|
+
private get expandedItems();
|
|
50
|
+
private get children();
|
|
51
51
|
constructor(props: PanelBarProps);
|
|
52
52
|
/**
|
|
53
53
|
* @hidden
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -22,6 +24,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
22
24
|
};
|
|
23
25
|
return __assign.apply(this, arguments);
|
|
24
26
|
};
|
|
27
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
|
|
28
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
29
|
+
to[j] = from[i];
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
25
32
|
import * as React from 'react';
|
|
26
33
|
import * as PropTypes from 'prop-types';
|
|
27
34
|
import { PanelBarItem } from './PanelBarItem';
|
|
@@ -56,10 +63,10 @@ var PanelBar = /** @class */ (function (_super) {
|
|
|
56
63
|
});
|
|
57
64
|
switch (_this.expandMode) {
|
|
58
65
|
case 'single':
|
|
59
|
-
newExpanded = selectedChild.props.parentUniquePrivateKey
|
|
66
|
+
newExpanded = __spreadArray(__spreadArray([], selectedChild.props.parentUniquePrivateKey), [selectedChild.props.uniquePrivateKey]);
|
|
60
67
|
if (isArrayEqual(_this.expandedItems, newExpanded)) {
|
|
61
68
|
if (selectedChild.props.parentUniquePrivateKey) {
|
|
62
|
-
newExpanded = selectedChild.props.parentUniquePrivateKey
|
|
69
|
+
newExpanded = __spreadArray([], selectedChild.props.parentUniquePrivateKey);
|
|
63
70
|
}
|
|
64
71
|
else {
|
|
65
72
|
newExpanded = [];
|
|
@@ -180,7 +187,7 @@ var PanelBar = /** @class */ (function (_super) {
|
|
|
180
187
|
get: function () {
|
|
181
188
|
return this.props.expandMode || 'multiple';
|
|
182
189
|
},
|
|
183
|
-
enumerable:
|
|
190
|
+
enumerable: false,
|
|
184
191
|
configurable: true
|
|
185
192
|
});
|
|
186
193
|
Object.defineProperty(PanelBar.prototype, "selectedItem", {
|
|
@@ -188,7 +195,7 @@ var PanelBar = /** @class */ (function (_super) {
|
|
|
188
195
|
var _a = this.props.selected, selected = _a === void 0 ? this.state.selected : _a;
|
|
189
196
|
return selected;
|
|
190
197
|
},
|
|
191
|
-
enumerable:
|
|
198
|
+
enumerable: false,
|
|
192
199
|
configurable: true
|
|
193
200
|
});
|
|
194
201
|
Object.defineProperty(PanelBar.prototype, "expandedItems", {
|
|
@@ -196,12 +203,12 @@ var PanelBar = /** @class */ (function (_super) {
|
|
|
196
203
|
var expanded = this.props.isControlled ? this.props.expanded || [] : this.state.expanded;
|
|
197
204
|
return expanded;
|
|
198
205
|
},
|
|
199
|
-
enumerable:
|
|
206
|
+
enumerable: false,
|
|
200
207
|
configurable: true
|
|
201
208
|
});
|
|
202
209
|
Object.defineProperty(PanelBar.prototype, "children", {
|
|
203
210
|
get: function () {
|
|
204
|
-
var state = __assign({}, this.state, { selected: this.selectedItem });
|
|
211
|
+
var state = __assign(__assign({}, this.state), { selected: this.selectedItem });
|
|
205
212
|
var renderState = {
|
|
206
213
|
animation: this.props.animation,
|
|
207
214
|
keepItemsMounted: this.props.keepItemsMounted,
|
|
@@ -212,7 +219,7 @@ var PanelBar = /** @class */ (function (_super) {
|
|
|
212
219
|
};
|
|
213
220
|
return renderChildren(renderState);
|
|
214
221
|
},
|
|
215
|
-
enumerable:
|
|
222
|
+
enumerable: false,
|
|
216
223
|
configurable: true
|
|
217
224
|
});
|
|
218
225
|
/**
|
|
@@ -2,10 +2,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
2
2
|
var extendStatics = function (d, b) {
|
|
3
3
|
extendStatics = Object.setPrototypeOf ||
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
7
|
};
|
|
8
8
|
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
9
11
|
extendStatics(d, b);
|
|
10
12
|
function __() { this.constructor = d; }
|
|
11
13
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -59,7 +61,7 @@ var PanelBarItem = /** @class */ (function (_super) {
|
|
|
59
61
|
};
|
|
60
62
|
_this.childFactory = function (child) {
|
|
61
63
|
if (_this.props.keepItemsMounted) {
|
|
62
|
-
return React.cloneElement(child, __assign({}, child.props, { in: _this.props.expanded }));
|
|
64
|
+
return React.cloneElement(child, __assign(__assign({}, child.props), { in: _this.props.expanded }));
|
|
63
65
|
}
|
|
64
66
|
return child;
|
|
65
67
|
};
|
|
@@ -72,8 +74,8 @@ var PanelBarItem = /** @class */ (function (_super) {
|
|
|
72
74
|
* @hidden
|
|
73
75
|
*/
|
|
74
76
|
PanelBarItem.prototype.render = function () {
|
|
75
|
-
var _this = this;
|
|
76
77
|
var _a;
|
|
78
|
+
var _this = this;
|
|
77
79
|
var _b = this.props, id = _b.id, children = _b.children, title = _b.title, uniquePrivateKey = _b.uniquePrivateKey, disabled = _b.disabled, selected = _b.selected, focused = _b.focused, expanded = _b.expanded, className = _b.className, level = _b.level, headerClassName = _b.headerClassName, animation = _b.animation, keepItemsMounted = _b.keepItemsMounted;
|
|
78
80
|
var panelBarItemAriaAttributes = {
|
|
79
81
|
'role': 'treeitem',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|