@progress/kendo-react-layout 9.2.0-develop.2 → 9.2.0-develop.4
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/actionsheet/ActionSheet.js +2 -2
- package/actionsheet/ActionSheet.mjs +78 -75
- package/actionsheet/ActionSheetContent.js +1 -1
- package/actionsheet/ActionSheetContent.mjs +1 -1
- package/actionsheet/ActionSheetFooter.js +1 -1
- package/actionsheet/ActionSheetFooter.mjs +1 -1
- package/actionsheet/ActionSheetHeader.js +1 -1
- package/actionsheet/ActionSheetHeader.mjs +1 -1
- package/actionsheet/ActionSheetItem.js +1 -1
- package/actionsheet/ActionSheetItem.mjs +1 -1
- package/appbar/AppBar.js +1 -1
- package/appbar/AppBar.mjs +1 -1
- package/appbar/AppBarSection.js +1 -1
- package/appbar/AppBarSection.mjs +1 -1
- package/appbar/AppBarSpacer.js +1 -1
- package/appbar/AppBarSpacer.mjs +1 -1
- package/bottomnavigation/BottomNavigation.js +1 -1
- package/bottomnavigation/BottomNavigation.mjs +1 -1
- package/bottomnavigation/BottomNavigationItem.js +1 -1
- package/bottomnavigation/BottomNavigationItem.mjs +1 -1
- package/bottomnavigation/models/utils.js +1 -1
- package/bottomnavigation/models/utils.mjs +1 -1
- package/breadcrumb/Breadcrumb.js +1 -1
- package/breadcrumb/Breadcrumb.mjs +1 -1
- package/breadcrumb/BreadcrumbDelimiter.js +1 -1
- package/breadcrumb/BreadcrumbDelimiter.mjs +1 -1
- package/breadcrumb/BreadcrumbLink.js +1 -1
- package/breadcrumb/BreadcrumbLink.mjs +1 -1
- package/breadcrumb/BreadcrumbListItem.js +1 -1
- package/breadcrumb/BreadcrumbListItem.mjs +1 -1
- package/breadcrumb/BreadcrumbOrderedList.js +1 -1
- package/breadcrumb/BreadcrumbOrderedList.mjs +1 -1
- package/card/Avatar.js +1 -1
- package/card/Avatar.mjs +1 -1
- package/card/Card.js +1 -1
- package/card/Card.mjs +1 -1
- package/card/CardActions.js +1 -1
- package/card/CardActions.mjs +1 -1
- package/card/CardBody.js +1 -1
- package/card/CardBody.mjs +1 -1
- package/card/CardFooter.js +1 -1
- package/card/CardFooter.mjs +1 -1
- package/card/CardHeader.js +1 -1
- package/card/CardHeader.mjs +1 -1
- package/card/CardImage.js +1 -1
- package/card/CardImage.mjs +1 -1
- package/card/CardSubtitle.js +1 -1
- package/card/CardSubtitle.mjs +1 -1
- package/card/CardTitle.js +1 -1
- package/card/CardTitle.mjs +1 -1
- package/card/interfaces/Enums.js +1 -1
- package/card/interfaces/Enums.mjs +1 -1
- package/contextmenu/ContextMenu.js +1 -1
- package/contextmenu/ContextMenu.mjs +1 -1
- package/dist/cdn/js/kendo-react-layout.js +2 -2
- package/drawer/Drawer.js +1 -1
- package/drawer/Drawer.mjs +1 -1
- package/drawer/DrawerContent.js +1 -1
- package/drawer/DrawerContent.mjs +1 -1
- package/drawer/DrawerItem.js +1 -1
- package/drawer/DrawerItem.mjs +1 -1
- package/drawer/DrawerNavigation.js +1 -1
- package/drawer/DrawerNavigation.mjs +1 -1
- package/drawer/context/DrawerContext.js +1 -1
- package/drawer/context/DrawerContext.mjs +1 -1
- package/expansionpanel/ExpansionPanel.js +1 -1
- package/expansionpanel/ExpansionPanel.mjs +1 -1
- package/expansionpanel/ExpansionPanelContent.js +1 -1
- package/expansionpanel/ExpansionPanelContent.mjs +1 -1
- package/gridlayout/GridLayout.js +1 -1
- package/gridlayout/GridLayout.mjs +1 -1
- package/gridlayout/GridLayoutItem.js +1 -1
- package/gridlayout/GridLayoutItem.mjs +1 -1
- package/index.d.mts +23 -3
- package/index.d.ts +23 -3
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/menu/components/Menu.js +1 -1
- package/menu/components/Menu.mjs +1 -1
- package/menu/components/MenuItem.js +1 -1
- package/menu/components/MenuItem.mjs +1 -1
- package/menu/components/MenuItemArrow.js +1 -1
- package/menu/components/MenuItemArrow.mjs +1 -1
- package/menu/components/MenuItemInternal.js +1 -1
- package/menu/components/MenuItemInternal.mjs +1 -1
- package/menu/components/MenuItemLink.js +1 -1
- package/menu/components/MenuItemLink.mjs +1 -1
- package/menu/consts.js +1 -1
- package/menu/consts.mjs +1 -1
- package/menu/utils/DirectionHolder.js +1 -1
- package/menu/utils/DirectionHolder.mjs +1 -1
- package/menu/utils/MouseOverHandler.js +1 -1
- package/menu/utils/MouseOverHandler.mjs +1 -1
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +1 -1
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +1 -1
- package/menu/utils/hoverDelay.js +1 -1
- package/menu/utils/hoverDelay.mjs +1 -1
- package/menu/utils/itemsIdsUtils.js +1 -1
- package/menu/utils/itemsIdsUtils.mjs +1 -1
- package/menu/utils/misc.js +1 -1
- package/menu/utils/misc.mjs +1 -1
- package/menu/utils/prepareInputItemsForInternalWork.js +1 -1
- package/menu/utils/prepareInputItemsForInternalWork.mjs +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +6 -6
- package/panelbar/PanelBar.js +1 -1
- package/panelbar/PanelBar.mjs +1 -1
- 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 +1 -1
- package/splitter/Splitter.js +1 -1
- package/splitter/Splitter.mjs +1 -1
- package/splitter/SplitterBar.js +1 -1
- package/splitter/SplitterBar.mjs +1 -1
- package/splitter/SplitterPane.js +1 -1
- package/splitter/SplitterPane.mjs +1 -1
- package/splitter/messages/index.js +1 -1
- package/splitter/messages/index.mjs +1 -1
- package/stacklayout/StackLayout.js +1 -1
- package/stacklayout/StackLayout.mjs +1 -1
- package/stepper/Step.js +1 -1
- package/stepper/Step.mjs +1 -1
- package/stepper/Stepper.js +1 -1
- package/stepper/Stepper.mjs +1 -1
- package/stepper/contants.js +1 -1
- package/stepper/contants.mjs +1 -1
- package/stepper/context/StepperContext.js +1 -1
- package/stepper/context/StepperContext.mjs +1 -1
- package/stepper/messages/index.js +1 -1
- package/stepper/messages/index.mjs +1 -1
- package/tabstrip/TabStrip.js +1 -1
- package/tabstrip/TabStrip.mjs +1 -1
- package/tabstrip/TabStripContent.js +1 -1
- package/tabstrip/TabStripContent.mjs +1 -1
- package/tabstrip/TabStripNavigation.js +1 -1
- package/tabstrip/TabStripNavigation.mjs +1 -1
- package/tabstrip/TabStripNavigationItem.js +1 -1
- package/tabstrip/TabStripNavigationItem.mjs +1 -1
- package/tabstrip/TabStripTab.js +1 -1
- package/tabstrip/TabStripTab.mjs +1 -1
- package/tabstrip/messages/index.js +1 -1
- package/tabstrip/messages/index.mjs +1 -1
- package/tilelayout/InternalTile.js +1 -1
- package/tilelayout/InternalTile.mjs +1 -1
- package/tilelayout/ResizeHandlers.js +1 -1
- package/tilelayout/ResizeHandlers.mjs +1 -1
- package/tilelayout/TileLayout.js +1 -1
- package/tilelayout/TileLayout.mjs +1 -1
- package/timeline/Timeline.js +1 -1
- package/timeline/Timeline.mjs +1 -1
- package/timeline/TimelineCard.js +1 -1
- package/timeline/TimelineCard.mjs +1 -1
- package/timeline/TimelineHorizontal.js +1 -1
- package/timeline/TimelineHorizontal.mjs +1 -1
- package/timeline/TimelineVertical.js +1 -1
- package/timeline/TimelineVertical.mjs +1 -1
- package/timeline/utils.js +1 -1
- package/timeline/utils.mjs +1 -1
package/LICENSE.md
CHANGED
|
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**End User Lic
|
|
|
8
8
|
|
|
9
9
|
All available KendoReact commercial licenses may be obtained at the [KendoReact website](https://www.telerik.com/kendo-react-ui/pricing).
|
|
10
10
|
|
|
11
|
-
*Copyright ©
|
|
11
|
+
*Copyright © 2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
|
package/README.md
CHANGED
|
@@ -190,6 +190,6 @@ High-level component overview pages
|
|
|
190
190
|
- [React TabStrip Component](https://www.telerik.com/kendo-react-ui/tabstrip)
|
|
191
191
|
- [React TileLayout Component](https://www.telerik.com/kendo-react-ui/tilelayout)
|
|
192
192
|
|
|
193
|
-
_Copyright ©
|
|
193
|
+
_Copyright © 2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved._
|
|
194
194
|
|
|
195
195
|
_Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries._
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
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 Q=require("react"),r=require("prop-types"),V=require("@progress/kendo-react-animation"),y=require("@progress/kendo-react-common"),W=require("../package-metadata.js"),j=require("./ActionSheetItem.js"),K=require("./ActionSheetHeader.js"),X=require("./ActionSheetFooter.js"),Y=require("./ActionSheetContent.js");function Z(e){const m=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const d=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(m,s,d.get?d:{enumerable:!0,get:()=>e[s]})}}return m.default=e,Object.freeze(m)}const n=Z(Q),x=n.forwardRef((e,m)=>{var q,_;y.validatePackage(W.packageMetadata);const{navigatableElements:s=S.navigatableElements,navigatable:d=S.navigatable,position:M=S.position,actions:C,filter:I}=e,H=(t,i,a)=>{a.preventDefault(),a.shiftKey?i.focusPrevious(t):i.focusNext(t)},F=(t,i,a)=>{if(t.ariaDisabled)return;const E=t.className&&t.className.indexOf?t.className.indexOf("k-actionsheet-item")!==-1:!1,v=i.elements.filter(o=>o.className.indexOf("k-actionsheet-item")!==-1);if(E&&e.onItemClick){a.preventDefault();const o=e.items[v.indexOf(t)];e.onItemClick.call(void 0,{syntheticEvent:a,item:o,title:o&&o.title})}if(E&&e.onItemSelect){a.preventDefault();const o=e.items[v.indexOf(t)];e.onItemSelect.call(void 0,{syntheticEvent:a,item:o,title:o&&o.title})}e.animation||u()},L=(t,i,a)=>{e.onOverlayClick&&(a.preventDefault(),e.onOverlayClick.call(void 0,a)),e.onClose&&(a.preventDefault(),e.onClose.call(void 0,a)),e.animation||u()},u=()=>{f({show:!1})},$=t=>{d&&h.current.triggerKeyboardEvent(t)},B=t=>{e.onOverlayClick&&e.onOverlayClick.call(void 0,t),e.onClose&&e.onClose.call(void 0,t),e.animation||u()},D=t=>{e.onItemClick&&e.onItemClick.call(void 0,t),e.onItemSelect&&e.onItemSelect.call(void 0,t),e.animation||u()},z=t=>{const i={};return n.Children.forEach(t,a=>{a&&(i[a.type.displayName]=a)}),i},R=n.useRef(null),g=n.useRef(null);n.useImperativeHandle(R,()=>({props:e})),n.useImperativeHandle(m,()=>R.current);const h=n.useRef(),U=n.useRef(e.animationDuration||300),N=n.useRef({bottom:"0",width:"100%"}),O=n.useRef(),[l,G]=n.useState({show:!1,slide:!1}),f=t=>{G(i=>({...i,...t}))};n.useEffect(()=>{e.expand&&!l.show&&f({show:!0})},[]),n.useEffect(()=>{const t=g.current;if(e.expand&&!l.show&&f({show:!0}),e.expand&&l.show&&!l.slide&&f({slide:!0}),!e.expand&&l.show&&l.slide&&f({slide:!1}),O!==l&&l.slide&&t&&!e.className&&(t.style.setProperty("--kendo-actionsheet-height","auto"),t.style.setProperty("--kendo-actionsheet-max-height","none")),t&&d){const a=[".k-actionsheet-item",...[".k-actionsheet-footer",".k-actionsheet-content",".k-actionsheet-titlebar"].map(E=>y.FOCUSABLE_ELEMENTS.concat(s).map(v=>`${E} ${v}`)).flat()];h.current=new y.Navigation({tabIndex:e.tabIndex||0,root:g,rovingTabIndex:!1,selectors:a,keyboardEvents:{keydown:{Tab:H,Enter:F,Escape:L}}}),h.current.focusElement(h.current.first,null)}O.current={...l}});const w="k-actionsheet-title",A=w,c=(q=e.items)==null?void 0:q.filter(t=>!t.group||t.group==="top"),b=(_=e.items)==null?void 0:_.filter(t=>t.group==="bottom"),J=c&&c.length>0&&b&&b.length>0,k=z(e.children),T=e.animationDuration||U.current,P=l.slide&&n.createElement("div",{className:y.classNames(`k-actionsheet k-actionsheet-${M}`,e.className),role:"dialog","aria-modal":"true","aria-hidden":!1,"aria-labelledby":A,ref:g,onKeyDown:$},k[K.headerDisplayName]&&!e.title&&!e.subTitle&&k[K.headerDisplayName],(e.title||e.subTitle)&&n.createElement("div",{className:"k-actionsheet-titlebar"},n.createElement("div",{className:"k-actionsheet-titlebar-group k-hbox"},n.createElement("div",{className:w,id:A},n.createElement("div",{className:"k-text-center"},e.title),n.createElement("div",{className:"k-actionsheet-subtitle k-text-center"},e.subTitle)),C&&n.createElement("div",{className:"k-actionsheet-actions"},C)),I&&n.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},I)),k[Y.contentDisplayName]||n.createElement("div",{className:"k-actionsheet-content"},n.createElement("div",{className:"k-list-ul",role:"group"},c&&c.map((t,i)=>n.createElement(j.ActionSheetItem,{...t,id:i,key:i,item:t,tabIndex:e.tabIndex||0,onClick:D})),J&&n.createElement("hr",{className:"k-hr"}),b&&b.map((t,i)=>n.createElement(j.ActionSheetItem,{...t,id:i+((c==null?void 0:c.length)||0),key:i,item:t,tabIndex:e.tabIndex||0,onClick:D})))),k[X.footerDisplayName]);return n.createElement(n.Fragment,null,e.expand||l.show?n.createElement("div",{className:"k-actionsheet-container"},n.createElement("div",{className:"k-overlay",onClick:B}),e.animation?n.createElement(V.Animation,{transitionName:l.slide?"slide-up":"slide-down",onExited:u,transitionEnterDuration:T,transitionExitDuration:T,animationEnteringStyle:e.animationStyles||N.current,animationEnteredStyle:e.animationStyles||N.current,animationExitingStyle:e.animationStyles||N.current,exit:!0,enter:!0,appear:!1},P):P):null)}),S={navigatable:!0,navigatableElements:[],position:"bottom"};x.propTypes={items:r.array,subTitle:r.string,title:r.string,navigatable:r.bool,navigatableElements:r.array,position:r.oneOf(["top","bottom","left","right","fullscreen"])};x.displayName="KendoReactActionSheet";exports.ActionSheet=x;exports.actionSheetDefaultProps=S;
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as n from "react";
|
|
10
|
-
import
|
|
11
|
-
import { Animation as
|
|
12
|
-
import { validatePackage as
|
|
13
|
-
import { packageMetadata as
|
|
14
|
-
import { ActionSheetItem as
|
|
15
|
-
import { headerDisplayName as
|
|
16
|
-
import { footerDisplayName as
|
|
17
|
-
import { contentDisplayName as
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
|
|
10
|
+
import s from "prop-types";
|
|
11
|
+
import { Animation as J } from "@progress/kendo-react-animation";
|
|
12
|
+
import { validatePackage as Q, FOCUSABLE_ELEMENTS as V, Navigation as W, classNames as X } from "@progress/kendo-react-common";
|
|
13
|
+
import { packageMetadata as Y } from "../package-metadata.mjs";
|
|
14
|
+
import { ActionSheetItem as P } from "./ActionSheetItem.mjs";
|
|
15
|
+
import { headerDisplayName as A } from "./ActionSheetHeader.mjs";
|
|
16
|
+
import { footerDisplayName as Z } from "./ActionSheetFooter.mjs";
|
|
17
|
+
import { contentDisplayName as p } from "./ActionSheetContent.mjs";
|
|
18
|
+
const K = n.forwardRef((e, _) => {
|
|
19
|
+
var O, T;
|
|
20
|
+
Q(Y);
|
|
21
21
|
const {
|
|
22
|
-
navigatableElements:
|
|
23
|
-
navigatable:
|
|
24
|
-
|
|
22
|
+
navigatableElements: H = b.navigatableElements,
|
|
23
|
+
navigatable: y = b.navigatable,
|
|
24
|
+
position: L = b.position,
|
|
25
|
+
actions: N,
|
|
26
|
+
filter: g
|
|
27
|
+
} = e, $ = (t, i, a) => {
|
|
25
28
|
a.preventDefault(), a.shiftKey ? i.focusPrevious(t) : i.focusNext(t);
|
|
26
|
-
},
|
|
29
|
+
}, B = (t, i, a) => {
|
|
27
30
|
if (t.ariaDisabled)
|
|
28
31
|
return;
|
|
29
32
|
const h = t.className && t.className.indexOf ? t.className.indexOf("k-actionsheet-item") !== -1 : !1, E = i.elements.filter((o) => o.className.indexOf("k-actionsheet-item") !== -1);
|
|
@@ -45,107 +48,105 @@ const P = n.forwardRef((e, A) => {
|
|
|
45
48
|
title: o && o.title
|
|
46
49
|
});
|
|
47
50
|
}
|
|
48
|
-
e.animation ||
|
|
49
|
-
},
|
|
50
|
-
e.onOverlayClick && (a.preventDefault(), e.onOverlayClick.call(void 0, a)), e.onClose && (a.preventDefault(), e.onClose.call(void 0, a)), e.animation ||
|
|
51
|
-
},
|
|
51
|
+
e.animation || r();
|
|
52
|
+
}, F = (t, i, a) => {
|
|
53
|
+
e.onOverlayClick && (a.preventDefault(), e.onOverlayClick.call(void 0, a)), e.onClose && (a.preventDefault(), e.onClose.call(void 0, a)), e.animation || r();
|
|
54
|
+
}, r = () => {
|
|
52
55
|
m({ show: !1 });
|
|
53
|
-
}, B = (t) => {
|
|
54
|
-
b && d.current.triggerKeyboardEvent(t);
|
|
55
|
-
}, F = (t) => {
|
|
56
|
-
e.onOverlayClick && e.onOverlayClick.call(void 0, t), e.onClose && e.onClose.call(void 0, t), e.animation || s();
|
|
57
|
-
}, y = (t) => {
|
|
58
|
-
e.onItemClick && e.onItemClick.call(void 0, t), e.onItemSelect && e.onItemSelect.call(void 0, t), e.animation || s();
|
|
59
56
|
}, M = (t) => {
|
|
57
|
+
y && f.current.triggerKeyboardEvent(t);
|
|
58
|
+
}, U = (t) => {
|
|
59
|
+
e.onOverlayClick && e.onOverlayClick.call(void 0, t), e.onClose && e.onClose.call(void 0, t), e.animation || r();
|
|
60
|
+
}, S = (t) => {
|
|
61
|
+
e.onItemClick && e.onItemClick.call(void 0, t), e.onItemSelect && e.onItemSelect.call(void 0, t), e.animation || r();
|
|
62
|
+
}, j = (t) => {
|
|
60
63
|
const i = {};
|
|
61
64
|
return n.Children.forEach(t, (a) => {
|
|
62
65
|
a && (i[a.type.displayName] = a);
|
|
63
66
|
}), i;
|
|
64
|
-
},
|
|
65
|
-
n.useImperativeHandle(
|
|
66
|
-
|
|
67
|
-
() =>
|
|
67
|
+
}, x = n.useRef(null), k = n.useRef(null);
|
|
68
|
+
n.useImperativeHandle(x, () => ({ props: e })), n.useImperativeHandle(
|
|
69
|
+
_,
|
|
70
|
+
() => x.current
|
|
68
71
|
);
|
|
69
|
-
const
|
|
70
|
-
|
|
72
|
+
const f = n.useRef(), q = n.useRef(e.animationDuration || 300), v = n.useRef({ bottom: "0", width: "100%" }), C = n.useRef(), [l, z] = n.useState({ show: !1, slide: !1 }), m = (t) => {
|
|
73
|
+
z((i) => ({ ...i, ...t }));
|
|
71
74
|
};
|
|
72
75
|
n.useEffect(() => {
|
|
73
76
|
e.expand && !l.show && m({ show: !0 });
|
|
74
77
|
}, []), n.useEffect(() => {
|
|
75
78
|
const t = k.current;
|
|
76
|
-
if (e.expand && !l.show && m({ show: !0 }), e.expand && l.show && !l.slide && m({ slide: !0 }), !e.expand && l.show && l.slide && m({ slide: !1 }),
|
|
79
|
+
if (e.expand && !l.show && m({ show: !0 }), e.expand && l.show && !l.slide && m({ slide: !0 }), !e.expand && l.show && l.slide && m({ slide: !1 }), C !== l && l.slide && t && !e.className && (t.style.setProperty("--kendo-actionsheet-height", "auto"), t.style.setProperty("--kendo-actionsheet-max-height", "none")), t && y) {
|
|
77
80
|
const a = [".k-actionsheet-item", ...[
|
|
78
81
|
".k-actionsheet-footer",
|
|
79
82
|
".k-actionsheet-content",
|
|
80
83
|
".k-actionsheet-titlebar"
|
|
81
|
-
].map((h) =>
|
|
84
|
+
].map((h) => V.concat(H).map(
|
|
82
85
|
(E) => `${h} ${E}`
|
|
83
86
|
)).flat()];
|
|
84
|
-
|
|
87
|
+
f.current = new W({
|
|
85
88
|
tabIndex: e.tabIndex || 0,
|
|
86
89
|
root: k,
|
|
87
90
|
rovingTabIndex: !1,
|
|
88
91
|
selectors: a,
|
|
89
92
|
keyboardEvents: {
|
|
90
93
|
keydown: {
|
|
91
|
-
Tab:
|
|
92
|
-
Enter:
|
|
93
|
-
Escape:
|
|
94
|
+
Tab: $,
|
|
95
|
+
Enter: B,
|
|
96
|
+
Escape: F
|
|
94
97
|
}
|
|
95
98
|
}
|
|
96
|
-
}),
|
|
99
|
+
}), f.current.focusElement(f.current.first, null);
|
|
97
100
|
}
|
|
98
|
-
|
|
101
|
+
C.current = { ...l };
|
|
99
102
|
});
|
|
100
|
-
const
|
|
103
|
+
const I = "k-actionsheet-title", D = I, c = (O = e.items) == null ? void 0 : O.filter(
|
|
101
104
|
(t) => !t.group || t.group === "top"
|
|
102
|
-
),
|
|
105
|
+
), d = (T = e.items) == null ? void 0 : T.filter(
|
|
103
106
|
(t) => t.group === "bottom"
|
|
104
|
-
),
|
|
107
|
+
), G = c && c.length > 0 && d && d.length > 0, u = j(e.children), R = e.animationDuration || q.current, w = l.slide && /* @__PURE__ */ n.createElement(
|
|
105
108
|
"div",
|
|
106
109
|
{
|
|
107
|
-
className:
|
|
108
|
-
"k-actionsheet-bottom": !e.className
|
|
109
|
-
}),
|
|
110
|
+
className: X(`k-actionsheet k-actionsheet-${L}`, e.className),
|
|
110
111
|
role: "dialog",
|
|
111
112
|
"aria-modal": "true",
|
|
112
113
|
"aria-hidden": !1,
|
|
113
|
-
"aria-labelledby":
|
|
114
|
+
"aria-labelledby": D,
|
|
114
115
|
ref: k,
|
|
115
|
-
onKeyDown:
|
|
116
|
+
onKeyDown: M
|
|
116
117
|
},
|
|
117
|
-
u[
|
|
118
|
-
(e.title || e.subTitle) && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar
|
|
119
|
-
u[
|
|
120
|
-
|
|
118
|
+
u[A] && !e.title && !e.subTitle && u[A],
|
|
119
|
+
(e.title || e.subTitle) && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar" }, /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, /* @__PURE__ */ n.createElement("div", { className: I, id: D }, /* @__PURE__ */ n.createElement("div", { className: "k-text-center" }, e.title), /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-subtitle k-text-center" }, e.subTitle)), N && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-actions" }, N)), g && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, g)),
|
|
120
|
+
u[p] || /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-content" }, /* @__PURE__ */ n.createElement("div", { className: "k-list-ul", role: "group" }, c && c.map((t, i) => /* @__PURE__ */ n.createElement(
|
|
121
|
+
P,
|
|
121
122
|
{
|
|
122
123
|
...t,
|
|
123
124
|
id: i,
|
|
124
125
|
key: i,
|
|
125
126
|
item: t,
|
|
126
127
|
tabIndex: e.tabIndex || 0,
|
|
127
|
-
onClick:
|
|
128
|
+
onClick: S
|
|
128
129
|
}
|
|
129
|
-
))
|
|
130
|
-
|
|
130
|
+
)), G && /* @__PURE__ */ n.createElement("hr", { className: "k-hr" }), d && d.map((t, i) => /* @__PURE__ */ n.createElement(
|
|
131
|
+
P,
|
|
131
132
|
{
|
|
132
133
|
...t,
|
|
133
134
|
id: i + ((c == null ? void 0 : c.length) || 0),
|
|
134
135
|
key: i,
|
|
135
136
|
item: t,
|
|
136
137
|
tabIndex: e.tabIndex || 0,
|
|
137
|
-
onClick:
|
|
138
|
+
onClick: S
|
|
138
139
|
}
|
|
139
140
|
)))),
|
|
140
|
-
u[
|
|
141
|
+
u[Z]
|
|
141
142
|
);
|
|
142
|
-
return /* @__PURE__ */ n.createElement(n.Fragment, null, e.expand || l.show ? /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-container" }, /* @__PURE__ */ n.createElement("div", { className: "k-overlay", onClick:
|
|
143
|
-
|
|
143
|
+
return /* @__PURE__ */ n.createElement(n.Fragment, null, e.expand || l.show ? /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-container" }, /* @__PURE__ */ n.createElement("div", { className: "k-overlay", onClick: U }), e.animation ? /* @__PURE__ */ n.createElement(
|
|
144
|
+
J,
|
|
144
145
|
{
|
|
145
146
|
transitionName: l.slide ? "slide-up" : "slide-down",
|
|
146
|
-
onExited:
|
|
147
|
-
transitionEnterDuration:
|
|
148
|
-
transitionExitDuration:
|
|
147
|
+
onExited: r,
|
|
148
|
+
transitionEnterDuration: R,
|
|
149
|
+
transitionExitDuration: R,
|
|
149
150
|
animationEnteringStyle: e.animationStyles || v.current,
|
|
150
151
|
animationEnteredStyle: e.animationStyles || v.current,
|
|
151
152
|
animationExitingStyle: e.animationStyles || v.current,
|
|
@@ -153,21 +154,23 @@ const P = n.forwardRef((e, A) => {
|
|
|
153
154
|
enter: !0,
|
|
154
155
|
appear: !1
|
|
155
156
|
},
|
|
156
|
-
|
|
157
|
-
) :
|
|
158
|
-
}),
|
|
157
|
+
w
|
|
158
|
+
) : w) : null);
|
|
159
|
+
}), b = {
|
|
159
160
|
navigatable: !0,
|
|
160
|
-
navigatableElements: []
|
|
161
|
+
navigatableElements: [],
|
|
162
|
+
position: "bottom"
|
|
161
163
|
};
|
|
162
|
-
|
|
163
|
-
items:
|
|
164
|
-
subTitle:
|
|
165
|
-
title:
|
|
166
|
-
navigatable:
|
|
167
|
-
navigatableElements:
|
|
164
|
+
K.propTypes = {
|
|
165
|
+
items: s.array,
|
|
166
|
+
subTitle: s.string,
|
|
167
|
+
title: s.string,
|
|
168
|
+
navigatable: s.bool,
|
|
169
|
+
navigatableElements: s.array,
|
|
170
|
+
position: s.oneOf(["top", "bottom", "left", "right", "fullscreen"])
|
|
168
171
|
};
|
|
169
|
-
|
|
172
|
+
K.displayName = "KendoReactActionSheet";
|
|
170
173
|
export {
|
|
171
|
-
|
|
172
|
-
|
|
174
|
+
K as ActionSheet,
|
|
175
|
+
b as actionSheetDefaultProps
|
|
173
176
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/appbar/AppBar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/appbar/AppBar.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/appbar/AppBarSection.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/appbar/AppBarSection.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/appbar/AppBarSpacer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/appbar/AppBarSpacer.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/breadcrumb/Breadcrumb.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
package/card/Avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright ©
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|