@progress/kendo-react-layout 14.0.0-develop.1 → 14.0.0-develop.2

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/index.d.mts CHANGED
@@ -27,6 +27,7 @@ export * from './panelbar/interfaces/PanelBarProps.js';
27
27
  export * from './panelbar/interfaces/PanelBarItemProps.js';
28
28
  export * from './panelbar/interfaces/RenderPanelBarItem.js';
29
29
  export * from './panelbar/interfaces/PanelBarSelectEventArguments.js';
30
+ export * from './panelbar/interfaces/PanelBarItemHandle.js';
30
31
  export * from './menu/components/MenuItemLink.js';
31
32
  export * from './menu/components/MenuItem.js';
32
33
  export * from './menu/components/MenuItemArrow.js';
package/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export * from './panelbar/interfaces/PanelBarProps.js';
27
27
  export * from './panelbar/interfaces/PanelBarItemProps.js';
28
28
  export * from './panelbar/interfaces/RenderPanelBarItem.js';
29
29
  export * from './panelbar/interfaces/PanelBarSelectEventArguments.js';
30
+ export * from './panelbar/interfaces/PanelBarItemHandle.js';
30
31
  export * from './menu/components/MenuItemLink.js';
31
32
  export * from './menu/components/MenuItem.js';
32
33
  export * from './menu/components/MenuItemArrow.js';
