@progress/kendo-react-layout 8.2.0-develop.30 → 8.2.0-develop.31

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
@@ -2216,6 +2216,11 @@ export declare const footerDisplayName = "ActionSheetFooter";
2216
2216
  */
2217
2217
  export declare const getFirstId: (props: any) => any;
2218
2218
 
2219
+ /**
2220
+ * @hidden
2221
+ */
2222
+ export declare const getFocusedChild: (flattenChildren: any, step: number, event: any, focused?: string, action?: NavigationAction) => any;
2223
+
2219
2224
  /**
2220
2225
  * @hidden
2221
2226
  */
@@ -2812,7 +2817,11 @@ export declare interface MenuState {
2812
2817
  declare enum NavigationAction {
2813
2818
  Toggle = 0,
2814
2819
  Next = 1,
2815
- Previous = 2
2820
+ Previous = 2,
2821
+ First = 3,
2822
+ Last = 4,
2823
+ Left = 5,
2824
+ Right = 6
2816
2825
  }
2817
2826
 
2818
2827
  export declare class PanelBar extends React_2.Component<PanelBarProps, PanelBarState> {
@@ -2864,11 +2873,11 @@ export declare class PanelBar extends React_2.Component<PanelBarProps, PanelBarS
2864
2873
  /**
2865
2874
  * @hidden
2866
2875
  */
2867
- onFocus: (event: any, step?: number) => void;
2876
+ onFocus: (event: any, step?: number, action?: NavigationAction) => void;
2868
2877
  /**
2869
2878
  * @hidden
2870
2879
  */
2871
- onNavigate: (event: any, action: NavigationAction) => void;
2880
+ onNavigate: (event: React_2.KeyboardEvent<HTMLUListElement>, action: NavigationAction) => void;
2872
2881
  /**
2873
2882
  * @hidden
2874
2883
  */
package/index.d.ts CHANGED
@@ -2216,6 +2216,11 @@ export declare const footerDisplayName = "ActionSheetFooter";
2216
2216
  */
2217
2217
  export declare const getFirstId: (props: any) => any;
2218
2218
 
2219
+ /**
2220
+ * @hidden
2221
+ */
2222
+ export declare const getFocusedChild: (flattenChildren: any, step: number, event: any, focused?: string, action?: NavigationAction) => any;
2223
+
2219
2224
  /**
2220
2225
  * @hidden
2221
2226
  */
@@ -2812,7 +2817,11 @@ export declare interface MenuState {
2812
2817
  declare enum NavigationAction {
2813
2818
  Toggle = 0,
2814
2819
  Next = 1,
2815
- Previous = 2
2820
+ Previous = 2,
2821
+ First = 3,
2822
+ Last = 4,
2823
+ Left = 5,
2824
+ Right = 6
2816
2825
  }
2817
2826
 
2818
2827
  export declare class PanelBar extends React_2.Component<PanelBarProps, PanelBarState> {
@@ -2864,11 +2873,11 @@ export declare class PanelBar extends React_2.Component<PanelBarProps, PanelBarS
2864
2873
  /**
2865
2874
  * @hidden
2866
2875
  */
2867
- onFocus: (event: any, step?: number) => void;
2876
+ onFocus: (event: any, step?: number, action?: NavigationAction) => void;
2868
2877
  /**
2869
2878
  * @hidden
2870
2879
  */
2871
- onNavigate: (event: any, action: NavigationAction) => void;
2880
+ onNavigate: (event: React_2.KeyboardEvent<HTMLUListElement>, action: NavigationAction) => void;
2872
2881
  /**
2873
2882
  * @hidden
2874
2883
  */
package/index.js CHANGED
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./menu/components/Menu.js"),i=require("./tabstrip/TabStrip.js"),d=require("./menu/components/MenuItemInternal.js"),t=require("./menu/components/MenuItemArrow.js"),m=require("./splitter/SplitterBar.js"),n=require("@progress/kendo-react-common"),l=require("./tabstrip/TabStripContent.js"),p=require("./tabstrip/TabStripNavigation.js"),S=require("./tabstrip/TabStripNavigationItem.js"),q=require("./tabstrip/TabStripTab.js"),C=require("./panelbar/PanelBar.js"),b=require("./panelbar/PanelBarItem.js"),e=require("./panelbar/util.js"),I=require("./menu/components/MenuItemLink.js"),B=require("./menu/components/MenuItem.js"),A=require("./splitter/Splitter.js"),T=require("./splitter/SplitterPane.js"),g=require("./card/Card.js"),N=require("./card/CardHeader.js"),y=require("./card/CardTitle.js"),L=require("./card/CardBody.js"),h=require("./card/CardActions.js"),w=require("./card/CardImage.js"),M=require("./card/CardSubtitle.js"),v=require("./card/CardFooter.js"),D=require("./card/Avatar.js"),P=require("./drawer/Drawer.js"),f=require("./drawer/DrawerNavigation.js"),k=require("./drawer/DrawerContent.js"),E=require("./drawer/DrawerItem.js"),F=require("./stepper/Stepper.js"),x=require("./stepper/Step.js"),H=require("./appbar/AppBar.js"),O=require("./appbar/AppBarSection.js"),G=require("./appbar/AppBarSpacer.js"),V=require("./tilelayout/TileLayout.js"),R=require("./bottomnavigation/BottomNavigation.js"),j=require("./bottomnavigation/BottomNavigationItem.js"),K=require("./stacklayout/StackLayout.js"),U=require("./gridlayout/GridLayout.js"),Y=require("./gridlayout/GridLayoutItem.js"),$=require("./breadcrumb/Breadcrumb.js"),z=require("./breadcrumb/BreadcrumbOrderedList.js"),J=require("./breadcrumb/BreadcrumbListItem.js"),Q=require("./breadcrumb/BreadcrumbDelimiter.js"),W=require("./breadcrumb/BreadcrumbLink.js"),X=require("./actionsheet/ActionSheet.js"),Z=require("./actionsheet/ActionSheetItem.js"),o=require("./actionsheet/ActionSheetHeader.js"),u=require("./actionsheet/ActionSheetContent.js"),s=require("./actionsheet/ActionSheetFooter.js"),_=require("./timeline/Timeline.js"),c=require("./timeline/utils.js"),ee=require("./contextmenu/ContextMenu.js"),te=require("./expansionpanel/ExpansionPanel.js"),re=require("./expansionpanel/ExpansionPanelContent.js"),r=n.withIdHOC(a.Menu);r.displayName="KendoReactMenu";const ae=n.withIdHOC(i.TabStrip);r.displayName="KendoReactMenu";exports.MenuClassComponent=a.Menu;exports.TabStripClassComponent=i.TabStrip;exports.MenuItemInternalsList=d.MenuItemInternalsList;exports.MenuItemArrow=t.MenuItemArrow;exports.downArrowName=t.downArrowName;exports.leftArrowName=t.leftArrowName;exports.rightArrowName=t.rightArrowName;exports.SplitterBar=m.SplitterBar;exports.TabStripContent=l.TabStripContent;exports.TabStripNavigation=p.TabStripNavigation;exports.TabStripNavigationItem=S.TabStripNavigationItem;exports.TabStripTab=q.TabStripTab;exports.PanelBar=C.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.getInitialState=e.getInitialState;exports.isArrayEqual=e.isArrayEqual;exports.isPresent=e.isPresent;exports.renderChildren=e.renderChildren;exports.MenuItemLink=I.MenuItemLink;exports.MenuItem=B.MenuItem;exports.Splitter=A.Splitter;exports.SplitterPane=T.SplitterPane;exports.Card=g.Card;exports.CardHeader=N.CardHeader;exports.CardTitle=y.CardTitle;exports.CardBody=L.CardBody;exports.CardActions=h.CardActions;exports.CardImage=w.CardImage;exports.CardSubtitle=M.CardSubtitle;exports.CardFooter=v.CardFooter;exports.Avatar=D.Avatar;exports.Drawer=P.Drawer;exports.DrawerNavigation=f.DrawerNavigation;exports.DrawerContent=k.DrawerContent;exports.DrawerItem=E.DrawerItem;exports.Stepper=F.Stepper;exports.Step=x.Step;exports.AppBar=H.AppBar;exports.AppBarSection=O.AppBarSection;exports.AppBarSpacer=G.AppBarSpacer;exports.TileLayout=V.TileLayout;exports.BottomNavigation=R.BottomNavigation;exports.BottomNavigationItem=j.BottomNavigationItem;exports.StackLayout=K.StackLayout;exports.GridLayout=U.GridLayout;exports.GridLayoutItem=Y.GridLayoutItem;exports.Breadcrumb=$.Breadcrumb;exports.BreadcrumbOrderedList=z.BreadcrumbOrderedList;exports.BreadcrumbListItem=J.BreadcrumbListItem;exports.BreadcrumbDelimiter=Q.BreadcrumbDelimiter;exports.BreadcrumbLink=W.BreadcrumbLink;exports.ActionSheet=X.ActionSheet;exports.ActionSheetItem=Z.ActionSheetItem;exports.ActionSheetHeader=o.ActionSheetHeader;exports.headerDisplayName=o.headerDisplayName;exports.ActionSheetContent=u.ActionSheetContent;exports.contentDisplayName=u.contentDisplayName;exports.ActionSheetFooter=s.ActionSheetFooter;exports.footerDisplayName=s.footerDisplayName;exports.Timeline=_.Timeline;exports.addYearsFlags=c.addYearsFlags;exports.sortEventList=c.sortEventList;exports.ContextMenu=ee.ContextMenu;exports.ExpansionPanel=te.ExpansionPanel;exports.ExpansionPanelContent=re.ExpansionPanelContent;exports.Menu=r;exports.TabStrip=ae;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./menu/components/Menu.js"),i=require("./tabstrip/TabStrip.js"),d=require("./menu/components/MenuItemInternal.js"),t=require("./menu/components/MenuItemArrow.js"),l=require("./splitter/SplitterBar.js"),n=require("@progress/kendo-react-common"),m=require("./tabstrip/TabStripContent.js"),p=require("./tabstrip/TabStripNavigation.js"),S=require("./tabstrip/TabStripNavigationItem.js"),q=require("./tabstrip/TabStripTab.js"),C=require("./panelbar/PanelBar.js"),b=require("./panelbar/PanelBarItem.js"),e=require("./panelbar/util.js"),I=require("./menu/components/MenuItemLink.js"),B=require("./menu/components/MenuItem.js"),A=require("./splitter/Splitter.js"),g=require("./splitter/SplitterPane.js"),T=require("./card/Card.js"),h=require("./card/CardHeader.js"),N=require("./card/CardTitle.js"),y=require("./card/CardBody.js"),L=require("./card/CardActions.js"),w=require("./card/CardImage.js"),M=require("./card/CardSubtitle.js"),v=require("./card/CardFooter.js"),D=require("./card/Avatar.js"),P=require("./drawer/Drawer.js"),f=require("./drawer/DrawerNavigation.js"),F=require("./drawer/DrawerContent.js"),k=require("./drawer/DrawerItem.js"),E=require("./stepper/Stepper.js"),x=require("./stepper/Step.js"),H=require("./appbar/AppBar.js"),O=require("./appbar/AppBarSection.js"),G=require("./appbar/AppBarSpacer.js"),V=require("./tilelayout/TileLayout.js"),R=require("./bottomnavigation/BottomNavigation.js"),j=require("./bottomnavigation/BottomNavigationItem.js"),K=require("./stacklayout/StackLayout.js"),U=require("./gridlayout/GridLayout.js"),Y=require("./gridlayout/GridLayoutItem.js"),$=require("./breadcrumb/Breadcrumb.js"),z=require("./breadcrumb/BreadcrumbOrderedList.js"),J=require("./breadcrumb/BreadcrumbListItem.js"),Q=require("./breadcrumb/BreadcrumbDelimiter.js"),W=require("./breadcrumb/BreadcrumbLink.js"),X=require("./actionsheet/ActionSheet.js"),Z=require("./actionsheet/ActionSheetItem.js"),o=require("./actionsheet/ActionSheetHeader.js"),u=require("./actionsheet/ActionSheetContent.js"),s=require("./actionsheet/ActionSheetFooter.js"),_=require("./timeline/Timeline.js"),c=require("./timeline/utils.js"),ee=require("./contextmenu/ContextMenu.js"),te=require("./expansionpanel/ExpansionPanel.js"),re=require("./expansionpanel/ExpansionPanelContent.js"),r=n.withIdHOC(a.Menu);r.displayName="KendoReactMenu";const ae=n.withIdHOC(i.TabStrip);r.displayName="KendoReactMenu";exports.MenuClassComponent=a.Menu;exports.TabStripClassComponent=i.TabStrip;exports.MenuItemInternalsList=d.MenuItemInternalsList;exports.MenuItemArrow=t.MenuItemArrow;exports.downArrowName=t.downArrowName;exports.leftArrowName=t.leftArrowName;exports.rightArrowName=t.rightArrowName;exports.SplitterBar=l.SplitterBar;exports.TabStripContent=m.TabStripContent;exports.TabStripNavigation=p.TabStripNavigation;exports.TabStripNavigationItem=S.TabStripNavigationItem;exports.TabStripTab=q.TabStripTab;exports.PanelBar=C.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=I.MenuItemLink;exports.MenuItem=B.MenuItem;exports.Splitter=A.Splitter;exports.SplitterPane=g.SplitterPane;exports.Card=T.Card;exports.CardHeader=h.CardHeader;exports.CardTitle=N.CardTitle;exports.CardBody=y.CardBody;exports.CardActions=L.CardActions;exports.CardImage=w.CardImage;exports.CardSubtitle=M.CardSubtitle;exports.CardFooter=v.CardFooter;exports.Avatar=D.Avatar;exports.Drawer=P.Drawer;exports.DrawerNavigation=f.DrawerNavigation;exports.DrawerContent=F.DrawerContent;exports.DrawerItem=k.DrawerItem;exports.Stepper=E.Stepper;exports.Step=x.Step;exports.AppBar=H.AppBar;exports.AppBarSection=O.AppBarSection;exports.AppBarSpacer=G.AppBarSpacer;exports.TileLayout=V.TileLayout;exports.BottomNavigation=R.BottomNavigation;exports.BottomNavigationItem=j.BottomNavigationItem;exports.StackLayout=K.StackLayout;exports.GridLayout=U.GridLayout;exports.GridLayoutItem=Y.GridLayoutItem;exports.Breadcrumb=$.Breadcrumb;exports.BreadcrumbOrderedList=z.BreadcrumbOrderedList;exports.BreadcrumbListItem=J.BreadcrumbListItem;exports.BreadcrumbDelimiter=Q.BreadcrumbDelimiter;exports.BreadcrumbLink=W.BreadcrumbLink;exports.ActionSheet=X.ActionSheet;exports.ActionSheetItem=Z.ActionSheetItem;exports.ActionSheetHeader=o.ActionSheetHeader;exports.headerDisplayName=o.headerDisplayName;exports.ActionSheetContent=u.ActionSheetContent;exports.contentDisplayName=u.contentDisplayName;exports.ActionSheetFooter=s.ActionSheetFooter;exports.footerDisplayName=s.footerDisplayName;exports.Timeline=_.Timeline;exports.addYearsFlags=c.addYearsFlags;exports.sortEventList=c.sortEventList;exports.ContextMenu=ee.ContextMenu;exports.ExpansionPanel=te.ExpansionPanel;exports.ExpansionPanelContent=re.ExpansionPanelContent;exports.Menu=r;exports.TabStrip=ae;
package/index.mjs CHANGED
@@ -9,134 +9,135 @@
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 d, leftArrowName as u, rightArrowName as S } from "./menu/components/MenuItemArrow.mjs";
12
+ import { MenuItemArrow as l, downArrowName as s, leftArrowName as u, rightArrowName as S } 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
15
  import { TabStripContent as I } from "./tabstrip/TabStripContent.mjs";
16
16
  import { TabStripNavigation as B } from "./tabstrip/TabStripNavigation.mjs";
17
- import { TabStripNavigationItem as T } from "./tabstrip/TabStripNavigationItem.mjs";
18
- import { TabStripTab as y } from "./tabstrip/TabStripTab.mjs";
19
- import { PanelBar as g } from "./panelbar/PanelBar.mjs";
17
+ import { TabStripNavigationItem as h } from "./tabstrip/TabStripNavigationItem.mjs";
18
+ import { TabStripTab as g } from "./tabstrip/TabStripTab.mjs";
19
+ import { PanelBar as M } from "./panelbar/PanelBar.mjs";
20
20
  import { PanelBarItem as L } from "./panelbar/PanelBarItem.mjs";
21
- import { PanelBarUtils as v, flatChildren as P, flatVisibleChildren as E, flatVisibleItems as F, getFirstId as k, getInitialState as H, isArrayEqual as G, isPresent as K, renderChildren as O } from "./panelbar/util.mjs";
22
- import { MenuItemLink as V } from "./menu/components/MenuItemLink.mjs";
23
- import { MenuItem as q } from "./menu/components/MenuItem.mjs";
24
- import { Splitter as Y } from "./splitter/Splitter.mjs";
25
- import { SplitterPane as z } from "./splitter/SplitterPane.mjs";
26
- import { Card as Q } from "./card/Card.mjs";
27
- import { CardHeader as X } from "./card/CardHeader.mjs";
28
- import { CardTitle as _ } from "./card/CardTitle.mjs";
29
- import { CardBody as er } from "./card/CardBody.mjs";
30
- import { CardActions as tr } from "./card/CardActions.mjs";
31
- import { CardImage as mr } from "./card/CardImage.mjs";
32
- import { CardSubtitle as ir } from "./card/CardSubtitle.mjs";
33
- import { CardFooter as fr } from "./card/CardFooter.mjs";
21
+ import { PanelBarUtils as v, flatChildren as P, flatVisibleChildren as F, flatVisibleItems as E, getFirstId as k, getFocusedChild as H, getInitialState as G, isArrayEqual as K, isPresent as O, renderChildren as R } 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
34
  import { Avatar as lr } from "./card/Avatar.mjs";
35
- import { Drawer as dr } from "./drawer/Drawer.mjs";
36
- import { DrawerNavigation as Sr } from "./drawer/DrawerNavigation.mjs";
37
- import { DrawerContent as cr } from "./drawer/DrawerContent.mjs";
38
- import { DrawerItem as Ir } from "./drawer/DrawerItem.mjs";
39
- import { Stepper as Br } from "./stepper/Stepper.mjs";
35
+ import { Drawer as ur } from "./drawer/Drawer.mjs";
36
+ import { DrawerNavigation as Cr } from "./drawer/DrawerNavigation.mjs";
37
+ import { DrawerContent as br } from "./drawer/DrawerContent.mjs";
38
+ import { DrawerItem as Ar } from "./drawer/DrawerItem.mjs";
39
+ import { Stepper as Nr } from "./stepper/Stepper.mjs";
40
40
  import { Step as Tr } from "./stepper/Step.mjs";
41
41
  import { AppBar as yr } from "./appbar/AppBar.mjs";
42
- import { AppBarSection as gr } from "./appbar/AppBarSection.mjs";
43
- import { AppBarSpacer as Lr } from "./appbar/AppBarSpacer.mjs";
44
- import { TileLayout as vr } from "./tilelayout/TileLayout.mjs";
42
+ import { AppBarSection as wr } from "./appbar/AppBarSection.mjs";
43
+ import { AppBarSpacer as Dr } from "./appbar/AppBarSpacer.mjs";
44
+ import { TileLayout as Pr } from "./tilelayout/TileLayout.mjs";
45
45
  import { BottomNavigation as Er } from "./bottomnavigation/BottomNavigation.mjs";
46
- import { BottomNavigationItem as kr } from "./bottomnavigation/BottomNavigationItem.mjs";
47
- import { StackLayout as Gr } from "./stacklayout/StackLayout.mjs";
48
- import { GridLayout as Or } from "./gridlayout/GridLayout.mjs";
49
- import { GridLayoutItem as Vr } from "./gridlayout/GridLayoutItem.mjs";
50
- import { Breadcrumb as qr } from "./breadcrumb/Breadcrumb.mjs";
51
- import { BreadcrumbOrderedList as Yr } from "./breadcrumb/BreadcrumbOrderedList.mjs";
52
- import { BreadcrumbListItem as zr } from "./breadcrumb/BreadcrumbListItem.mjs";
53
- import { BreadcrumbDelimiter as Qr } from "./breadcrumb/BreadcrumbDelimiter.mjs";
54
- import { BreadcrumbLink as Xr } from "./breadcrumb/BreadcrumbLink.mjs";
55
- import { ActionSheet as _r } from "./actionsheet/ActionSheet.mjs";
56
- import { ActionSheetItem as ee } from "./actionsheet/ActionSheetItem.mjs";
57
- import { ActionSheetHeader as te, headerDisplayName as ae } from "./actionsheet/ActionSheetHeader.mjs";
58
- import { ActionSheetContent as pe, contentDisplayName as ie } from "./actionsheet/ActionSheetContent.mjs";
59
- import { ActionSheetFooter as fe, footerDisplayName as xe } from "./actionsheet/ActionSheetFooter.mjs";
46
+ import { BottomNavigationItem as Hr } from "./bottomnavigation/BottomNavigationItem.mjs";
47
+ import { StackLayout as Kr } from "./stacklayout/StackLayout.mjs";
48
+ import { GridLayout as Rr } from "./gridlayout/GridLayout.mjs";
49
+ import { GridLayoutItem as $r } from "./gridlayout/GridLayoutItem.mjs";
50
+ import { Breadcrumb as Ur } from "./breadcrumb/Breadcrumb.mjs";
51
+ import { BreadcrumbOrderedList as jr } from "./breadcrumb/BreadcrumbOrderedList.mjs";
52
+ import { BreadcrumbListItem as Jr } from "./breadcrumb/BreadcrumbListItem.mjs";
53
+ import { BreadcrumbDelimiter as Wr } from "./breadcrumb/BreadcrumbDelimiter.mjs";
54
+ import { BreadcrumbLink as Zr } from "./breadcrumb/BreadcrumbLink.mjs";
55
+ import { ActionSheet as re } from "./actionsheet/ActionSheet.mjs";
56
+ import { ActionSheetItem as oe } from "./actionsheet/ActionSheetItem.mjs";
57
+ import { ActionSheetHeader as ae, headerDisplayName as me } from "./actionsheet/ActionSheetHeader.mjs";
58
+ import { ActionSheetContent as ie, contentDisplayName as ne } from "./actionsheet/ActionSheetContent.mjs";
59
+ import { ActionSheetFooter as xe, footerDisplayName as de } from "./actionsheet/ActionSheetFooter.mjs";
60
60
  import { Timeline as se } from "./timeline/Timeline.mjs";
61
- import { addYearsFlags as ue, sortEventList as Se } from "./timeline/utils.mjs";
62
- import { ContextMenu as ce } from "./contextmenu/ContextMenu.mjs";
63
- import { ExpansionPanel as Ie } from "./expansionpanel/ExpansionPanel.mjs";
64
- import { ExpansionPanelContent as Be } from "./expansionpanel/ExpansionPanelContent.mjs";
61
+ import { addYearsFlags as Se, sortEventList as Ce } from "./timeline/utils.mjs";
62
+ import { ContextMenu as be } from "./contextmenu/ContextMenu.mjs";
63
+ import { ExpansionPanel as Ae } from "./expansionpanel/ExpansionPanel.mjs";
64
+ import { ExpansionPanelContent as Ne } from "./expansionpanel/ExpansionPanelContent.mjs";
65
65
  const e = r(o);
66
66
  e.displayName = "KendoReactMenu";
67
67
  const i = r(t);
68
68
  e.displayName = "KendoReactMenu";
69
69
  export {
70
- _r as ActionSheet,
71
- pe as ActionSheetContent,
72
- fe as ActionSheetFooter,
73
- te as ActionSheetHeader,
74
- ee as ActionSheetItem,
70
+ re as ActionSheet,
71
+ ie as ActionSheetContent,
72
+ xe as ActionSheetFooter,
73
+ ae as ActionSheetHeader,
74
+ oe as ActionSheetItem,
75
75
  yr as AppBar,
76
- gr as AppBarSection,
77
- Lr as AppBarSpacer,
76
+ wr as AppBarSection,
77
+ Dr as AppBarSpacer,
78
78
  lr as Avatar,
79
79
  Er as BottomNavigation,
80
- kr as BottomNavigationItem,
81
- qr as Breadcrumb,
82
- Qr as BreadcrumbDelimiter,
83
- Xr as BreadcrumbLink,
84
- zr as BreadcrumbListItem,
85
- Yr as BreadcrumbOrderedList,
86
- Q as Card,
87
- tr as CardActions,
88
- er as CardBody,
89
- fr as CardFooter,
90
- X as CardHeader,
91
- mr as CardImage,
92
- ir as CardSubtitle,
93
- _ as CardTitle,
94
- ce as ContextMenu,
95
- dr as Drawer,
96
- cr as DrawerContent,
97
- Ir as DrawerItem,
98
- Sr as DrawerNavigation,
99
- Ie as ExpansionPanel,
100
- Be as ExpansionPanelContent,
101
- Or as GridLayout,
102
- Vr as GridLayoutItem,
80
+ Hr as BottomNavigationItem,
81
+ Ur as Breadcrumb,
82
+ Wr as BreadcrumbDelimiter,
83
+ Zr as BreadcrumbLink,
84
+ Jr as BreadcrumbListItem,
85
+ jr as BreadcrumbOrderedList,
86
+ W as Card,
87
+ ar as CardActions,
88
+ or as CardBody,
89
+ xr as CardFooter,
90
+ Z as CardHeader,
91
+ pr as CardImage,
92
+ nr as CardSubtitle,
93
+ rr as CardTitle,
94
+ be as ContextMenu,
95
+ ur as Drawer,
96
+ br as DrawerContent,
97
+ Ar as DrawerItem,
98
+ Cr as DrawerNavigation,
99
+ Ae as ExpansionPanel,
100
+ Ne as ExpansionPanelContent,
101
+ Rr as GridLayout,
102
+ $r as GridLayoutItem,
103
103
  e as Menu,
104
104
  o as MenuClassComponent,
105
- q as MenuItem,
106
- s as MenuItemArrow,
105
+ U as MenuItem,
106
+ l as MenuItemArrow,
107
107
  x as MenuItemInternalsList,
108
- V as MenuItemLink,
109
- g as PanelBar,
108
+ $ as MenuItemLink,
109
+ M as PanelBar,
110
110
  L as PanelBarItem,
111
111
  v as PanelBarUtils,
112
- Y as Splitter,
112
+ j as Splitter,
113
113
  c as SplitterBar,
114
- z as SplitterPane,
115
- Gr as StackLayout,
114
+ J as SplitterPane,
115
+ Kr as StackLayout,
116
116
  Tr as Step,
117
- Br as Stepper,
117
+ Nr as Stepper,
118
118
  i as TabStrip,
119
119
  t as TabStripClassComponent,
120
120
  I as TabStripContent,
121
121
  B as TabStripNavigation,
122
- T as TabStripNavigationItem,
123
- y as TabStripTab,
124
- vr as TileLayout,
122
+ h as TabStripNavigationItem,
123
+ g as TabStripTab,
124
+ Pr as TileLayout,
125
125
  se as Timeline,
126
- ue as addYearsFlags,
127
- ie as contentDisplayName,
128
- d as downArrowName,
126
+ Se as addYearsFlags,
127
+ ne as contentDisplayName,
128
+ s as downArrowName,
129
129
  P as flatChildren,
130
- E as flatVisibleChildren,
131
- F as flatVisibleItems,
132
- xe as footerDisplayName,
130
+ F as flatVisibleChildren,
131
+ E as flatVisibleItems,
132
+ de as footerDisplayName,
133
133
  k as getFirstId,
134
- H as getInitialState,
135
- ae as headerDisplayName,
136
- G as isArrayEqual,
137
- K as isPresent,
134
+ H as getFocusedChild,
135
+ G as getInitialState,
136
+ me as headerDisplayName,
137
+ K as isArrayEqual,
138
+ O as isPresent,
138
139
  u as leftArrowName,
139
- O as renderChildren,
140
+ R as renderChildren,
140
141
  S as rightArrowName,
141
- Se as sortEventList
142
+ Ce as sortEventList
142
143
  };
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-layout",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1722491408,
13
+ publishDate: 1722494815,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-layout",
3
- "version": "8.2.0-develop.30",
3
+ "version": "8.2.0-develop.31",
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",
@@ -23,11 +23,11 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-licensing": "^1.3.4",
26
- "@progress/kendo-react-animation": "8.2.0-develop.30",
27
- "@progress/kendo-react-common": "8.2.0-develop.30",
28
- "@progress/kendo-react-intl": "8.2.0-develop.30",
29
- "@progress/kendo-react-popup": "8.2.0-develop.30",
30
- "@progress/kendo-react-progressbars": "8.2.0-develop.30",
26
+ "@progress/kendo-react-animation": "8.2.0-develop.31",
27
+ "@progress/kendo-react-common": "8.2.0-develop.31",
28
+ "@progress/kendo-react-intl": "8.2.0-develop.31",
29
+ "@progress/kendo-react-popup": "8.2.0-develop.31",
30
+ "@progress/kendo-react-progressbars": "8.2.0-develop.31",
31
31
  "@progress/kendo-svg-icons": "^3.0.0",
32
32
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
33
33
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
@@ -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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("react"),r=require("prop-types"),g=require("./PanelBarItem.js"),d=require("./util.js"),o=require("@progress/kendo-react-common"),y=require("../package-metadata.js"),l=require("./interfaces/NavigationAction.js");function x(p){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(p){for(const a in p)if(a!=="default"){const e=Object.getOwnPropertyDescriptor(p,a);Object.defineProperty(s,a,e.get?e:{enumerable:!0,get:()=>p[a]})}}return s.default=p,Object.freeze(s)}const u=x(v),h=class h extends u.Component{constructor(s){super(s),this._element=null,this.showLicenseWatermark=!1,this.handleSelect=e=>{this.onSelect(e),this.onFocus(e)},this.onSelect=e=>{const n=d.flatChildren(u.Children.toArray(this.children));let i,t;switch(n.forEach(c=>{c.props.uniquePrivateKey===(e.uniquePrivateKey||this.state.focused)&&(i=c)}),this.expandMode){case"single":t=[...i.props.parentUniquePrivateKey,i.props.uniquePrivateKey],d.isArrayEqual(this.expandedItems,t)&&(i.props.parentUniquePrivateKey?t=[...i.props.parentUniquePrivateKey]:t=[]);break;case"multiple":{t=this.expandedItems.slice();const c=t.indexOf(i.props.uniquePrivateKey);c===-1?t.push(i.props.uniquePrivateKey):t.splice(c,1);break}default:t=this.expandedItems.slice();break}this.setState({selected:i.props.uniquePrivateKey,expanded:t}),this.props.onSelect&&this.props.onSelect.call(void 0,{target:i,expandedItems:t})},this.onFocus=(e,n=0)=>{const i=d.flatVisibleChildren(u.Children.toArray(this.children));let t;i.forEach((c,f)=>{if(c.props.uniquePrivateKey===(e.uniquePrivateKey||this.state.focused)){const k=f+n<0?0:f+n>i.length?i.length-1:f+n;t=i[k]}}),t&&(this.activeDescendant=t.props.id,this.setState({focused:t.props.uniquePrivateKey}))},this.onNavigate=(e,n)=>{let i;switch(n){case l.NavigationAction.Previous:i=-1,this.onFocus(e,i);break;case l.NavigationAction.Next:i=1,this.onFocus(e,i);break;case l.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 n=this._element&&getComputedStyle(this._element).direction==="rtl"||!1;if(e.target===e.currentTarget){const i=e.keyCode;let t;switch(i){case o.Keys.left:t=n?l.NavigationAction.Next:l.NavigationAction.Previous;break;case o.Keys.up:t=l.NavigationAction.Previous;break;case o.Keys.right:t=n?l.NavigationAction.Previous:l.NavigationAction.Next;break;case o.Keys.down:t=l.NavigationAction.Next;break;case o.Keys.space:case o.Keys.enter:t=l.NavigationAction.Toggle;break;default:t=null;break}t!==null&&(e.preventDefault(),this.onNavigate(e,t))}},o.validatePackage(y.packageMetadata),this.showLicenseWatermark=o.shouldShowValidationUI(y.packageMetadata);const a=d.getInitialState(s,this.expandMode);a.focused||(a.focused=d.getFirstId(s)),this.state=a}get expandMode(){return this.props.expandMode||"multiple"}get selectedItem(){const{selected:s=this.state.selected}=this.props;return s}get expandedItems(){return this.props.isControlled?this.props.expanded||[]:this.state.expanded}get children(){const s={...this.state,selected:this.selectedItem},a={animation:this.props.animation,keepItemsMounted:this.props.keepItemsMounted,state:s,expanded:this.expandedItems,handleSelect:this.handleSelect,children:this.props.children};return d.renderChildren(a)}render(){const s={"aria-activedescendant":this.activeDescendant},a=o.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:a,style:this.props.style,...s},this.children,this.showLicenseWatermark&&u.createElement(o.WatermarkOverlay,null))}nextTick(s){this.nextTickId=window.setTimeout(()=>s())}};h.propTypes={animation:r.bool,children:function(s,a){const e=s[a];if(e){if(Array.isArray(e)){for(const n of e)if(!n.type||n.type!==g.PanelBarItem)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(e.type!==g.PanelBarItem)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.");return null}return null},dir:r.string,selected:r.string,expanded:r.arrayOf(r.string),focused:r.string,expandMode:r.oneOf(["single","multiple"]),className:r.string,keepItemsMounted:r.bool,onSelect:r.func,style:r.object},h.defaultProps={expandMode:"multiple",animation:!0,keepItemsMounted:!1};let m=h;exports.PanelBar=m;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),l=require("prop-types"),v=require("./PanelBarItem.js"),p=require("./util.js"),o=require("@progress/kendo-react-common"),k=require("../package-metadata.js"),a=require("./interfaces/NavigationAction.js");function P(d){const n=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(n,r,e.get?e:{enumerable:!0,get:()=>d[r]})}}return n.default=d,Object.freeze(n)}const u=P(b),g=class g extends u.Component{constructor(n){super(n),this._element=null,this.showLicenseWatermark=!1,this.handleSelect=e=>{this.onSelect(e),this.onFocus(e)},this.onSelect=e=>{const c=p.flatChildren(u.Children.toArray(this.children));let i,s;switch(c.forEach(t=>{t.props.uniquePrivateKey===(e.uniquePrivateKey||this.state.focused)&&(i=t)}),this.expandMode){case"single":s=[...i.props.parentUniquePrivateKey,i.props.uniquePrivateKey],p.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,c=0,i)=>{const s=p.flatVisibleChildren(u.Children.toArray(this.children)),t=p.getFocusedChild(s,c,e,this.state.focused,i);if(t){const h=this.expandedItems.slice();if(i===a.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 f=t.props.children[0].props.uniquePrivateKey;this.setState({focused:f})}}else if(i===a.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 f=t.props.parentUniquePrivateKey;if(t.props.expanded){const m=t.props.uniquePrivateKey,x=h.indexOf(m);h.splice(x,1),this.setState({expanded:h})}else if(t.props.level>0){const m=t.props.parentUniquePrivateKey[f.length-1];this.setState({focused:m})}}else this.activeDescendant=t.props.id,this.setState({focused:t.props.uniquePrivateKey})}},this.onNavigate=(e,c)=>{let i;switch(c){case a.NavigationAction.First:this.onFocus(e,i,a.NavigationAction.First);break;case a.NavigationAction.Last:this.onFocus(e,i,a.NavigationAction.Last);break;case a.NavigationAction.Left:this.onFocus(e,i,a.NavigationAction.Left);break;case a.NavigationAction.Right:this.onFocus(e,i,a.NavigationAction.Right);break;case a.NavigationAction.Previous:i=-1,this.onFocus(e,i);break;case a.NavigationAction.Next:i=1,this.onFocus(e,i);break;case a.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 c=this._element&&getComputedStyle(this._element).direction==="rtl"||!1;if(e.target===e.currentTarget){const i=e.keyCode;let s;switch(i){case o.Keys.left:s=c?a.NavigationAction.Right:a.NavigationAction.Left;break;case o.Keys.up:s=a.NavigationAction.Previous;break;case o.Keys.right:s=c?a.NavigationAction.Left:a.NavigationAction.Right;break;case o.Keys.down:s=a.NavigationAction.Next;break;case o.Keys.home:s=a.NavigationAction.First;break;case o.Keys.end:s=a.NavigationAction.Last;break;case o.Keys.space:case o.Keys.enter:s=a.NavigationAction.Toggle;break;default:s=null;break}s!==null&&(e.preventDefault(),this.onNavigate(e,s))}},o.validatePackage(k.packageMetadata),this.showLicenseWatermark=o.shouldShowValidationUI(k.packageMetadata);const r=p.getInitialState(n,this.expandMode);r.focused||(r.focused=p.getFirstId(n)),this.state=r}get expandMode(){return this.props.expandMode||"multiple"}get selectedItem(){const{selected:n=this.state.selected}=this.props;return n}get expandedItems(){return this.props.isControlled?this.props.expanded||[]:this.state.expanded}get children(){const n={...this.state,selected:this.selectedItem},r={animation:this.props.animation,keepItemsMounted:this.props.keepItemsMounted,state:n,expanded:this.expandedItems,handleSelect:this.handleSelect,children:this.props.children};return p.renderChildren(r)}render(){const n={"aria-activedescendant":this.activeDescendant},r=o.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,...n},this.children,this.showLicenseWatermark&&u.createElement(o.WatermarkOverlay,null))}nextTick(n){this.nextTickId=window.setTimeout(()=>n())}};g.propTypes={animation:l.bool,children:function(n,r){const e=n[r];if(e){if(Array.isArray(e)){for(const c of e)if(!c.type||c.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:l.string,selected:l.string,expanded:l.arrayOf(l.string),focused:l.string,expandMode:l.oneOf(["single","multiple"]),className:l.string,keepItemsMounted:l.bool,onSelect:l.func,style:l.object},g.defaultProps={expandMode:"multiple",animation:!0,keepItemsMounted:!1};let y=g;exports.PanelBar=y;