@progress/kendo-react-layout 8.2.0-develop.8 → 8.2.0
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/breadcrumb/BreadcrumbLink.js +1 -1
- package/breadcrumb/BreadcrumbLink.mjs +1 -0
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/index.d.mts +13 -16
- package/index.d.ts +13 -16
- package/index.js +1 -1
- package/index.mjs +97 -96
- package/package-metadata.mjs +1 -1
- package/package.json +6 -6
- package/panelbar/PanelBar.js +1 -1
- package/panelbar/PanelBar.mjs +115 -85
- package/panelbar/PanelBarItem.js +1 -1
- package/panelbar/PanelBarItem.mjs +1 -1
- package/panelbar/interfaces/NavigationAction.js +1 -1
- package/panelbar/interfaces/NavigationAction.mjs +1 -1
- package/panelbar/util.js +1 -1
- package/panelbar/util.mjs +113 -92
- package/splitter/Splitter.js +1 -1
- package/splitter/Splitter.mjs +37 -36
- package/splitter/SplitterPane.js +1 -1
- package/splitter/SplitterPane.mjs +19 -15
- package/tabstrip/TabStripNavigation.js +1 -1
- package/tabstrip/TabStripNavigation.mjs +30 -25
- package/tabstrip/messages/index.js +8 -0
- package/tabstrip/messages/index.mjs +17 -0
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:
|
|
2880
|
+
onNavigate: (event: React_2.KeyboardEvent<HTMLUListElement>, action: NavigationAction) => void;
|
|
2872
2881
|
/**
|
|
2873
2882
|
* @hidden
|
|
2874
2883
|
*/
|
|
@@ -3347,7 +3356,7 @@ export declare interface SplitterPaneProps extends KendoReactComponentBaseProps
|
|
|
3347
3356
|
/**
|
|
3348
3357
|
* Represents the options of the Splitter.
|
|
3349
3358
|
*/
|
|
3350
|
-
export declare interface SplitterProps {
|
|
3359
|
+
export declare interface SplitterProps extends KendoReactComponentBaseProps {
|
|
3351
3360
|
/**
|
|
3352
3361
|
* Sets the options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for controlled state.
|
|
3353
3362
|
*/
|
|
@@ -3360,22 +3369,10 @@ export declare interface SplitterProps {
|
|
|
3360
3369
|
* Specifies the orientation of the panes within the Splitter ([more information and examples]({% slug orientation_splitter %})). Panes in a horizontal Splitter are placed horizontally. Panes in a vertical Splitter are placed vertically.
|
|
3361
3370
|
*/
|
|
3362
3371
|
orientation?: 'vertical' | 'horizontal';
|
|
3363
|
-
/**
|
|
3364
|
-
* Sets the styles of the Splitter.
|
|
3365
|
-
*/
|
|
3366
|
-
style?: React_2.CSSProperties;
|
|
3367
3372
|
/**
|
|
3368
3373
|
* Fires after a Splitter pane is resized or collapsed. Useful for updating the pane options and triggering layout calculations on components which are positioned inside the panes.
|
|
3369
3374
|
*/
|
|
3370
3375
|
onChange?: (event: SplitterOnChangeEvent) => void;
|
|
3371
|
-
/**
|
|
3372
|
-
* The pane elements of the Splitter.
|
|
3373
|
-
*/
|
|
3374
|
-
children?: React_2.ReactNode;
|
|
3375
|
-
/**
|
|
3376
|
-
* The class name that is set to the Splitter.
|
|
3377
|
-
*/
|
|
3378
|
-
className?: string;
|
|
3379
3376
|
}
|
|
3380
3377
|
|
|
3381
3378
|
/**
|
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:
|
|
2880
|
+
onNavigate: (event: React_2.KeyboardEvent<HTMLUListElement>, action: NavigationAction) => void;
|
|
2872
2881
|
/**
|
|
2873
2882
|
* @hidden
|
|
2874
2883
|
*/
|
|
@@ -3347,7 +3356,7 @@ export declare interface SplitterPaneProps extends KendoReactComponentBaseProps
|
|
|
3347
3356
|
/**
|
|
3348
3357
|
* Represents the options of the Splitter.
|
|
3349
3358
|
*/
|
|
3350
|
-
export declare interface SplitterProps {
|
|
3359
|
+
export declare interface SplitterProps extends KendoReactComponentBaseProps {
|
|
3351
3360
|
/**
|
|
3352
3361
|
* Sets the options of the Splitter panes ([more information and examples]({% slug panes_splitter %})). Can be used for controlled state.
|
|
3353
3362
|
*/
|
|
@@ -3360,22 +3369,10 @@ export declare interface SplitterProps {
|
|
|
3360
3369
|
* Specifies the orientation of the panes within the Splitter ([more information and examples]({% slug orientation_splitter %})). Panes in a horizontal Splitter are placed horizontally. Panes in a vertical Splitter are placed vertically.
|
|
3361
3370
|
*/
|
|
3362
3371
|
orientation?: 'vertical' | 'horizontal';
|
|
3363
|
-
/**
|
|
3364
|
-
* Sets the styles of the Splitter.
|
|
3365
|
-
*/
|
|
3366
|
-
style?: React_2.CSSProperties;
|
|
3367
3372
|
/**
|
|
3368
3373
|
* Fires after a Splitter pane is resized or collapsed. Useful for updating the pane options and triggering layout calculations on components which are positioned inside the panes.
|
|
3369
3374
|
*/
|
|
3370
3375
|
onChange?: (event: SplitterOnChangeEvent) => void;
|
|
3371
|
-
/**
|
|
3372
|
-
* The pane elements of the Splitter.
|
|
3373
|
-
*/
|
|
3374
|
-
children?: React_2.ReactNode;
|
|
3375
|
-
/**
|
|
3376
|
-
* The class name that is set to the Splitter.
|
|
3377
|
-
*/
|
|
3378
|
-
className?: string;
|
|
3379
3376
|
}
|
|
3380
3377
|
|
|
3381
3378
|
/**
|
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"),
|
|
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
|
|
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
|
|
18
|
-
import { TabStripTab as
|
|
19
|
-
import { PanelBar as
|
|
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
|
|
22
|
-
import { MenuItemLink as
|
|
23
|
-
import { MenuItem as
|
|
24
|
-
import { Splitter as
|
|
25
|
-
import { SplitterPane as
|
|
26
|
-
import { Card as
|
|
27
|
-
import { CardHeader as
|
|
28
|
-
import { CardTitle as
|
|
29
|
-
import { CardBody as
|
|
30
|
-
import { CardActions as
|
|
31
|
-
import { CardImage as
|
|
32
|
-
import { CardSubtitle as
|
|
33
|
-
import { CardFooter as
|
|
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
|
|
36
|
-
import { DrawerNavigation as
|
|
37
|
-
import { DrawerContent as
|
|
38
|
-
import { DrawerItem as
|
|
39
|
-
import { Stepper as
|
|
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
|
|
43
|
-
import { AppBarSpacer as
|
|
44
|
-
import { TileLayout as
|
|
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
|
|
47
|
-
import { StackLayout as
|
|
48
|
-
import { GridLayout as
|
|
49
|
-
import { GridLayoutItem as
|
|
50
|
-
import { Breadcrumb as
|
|
51
|
-
import { BreadcrumbOrderedList as
|
|
52
|
-
import { BreadcrumbListItem as
|
|
53
|
-
import { BreadcrumbDelimiter as
|
|
54
|
-
import { BreadcrumbLink as
|
|
55
|
-
import { ActionSheet as
|
|
56
|
-
import { ActionSheetItem as
|
|
57
|
-
import { ActionSheetHeader as
|
|
58
|
-
import { ActionSheetContent as
|
|
59
|
-
import { ActionSheetFooter as
|
|
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
|
|
62
|
-
import { ContextMenu as
|
|
63
|
-
import { ExpansionPanel as
|
|
64
|
-
import { ExpansionPanelContent as
|
|
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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
77
|
-
|
|
76
|
+
wr as AppBarSection,
|
|
77
|
+
Dr as AppBarSpacer,
|
|
78
78
|
lr as Avatar,
|
|
79
79
|
Er as BottomNavigation,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
106
|
-
|
|
105
|
+
U as MenuItem,
|
|
106
|
+
l as MenuItemArrow,
|
|
107
107
|
x as MenuItemInternalsList,
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
$ as MenuItemLink,
|
|
109
|
+
M as PanelBar,
|
|
110
110
|
L as PanelBarItem,
|
|
111
111
|
v as PanelBarUtils,
|
|
112
|
-
|
|
112
|
+
j as Splitter,
|
|
113
113
|
c as SplitterBar,
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
J as SplitterPane,
|
|
115
|
+
Kr as StackLayout,
|
|
116
116
|
Tr as Step,
|
|
117
|
-
|
|
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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
h as TabStripNavigationItem,
|
|
123
|
+
g as TabStripTab,
|
|
124
|
+
Pr as TileLayout,
|
|
125
125
|
se as Timeline,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
Se as addYearsFlags,
|
|
127
|
+
ne as contentDisplayName,
|
|
128
|
+
s as downArrowName,
|
|
129
129
|
P as flatChildren,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
F as flatVisibleChildren,
|
|
131
|
+
E as flatVisibleItems,
|
|
132
|
+
de as footerDisplayName,
|
|
133
133
|
k as getFirstId,
|
|
134
|
-
H as
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
K as
|
|
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
|
-
|
|
140
|
+
R as renderChildren,
|
|
140
141
|
S as rightArrowName,
|
|
141
|
-
|
|
142
|
+
Ce as sortEventList
|
|
142
143
|
};
|
package/package-metadata.mjs
CHANGED
|
@@ -10,7 +10,7 @@ const e = {
|
|
|
10
10
|
name: "@progress/kendo-react-layout",
|
|
11
11
|
productName: "KendoReact",
|
|
12
12
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
-
publishDate:
|
|
13
|
+
publishDate: 1722843883,
|
|
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
|
|
3
|
+
"version": "8.2.0",
|
|
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
|
|
27
|
-
"@progress/kendo-react-common": "8.2.0
|
|
28
|
-
"@progress/kendo-react-intl": "8.2.0
|
|
29
|
-
"@progress/kendo-react-popup": "8.2.0
|
|
30
|
-
"@progress/kendo-react-progressbars": "8.2.0
|
|
26
|
+
"@progress/kendo-react-animation": "8.2.0",
|
|
27
|
+
"@progress/kendo-react-common": "8.2.0",
|
|
28
|
+
"@progress/kendo-react-intl": "8.2.0",
|
|
29
|
+
"@progress/kendo-react-popup": "8.2.0",
|
|
30
|
+
"@progress/kendo-react-progressbars": "8.2.0",
|
|
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"
|
package/panelbar/PanelBar.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
|
|
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;
|