package/index.js CHANGED
@@ -6,4 +6,4 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  "use client";
9
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./menu/components/Menu.js"),n=require("./tabstrip/TabStrip.js"),p=require("./menu/components/MenuItemInternal.js"),t=require("./menu/components/MenuItemArrow.js"),S=require("./splitter/SplitterBar.js"),o=require("@progress/kendo-react-common"),q=require("./tabstrip/TabStripContent.js"),C=require("./tabstrip/TabStripNavigation.js"),A=require("./tabstrip/TabStripNavigationItem.js"),b=require("./tabstrip/TabStripTab.js"),I=require("./panelbar/PanelBar.js"),B=require("./panelbar/PanelBarItem.js"),e=require("./panelbar/util.js"),h=require("./menu/components/MenuItemLink.js"),y=require("./menu/components/MenuItem.js"),T=require("./splitter/Splitter.js"),g=require("./splitter/SplitterPane.js"),N=require("./card/Card.js"),w=require("./card/CardHeader.js"),L=require("./card/CardTitle.js"),D=require("./card/CardBody.js"),M=require("./card/CardActions.js"),v=require("./card/CardImage.js"),P=require("./card/CardSubtitle.js"),f=require("./card/CardFooter.js"),r=require("./card/interfaces/Enums.js"),F=require("./card/Avatar.js"),E=require("./drawer/Drawer.js"),k=require("./drawer/DrawerNavigation.js"),x=require("./drawer/DrawerContent.js"),O=require("./drawer/DrawerItem.js"),V=require("./stepper/Stepper.js"),H=require("./stepper/Step.js"),G=require("./appbar/AppBar.js"),R=require("./appbar/AppBarSection.js"),j=require("./appbar/AppBarSpacer.js"),K=require("./tilelayout/TileLayout.js"),U=require("./bottomnavigation/BottomNavigation.js"),Y=require("./bottomnavigation/BottomNavigationItem.js"),$=require("./stacklayout/StackLayout.js"),z=require("./gridlayout/GridLayout.js"),J=require("./gridlayout/GridLayoutItem.js"),Q=require("./breadcrumb/Breadcrumb.js"),W=require("./breadcrumb/BreadcrumbOrderedList.js"),X=require("./breadcrumb/BreadcrumbListItem.js"),Z=require("./breadcrumb/BreadcrumbDelimiter.js"),_=require("./breadcrumb/BreadcrumbLink.js"),c=require("./actionsheet/ActionSheet.js"),ee=require("./actionsheet/ActionSheetItem.js"),s=require("./actionsheet/ActionSheetView.js"),u=require("./actionsheet/ActionSheetHeader.js"),d=require("./actionsheet/ActionSheetContent.js"),l=require("./actionsheet/ActionSheetFooter.js"),te=require("./timeline/Timeline.js"),m=require("./timeline/utils.js"),re=require("./contextmenu/ContextMenu.js"),ae=require("./expansionpanel/ExpansionPanel.js"),ie=require("./expansionpanel/ExpansionPanelContent.js"),a=o.withIdHOC(i.Menu);a.displayName="KendoReactMenu";const ne=o.withIdHOC(n.TabStrip);a.displayName="KendoReactMenu";exports.MenuClassComponent=i.Menu;exports.TabStripClassComponent=n.TabStrip;exports.MenuItemInternalsList=p.MenuItemInternalsList;exports.MenuItemArrow=t.MenuItemArrow;exports.downArrowName=t.downArrowName;exports.leftArrowName=t.leftArrowName;exports.rightArrowName=t.rightArrowName;exports.SplitterBar=S.SplitterBar;exports.TabStripContent=q.TabStripContent;exports.TabStripNavigation=C.TabStripNavigation;exports.TabStripNavigationItem=A.TabStripNavigationItem;exports.TabStripTab=b.TabStripTab;exports.PanelBar=I.PanelBar;exports.PanelBarItem=B.PanelBarItem;Object.defineProperty(exports,"PanelBarUtils",{enumerable:!0,get:()=>e.PanelBarUtils});exports.flatChildren=e.flatChildren;exports.flatVisibleChildren=e.flatVisibleChildren;exports.flatVisibleItems=e.flatVisibleItems;exports.getFirstId=e.getFirstId;exports.getFocusedChild=e.getFocusedChild;exports.getInitialState=e.getInitialState;exports.isArrayEqual=e.isArrayEqual;exports.isPresent=e.isPresent;exports.renderChildren=e.renderChildren;exports.MenuItemLink=h.MenuItemLink;exports.MenuItem=y.MenuItem;exports.Splitter=T.Splitter;exports.SplitterPane=g.SplitterPane;exports.Card=N.Card;exports.CardHeader=w.CardHeader;exports.CardTitle=L.CardTitle;exports.CardBody=D.CardBody;exports.CardActions=M.CardActions;exports.CardImage=v.CardImage;exports.CardSubtitle=P.CardSubtitle;exports.CardFooter=f.CardFooter;exports.avatarType=r.avatarType;exports.cardActionsLayout=r.cardActionsLayout;exports.cardOrientation=r.cardOrientation;exports.cardType=r.cardType;exports.Avatar=F.Avatar;exports.Drawer=E.Drawer;exports.DrawerNavigation=k.DrawerNavigation;exports.DrawerContent=x.DrawerContent;exports.DrawerItem=O.DrawerItem;exports.Stepper=V.Stepper;exports.Step=H.Step;exports.AppBar=G.AppBar;exports.AppBarSection=R.AppBarSection;exports.AppBarSpacer=j.AppBarSpacer;exports.TileLayout=K.TileLayout;exports.BottomNavigation=U.BottomNavigation;exports.BottomNavigationItem=Y.BottomNavigationItem;exports.StackLayout=$.StackLayout;exports.GridLayout=z.GridLayout;exports.GridLayoutItem=J.GridLayoutItem;exports.Breadcrumb=Q.Breadcrumb;exports.BreadcrumbOrderedList=W.BreadcrumbOrderedList;exports.BreadcrumbListItem=X.BreadcrumbListItem;exports.BreadcrumbDelimiter=Z.BreadcrumbDelimiter;exports.BreadcrumbLink=_.BreadcrumbLink;exports.ActionSheet=c.ActionSheet;exports.actionSheetDefaultProps=c.actionSheetDefaultProps;exports.ActionSheetItem=ee.ActionSheetItem;exports.ActionSheetView=s.ActionSheetView;exports.ActionSheetViewDisplayName=s.ActionSheetViewDisplayName;exports.ActionSheetHeader=u.ActionSheetHeader;exports.headerDisplayName=u.headerDisplayName;exports.ActionSheetContent=d.ActionSheetContent;exports.contentDisplayName=d.contentDisplayName;exports.ActionSheetFooter=l.ActionSheetFooter;exports.footerDisplayName=l.footerDisplayName;exports.Timeline=te.Timeline;exports.addYearsFlags=m.addYearsFlags;exports.sortEventList=m.sortEventList;exports.ContextMenu=re.ContextMenu;exports.ExpansionPanel=ae.ExpansionPanel;exports.ExpansionPanelContent=ie.ExpansionPanelContent;exports.Menu=a;exports.TabStrip=ne;
9
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./menu/components/Menu.js"),n=require("./tabstrip/TabStrip.js"),S=require("./menu/components/MenuItemInternal.js"),t=require("./menu/components/MenuItemArrow.js"),q=require("./splitter/SplitterBar.js"),o=require("@progress/kendo-react-common"),C=require("./tabstrip/TabStripContent.js"),I=require("./tabstrip/TabStripNavigation.js"),A=require("./tabstrip/TabStripNavigationItem.js"),b=require("./tabstrip/TabStripTab.js"),B=require("./panelbar/PanelBar.js"),s=require("./panelbar/PanelBarItem.js"),e=require("./panelbar/util.js"),h=require("./menu/components/MenuItemLink.js"),y=require("./menu/components/MenuItem.js"),T=require("./splitter/Splitter.js"),g=require("./splitter/SplitterPane.js"),N=require("./card/Card.js"),w=require("./card/CardHeader.js"),L=require("./card/CardTitle.js"),D=require("./card/CardBody.js"),P=require("./card/CardActions.js"),M=require("./card/CardImage.js"),v=require("./card/CardSubtitle.js"),f=require("./card/CardFooter.js"),r=require("./card/interfaces/Enums.js"),F=require("./card/Avatar.js"),E=require("./drawer/Drawer.js"),k=require("./drawer/DrawerNavigation.js"),x=require("./drawer/DrawerContent.js"),O=require("./drawer/DrawerItem.js"),V=require("./stepper/Stepper.js"),H=require("./stepper/Step.js"),G=require("./appbar/AppBar.js"),R=require("./appbar/AppBarSection.js"),j=require("./appbar/AppBarSpacer.js"),K=require("./tilelayout/TileLayout.js"),U=require("./bottomnavigation/BottomNavigation.js"),Y=require("./bottomnavigation/BottomNavigationItem.js"),$=require("./stacklayout/StackLayout.js"),z=require("./gridlayout/GridLayout.js"),J=require("./gridlayout/GridLayoutItem.js"),Q=require("./breadcrumb/Breadcrumb.js"),W=require("./breadcrumb/BreadcrumbOrderedList.js"),X=require("./breadcrumb/BreadcrumbListItem.js"),Z=require("./breadcrumb/BreadcrumbDelimiter.js"),_=require("./breadcrumb/BreadcrumbLink.js"),u=require("./actionsheet/ActionSheet.js"),ee=require("./actionsheet/ActionSheetItem.js"),c=require("./actionsheet/ActionSheetView.js"),d=require("./actionsheet/ActionSheetHeader.js"),l=require("./actionsheet/ActionSheetContent.js"),m=require("./actionsheet/ActionSheetFooter.js"),te=require("./timeline/Timeline.js"),p=require("./timeline/utils.js"),re=require("./contextmenu/ContextMenu.js"),ae=require("./expansionpanel/ExpansionPanel.js"),ie=require("./expansionpanel/ExpansionPanelContent.js"),a=o.withIdHOC(i.Menu);a.displayName="KendoReactMenu";const ne=o.withIdHOC(n.TabStrip);a.displayName="KendoReactMenu";exports.MenuClassComponent=i.Menu;exports.TabStripClassComponent=n.TabStrip;exports.MenuItemInternalsList=S.MenuItemInternalsList;exports.MenuItemArrow=t.MenuItemArrow;exports.downArrowName=t.downArrowName;exports.leftArrowName=t.leftArrowName;exports.rightArrowName=t.rightArrowName;exports.SplitterBar=q.SplitterBar;exports.TabStripContent=C.TabStripContent;exports.TabStripNavigation=I.TabStripNavigation;exports.TabStripNavigationItem=A.TabStripNavigationItem;exports.TabStripTab=b.TabStripTab;exports.PanelBar=B.PanelBar;exports.PanelBarItem=s.PanelBarItem;exports.panelBarItemDefaultProps=s.panelBarItemDefaultProps;Object.defineProperty(exports,"PanelBarUtils",{enumerable:!0,get:()=>e.PanelBarUtils});exports.flatChildren=e.flatChildren;exports.flatVisibleChildren=e.flatVisibleChildren;exports.flatVisibleItems=e.flatVisibleItems;exports.getFirstId=e.getFirstId;exports.getFocusedChild=e.getFocusedChild;exports.getInitialState=e.getInitialState;exports.isArrayEqual=e.isArrayEqual;exports.isPresent=e.isPresent;exports.renderChildren=e.renderChildren;exports.MenuItemLink=h.MenuItemLink;exports.MenuItem=y.MenuItem;exports.Splitter=T.Splitter;exports.SplitterPane=g.SplitterPane;exports.Card=N.Card;exports.CardHeader=w.CardHeader;exports.CardTitle=L.CardTitle;exports.CardBody=D.CardBody;exports.CardActions=P.CardActions;exports.CardImage=M.CardImage;exports.CardSubtitle=v.CardSubtitle;exports.CardFooter=f.CardFooter;exports.avatarType=r.avatarType;exports.cardActionsLayout=r.cardActionsLayout;exports.cardOrientation=r.cardOrientation;exports.cardType=r.cardType;exports.Avatar=F.Avatar;exports.Drawer=E.Drawer;exports.DrawerNavigation=k.DrawerNavigation;exports.DrawerContent=x.DrawerContent;exports.DrawerItem=O.DrawerItem;exports.Stepper=V.Stepper;exports.Step=H.Step;exports.AppBar=G.AppBar;exports.AppBarSection=R.AppBarSection;exports.AppBarSpacer=j.AppBarSpacer;exports.TileLayout=K.TileLayout;exports.BottomNavigation=U.BottomNavigation;exports.BottomNavigationItem=Y.BottomNavigationItem;exports.StackLayout=$.StackLayout;exports.GridLayout=z.GridLayout;exports.GridLayoutItem=J.GridLayoutItem;exports.Breadcrumb=Q.Breadcrumb;exports.BreadcrumbOrderedList=W.BreadcrumbOrderedList;exports.BreadcrumbListItem=X.BreadcrumbListItem;exports.BreadcrumbDelimiter=Z.BreadcrumbDelimiter;exports.BreadcrumbLink=_.BreadcrumbLink;exports.ActionSheet=u.ActionSheet;exports.actionSheetDefaultProps=u.actionSheetDefaultProps;exports.ActionSheetItem=ee.ActionSheetItem;exports.ActionSheetView=c.ActionSheetView;exports.ActionSheetViewDisplayName=c.ActionSheetViewDisplayName;exports.ActionSheetHeader=d.ActionSheetHeader;exports.headerDisplayName=d.headerDisplayName;exports.ActionSheetContent=l.ActionSheetContent;exports.contentDisplayName=l.contentDisplayName;exports.ActionSheetFooter=m.ActionSheetFooter;exports.footerDisplayName=m.footerDisplayName;exports.Timeline=te.Timeline;exports.addYearsFlags=p.addYearsFlags;exports.sortEventList=p.sortEventList;exports.ContextMenu=re.ContextMenu;exports.ExpansionPanel=ae.ExpansionPanel;exports.ExpansionPanelContent=ie.ExpansionPanelContent;exports.Menu=a;exports.TabStrip=ne;
package/index.mjs CHANGED
@@ -9,59 +9,59 @@
9
9
  import { Menu as o } from "./menu/components/Menu.mjs";
