@progress/kendo-react-layout 10.2.0 → 10.3.0-develop.1
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/actionsheet/ActionSheet.js +1 -1
- package/actionsheet/ActionSheet.mjs +74 -71
- package/actionsheet/ActionSheetView.js +9 -0
- package/actionsheet/ActionSheetView.mjs +19 -0
- package/dist/cdn/js/kendo-react-layout.js +1 -1
- package/index.d.mts +22 -0
- package/index.d.ts +22 -0
- package/index.js +1 -1
- package/index.mjs +66 -63
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +8 -8
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("react"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Q=require("react"),d=require("prop-types"),W=require("@progress/kendo-react-animation"),x=require("@progress/kendo-react-common"),K=require("./ActionSheetItem.js"),F=require("./ActionSheetHeader.js"),X=require("./ActionSheetFooter.js"),Y=require("./ActionSheetContent.js"),H=require("./ActionSheetView.js");function Z(e){const f=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const m in e)if(m!=="default"){const h=Object.getOwnPropertyDescriptor(e,m);Object.defineProperty(f,m,h.get?h:{enumerable:!0,get:()=>e[m]})}}return f.default=e,Object.freeze(f)}const n=Z(Q),D=n.forwardRef((e,f)=>{var q,_;const{navigatableElements:m=N.navigatableElements,navigatable:h=N.navigatable,position:V=N.position,animationDuration:o=300,prefixActions:C,suffixActions:I,filter:w}=e,L=(t,i,a)=>{a.preventDefault(),a.shiftKey?i.focusPrevious(t):i.focusNext(t)},M=(t,i,a)=>{if(t.ariaDisabled)return;const c=t.className&&t.className.indexOf?t.className.indexOf("k-actionsheet-item")!==-1:!1,S=i.elements.filter(s=>s.className.indexOf("k-actionsheet-item")!==-1);if(c&&e.onItemClick){a.preventDefault();const s=e.items[S.indexOf(t)];e.onItemClick.call(void 0,{syntheticEvent:a,item:s,title:s&&s.title})}if(c&&e.onItemSelect){a.preventDefault();const s=e.items[S.indexOf(t)];e.onItemSelect.call(void 0,{syntheticEvent:a,item:s,title:s&&s.title})}e.animation||b()},$=(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||b()},b=()=>{y({show:!1})},B=t=>{h&&E.current.triggerKeyboardEvent(t)},z=t=>{e.onOverlayClick&&e.onOverlayClick.call(void 0,t),e.onClose&&e.onClose.call(void 0,t),e.animation||b()},A=t=>{e.onItemClick&&e.onItemClick.call(void 0,t),e.onItemSelect&&e.onItemSelect.call(void 0,t),e.animation||b()},U=t=>{const i={},a=[];return n.Children.forEach(t,c=>{c&&(c.type.displayName===H.ActionSheetViewDisplayName?a.push(c):i[c.type.displayName]=c)}),a.length>0?a:i},O=n.useRef(null),k=n.useRef(null);n.useImperativeHandle(O,()=>({props:e,element:k.current})),n.useImperativeHandle(f,()=>O.current);const E=n.useRef(void 0),g=n.useRef({bottom:"0",width:"100%"}),R=n.useRef(void 0),[l,G]=n.useState({show:!1,slide:!1}),y=t=>{G(i=>({...i,...t}))};n.useEffect(()=>{e.expand&&!l.show&&y({show:!0})},[]),n.useEffect(()=>{const t=k.current;if(e.expand&&!l.show&&y({show:!0}),e.expand&&l.show&&!l.slide&&y({slide:!0}),!e.expand&&l.show&&l.slide&&y({slide:!1}),R!==l&&l.slide&&t&&!e.className&&(t.style.setProperty("--kendo-actionsheet-height","auto"),t.style.setProperty("--kendo-actionsheet-max-height","none")),t&&h){const a=[".k-actionsheet-item",...[".k-actionsheet-footer",".k-actionsheet-content",".k-actionsheet-view",".k-actionsheet-titlebar"].map(c=>x.FOCUSABLE_ELEMENTS.concat(m).map(S=>`${c} ${S}`)).flat()];E.current=new x.Navigation({tabIndex:e.tabIndex||0,root:k,rovingTabIndex:!1,selectors:a,keyboardEvents:{keydown:{Tab:L,Enter:M,Escape:$}}}),E.current.focusElement(E.current.first,null)}R.current={...l}});const T="k-actionsheet-title",P=T,r=(q=e.items)==null?void 0:q.filter(t=>!t.group||t.group==="top"),v=(_=e.items)==null?void 0:_.filter(t=>t.group==="bottom"),J=r&&r.length>0&&v&&v.length>0,u=U(e.children),j=l.slide&&n.createElement("div",{className:x.classNames(`k-actionsheet k-actionsheet-${V}`,e.className),role:"dialog","aria-modal":"true",style:e.style,"aria-hidden":!1,"aria-labelledby":P,ref:k,onKeyDown:B},Array.isArray(u)?n.createElement(n.Fragment,null,u.map(t=>t)):n.createElement(H.ActionSheetView,null,u[F.headerDisplayName]&&!e.title&&!e.subTitle&&u[F.headerDisplayName],(e.title||e.subTitle)&&n.createElement("div",{className:"k-actionsheet-titlebar"},n.createElement("div",{className:"k-actionsheet-titlebar-group"},C&&n.createElement("div",{className:"k-actionsheet-actions"},C),n.createElement("div",{className:T,id:P},n.createElement("div",{className:"k-text-center"},e.title),e.subTitle&&n.createElement("div",{className:"k-actionsheet-subtitle k-text-center"},e.subTitle)),I&&n.createElement("div",{className:"k-actionsheet-actions"},I)),w&&n.createElement("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter"},w)),u[Y.contentDisplayName]||n.createElement("div",{className:"k-actionsheet-content"},n.createElement("div",{className:"k-list-ul",role:"group"},r&&r.map((t,i)=>n.createElement(K.ActionSheetItem,{...t,id:i,key:i,item:t,tabIndex:e.tabIndex||0,onClick:A})),J&&n.createElement("hr",{className:"k-hr"}),v&&v.map((t,i)=>n.createElement(K.ActionSheetItem,{...t,id:i+((r==null?void 0:r.length)||0),key:i,item:t,tabIndex:e.tabIndex||0,onClick:A})))),u[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:z}),e.animation?n.createElement(W.Animation,{transitionName:l.slide?"slide-up":"slide-down",onExited:b,transitionEnterDuration:typeof o=="object"&&Object.keys(o).length>0&&o.openDuration?Number(o.openDuration):Number(o),transitionExitDuration:typeof o=="object"&&Object.keys(o).length>0&&o.closeDuration?Number(o.closeDuration):Number(o),animationEnteringStyle:e.animationStyles||g.current,animationEnteredStyle:e.animationStyles||g.current,animationExitingStyle:e.animationStyles||g.current,exit:!0,enter:!0,appear:!1},j):j):null)}),N={navigatable:!0,navigatableElements:[],position:"bottom"};D.propTypes={items:d.array,subTitle:d.string,title:d.string,navigatable:d.bool,navigatableElements:d.array,position:d.oneOf(["top","bottom","left","right","fullscreen"])};D.displayName="KendoReactActionSheet";exports.ActionSheet=D;exports.actionSheetDefaultProps=N;
|
|
@@ -6,30 +6,31 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import * as n from "react";
|
|
9
|
-
import
|
|
10
|
-
import { Animation as
|
|
11
|
-
import { FOCUSABLE_ELEMENTS as
|
|
9
|
+
import f from "prop-types";
|
|
10
|
+
import { Animation as G } from "@progress/kendo-react-animation";
|
|
11
|
+
import { FOCUSABLE_ELEMENTS as J, Navigation as Q, classNames as W } from "@progress/kendo-react-common";
|
|
12
12
|
import { ActionSheetItem as P } from "./ActionSheetItem.mjs";
|
|
13
13
|
import { headerDisplayName as K } from "./ActionSheetHeader.mjs";
|
|
14
14
|
import { footerDisplayName as X } from "./ActionSheetFooter.mjs";
|
|
15
15
|
import { contentDisplayName as Y } from "./ActionSheetContent.mjs";
|
|
16
|
+
import { ActionSheetView as Z, ActionSheetViewDisplayName as p } from "./ActionSheetView.mjs";
|
|
16
17
|
const j = n.forwardRef((e, _) => {
|
|
17
|
-
var
|
|
18
|
+
var A, T;
|
|
18
19
|
const {
|
|
19
|
-
navigatableElements:
|
|
20
|
-
navigatable: N =
|
|
21
|
-
position:
|
|
20
|
+
navigatableElements: F = v.navigatableElements,
|
|
21
|
+
navigatable: N = v.navigatable,
|
|
22
|
+
position: H = v.position,
|
|
22
23
|
animationDuration: o = 300,
|
|
23
24
|
prefixActions: g,
|
|
24
|
-
suffixActions:
|
|
25
|
-
filter:
|
|
26
|
-
} = e,
|
|
25
|
+
suffixActions: S,
|
|
26
|
+
filter: x
|
|
27
|
+
} = e, L = (t, i, a) => {
|
|
27
28
|
a.preventDefault(), a.shiftKey ? i.focusPrevious(t) : i.focusNext(t);
|
|
28
|
-
},
|
|
29
|
+
}, V = (t, i, a) => {
|
|
29
30
|
if (t.ariaDisabled)
|
|
30
31
|
return;
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
32
|
+
const s = t.className && t.className.indexOf ? t.className.indexOf("k-actionsheet-item") !== -1 : !1, E = i.elements.filter((c) => c.className.indexOf("k-actionsheet-item") !== -1);
|
|
33
|
+
if (s && e.onItemClick) {
|
|
33
34
|
a.preventDefault();
|
|
34
35
|
const c = e.items[E.indexOf(t)];
|
|
35
36
|
e.onItemClick.call(void 0, {
|
|
@@ -38,7 +39,7 @@ const j = n.forwardRef((e, _) => {
|
|
|
38
39
|
title: c && c.title
|
|
39
40
|
});
|
|
40
41
|
}
|
|
41
|
-
if (
|
|
42
|
+
if (s && e.onItemSelect) {
|
|
42
43
|
a.preventDefault();
|
|
43
44
|
const c = e.items[E.indexOf(t)];
|
|
44
45
|
e.onItemSelect.call(void 0, {
|
|
@@ -47,76 +48,79 @@ const j = n.forwardRef((e, _) => {
|
|
|
47
48
|
title: c && c.title
|
|
48
49
|
});
|
|
49
50
|
}
|
|
50
|
-
e.animation ||
|
|
51
|
-
},
|
|
52
|
-
e.onOverlayClick && (a.preventDefault(), e.onOverlayClick.call(void 0, a)), e.onClose && (a.preventDefault(), e.onClose.call(void 0, a)), e.animation ||
|
|
53
|
-
},
|
|
54
|
-
|
|
51
|
+
e.animation || d();
|
|
52
|
+
}, $ = (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 || d();
|
|
54
|
+
}, d = () => {
|
|
55
|
+
u({ show: !1 });
|
|
56
|
+
}, B = (t) => {
|
|
57
|
+
N && y.current.triggerKeyboardEvent(t);
|
|
55
58
|
}, M = (t) => {
|
|
56
|
-
|
|
57
|
-
}, U = (t) => {
|
|
58
|
-
e.onOverlayClick && e.onOverlayClick.call(void 0, t), e.onClose && e.onClose.call(void 0, t), e.animation || m();
|
|
59
|
+
e.onOverlayClick && e.onOverlayClick.call(void 0, t), e.onClose && e.onClose.call(void 0, t), e.animation || d();
|
|
59
60
|
}, C = (t) => {
|
|
60
|
-
e.onItemClick && e.onItemClick.call(void 0, t), e.onItemSelect && e.onItemSelect.call(void 0, t), e.animation ||
|
|
61
|
-
},
|
|
62
|
-
const i = {};
|
|
63
|
-
return n.Children.forEach(t, (
|
|
64
|
-
|
|
65
|
-
}), i;
|
|
66
|
-
}, I = n.useRef(null),
|
|
67
|
-
n.useImperativeHandle(
|
|
61
|
+
e.onItemClick && e.onItemClick.call(void 0, t), e.onItemSelect && e.onItemSelect.call(void 0, t), e.animation || d();
|
|
62
|
+
}, U = (t) => {
|
|
63
|
+
const i = {}, a = [];
|
|
64
|
+
return n.Children.forEach(t, (s) => {
|
|
65
|
+
s && (s.type.displayName === p ? a.push(s) : i[s.type.displayName] = s);
|
|
66
|
+
}), a.length > 0 ? a : i;
|
|
67
|
+
}, I = n.useRef(null), h = n.useRef(null);
|
|
68
|
+
n.useImperativeHandle(
|
|
69
|
+
I,
|
|
70
|
+
() => ({ props: e, element: h.current })
|
|
71
|
+
), n.useImperativeHandle(
|
|
68
72
|
_,
|
|
69
73
|
() => I.current
|
|
70
74
|
);
|
|
71
|
-
const
|
|
72
|
-
|
|
75
|
+
const y = n.useRef(void 0), k = n.useRef({ bottom: "0", width: "100%" }), w = n.useRef(void 0), [l, q] = n.useState({ show: !1, slide: !1 }), u = (t) => {
|
|
76
|
+
q((i) => ({ ...i, ...t }));
|
|
73
77
|
};
|
|
74
78
|
n.useEffect(() => {
|
|
75
|
-
e.expand && !l.show &&
|
|
79
|
+
e.expand && !l.show && u({ show: !0 });
|
|
76
80
|
}, []), n.useEffect(() => {
|
|
77
|
-
const t =
|
|
78
|
-
if (e.expand && !l.show &&
|
|
81
|
+
const t = h.current;
|
|
82
|
+
if (e.expand && !l.show && u({ show: !0 }), e.expand && l.show && !l.slide && u({ slide: !0 }), !e.expand && l.show && l.slide && u({ slide: !1 }), w !== l && l.slide && t && !e.className && (t.style.setProperty("--kendo-actionsheet-height", "auto"), t.style.setProperty("--kendo-actionsheet-max-height", "none")), t && N) {
|
|
79
83
|
const a = [".k-actionsheet-item", ...[
|
|
80
84
|
".k-actionsheet-footer",
|
|
81
85
|
".k-actionsheet-content",
|
|
86
|
+
".k-actionsheet-view",
|
|
82
87
|
".k-actionsheet-titlebar"
|
|
83
|
-
].map((
|
|
84
|
-
(E) => `${
|
|
88
|
+
].map((s) => J.concat(F).map(
|
|
89
|
+
(E) => `${s} ${E}`
|
|
85
90
|
)).flat()];
|
|
86
|
-
|
|
91
|
+
y.current = new Q({
|
|
87
92
|
tabIndex: e.tabIndex || 0,
|
|
88
|
-
root:
|
|
93
|
+
root: h,
|
|
89
94
|
rovingTabIndex: !1,
|
|
90
95
|
selectors: a,
|
|
91
96
|
keyboardEvents: {
|
|
92
97
|
keydown: {
|
|
93
|
-
Tab:
|
|
94
|
-
Enter:
|
|
95
|
-
Escape:
|
|
98
|
+
Tab: L,
|
|
99
|
+
Enter: V,
|
|
100
|
+
Escape: $
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
|
-
}),
|
|
103
|
+
}), y.current.focusElement(y.current.first, null);
|
|
99
104
|
}
|
|
100
|
-
|
|
105
|
+
w.current = { ...l };
|
|
101
106
|
});
|
|
102
|
-
const
|
|
107
|
+
const D = "k-actionsheet-title", R = D, r = (A = e.items) == null ? void 0 : A.filter(
|
|
103
108
|
(t) => !t.group || t.group === "top"
|
|
104
|
-
),
|
|
109
|
+
), b = (T = e.items) == null ? void 0 : T.filter(
|
|
105
110
|
(t) => t.group === "bottom"
|
|
106
|
-
),
|
|
111
|
+
), z = r && r.length > 0 && b && b.length > 0, m = U(e.children), O = l.slide && /* @__PURE__ */ n.createElement(
|
|
107
112
|
"div",
|
|
108
113
|
{
|
|
109
|
-
className: W(`k-actionsheet k-actionsheet-${
|
|
114
|
+
className: W(`k-actionsheet k-actionsheet-${H}`, e.className),
|
|
110
115
|
role: "dialog",
|
|
111
116
|
"aria-modal": "true",
|
|
117
|
+
style: e.style,
|
|
112
118
|
"aria-hidden": !1,
|
|
113
119
|
"aria-labelledby": R,
|
|
114
|
-
ref:
|
|
115
|
-
onKeyDown:
|
|
120
|
+
ref: h,
|
|
121
|
+
onKeyDown: B
|
|
116
122
|
},
|
|
117
|
-
|
|
118
|
-
(e.title || e.subTitle) && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar" }, /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar-group k-hbox" }, g && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-actions" }, g), /* @__PURE__ */ n.createElement("div", { className: w, id: R }, /* @__PURE__ */ n.createElement("div", { className: "k-text-center" }, e.title), e.subTitle && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-subtitle k-text-center" }, e.subTitle)), x && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-actions" }, x)), S && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, S)),
|
|
119
|
-
h[Y] || /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-content" }, /* @__PURE__ */ n.createElement("div", { className: "k-list-ul", role: "group" }, s && s.map((t, i) => /* @__PURE__ */ n.createElement(
|
|
123
|
+
Array.isArray(m) ? /* @__PURE__ */ n.createElement(n.Fragment, null, m.map((t) => t)) : /* @__PURE__ */ n.createElement(Z, null, m[K] && !e.title && !e.subTitle && m[K], (e.title || e.subTitle) && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar" }, /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar-group" }, g && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-actions" }, g), /* @__PURE__ */ n.createElement("div", { className: D, id: R }, /* @__PURE__ */ n.createElement("div", { className: "k-text-center" }, e.title), e.subTitle && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-subtitle k-text-center" }, e.subTitle)), S && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-actions" }, S)), x && /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter" }, x)), m[Y] || /* @__PURE__ */ n.createElement("div", { className: "k-actionsheet-content" }, /* @__PURE__ */ n.createElement("div", { className: "k-list-ul", role: "group" }, r && r.map((t, i) => /* @__PURE__ */ n.createElement(
|
|
120
124
|
P,
|
|
121
125
|
{
|
|
122
126
|
...t,
|
|
@@ -126,50 +130,49 @@ const j = n.forwardRef((e, _) => {
|
|
|
126
130
|
tabIndex: e.tabIndex || 0,
|
|
127
131
|
onClick: C
|
|
128
132
|
}
|
|
129
|
-
)),
|
|
133
|
+
)), z && /* @__PURE__ */ n.createElement("hr", { className: "k-hr" }), b && b.map((t, i) => /* @__PURE__ */ n.createElement(
|
|
130
134
|
P,
|
|
131
135
|
{
|
|
132
136
|
...t,
|
|
133
|
-
id: i + ((
|
|
137
|
+
id: i + ((r == null ? void 0 : r.length) || 0),
|
|
134
138
|
key: i,
|
|
135
139
|
item: t,
|
|
136
140
|
tabIndex: e.tabIndex || 0,
|
|
137
141
|
onClick: C
|
|
138
142
|
}
|
|
139
|
-
)))),
|
|
140
|
-
h[X]
|
|
143
|
+
)))), m[X])
|
|
141
144
|
);
|
|
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
|
-
|
|
145
|
+
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: M }), e.animation ? /* @__PURE__ */ n.createElement(
|
|
146
|
+
G,
|
|
144
147
|
{
|
|
145
148
|
transitionName: l.slide ? "slide-up" : "slide-down",
|
|
146
|
-
onExited:
|
|
149
|
+
onExited: d,
|
|
147
150
|
transitionEnterDuration: typeof o == "object" && Object.keys(o).length > 0 && o.openDuration ? Number(o.openDuration) : Number(o),
|
|
148
151
|
transitionExitDuration: typeof o == "object" && Object.keys(o).length > 0 && o.closeDuration ? Number(o.closeDuration) : Number(o),
|
|
149
|
-
animationEnteringStyle: e.animationStyles ||
|
|
150
|
-
animationEnteredStyle: e.animationStyles ||
|
|
151
|
-
animationExitingStyle: e.animationStyles ||
|
|
152
|
+
animationEnteringStyle: e.animationStyles || k.current,
|
|
153
|
+
animationEnteredStyle: e.animationStyles || k.current,
|
|
154
|
+
animationExitingStyle: e.animationStyles || k.current,
|
|
152
155
|
exit: !0,
|
|
153
156
|
enter: !0,
|
|
154
157
|
appear: !1
|
|
155
158
|
},
|
|
156
159
|
O
|
|
157
160
|
) : O) : null);
|
|
158
|
-
}),
|
|
161
|
+
}), v = {
|
|
159
162
|
navigatable: !0,
|
|
160
163
|
navigatableElements: [],
|
|
161
164
|
position: "bottom"
|
|
162
165
|
};
|
|
163
166
|
j.propTypes = {
|
|
164
|
-
items:
|
|
165
|
-
subTitle:
|
|
166
|
-
title:
|
|
167
|
-
navigatable:
|
|
168
|
-
navigatableElements:
|
|
169
|
-
position:
|
|
167
|
+
items: f.array,
|
|
168
|
+
subTitle: f.string,
|
|
169
|
+
title: f.string,
|
|
170
|
+
navigatable: f.bool,
|
|
171
|
+
navigatableElements: f.array,
|
|
172
|
+
position: f.oneOf(["top", "bottom", "left", "right", "fullscreen"])
|
|
170
173
|
};
|
|
171
174
|
j.displayName = "KendoReactActionSheet";
|
|
172
175
|
export {
|
|
173
176
|
j as ActionSheet,
|
|
174
|
-
|
|
177
|
+
v as actionSheetDefaultProps
|
|
175
178
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),n=require("@progress/kendo-react-common"),s="ActionSheetView",a=e.forwardRef((t,c)=>{const i=e.useRef(null);return e.useImperativeHandle(c,()=>i,[]),e.createElement("div",{ref:i,style:t.style,className:n.classNames("k-actionsheet-view",t.className)},t.children)});a.displayName="ActionSheetView";exports.ActionSheetView=a;exports.ActionSheetViewDisplayName=s;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import e from "react";
|
|
10
|
+
import { classNames as c } from "@progress/kendo-react-common";
|
|
11
|
+
const o = "ActionSheetView", s = e.forwardRef((t, a) => {
|
|
12
|
+
const i = e.useRef(null);
|
|
13
|
+
return e.useImperativeHandle(a, () => i, []), /* @__PURE__ */ e.createElement("div", { ref: i, style: t.style, className: c("k-actionsheet-view", t.className) }, t.children);
|
|
14
|
+
});
|
|
15
|
+
s.displayName = "ActionSheetView";
|
|
16
|
+
export {
|
|
17
|
+
s as ActionSheetView,
|
|
18
|
+
o as ActionSheetViewDisplayName
|
|
19
|
+
};
|