10
10
  import { TabStrip as t } from "./tabstrip/TabStrip.mjs";
11
11
  import { MenuItemInternalsList as x } from "./menu/components/MenuItemInternal.mjs";
12
- import { MenuItemArrow as s, downArrowName as l, leftArrowName as c, rightArrowName as S } from "./menu/components/MenuItemArrow.mjs";
12
+ import { MenuItemArrow as l, downArrowName as s, leftArrowName as c, rightArrowName as u } from "./menu/components/MenuItemArrow.mjs";
13
13
  import { SplitterBar as C } from "./splitter/SplitterBar.mjs";
14
14
  import { withIdHOC as r } from "@progress/kendo-react-common";
15
- import { TabStripContent as b } from "./tabstrip/TabStripContent.mjs";
16
- import { TabStripNavigation as h } from "./tabstrip/TabStripNavigation.mjs";
17
- import { TabStripNavigationItem as B } from "./tabstrip/TabStripNavigationItem.mjs";
15
+ import { TabStripContent as I } from "./tabstrip/TabStripContent.mjs";
16
+ import { TabStripNavigation as B } from "./tabstrip/TabStripNavigation.mjs";
17
+ import { TabStripNavigationItem as y } from "./tabstrip/TabStripNavigationItem.mjs";
18
18
  import { TabStripTab as T } from "./tabstrip/TabStripTab.mjs";
19
19
  import { PanelBar as g } from "./panelbar/PanelBar.mjs";
20
- import { PanelBarItem as M } from "./panelbar/PanelBarItem.mjs";
21
- import { PanelBarUtils as v, flatChildren as P, flatVisibleChildren as F, flatVisibleItems as E, getFirstId as V, getFocusedChild as k, getInitialState as H, isArrayEqual as O, isPresent as G, renderChildren as K } from "./panelbar/util.mjs";
22
- import { MenuItemLink as $ } from "./menu/components/MenuItemLink.mjs";
23
- import { MenuItem as U } from "./menu/components/MenuItem.mjs";
24
- import { Splitter as j } from "./splitter/Splitter.mjs";
25
- import { SplitterPane as J } from "./splitter/SplitterPane.mjs";
26
- import { Card as W } from "./card/Card.mjs";
27
- import { CardHeader as Z } from "./card/CardHeader.mjs";
28
- import { CardTitle as rr } from "./card/CardTitle.mjs";
29
- import { CardBody as or } from "./card/CardBody.mjs";
30
- import { CardActions as ar } from "./card/CardActions.mjs";
31
- import { CardImage as pr } from "./card/CardImage.mjs";
32
- import { CardSubtitle as nr } from "./card/CardSubtitle.mjs";
33
- import { CardFooter as xr } from "./card/CardFooter.mjs";
34
- import { avatarType as sr, cardActionsLayout as lr, cardOrientation as cr, cardType as Sr } from "./card/interfaces/Enums.mjs";
35
- import { Avatar as Cr } from "./card/Avatar.mjs";
20
+ import { PanelBarItem as L, panelBarItemDefaultProps as M } from "./panelbar/PanelBarItem.mjs";
21
+ import { PanelBarUtils as v, flatChildren as F, flatVisibleChildren as E, flatVisibleItems as V, getFirstId as k, getFocusedChild as H, getInitialState as O, isArrayEqual as G, isPresent as K, renderChildren as R } from "./panelbar/util.mjs";
22
+ import { MenuItemLink as q } from "./menu/components/MenuItemLink.mjs";
23
+ import { MenuItem as Y } from "./menu/components/MenuItem.mjs";
24
+ import { Splitter as z } from "./splitter/Splitter.mjs";
25
+ import { SplitterPane as Q } from "./splitter/SplitterPane.mjs";
26
+ import { Card as X } from "./card/Card.mjs";
27
+ import { CardHeader as _ } from "./card/CardHeader.mjs";
28
+ import { CardTitle as er } from "./card/CardTitle.mjs";
29
+ import { CardBody as tr } from "./card/CardBody.mjs";
30
+ import { CardActions as mr } from "./card/CardActions.mjs";
31
+ import { CardImage as ir } from "./card/CardImage.mjs";
32
+ import { CardSubtitle as fr } from "./card/CardSubtitle.mjs";
33
+ import { CardFooter as dr } from "./card/CardFooter.mjs";
34
+ import { avatarType as sr, cardActionsLayout as cr, cardOrientation as ur, cardType as Sr } from "./card/interfaces/Enums.mjs";
35
+ import { Avatar as Ar } from "./card/Avatar.mjs";
36
36
  import { Drawer as br } from "./drawer/Drawer.mjs";
37
37
  import { DrawerNavigation as hr } from "./drawer/DrawerNavigation.mjs";
38
- import { DrawerContent as Br } from "./drawer/DrawerContent.mjs";
39
- import { DrawerItem as Tr } from "./drawer/DrawerItem.mjs";
40
- import { Stepper as gr } from "./stepper/Stepper.mjs";
38
+ import { DrawerContent as Nr } from "./drawer/DrawerContent.mjs";
39
+ import { DrawerItem as wr } from "./drawer/DrawerItem.mjs";
40
+ import { Stepper as Dr } from "./stepper/Stepper.mjs";
41
41
  import { Step as Mr } from "./stepper/Step.mjs";
42
42
  import { AppBar as vr } from "./appbar/AppBar.mjs";
43
- import { AppBarSection as Fr } from "./appbar/AppBarSection.mjs";
44
- import { AppBarSpacer as Vr } from "./appbar/AppBarSpacer.mjs";
45
- import { TileLayout as Hr } from "./tilelayout/TileLayout.mjs";
46
- import { BottomNavigation as Gr } from "./bottomnavigation/BottomNavigation.mjs";
47
- import { BottomNavigationItem as Rr } from "./bottomnavigation/BottomNavigationItem.mjs";
48
- import { StackLayout as qr } from "./stacklayout/StackLayout.mjs";
49
- import { GridLayout as Yr } from "./gridlayout/GridLayout.mjs";
50
- import { GridLayoutItem as zr } from "./gridlayout/GridLayoutItem.mjs";
51
- import { Breadcrumb as Qr } from "./breadcrumb/Breadcrumb.mjs";
52
- import { BreadcrumbOrderedList as Xr } from "./breadcrumb/BreadcrumbOrderedList.mjs";
53
- import { BreadcrumbListItem as _r } from "./breadcrumb/BreadcrumbListItem.mjs";
54
- import { BreadcrumbDelimiter as ee } from "./breadcrumb/BreadcrumbDelimiter.mjs";
55
- import { BreadcrumbLink as te } from "./breadcrumb/BreadcrumbLink.mjs";
56
- import { ActionSheet as me, actionSheetDefaultProps as pe } from "./actionsheet/ActionSheet.mjs";
57
- import { ActionSheetItem as ne } from "./actionsheet/ActionSheetItem.mjs";
58
- import { ActionSheetView as xe, ActionSheetViewDisplayName as de } from "./actionsheet/ActionSheetView.mjs";
59
- import { ActionSheetHeader as le, headerDisplayName as ce } from "./actionsheet/ActionSheetHeader.mjs";
60
- import { ActionSheetContent as ue, contentDisplayName as Ce } from "./actionsheet/ActionSheetContent.mjs";
61
- import { ActionSheetFooter as be, footerDisplayName as Ie } from "./actionsheet/ActionSheetFooter.mjs";
43
+ import { AppBarSection as Er } from "./appbar/AppBarSection.mjs";
44
+ import { AppBarSpacer as kr } from "./appbar/AppBarSpacer.mjs";
45
+ import { TileLayout as Or } from "./tilelayout/TileLayout.mjs";
46
+ import { BottomNavigation as Kr } from "./bottomnavigation/BottomNavigation.mjs";
47
+ import { BottomNavigationItem as $r } from "./bottomnavigation/BottomNavigationItem.mjs";
48
+ import { StackLayout as Ur } from "./stacklayout/StackLayout.mjs";
49
+ import { GridLayout as jr } from "./gridlayout/GridLayout.mjs";
50
+ import { GridLayoutItem as Jr } from "./gridlayout/GridLayoutItem.mjs";
51
+ import { Breadcrumb as Wr } from "./breadcrumb/Breadcrumb.mjs";
52
+ import { BreadcrumbOrderedList as Zr } from "./breadcrumb/BreadcrumbOrderedList.mjs";
53
+ import { BreadcrumbListItem as re } from "./breadcrumb/BreadcrumbListItem.mjs";
54
+ import { BreadcrumbDelimiter as oe } from "./breadcrumb/BreadcrumbDelimiter.mjs";
55
+ import { BreadcrumbLink as ae } from "./breadcrumb/BreadcrumbLink.mjs";
56
+ import { ActionSheet as pe, actionSheetDefaultProps as ie } from "./actionsheet/ActionSheet.mjs";
57
+ import { ActionSheetItem as fe } from "./actionsheet/ActionSheetItem.mjs";
58
+ import { ActionSheetView as de, ActionSheetViewDisplayName as le } from "./actionsheet/ActionSheetView.mjs";
59
+ import { ActionSheetHeader as ce, headerDisplayName as ue } from "./actionsheet/ActionSheetHeader.mjs";
60
+ import { ActionSheetContent as Ce, contentDisplayName as Ae } from "./actionsheet/ActionSheetContent.mjs";
61
+ import { ActionSheetFooter as be, footerDisplayName as Be } from "./actionsheet/ActionSheetFooter.mjs";
62
62
  import { Timeline as ye } from "./timeline/Timeline.mjs";
63
- import { addYearsFlags as Ne, sortEventList as Te } from "./timeline/utils.mjs";
64
- import { ContextMenu as ge } from "./contextmenu/ContextMenu.mjs";
63
+ import { addYearsFlags as Te, sortEventList as we } from "./timeline/utils.mjs";
64
+ import { ContextMenu as De } from "./contextmenu/ContextMenu.mjs";
65
65
  import { ExpansionPanel as Me } from "./expansionpanel/ExpansionPanel.mjs";
66
66
  import { ExpansionPanelContent as ve } from "./expansionpanel/ExpansionPanelContent.mjs";
67
67
  const e = r(o);
@@ -69,84 +69,85 @@ e.displayName = "KendoReactMenu";
69
69
  const i = r(t);
70
70
  e.displayName = "KendoReactMenu";
71
71
  export {
72
- me as ActionSheet,
73
- ue as ActionSheetContent,
72
+ pe as ActionSheet,
73
+ Ce as ActionSheetContent,
74
74
  be as ActionSheetFooter,
75
- le as ActionSheetHeader,
76
- ne as ActionSheetItem,
77
- xe as ActionSheetView,
78
- de as ActionSheetViewDisplayName,
75
+ ce as ActionSheetHeader,
76
+ fe as ActionSheetItem,
77
+ de as ActionSheetView,
78
+ le as ActionSheetViewDisplayName,
79
79
  vr as AppBar,
80
- Fr as AppBarSection,
81
- Vr as AppBarSpacer,
82
- Cr as Avatar,
83
- Gr as BottomNavigation,
84
- Rr as BottomNavigationItem,
85
- Qr as Breadcrumb,
86
- ee as BreadcrumbDelimiter,
87
- te as BreadcrumbLink,
88
- _r as BreadcrumbListItem,
89
- Xr as BreadcrumbOrderedList,
90
- W as Card,
91
- ar as CardActions,
92
- or as CardBody,
93
- xr as CardFooter,
94
- Z as CardHeader,
95
- pr as CardImage,
96
- nr as CardSubtitle,
97
- rr as CardTitle,
98
- ge as ContextMenu,
80
+ Er as AppBarSection,
81
+ kr as AppBarSpacer,
82
+ Ar as Avatar,
83
+ Kr as BottomNavigation,
84
+ $r as BottomNavigationItem,
85
+ Wr as Breadcrumb,
86
+ oe as BreadcrumbDelimiter,
87
+ ae as BreadcrumbLink,
88
+ re as BreadcrumbListItem,
89
+ Zr as BreadcrumbOrderedList,
90
+ X as Card,
91
+ mr as CardActions,
92
+ tr as CardBody,
93
+ dr as CardFooter,
94
+ _ as CardHeader,
95
+ ir as CardImage,
96
+ fr as CardSubtitle,
97
+ er as CardTitle,
98
+ De as ContextMenu,
99
99
  br as Drawer,
100
- Br as DrawerContent,
101
- Tr as DrawerItem,
100
+ Nr as DrawerContent,
101
+ wr as DrawerItem,
102
102
  hr as DrawerNavigation,
103
103
  Me as ExpansionPanel,
104
104
  ve as ExpansionPanelContent,
105
- Yr as GridLayout,
106
- zr as GridLayoutItem,
105
+ jr as GridLayout,
106
+ Jr as GridLayoutItem,
107
107
  e as Menu,
108
108
  o as MenuClassComponent,
109
- U as MenuItem,
110
- s as MenuItemArrow,
109
+ Y as MenuItem,
110
+ l as MenuItemArrow,
111
111
  x as MenuItemInternalsList,
112
- $ as MenuItemLink,
112
+ q as MenuItemLink,
113
113
  g as PanelBar,
114
- M as PanelBarItem,
114
+ L as PanelBarItem,
115
115
  v as PanelBarUtils,
116
- j as Splitter,
116
+ z as Splitter,
117
117
  C as SplitterBar,
118
- J as SplitterPane,
119
- qr as StackLayout,
118
+ Q as SplitterPane,
119
+ Ur as StackLayout,
120
120
  Mr as Step,
121
- gr as Stepper,
121
+ Dr as Stepper,
122
122
  i as TabStrip,
123
123
  t as TabStripClassComponent,
124
- b as TabStripContent,
125
- h as TabStripNavigation,
126
- B as TabStripNavigationItem,
124
+ I as TabStripContent,
125
+ B as TabStripNavigation,
126
+ y as TabStripNavigationItem,
127
127
  T as TabStripTab,
128
- Hr as TileLayout,
128
+ Or as TileLayout,
129
129
  ye as Timeline,
130
- pe as actionSheetDefaultProps,
131
- Ne as addYearsFlags,
130
+ ie as actionSheetDefaultProps,
131
+ Te as addYearsFlags,
132
132
  sr as avatarType,
133
- lr as cardActionsLayout,
134
- cr as cardOrientation,
133
+ cr as cardActionsLayout,
134
+ ur as cardOrientation,
135
135
  Sr as cardType,
136
- Ce as contentDisplayName,
137
- l as downArrowName,
138
- P as flatChildren,
139
- F as flatVisibleChildren,
140
- E as flatVisibleItems,
141
- Ie as footerDisplayName,
142
- V as getFirstId,
143
- k as getFocusedChild,
144
- H as getInitialState,
145
- ce as headerDisplayName,
146
- O as isArrayEqual,
147
- G as isPresent,
136
+ Ae as contentDisplayName,
137
+ s as downArrowName,
138
+ F as flatChildren,
139
+ E as flatVisibleChildren,
140
+ V as flatVisibleItems,
141
+ Be as footerDisplayName,
142
+ k as getFirstId,
143
+ H as getFocusedChild,
144
+ O as getInitialState,
145
+ ue as headerDisplayName,
146
+ G as isArrayEqual,
147
+ K as isPresent,
148
148
  c as leftArrowName,
149
- K as renderChildren,
150
- S as rightArrowName,
151
- Te as sortEventList
149
+ M as panelBarItemDefaultProps,
150
+ R as renderChildren,
151
+ u as rightArrowName,
152
+ we as sortEventList
152
153
  };
@@ -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 e=Object.freeze({name:"@progress/kendo-react-layout",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770382818,version:"14.0.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-layout",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770669926,version:"14.0.0-develop.2",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
@@ -8,6 +8,6 @@ export const packageMetadata = Object.freeze({
8
8
  productCode: 'KENDOUIREACT',
9
9
  productCodes: ['KENDOUIREACT'],
10
10
  publishDate: 0,
11
- version: '14.0.0-develop.1',
11
+ version: '14.0.0-develop.2',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-layout",
3
- "version": "14.0.0-develop.1",
3
+ "version": "14.0.0-develop.2",
4
4
  "description": "React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,15 +26,15 @@
26
26
  "sideEffects": false,
27
27
  "peerDependencies": {
28
28
  "@progress/kendo-licensing": "^1.7.2",
29
- "@progress/kendo-react-animation": "14.0.0-develop.1",
30
- "@progress/kendo-react-buttons": "14.0.0-develop.1",
31
- "@progress/kendo-react-common": "14.0.0-develop.1",
32
- "@progress/kendo-react-intl": "14.0.0-develop.1",
33
- "@progress/kendo-react-popup": "14.0.0-develop.1",
34
- "@progress/kendo-react-progressbars": "14.0.0-develop.1",
29
+ "@progress/kendo-react-animation": "14.0.0-develop.2",
30
+ "@progress/kendo-react-buttons": "14.0.0-develop.2",
31
+ "@progress/kendo-react-common": "14.0.0-develop.2",
32
+ "@progress/kendo-react-intl": "14.0.0-develop.2",
33
+ "@progress/kendo-react-popup": "14.0.0-develop.2",
34
+ "@progress/kendo-react-progressbars": "14.0.0-develop.2",
35
35
  "@progress/kendo-svg-icons": "^4.0.0",
36
- "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
37
- "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
36
+ "react": "^18.0.0 || ^19.0.0",
37
+ "react-dom": "^18.0.0 || ^19.0.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "prop-types": "^15.6.0"
@@ -76,7 +76,7 @@
76
76
  "package": {
77
77
  "productName": "KendoReact",
78
78
  "productCode": "KENDOUIREACT",
79
- "publishDate": 1770382818,
79
+ "publishDate": 1770669926,
80
80
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
81
81
  }
82
82
  },
@@ -5,10 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { default as PropTypes } from 'prop-types';
9
8
  import { PanelBarProps } from '../index.js';
10
- import { PanelBarItemClickEventArguments } from './interfaces/PanelBarItemClickEventArguments.js';
11
- import { NavigationAction } from './interfaces/NavigationAction.js';
12
9
  import * as React from 'react';
13
10
  /**
14
11
  * @hidden
@@ -25,65 +22,7 @@ export interface PanelBarState {
25
22
  * @remarks
26
23
  * Supported children components are: {@link PanelBarItem}.
27
24
  */
28
- export declare class PanelBar extends React.Component<PanelBarProps, PanelBarState> {
29
- /**
30
- * @hidden
31
- */
32
- static propTypes: {
33
- animation: PropTypes.Requireable<boolean>;
34
- children: (props: PanelBarProps, propName: any) => Error | null;
35
- dir: PropTypes.Requireable<string>;
36
- selected: PropTypes.Requireable<string>;
37
- expanded: PropTypes.Requireable<(string | null | undefined)[]>;
38
- focused: PropTypes.Requireable<string>;
39
- expandMode: PropTypes.Requireable<string>;
40
- className: PropTypes.Requireable<string>;
41
- keepItemsMounted: PropTypes.Requireable<boolean>;
42
- onSelect: PropTypes.Requireable<(...args: any[]) => any>;
43
- style: PropTypes.Requireable<object>;
44
- };
45
- /**
46
- * @hidden
47
- */
48
- static defaultProps: {
49
- expandMode: string;
50
- animation: boolean;
51
- keepItemsMounted: boolean;
52
- };
53
- /**
54
- * @hidden
55
- */
56
- readonly state: PanelBarState;
57
- private activeDescendant?;
58
- private _element;
59
- private nextTickId;
60
- private get expandMode();
61
- private get selectedItem();
62
- private get expandedItems();
63
- private get children();
64
- constructor(props: PanelBarProps);
65
- /**
66
- * @hidden
67
- */
68
- handleSelect: (event: PanelBarItemClickEventArguments) => void;
69
- /**
70
- * @hidden
71
- */
72
- onSelect: (event: any) => void;
73
- /**
74
- * @hidden
75
- */
76
- onFocus: (event: any, step?: number, action?: NavigationAction) => void;
77
- /**
78
- * @hidden
79
- */
80
- onNavigate: (event: React.KeyboardEvent<HTMLUListElement>, action: NavigationAction) => void;
81
- /**
82
- * @hidden
83
- */
84
- render(): React.JSX.Element;
85
- protected nextTick(f: () => any): void;
86
- private handleWrapperFocus;
87
- private handleWrapperBlur;
88
- private handleKeyDown;
89
- }
25
+ export declare const PanelBar: React.FC<PanelBarProps> & {
26
+ propTypes?: any;
27
+ defaultProps?: Partial<PanelBarProps>;
28
+ };
@@ -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 b=require("react"),c=require("prop-types"),v=require("./PanelBarItem.js"),l=require("./util.js"),p=require("@progress/kendo-react-common"),n=require("./interfaces/NavigationAction.js");function P(d){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(d){for(const r in d)if(r!=="default"){const e=Object.getOwnPropertyDescriptor(d,r);Object.defineProperty(a,r,e.get?e:{enumerable:!0,get:()=>d[r]})}}return a.default=d,Object.freeze(a)}const u=P(b),f=class f extends u.Component{constructor(a){super(a),this._element=null,this.handleSelect=e=>{this.onSelect(e),this.onFocus(e)},this.onSelect=e=>{const o=l.flatChildren(u.Children.toArray(this.children));let i,s;switch(o.forEach(t=>{t.props.uniquePrivateKey===(e.uniquePrivateKey||this.state.focused)&&(i=t)}),this.expandMode){case"single":s=[...i.props.parentUniquePrivateKey,i.props.uniquePrivateKey],l.isArrayEqual(this.expandedItems,s)&&(i.props.parentUniquePrivateKey?s=[...i.props.parentUniquePrivateKey]:s=[]);break;case"multiple":{s=this.expandedItems.slice();const t=s.indexOf(i.props.uniquePrivateKey);t===-1?s.push(i.props.uniquePrivateKey):s.splice(t,1);break}default:s=this.expandedItems.slice();break}this.setState({selected:i.props.uniquePrivateKey,expanded:s}),this.props.onSelect&&this.props.onSelect.call(void 0,{target:i,expandedItems:s})},this.onFocus=(e,o=0,i)=>{const s=l.flatVisibleChildren(u.Children.toArray(this.children)),t=l.getFocusedChild(s,o,e,this.state.focused,i);if(t){const h=this.expandedItems.slice();if(i===n.NavigationAction.Right&&t&&t.props&&t.props.children&&t.props.children.length>0){if(h.push(t.props.uniquePrivateKey),this.setState({expanded:[...new Set(h)]}),t.props.expanded){const g=t.props.children[0].props.uniquePrivateKey;this.setState({focused:g})}}else if(i===n.NavigationAction.Left&&(t&&t.props&&t.props.parentUniquePrivateKey&&t.props.parentUniquePrivateKey.length>0||t&&t.props&&!t.props.disabled&&t.props.children&&t.props.children.length>0)){const g=t.props.parentUniquePrivateKey;if(t.props.expanded){const y=t.props.uniquePrivateKey,x=h.indexOf(y);h.splice(x,1),this.setState({expanded:h})}else if(t.props.level>0){const y=t.props.parentUniquePrivateKey[g.length-1];this.setState({focused:y})}}else this.activeDescendant=t.props.id,this.setState({focused:t.props.uniquePrivateKey})}},this.onNavigate=(e,o)=>{let i;switch(o){case n.NavigationAction.First:this.onFocus(e,i,n.NavigationAction.First);break;case n.NavigationAction.Last:this.onFocus(e,i,n.NavigationAction.Last);break;case n.NavigationAction.Left:this.onFocus(e,i,n.NavigationAction.Left);break;case n.NavigationAction.Right:this.onFocus(e,i,n.NavigationAction.Right);break;case n.NavigationAction.Previous:i=-1,this.onFocus(e,i);break;case n.NavigationAction.Next:i=1,this.onFocus(e,i);break;case n.NavigationAction.Toggle:this.onSelect(e);break}},this.handleWrapperFocus=()=>{clearTimeout(this.nextTickId),this.state.wrapperFocused||this.setState({wrapperFocused:!0})},this.handleWrapperBlur=()=>{this.nextTick(()=>{this.setState({wrapperFocused:!1})})},this.handleKeyDown=e=>{const o=this._element&&getComputedStyle(this._element).direction==="rtl"||!1;if(e.target===e.currentTarget){const i=e.keyCode;let s;switch(i){case p.Keys.left:s=o?n.NavigationAction.Right:n.NavigationAction.Left;break;case p.Keys.up:s=n.NavigationAction.Previous;break;case p.Keys.right:s=o?n.NavigationAction.Left:n.NavigationAction.Right;break;case p.Keys.down:s=n.NavigationAction.Next;break;case p.Keys.home:s=n.NavigationAction.First;break;case p.Keys.end:s=n.NavigationAction.Last;break;case p.Keys.space:case p.Keys.enter:s=n.NavigationAction.Toggle;break;default:s=null;break}s!==null&&(e.preventDefault(),this.onNavigate(e,s))}};const r=l.getInitialState(a,this.expandMode);r.focused||(r.focused=l.getFirstId(a)),this.state=r}get expandMode(){return this.props.expandMode||"multiple"}get selectedItem(){const{selected:a=this.state.selected}=this.props;return a}get expandedItems(){return this.props.isControlled?this.props.expanded||[]:this.state.expanded}get children(){const a={...this.state,selected:this.selectedItem},r={animation:this.props.animation,keepItemsMounted:this.props.keepItemsMounted,state:a,expanded:this.expandedItems,handleSelect:this.handleSelect,children:this.props.children};return l.renderChildren(r)}render(){const a={"aria-activedescendant":this.activeDescendant},r=p.classNames("k-panelbar",this.props.className);return u.createElement("ul",{ref:e=>{this._element=e},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,className:r,style:this.props.style,...a},this.children)}nextTick(a){this.nextTickId=window.setTimeout(()=>a())}};f.propTypes={animation:c.bool,children:function(a,r){const e=a[r];if(e){if(Array.isArray(e)){for(const o of e)if(!o.type||o.type!==v.PanelBarItem)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(e.type!==v.PanelBarItem)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.");return null}return null},dir:c.string,selected:c.string,expanded:c.arrayOf(c.string),focused:c.string,expandMode:c.oneOf(["single","multiple"]),className:c.string,keepItemsMounted:c.bool,onSelect:c.func,style:c.object},f.defaultProps={expandMode:"multiple",animation:!0,keepItemsMounted:!1};let m=f;exports.PanelBar=m;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const J=require("react"),v=require("prop-types"),L=require("./PanelBarItem.js"),m=require("./util.js"),f=require("@progress/kendo-react-common"),a=require("./interfaces/NavigationAction.js");function Q(s){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const k=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(c,r,k.get?k:{enumerable:!0,get:()=>s[r]})}}return c.default=s,Object.freeze(c)}const i=Q(J),w=s=>{const{animation:c=!0,children:r,dir:k,selected:I,expanded:U,expandMode:S="multiple",className:D,keepItemsMounted:T=!1,onSelect:x,style:j,isControlled:_}=s,K=i.useRef(null),B=i.useRef(void 0),N=i.useRef(null),[p,g]=i.useState(()=>{const t=S||"multiple",u=m.getInitialState(s,t);return u.focused||(u.focused=m.getFirstId(s)),u}),R=S||"multiple",F=I!==void 0?I:p.selected,h=_?U||[]:p.expanded,E=i.useCallback(t=>{N.current=window.setTimeout(()=>t())},[]),C=i.useCallback(t=>{const u=A,o=m.flatChildren(i.Children.toArray(u));let n,l;switch(o.forEach(e=>{e.props.uniquePrivateKey===(t.uniquePrivateKey||p.focused)&&(n=e)}),R){case"single":l=[...n.props.parentUniquePrivateKey,n.props.uniquePrivateKey],m.isArrayEqual(h,l)&&(n.props.parentUniquePrivateKey?l=[...n.props.parentUniquePrivateKey]:l=[]);break;case"multiple":{l=h.slice();const e=l.indexOf(n.props.uniquePrivateKey);e===-1?l.push(n.props.uniquePrivateKey):l.splice(e,1);break}default:l=h.slice();break}g(e=>({...e,selected:n.props.uniquePrivateKey,expanded:l})),x&&x({target:n,expandedItems:l})},[r,p.focused,R,h,x]),d=i.useCallback((t,u=0,o)=>{const n=A,l=m.flatVisibleChildren(i.Children.toArray(n)),e=m.getFocusedChild(l,u,t,p.focused,o);if(e){const b=h.slice();if(o===a.NavigationAction.Right&&e&&e.props&&e.props.children&&e.props.children.length>0){if(b.push(e.props.uniquePrivateKey),g(y=>({...y,expanded:[...new Set(b)]})),e.props.expanded){const y=e.props.children[0].props.uniquePrivateKey;g(P=>({...P,focused:y}))}}else if(o===a.NavigationAction.Left&&(e&&e.props&&e.props.parentUniquePrivateKey&&e.props.parentUniquePrivateKey.length>0||e&&e.props&&!e.props.disabled&&e.props.children&&e.props.children.length>0)){const y=e.props.parentUniquePrivateKey;if(e.props.expanded){const P=e.props.uniquePrivateKey,q=b.indexOf(P);b.splice(q,1),g(H=>({...H,expanded:b}))}else if(e.props.level>0){const P=e.props.parentUniquePrivateKey[y.length-1];g(q=>({...q,focused:P}))}}else B.current=e.props.id,g(y=>({...y,focused:e.props.uniquePrivateKey}))}},[r,p.focused,h]),M=i.useCallback(t=>{C(t),d(t)},[C,d]),A=i.useMemo(()=>m.renderChildren({animation:c,keepItemsMounted:T,state:{...p,selected:F},expanded:h,handleSelect:M,children:r}),[c,T,p,F,h,r,M]),O=i.useCallback((t,u)=>{let o;switch(u){case a.NavigationAction.First:d(t,o,a.NavigationAction.First);break;case a.NavigationAction.Last:d(t,o,a.NavigationAction.Last);break;case a.NavigationAction.Left:d(t,o,a.NavigationAction.Left);break;case a.NavigationAction.Right:d(t,o,a.NavigationAction.Right);break;case a.NavigationAction.Previous:o=-1,d(t,o);break;case a.NavigationAction.Next:o=1,d(t,o);break;case a.NavigationAction.Toggle:C(t);break}},[d,C]),W=i.useCallback(()=>{clearTimeout(N.current),p.wrapperFocused||g(t=>({...t,wrapperFocused:!0}))},[p.wrapperFocused]),$=i.useCallback(()=>{E(()=>{g(t=>({...t,wrapperFocused:!1}))})},[E]),z=i.useCallback(t=>{const u=K.current&&getComputedStyle(K.current).direction==="rtl"||!1;if(t.target===t.currentTarget){const o=t.keyCode;let n;switch(o){case f.Keys.left:n=u?a.NavigationAction.Right:a.NavigationAction.Left;break;case f.Keys.up:n=a.NavigationAction.Previous;break;case f.Keys.right:n=u?a.NavigationAction.Left:a.NavigationAction.Right;break;case f.Keys.down:n=a.NavigationAction.Next;break;case f.Keys.home:n=a.NavigationAction.First;break;case f.Keys.end:n=a.NavigationAction.Last;break;case f.Keys.space:case f.Keys.enter:n=a.NavigationAction.Toggle;break;default:n=null;break}n!==null&&(t.preventDefault(),O(t,n))}},[O]);i.useEffect(()=>()=>{N.current&&clearTimeout(N.current)},[]);const V={"aria-activedescendant":B.current},G=f.classNames("k-panelbar",D);return i.createElement("ul",{ref:K,dir:k,role:"tree",tabIndex:0,onKeyDown:z,onFocus:W,onBlur:$,className:G,style:j,...V},A)};w.propTypes={children:v.oneOfType([v.arrayOf(function(s,c){return s[c].type!==L.PanelBarItem?new Error("PanelBar children should be either PanelBarItem or an array of PanelBarItem."):null}),function(s,c){const r=s[c];return r&&r.type!==L.PanelBarItem?new Error("PanelBar children should be either PanelBarItem or an array of PanelBarItem."):null}]),selected:v.string,expandMode(s,c){const r=s[c];return r!=="single"&&r!=="multiple"&&r!=="default"?new Error(`Invalid value '${r}' given to '${c}'. It must be either 'single', 'multiple' or 'default'.`):null},animation:v.bool,keepItemsMounted:v.bool,onSelect:v.func};w.defaultProps={expandMode:"multiple",animation:!0,keepItemsMounted:!1};exports.PanelBar=w;