@progress/kendo-react-popup 14.5.0-develop.7 → 14.5.0-develop.9
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/Popup.js +1 -1
- package/Popup.mjs +79 -71
- package/dist/cdn/js/kendo-react-popup.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +3 -3
package/Popup.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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Oe=require("react"),Ae=require("react-dom"),n=require("prop-types"),Ce=require("./animation.js"),u=require("@progress/kendo-react-common"),t=require("@progress/kendo-popup-common"),te=require("./util.js");function ie(r){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const P in r)if(P!=="default"){const h=Object.getOwnPropertyDescriptor(r,P);Object.defineProperty(c,P,h.get?h:{enumerable:!0,get:()=>r[P]})}}return c.default=r,Object.freeze(c)}const l=ie(Oe),be=ie(Ae),re=l.createContext(r=>r),Ee=100,De=1;function O(r,c){if(r===c)return!0;if(!!r!=!!c)return!1;const P=Object.getOwnPropertyNames(r),h=Object.getOwnPropertyNames(c);if(P.length!==h.length)return!1;for(let v=0;v<P.length;v++){const w=P[v];if(r[w]!==c[w])return!1}return!0}const xe={left:-1e3,top:0},K=l.forwardRef((r,c)=>{const h=l.useContext(re).call(void 0,r),{collision:v=g.collision,anchorAlign:w=g.anchorAlign,popupAlign:y=g.popupAlign,offset:x=g.offset,animate:R=g.animate,show:A=g.show,margin:Z=g.margin,positionMode:F=g.positionMode,appendTo:C,contentKey:T,anchor:d,scale:se,role:le,onKeyDown:ce,onPosition:V,onOpen:W,onMouseDownOutside:X,onClose:B,className:N,popupClass:z,id:ae,style:M,children:ue}=h,pe=u.useUnstyled(),S=h.unstyled||pe,D=S&&S.uPopup,[o,j]=l.useState({current:"hidden",previous:"hidden",props:{}}),I=R&&typeof R!="object"?oe:{...oe,...R},fe=e=>{window==null||window.addEventListener("mousedown",J),L(e),G(e.firstChild,"enter",de),j({...i,current:"shown",previous:i.current})},L=e=>{const{width:s,height:m}=e.style;if(e.offsetWidth===0&&e.offsetHeight===0)return;e.style.width=e.offsetWidth+"px",e.style.height=e.offsetHeight+"px";const p=t.alignElement({anchor:d,anchorAlign:w,element:e,elementAlign:y,offset:x,margin:Z,positionMode:F,scale:se}),f=t.positionElement({anchor:d,anchorAlign:w,element:e,elementAlign:y,collisions:v,currentLocation:p,margin:Z});if(e.style.top=f.offset.top+"px",e.style.left=f.offset.left+"px",e.style.width=s,e.style.height=m,$.current={fit:f.fit,fitted:f.fitted,flip:f.flip,flipped:f.flipped},V){const k={target:E.current,flipped:f.flipped,fitted:f.fitted};V.call(void 0,k)}},de=()=>{const e=a.current;e&&(A&&e.classList.add(...u.classNames(u.uPopup.animationContainerShown({c:D})).split(" ").filter(s=>s)),ge(e),W&&W.call(void 0,{target:E.current}))},G=(e,s,m)=>{var f;if(!y)return;let p=I.direction;if(I.type==="slide"){const{horizontal:k,vertical:H}=y;typeof r.animate=="object"&&r.animate.direction?p=I.direction:k==="left"&&H==="center"?p="right":k==="right"&&H==="center"?p="left":H==="top"?p="down":p="up",(f=$.current)!=null&&f.flipped&&(p={down:"up",up:"down",left:"right",right:"left"}[p])}Ce.animations(e,he()[s],s,m,D,I.type,p)},J=e=>{var p;const s=((p=e==null?void 0:e.target)==null?void 0:p.closest(".k-animation-container"))===null,m=(d==null?void 0:d.contains(e==null?void 0:e.target))||!1;if(s){if(X){const f={target:E.current,event:e,state:o,isAnchorClicked:m};X.call(void 0,f)}window==null||window.removeEventListener("mousedown",J)}},me=e=>{if(!A){const s=S&&S.uPopup;e.classList.remove(...u.classNames(u.uPopup.animationContainerShown({c:s})).split(" ").filter(m=>m))}q()},Q=()=>{i.current==="hiding"&&(i.previous==="shown"||i.previous==="reposition")&&j({...i,current:"hidden",previous:i.current}),B&&B.call(void 0,{target:E.current})},he=()=>{const e=R;let s=0,m=0;return e&&(e===!0?s=m=300:(s=e.openDuration||0,m=e.closeDuration||0)),{enter:s,exit:m}},ge=e=>{q(),b.current=t.domUtils.scrollableParents(d||e),b.current&&b.current.map(s=>s.addEventListener("scroll",_)),window.addEventListener("resize",_)},q=()=>{b.current&&(b.current.map(e=>e.removeEventListener("scroll",_)),b.current=void 0),window.removeEventListener("resize",_)},_=te.throttle(()=>{a.current&&i.current!=="hidden"&&i.current!=="hiding"&&j({...o,current:"reposition",previous:i.current})},te.FRAME_DURATION),Pe=()=>Y?Y+De:Ee,Y=u.useZIndexContext()||0,$=l.useRef(void 0),b=l.useRef(void 0),a=l.useRef(null),E=l.useRef(null),ee=l.useRef({}),U=l.useRef(!1);l.useImperativeHandle(E,()=>({element:a.current,setPosition:L,props:r})),l.useImperativeHandle(c,()=>E.current);const i=l.useMemo(()=>{const e={...o,props:{show:A,anchor:d,anchorAlign:w,appendTo:C,collision:v,popupAlign:y,className:N,popupClass:z,style:M,offset:x,contentKey:T}};return A?o.current==="hidden"||o.current==="hiding"?{...e,current:"showing",previous:o.current}:o.current==="showing"?{...e,current:"shown",previous:o.current}:o.current==="shown"&&(!O(x,o.props.offset)||!O(w,o.props.anchorAlign)||!O(C,o.props.appendTo)||!O(v,o.props.collision)||!O(y,o.props.popupAlign)||!O(M,o.props.style)||d!==o.props.anchor||z!==o.props.popupClass||N!==o.props.className)?{...e,current:"reposition",previous:o.current}:e:o.current==="hiding"||o.current==="hidden"?{...e,current:"hidden",previous:o.current}:{...e,current:"hiding",previous:o.current}},[A,d,w,C,v,y,N,z,M,x,T,o]);l.useEffect(()=>{i.current==="hiding"&&!U.current&&a.current?(U.current=!0,me(a.current),G(a.current.firstChild,"exit",Q)):(U.current=!1,i.current==="showing"&&a.current&&!a.current.classList.contains("k-animation-container-shown")?fe(a.current):i.current==="hiding"&&a.current?Q():i.current==="reposition"&&i.previous==="shown"?setTimeout(()=>{j({...i,current:"shown",previous:i.current})},0):i.current==="shown"&&ee.current.contentKey!==T&&a.current&&L(a.current)),i.current==="reposition"&&(i.previous==="shown"||i.previous==="showing")&&a.current&&L(a.current),ee.current={contentKey:T}},[i]),l.useEffect(()=>()=>{q()},[]);const ne=C||(u.canUseDOM?d&&d.ownerDocument?d.ownerDocument.body:document.body:void 0),ve=Object.assign({},{position:F,top:0,left:-1e4},M||{}),we=h.offset!==void 0&&!O(h.offset,g.offset)||h.margin!==void 0,ye=i.current==="hiding";if((A||ye)&&ne){const e=Pe(),s=l.createElement(u.ZIndexContext.Provider,{value:e},l.createElement("div",{onKeyDown:ce,className:u.classNames(u.uPopup.animationContainer({c:D}),N),id:ae,ref:a,style:{zIndex:e,...ve}},l.createElement("div",{className:u.classNames(u.uPopup.animationChild({c:D})),style:{transitionDelay:"0ms"}},l.createElement("div",{role:le,className:u.classNames(u.uPopup.popup({c:D}),z),style:we?{margin:0}:void 0},ue))));return C!==null?be.createPortal(s,ne):s}return null}),g={collision:{horizontal:t.Collision.fit,vertical:t.Collision.flip},anchorAlign:{horizontal:t.AlignPoint.left,vertical:t.AlignPoint.bottom},popupAlign:{horizontal:t.AlignPoint.left,vertical:t.AlignPoint.top},offset:xe,animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},oe={type:"slide",direction:"down"};K.displayName="Popup";K.propTypes={anchor:function(r){const c=r.anchor;return c&&typeof c.nodeType!="number"?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(r){const c=r.appendTo;return c&&typeof c.nodeType!="number"?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:n.oneOfType([n.string,n.arrayOf(n.string.isRequired)]),id:n.string,popupClass:n.oneOfType([n.string,n.arrayOf(n.string),n.object]),collision:n.shape({horizontal:n.oneOf([t.Collision.fit,t.Collision.flip,t.Collision.none]),vertical:n.oneOf([t.Collision.fit,t.Collision.flip,t.Collision.none])}),anchorAlign:n.shape({horizontal:n.oneOf([t.AlignPoint.left,t.AlignPoint.center,t.AlignPoint.right]),vertical:n.oneOf([t.AlignPoint.top,t.AlignPoint.center,t.AlignPoint.bottom])}),popupAlign:n.shape({horizontal:n.oneOf([t.AlignPoint.left,t.AlignPoint.center,t.AlignPoint.right]),vertical:n.oneOf([t.AlignPoint.top,t.AlignPoint.center,t.AlignPoint.bottom])}),offset:n.shape({left:n.number,top:n.number}),children:n.oneOfType([n.element,n.node]),show:n.bool,animate:n.oneOfType([n.bool,n.shape({type:n.oneOf(["slide","zoom","push","expand","fade"]),openDuration:n.number,closeDuration:n.number})]),margin:n.shape({horizontal:n.number,vertical:n.number}),positionMode:n.oneOf(["fixed","absolute"]),scale:n.number,style:n.object,onClose:n.func,onPosition:n.func,onOpen:n.func,onKeyDown:n.func,onMouseDownOutside:n.func};exports.Popup=K;exports.PopupPropsContext=re;exports.popupDefaultProps=g;
|
package/Popup.mjs
CHANGED
|
@@ -6,42 +6,42 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import * as i from "react";
|
|
9
|
-
import * as
|
|
9
|
+
import * as Pe from "react-dom";
|
|
10
10
|
import t from "prop-types";
|
|
11
|
-
import { animations as
|
|
12
|
-
import { useUnstyled as
|
|
13
|
-
import { Collision as w, AlignPoint as s, alignElement as
|
|
14
|
-
import { throttle as
|
|
15
|
-
const
|
|
16
|
-
function
|
|
11
|
+
import { animations as Oe } from "./animation.mjs";
|
|
12
|
+
import { useUnstyled as Ee, useZIndexContext as be, canUseDOM as Ce, ZIndexContext as xe, classNames as A, uPopup as D } from "@progress/kendo-react-common";
|
|
13
|
+
import { Collision as w, AlignPoint as s, alignElement as Ae, positionElement as De, domUtils as Te } from "@progress/kendo-popup-common";
|
|
14
|
+
import { throttle as Re, FRAME_DURATION as ze } from "./util.mjs";
|
|
15
|
+
const Ne = i.createContext((c) => c), Ie = 100, Le = 1;
|
|
16
|
+
function P(c, p) {
|
|
17
17
|
if (c === p)
|
|
18
18
|
return !0;
|
|
19
19
|
if (!!c != !!p)
|
|
20
20
|
return !1;
|
|
21
|
-
const
|
|
22
|
-
if (
|
|
21
|
+
const T = Object.getOwnPropertyNames(c), v = Object.getOwnPropertyNames(p);
|
|
22
|
+
if (T.length !== v.length)
|
|
23
23
|
return !1;
|
|
24
|
-
for (let
|
|
25
|
-
const
|
|
26
|
-
if (c[
|
|
24
|
+
for (let h = 0; h < T.length; h++) {
|
|
25
|
+
const g = T[h];
|
|
26
|
+
if (c[g] !== p[g])
|
|
27
27
|
return !1;
|
|
28
28
|
}
|
|
29
29
|
return !0;
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const Me = {
|
|
32
32
|
left: -1e3,
|
|
33
33
|
top: 0
|
|
34
34
|
}, re = i.forwardRef((c, p) => {
|
|
35
|
-
const
|
|
36
|
-
collision:
|
|
37
|
-
anchorAlign:
|
|
38
|
-
popupAlign:
|
|
39
|
-
offset: R =
|
|
40
|
-
animate: z =
|
|
41
|
-
show:
|
|
42
|
-
margin: q =
|
|
43
|
-
positionMode: V =
|
|
44
|
-
appendTo:
|
|
35
|
+
const v = i.useContext(Ne).call(void 0, c), {
|
|
36
|
+
collision: h = m.collision,
|
|
37
|
+
anchorAlign: g = m.anchorAlign,
|
|
38
|
+
popupAlign: y = m.popupAlign,
|
|
39
|
+
offset: R = m.offset,
|
|
40
|
+
animate: z = m.animate,
|
|
41
|
+
show: O = m.show,
|
|
42
|
+
margin: q = m.margin,
|
|
43
|
+
positionMode: V = m.positionMode,
|
|
44
|
+
appendTo: E,
|
|
45
45
|
contentKey: N,
|
|
46
46
|
anchor: f,
|
|
47
47
|
scale: ie,
|
|
@@ -56,7 +56,7 @@ const Le = {
|
|
|
56
56
|
id: le,
|
|
57
57
|
style: M,
|
|
58
58
|
children: ae
|
|
59
|
-
} =
|
|
59
|
+
} = v, ue = Ee(), S = v.unstyled || ue, x = S && S.uPopup, [n, U] = i.useState({
|
|
60
60
|
current: "hidden",
|
|
61
61
|
previous: "hidden",
|
|
62
62
|
props: {}
|
|
@@ -67,21 +67,21 @@ const Le = {
|
|
|
67
67
|
if (e.offsetWidth === 0 && e.offsetHeight === 0)
|
|
68
68
|
return;
|
|
69
69
|
e.style.width = e.offsetWidth + "px", e.style.height = e.offsetHeight + "px";
|
|
70
|
-
const a =
|
|
70
|
+
const a = Ae({
|
|
71
71
|
anchor: f,
|
|
72
|
-
anchorAlign:
|
|
72
|
+
anchorAlign: g,
|
|
73
73
|
element: e,
|
|
74
|
-
elementAlign:
|
|
74
|
+
elementAlign: y,
|
|
75
75
|
offset: R,
|
|
76
76
|
margin: q,
|
|
77
77
|
positionMode: V,
|
|
78
78
|
scale: ie
|
|
79
|
-
}), u =
|
|
79
|
+
}), u = De({
|
|
80
80
|
anchor: f,
|
|
81
|
-
anchorAlign:
|
|
81
|
+
anchorAlign: g,
|
|
82
82
|
element: e,
|
|
83
|
-
elementAlign:
|
|
84
|
-
collisions:
|
|
83
|
+
elementAlign: y,
|
|
84
|
+
collisions: h,
|
|
85
85
|
currentLocation: a,
|
|
86
86
|
margin: q
|
|
87
87
|
});
|
|
@@ -92,7 +92,7 @@ const Le = {
|
|
|
92
92
|
flipped: u.flipped
|
|
93
93
|
}, W) {
|
|
94
94
|
const K = {
|
|
95
|
-
target:
|
|
95
|
+
target: C.current,
|
|
96
96
|
flipped: u.flipped,
|
|
97
97
|
fitted: u.fitted
|
|
98
98
|
};
|
|
@@ -100,16 +100,16 @@ const Le = {
|
|
|
100
100
|
}
|
|
101
101
|
}, fe = () => {
|
|
102
102
|
const e = l.current;
|
|
103
|
-
e && (
|
|
104
|
-
...
|
|
105
|
-
), he(e), X && X.call(void 0, { target:
|
|
103
|
+
e && (O && e.classList.add(
|
|
104
|
+
...A(D.animationContainerShown({ c: x })).split(" ").filter((r) => r)
|
|
105
|
+
), he(e), X && X.call(void 0, { target: C.current }));
|
|
106
106
|
}, J = (e, r, d) => {
|
|
107
107
|
var u;
|
|
108
|
-
if (!
|
|
108
|
+
if (!y)
|
|
109
109
|
return;
|
|
110
110
|
let a = j.direction;
|
|
111
111
|
if (j.type === "slide") {
|
|
112
|
-
const { horizontal: K, vertical: F } =
|
|
112
|
+
const { horizontal: K, vertical: F } = y;
|
|
113
113
|
typeof c.animate == "object" && c.animate.direction ? a = j.direction : K === "left" && F === "center" ? a = "right" : K === "right" && F === "center" ? a = "left" : F === "top" ? a = "down" : a = "up", (u = ee.current) != null && u.flipped && (a = {
|
|
114
114
|
down: "up",
|
|
115
115
|
up: "down",
|
|
@@ -117,12 +117,12 @@ const Le = {
|
|
|
117
117
|
right: "left"
|
|
118
118
|
}[a]);
|
|
119
119
|
}
|
|
120
|
-
|
|
120
|
+
Oe(
|
|
121
121
|
e,
|
|
122
122
|
me()[r],
|
|
123
123
|
r,
|
|
124
124
|
d,
|
|
125
|
-
|
|
125
|
+
x,
|
|
126
126
|
j.type,
|
|
127
127
|
a
|
|
128
128
|
);
|
|
@@ -132,7 +132,7 @@ const Le = {
|
|
|
132
132
|
if (r) {
|
|
133
133
|
if (B) {
|
|
134
134
|
const u = {
|
|
135
|
-
target:
|
|
135
|
+
target: C.current,
|
|
136
136
|
event: e,
|
|
137
137
|
state: n,
|
|
138
138
|
isAnchorClicked: d
|
|
@@ -142,41 +142,41 @@ const Le = {
|
|
|
142
142
|
window == null || window.removeEventListener("mousedown", Q);
|
|
143
143
|
}
|
|
144
144
|
}, de = (e) => {
|
|
145
|
-
if (!
|
|
145
|
+
if (!O) {
|
|
146
146
|
const r = S && S.uPopup;
|
|
147
147
|
e.classList.remove(
|
|
148
|
-
...
|
|
148
|
+
...A(D.animationContainerShown({ c: r })).split(" ").filter((d) => d)
|
|
149
149
|
);
|
|
150
150
|
}
|
|
151
151
|
Z();
|
|
152
152
|
}, Y = () => {
|
|
153
|
-
o.current === "hiding" && (o.previous === "shown" || o.previous === "reposition") && U({ ...o, current: "hidden", previous: o.current }), G && G.call(void 0, { target:
|
|
153
|
+
o.current === "hiding" && (o.previous === "shown" || o.previous === "reposition") && U({ ...o, current: "hidden", previous: o.current }), G && G.call(void 0, { target: C.current });
|
|
154
154
|
}, me = () => {
|
|
155
155
|
const e = z;
|
|
156
156
|
let r = 0, d = 0;
|
|
157
157
|
return e && (e === !0 ? r = d = 300 : (r = e.openDuration || 0, d = e.closeDuration || 0)), { enter: r, exit: d };
|
|
158
158
|
}, he = (e) => {
|
|
159
|
-
Z(),
|
|
159
|
+
Z(), b.current = Te.scrollableParents(f || e), b.current && b.current.map((r) => r.addEventListener("scroll", H)), window.addEventListener("resize", H);
|
|
160
160
|
}, Z = () => {
|
|
161
|
-
|
|
162
|
-
}, H =
|
|
161
|
+
b.current && (b.current.map((e) => e.removeEventListener("scroll", H)), b.current = void 0), window.removeEventListener("resize", H);
|
|
162
|
+
}, H = Re(() => {
|
|
163
163
|
l.current && o.current !== "hidden" && o.current !== "hiding" && U({ ...n, current: "reposition", previous: o.current });
|
|
164
|
-
},
|
|
165
|
-
i.useImperativeHandle(
|
|
164
|
+
}, ze), ge = () => $ ? $ + Le : Ie, $ = be() || 0, ee = i.useRef(void 0), b = i.useRef(void 0), l = i.useRef(null), C = i.useRef(null), te = i.useRef({}), _ = i.useRef(!1);
|
|
165
|
+
i.useImperativeHandle(C, () => ({
|
|
166
166
|
element: l.current,
|
|
167
167
|
setPosition: k,
|
|
168
168
|
props: c
|
|
169
|
-
})), i.useImperativeHandle(p, () =>
|
|
169
|
+
})), i.useImperativeHandle(p, () => C.current);
|
|
170
170
|
const o = i.useMemo(() => {
|
|
171
171
|
const e = {
|
|
172
172
|
...n,
|
|
173
173
|
props: {
|
|
174
|
-
show:
|
|
174
|
+
show: O,
|
|
175
175
|
anchor: f,
|
|
176
|
-
anchorAlign:
|
|
177
|
-
appendTo:
|
|
178
|
-
collision:
|
|
179
|
-
popupAlign:
|
|
176
|
+
anchorAlign: g,
|
|
177
|
+
appendTo: E,
|
|
178
|
+
collision: h,
|
|
179
|
+
popupAlign: y,
|
|
180
180
|
className: I,
|
|
181
181
|
popupClass: L,
|
|
182
182
|
style: M,
|
|
@@ -184,14 +184,14 @@ const Le = {
|
|
|
184
184
|
contentKey: N
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
return
|
|
187
|
+
return O ? n.current === "hidden" || n.current === "hiding" ? { ...e, current: "showing", previous: n.current } : n.current === "showing" ? { ...e, current: "shown", previous: n.current } : n.current === "shown" && (!P(R, n.props.offset) || !P(g, n.props.anchorAlign) || !P(E, n.props.appendTo) || !P(h, n.props.collision) || !P(y, n.props.popupAlign) || !P(M, n.props.style) || f !== n.props.anchor || L !== n.props.popupClass || I !== n.props.className) ? { ...e, current: "reposition", previous: n.current } : e : n.current === "hiding" || n.current === "hidden" ? { ...e, current: "hidden", previous: n.current } : { ...e, current: "hiding", previous: n.current };
|
|
188
188
|
}, [
|
|
189
|
-
|
|
189
|
+
O,
|
|
190
190
|
f,
|
|
191
|
+
g,
|
|
192
|
+
E,
|
|
191
193
|
h,
|
|
192
|
-
|
|
193
|
-
m,
|
|
194
|
-
v,
|
|
194
|
+
y,
|
|
195
195
|
I,
|
|
196
196
|
L,
|
|
197
197
|
M,
|
|
@@ -206,17 +206,17 @@ const Le = {
|
|
|
206
206
|
}, [o]), i.useEffect(() => () => {
|
|
207
207
|
Z();
|
|
208
208
|
}, []);
|
|
209
|
-
const ne =
|
|
209
|
+
const ne = E || (Ce ? f && f.ownerDocument ? f.ownerDocument.body : document.body : void 0), we = Object.assign(
|
|
210
210
|
{},
|
|
211
211
|
{ position: V, top: 0, left: -1e4 },
|
|
212
212
|
M || {}
|
|
213
|
-
), ve = o.current === "hiding";
|
|
214
|
-
if ((
|
|
215
|
-
const e = ge(), r = /* @__PURE__ */ i.createElement(
|
|
213
|
+
), ve = v.offset !== void 0 && !P(v.offset, m.offset) || v.margin !== void 0, ye = o.current === "hiding";
|
|
214
|
+
if ((O || ye) && ne) {
|
|
215
|
+
const e = ge(), r = /* @__PURE__ */ i.createElement(xe.Provider, { value: e }, /* @__PURE__ */ i.createElement(
|
|
216
216
|
"div",
|
|
217
217
|
{
|
|
218
218
|
onKeyDown: ce,
|
|
219
|
-
className:
|
|
219
|
+
className: A(D.animationContainer({ c: x }), I),
|
|
220
220
|
id: le,
|
|
221
221
|
ref: l,
|
|
222
222
|
style: {
|
|
@@ -227,16 +227,24 @@ const Le = {
|
|
|
227
227
|
/* @__PURE__ */ i.createElement(
|
|
228
228
|
"div",
|
|
229
229
|
{
|
|
230
|
-
className:
|
|
230
|
+
className: A(D.animationChild({ c: x })),
|
|
231
231
|
style: { transitionDelay: "0ms" }
|
|
232
232
|
},
|
|
233
|
-
/* @__PURE__ */ i.createElement(
|
|
233
|
+
/* @__PURE__ */ i.createElement(
|
|
234
|
+
"div",
|
|
235
|
+
{
|
|
236
|
+
role: se,
|
|
237
|
+
className: A(D.popup({ c: x }), L),
|
|
238
|
+
style: ve ? { margin: 0 } : void 0
|
|
239
|
+
},
|
|
240
|
+
ae
|
|
241
|
+
)
|
|
234
242
|
)
|
|
235
243
|
));
|
|
236
|
-
return
|
|
244
|
+
return E !== null ? Pe.createPortal(r, ne) : r;
|
|
237
245
|
}
|
|
238
246
|
return null;
|
|
239
|
-
}),
|
|
247
|
+
}), m = {
|
|
240
248
|
collision: {
|
|
241
249
|
horizontal: w.fit,
|
|
242
250
|
vertical: w.flip
|
|
@@ -249,7 +257,7 @@ const Le = {
|
|
|
249
257
|
horizontal: s.left,
|
|
250
258
|
vertical: s.top
|
|
251
259
|
},
|
|
252
|
-
offset:
|
|
260
|
+
offset: Me,
|
|
253
261
|
animate: !0,
|
|
254
262
|
show: !1,
|
|
255
263
|
margin: {
|
|
@@ -315,6 +323,6 @@ re.propTypes = {
|
|
|
315
323
|
};
|
|
316
324
|
export {
|
|
317
325
|
re as Popup,
|
|
318
|
-
|
|
319
|
-
|
|
326
|
+
Ne as PopupPropsContext,
|
|
327
|
+
m as popupDefaultProps
|
|
320
328
|
};
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
13
13
|
*-------------------------------------------------------------------------------------------
|
|
14
14
|
*/
|
|
15
|
-
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react"),require("react-dom"),require("prop-types"),require("@progress/kendo-react-common"),require("@progress/kendo-popup-common")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","prop-types","@progress/kendo-react-common","@progress/kendo-popup-common"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactPopup={},e.React,e.ReactDOM,e.PropTypes,e.KendoReactCommon,e.KendoPopupCommon)}(this,function(e,n,t,o,r,i){"use strict";function s(e){var n=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}}),n.default=e,Object.freeze(n)}var l=s(n),c=s(t);const p=(e,n,t)=>{e.style.transitionDuration="",n&&e.classList.remove(...n.split(" ")),t&&e.classList.remove(...t.split(" "))},u="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),a=(e,n,t,o,i,s,l)=>{if(0===n)return o();const c=`${s}Active`,a=r.classNames(r.uPopup[s]({direction:l,type:t,c:i})),d=r.classNames(r.uPopup[c]({direction:l,type:t,c:i})),f=n=>{n.target===e&&(e.removeEventListener("transitionend",f),p(e,a,d),e.style.display="exit"===t?"none":"",o())};e.addEventListener("transitionend",f);const m=e.ownerDocument;if(!m)return;const h=m.defaultView;if(!h)return;const g=()=>{p(e,a,d),"enter"===t&&(e.style.display=""),a&&e.classList.add(...a.split(" ").filter(e=>e)),h.requestAnimationFrame(()=>{e.style.transitionDuration=n+"ms",e.classList.add(...d.split(" ").filter(e=>e))})};u?h.requestAnimationFrame(g):g()},d=l.createContext(e=>e);function f(e,n){if(e===n)return!0;if(!!e!=!!n)return!1;const t=Object.getOwnPropertyNames(e),o=Object.getOwnPropertyNames(n);if(t.length!==o.length)return!1;for(let o=0;o<t.length;o++){const r=t[o];if(e[r]!==n[r])return!1}return!0}const m=l.forwardRef((e,n)=>{const t=l.useContext(d).call(void 0,e),{collision:o=h.collision,anchorAlign:s=h.anchorAlign,popupAlign:p=h.popupAlign,offset:u=h.offset,animate:m=h.animate,show:v=h.show,margin:y=h.margin,positionMode:w=h.positionMode,appendTo:P,contentKey:A,anchor:b,scale:O,role:C,onKeyDown:x,onPosition:T,onOpen:D,onMouseDownOutside:E,onClose:N,className:L,popupClass:z,id:R,style:j,children:K}=t,M=r.useUnstyled(),k=t.unstyled||M,q=k&&k.uPopup,[I,H]=l.useState({current:"hidden",previous:"hidden",props:{}}),F=m&&"object"!=typeof m?g:{...g,...m},S=e=>{const{width:n,height:t}=e.style;if(0===e.offsetWidth&&0===e.offsetHeight)return;e.style.width=e.offsetWidth+"px",e.style.height=e.offsetHeight+"px";const r=i.alignElement({anchor:b,anchorAlign:s,element:e,elementAlign:p,offset:u,margin:y,positionMode:w,scale:O}),l=i.positionElement({anchor:b,anchorAlign:s,element:e,elementAlign:p,collisions:o,currentLocation:r,margin:y});if(e.style.top=l.offset.top+"px",e.style.left=l.offset.left+"px",e.style.width=n,e.style.height=t,X.current={fit:l.fit,fitted:l.fitted,flip:l.flip,flipped:l.flipped},T){const e={target:ee.current,flipped:l.flipped,fitted:l.fitted};T.call(void 0,e)}},U=()=>{const e=_.current;e&&(v&&e.classList.add(...r.classNames(r.uPopup.animationContainerShown({c:q})).split(" ").filter(e=>e)),B(e),D&&D.call(void 0,{target:ee.current}))},V=(n,t,o)=>{var r;if(!p)return;let i=F.direction;if("slide"===F.type){const{horizontal:n,vertical:t}=p;i="object"==typeof e.animate&&e.animate.direction?F.direction:"left"===n&&"center"===t?"right":"right"===n&&"center"===t?"left":"top"===t?"down":"up",null!=(r=X.current)&&r.flipped&&(i={down:"up",up:"down",left:"right",right:"left"}[i])}a(n,$()[t],t,o,q,F.type,i)},W=e=>{var n;const t=null===(null==(n=null==e?void 0:e.target)?void 0:n.closest(".k-animation-container")),o=(null==b?void 0:b.contains(null==e?void 0:e.target))||!1;if(t){if(E){const n={target:ee.current,event:e,state:I,isAnchorClicked:o};E.call(void 0,n)}null==window||window.removeEventListener("mousedown",W)}},Z=()=>{"hiding"===oe.current&&("shown"===oe.previous||"reposition"===oe.previous)&&H({...oe,current:"hidden",previous:oe.current}),N&&N.call(void 0,{target:ee.current})},$=()=>{const e=m;let n=0,t=0;return e&&(!0===e?n=t=300:(n=e.openDuration||0,t=e.closeDuration||0)),{enter:n,exit:t}},B=e=>{G(),Y.current=i.domUtils.scrollableParents(b||e),Y.current&&Y.current.map(e=>e.addEventListener("scroll",J)),window.addEventListener("resize",J)},G=()=>{Y.current&&(Y.current.map(e=>e.removeEventListener("scroll",J)),Y.current=void 0),window.removeEventListener("resize",J)},J=function(e,n,t={}){let o,r,i,s,l=0;t=t||{};const c=function(){l=!1===t.leading?0:(new Date).getTime(),o=void 0,s=e.apply(r,i),o||(r=i=null)};return function(){const p=(new Date).getTime();!l&&!1===t.leading&&(l=p);const u=n-(p-l);return r=void 0,i=arguments,u<=0||u>n?(o&&(clearTimeout(o),o=void 0),l=p,s=e.apply(r,i),o||(r=i=null)):!o&&!1!==t.trailing&&(o=window.setTimeout(c,u)),s}}(()=>{_.current&&"hidden"!==oe.current&&"hiding"!==oe.current&&H({...I,current:"reposition",previous:oe.current})},16.666666666666668),Q=r.useZIndexContext()||0,X=l.useRef(void 0),Y=l.useRef(void 0),_=l.useRef(null),ee=l.useRef(null),ne=l.useRef({}),te=l.useRef(!1);l.useImperativeHandle(ee,()=>({element:_.current,setPosition:S,props:e})),l.useImperativeHandle(n,()=>ee.current);const oe=l.useMemo(()=>{const e={...I,props:{show:v,anchor:b,anchorAlign:s,appendTo:P,collision:o,popupAlign:p,className:L,popupClass:z,style:j,offset:u,contentKey:A}};return v?"hidden"===I.current||"hiding"===I.current?{...e,current:"showing",previous:I.current}:"showing"===I.current?{...e,current:"shown",previous:I.current}:"shown"!==I.current||f(u,I.props.offset)&&f(s,I.props.anchorAlign)&&f(P,I.props.appendTo)&&f(o,I.props.collision)&&f(p,I.props.popupAlign)&&f(j,I.props.style)&&b===I.props.anchor&&z===I.props.popupClass&&L===I.props.className?e:{...e,current:"reposition",previous:I.current}:"hiding"===I.current||"hidden"===I.current?{...e,current:"hidden",previous:I.current}:{...e,current:"hiding",previous:I.current}},[v,b,s,P,o,p,L,z,j,u,A,I]);l.useEffect(()=>{var e;"hiding"===oe.current&&!te.current&&_.current?(te.current=!0,(e=>{if(!v){const n=k&&k.uPopup;e.classList.remove(...r.classNames(r.uPopup.animationContainerShown({c:n})).split(" ").filter(e=>e))}G()})(_.current),V(_.current.firstChild,"exit",Z)):(te.current=!1,"showing"===oe.current&&_.current&&!_.current.classList.contains("k-animation-container-shown")?(e=_.current,null==window||window.addEventListener("mousedown",W),S(e),V(e.firstChild,"enter",U),H({...oe,current:"shown",previous:oe.current})):"hiding"===oe.current&&_.current?Z():"reposition"===oe.current&&"shown"===oe.previous?setTimeout(()=>{H({...oe,current:"shown",previous:oe.current})},0):"shown"===oe.current&&ne.current.contentKey!==A&&_.current&&S(_.current)),"reposition"===oe.current&&("shown"===oe.previous||"showing"===oe.previous)&&_.current&&S(_.current),ne.current={contentKey:A}},[oe]),l.useEffect(()=>()=>{G()},[]);const re=P||(r.canUseDOM?b&&b.ownerDocument?b.ownerDocument.body:document.body:void 0),ie=Object.assign({},{position:w,top:0,left:-1e4},j||{}),se="hiding"===oe.current;if((v||
|
|
15
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("react"),require("react-dom"),require("prop-types"),require("@progress/kendo-react-common"),require("@progress/kendo-popup-common")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","prop-types","@progress/kendo-react-common","@progress/kendo-popup-common"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).KendoReactPopup={},e.React,e.ReactDOM,e.PropTypes,e.KendoReactCommon,e.KendoPopupCommon)}(this,function(e,n,t,o,r,i){"use strict";function s(e){var n=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}}),n.default=e,Object.freeze(n)}var l=s(n),c=s(t);const p=(e,n,t)=>{e.style.transitionDuration="",n&&e.classList.remove(...n.split(" ")),t&&e.classList.remove(...t.split(" "))},u="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),a=(e,n,t,o,i,s,l)=>{if(0===n)return o();const c=`${s}Active`,a=r.classNames(r.uPopup[s]({direction:l,type:t,c:i})),d=r.classNames(r.uPopup[c]({direction:l,type:t,c:i})),f=n=>{n.target===e&&(e.removeEventListener("transitionend",f),p(e,a,d),e.style.display="exit"===t?"none":"",o())};e.addEventListener("transitionend",f);const m=e.ownerDocument;if(!m)return;const h=m.defaultView;if(!h)return;const g=()=>{p(e,a,d),"enter"===t&&(e.style.display=""),a&&e.classList.add(...a.split(" ").filter(e=>e)),h.requestAnimationFrame(()=>{e.style.transitionDuration=n+"ms",e.classList.add(...d.split(" ").filter(e=>e))})};u?h.requestAnimationFrame(g):g()},d=l.createContext(e=>e);function f(e,n){if(e===n)return!0;if(!!e!=!!n)return!1;const t=Object.getOwnPropertyNames(e),o=Object.getOwnPropertyNames(n);if(t.length!==o.length)return!1;for(let o=0;o<t.length;o++){const r=t[o];if(e[r]!==n[r])return!1}return!0}const m=l.forwardRef((e,n)=>{const t=l.useContext(d).call(void 0,e),{collision:o=h.collision,anchorAlign:s=h.anchorAlign,popupAlign:p=h.popupAlign,offset:u=h.offset,animate:m=h.animate,show:v=h.show,margin:y=h.margin,positionMode:w=h.positionMode,appendTo:P,contentKey:A,anchor:b,scale:O,role:C,onKeyDown:x,onPosition:T,onOpen:D,onMouseDownOutside:E,onClose:N,className:L,popupClass:z,id:R,style:j,children:K}=t,M=r.useUnstyled(),k=t.unstyled||M,q=k&&k.uPopup,[I,H]=l.useState({current:"hidden",previous:"hidden",props:{}}),F=m&&"object"!=typeof m?g:{...g,...m},S=e=>{const{width:n,height:t}=e.style;if(0===e.offsetWidth&&0===e.offsetHeight)return;e.style.width=e.offsetWidth+"px",e.style.height=e.offsetHeight+"px";const r=i.alignElement({anchor:b,anchorAlign:s,element:e,elementAlign:p,offset:u,margin:y,positionMode:w,scale:O}),l=i.positionElement({anchor:b,anchorAlign:s,element:e,elementAlign:p,collisions:o,currentLocation:r,margin:y});if(e.style.top=l.offset.top+"px",e.style.left=l.offset.left+"px",e.style.width=n,e.style.height=t,X.current={fit:l.fit,fitted:l.fitted,flip:l.flip,flipped:l.flipped},T){const e={target:ee.current,flipped:l.flipped,fitted:l.fitted};T.call(void 0,e)}},U=()=>{const e=_.current;e&&(v&&e.classList.add(...r.classNames(r.uPopup.animationContainerShown({c:q})).split(" ").filter(e=>e)),B(e),D&&D.call(void 0,{target:ee.current}))},V=(n,t,o)=>{var r;if(!p)return;let i=F.direction;if("slide"===F.type){const{horizontal:n,vertical:t}=p;i="object"==typeof e.animate&&e.animate.direction?F.direction:"left"===n&&"center"===t?"right":"right"===n&&"center"===t?"left":"top"===t?"down":"up",null!=(r=X.current)&&r.flipped&&(i={down:"up",up:"down",left:"right",right:"left"}[i])}a(n,$()[t],t,o,q,F.type,i)},W=e=>{var n;const t=null===(null==(n=null==e?void 0:e.target)?void 0:n.closest(".k-animation-container")),o=(null==b?void 0:b.contains(null==e?void 0:e.target))||!1;if(t){if(E){const n={target:ee.current,event:e,state:I,isAnchorClicked:o};E.call(void 0,n)}null==window||window.removeEventListener("mousedown",W)}},Z=()=>{"hiding"===oe.current&&("shown"===oe.previous||"reposition"===oe.previous)&&H({...oe,current:"hidden",previous:oe.current}),N&&N.call(void 0,{target:ee.current})},$=()=>{const e=m;let n=0,t=0;return e&&(!0===e?n=t=300:(n=e.openDuration||0,t=e.closeDuration||0)),{enter:n,exit:t}},B=e=>{G(),Y.current=i.domUtils.scrollableParents(b||e),Y.current&&Y.current.map(e=>e.addEventListener("scroll",J)),window.addEventListener("resize",J)},G=()=>{Y.current&&(Y.current.map(e=>e.removeEventListener("scroll",J)),Y.current=void 0),window.removeEventListener("resize",J)},J=function(e,n,t={}){let o,r,i,s,l=0;t=t||{};const c=function(){l=!1===t.leading?0:(new Date).getTime(),o=void 0,s=e.apply(r,i),o||(r=i=null)};return function(){const p=(new Date).getTime();!l&&!1===t.leading&&(l=p);const u=n-(p-l);return r=void 0,i=arguments,u<=0||u>n?(o&&(clearTimeout(o),o=void 0),l=p,s=e.apply(r,i),o||(r=i=null)):!o&&!1!==t.trailing&&(o=window.setTimeout(c,u)),s}}(()=>{_.current&&"hidden"!==oe.current&&"hiding"!==oe.current&&H({...I,current:"reposition",previous:oe.current})},16.666666666666668),Q=r.useZIndexContext()||0,X=l.useRef(void 0),Y=l.useRef(void 0),_=l.useRef(null),ee=l.useRef(null),ne=l.useRef({}),te=l.useRef(!1);l.useImperativeHandle(ee,()=>({element:_.current,setPosition:S,props:e})),l.useImperativeHandle(n,()=>ee.current);const oe=l.useMemo(()=>{const e={...I,props:{show:v,anchor:b,anchorAlign:s,appendTo:P,collision:o,popupAlign:p,className:L,popupClass:z,style:j,offset:u,contentKey:A}};return v?"hidden"===I.current||"hiding"===I.current?{...e,current:"showing",previous:I.current}:"showing"===I.current?{...e,current:"shown",previous:I.current}:"shown"!==I.current||f(u,I.props.offset)&&f(s,I.props.anchorAlign)&&f(P,I.props.appendTo)&&f(o,I.props.collision)&&f(p,I.props.popupAlign)&&f(j,I.props.style)&&b===I.props.anchor&&z===I.props.popupClass&&L===I.props.className?e:{...e,current:"reposition",previous:I.current}:"hiding"===I.current||"hidden"===I.current?{...e,current:"hidden",previous:I.current}:{...e,current:"hiding",previous:I.current}},[v,b,s,P,o,p,L,z,j,u,A,I]);l.useEffect(()=>{var e;"hiding"===oe.current&&!te.current&&_.current?(te.current=!0,(e=>{if(!v){const n=k&&k.uPopup;e.classList.remove(...r.classNames(r.uPopup.animationContainerShown({c:n})).split(" ").filter(e=>e))}G()})(_.current),V(_.current.firstChild,"exit",Z)):(te.current=!1,"showing"===oe.current&&_.current&&!_.current.classList.contains("k-animation-container-shown")?(e=_.current,null==window||window.addEventListener("mousedown",W),S(e),V(e.firstChild,"enter",U),H({...oe,current:"shown",previous:oe.current})):"hiding"===oe.current&&_.current?Z():"reposition"===oe.current&&"shown"===oe.previous?setTimeout(()=>{H({...oe,current:"shown",previous:oe.current})},0):"shown"===oe.current&&ne.current.contentKey!==A&&_.current&&S(_.current)),"reposition"===oe.current&&("shown"===oe.previous||"showing"===oe.previous)&&_.current&&S(_.current),ne.current={contentKey:A}},[oe]),l.useEffect(()=>()=>{G()},[]);const re=P||(r.canUseDOM?b&&b.ownerDocument?b.ownerDocument.body:document.body:void 0),ie=Object.assign({},{position:w,top:0,left:-1e4},j||{}),se=void 0!==t.offset&&!f(t.offset,h.offset)||void 0!==t.margin,le="hiding"===oe.current;if((v||le)&&re){const e=Q?Q+1:100,n=l.createElement(r.ZIndexContext.Provider,{value:e},l.createElement("div",{onKeyDown:x,className:r.classNames(r.uPopup.animationContainer({c:q}),L),id:R,ref:_,style:{zIndex:e,...ie}},l.createElement("div",{className:r.classNames(r.uPopup.animationChild({c:q})),style:{transitionDelay:"0ms"}},l.createElement("div",{role:C,className:r.classNames(r.uPopup.popup({c:q}),z),style:se?{margin:0}:void 0},K))));return null!==P?c.createPortal(n,re):n}return null}),h={collision:{horizontal:i.Collision.fit,vertical:i.Collision.flip},anchorAlign:{horizontal:i.AlignPoint.left,vertical:i.AlignPoint.bottom},popupAlign:{horizontal:i.AlignPoint.left,vertical:i.AlignPoint.top},offset:{left:-1e3,top:0},animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},g={type:"slide",direction:"down"};m.displayName="Popup",m.propTypes={anchor:function(e){const n=e.anchor;return n&&"number"!=typeof n.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){const n=e.appendTo;return n&&"number"!=typeof n.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:o.oneOfType([o.string,o.arrayOf(o.string.isRequired)]),id:o.string,popupClass:o.oneOfType([o.string,o.arrayOf(o.string),o.object]),collision:o.shape({horizontal:o.oneOf([i.Collision.fit,i.Collision.flip,i.Collision.none]),vertical:o.oneOf([i.Collision.fit,i.Collision.flip,i.Collision.none])}),anchorAlign:o.shape({horizontal:o.oneOf([i.AlignPoint.left,i.AlignPoint.center,i.AlignPoint.right]),vertical:o.oneOf([i.AlignPoint.top,i.AlignPoint.center,i.AlignPoint.bottom])}),popupAlign:o.shape({horizontal:o.oneOf([i.AlignPoint.left,i.AlignPoint.center,i.AlignPoint.right]),vertical:o.oneOf([i.AlignPoint.top,i.AlignPoint.center,i.AlignPoint.bottom])}),offset:o.shape({left:o.number,top:o.number}),children:o.oneOfType([o.element,o.node]),show:o.bool,animate:o.oneOfType([o.bool,o.shape({type:o.oneOf(["slide","zoom","push","expand","fade"]),openDuration:o.number,closeDuration:o.number})]),margin:o.shape({horizontal:o.number,vertical:o.number}),positionMode:o.oneOf(["fixed","absolute"]),scale:o.number,style:o.object,onClose:o.func,onPosition:o.func,onOpen:o.func,onKeyDown:o.func,onMouseDownOutside:o.func},e.Popup=m,e.PopupPropsContext=d});
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
|
|
|
7
7
|
productName: 'KendoReact',
|
|
8
8
|
productCode: 'KENDOUIREACT',
|
|
9
9
|
productCodes: ['KENDOUIREACT'],
|
|
10
|
-
publishDate:
|
|
11
|
-
version: '14.5.0-develop.
|
|
10
|
+
publishDate: 1778599275,
|
|
11
|
+
version: '14.5.0-develop.9',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-popup",
|
|
3
|
-
"version": "14.5.0-develop.
|
|
3
|
+
"version": "14.5.0-develop.9",
|
|
4
4
|
"description": "React Popup positions a piece of content next to a specific anchor component. KendoReact Popup package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.2",
|
|
29
29
|
"@progress/kendo-popup-common": "^1.9.5",
|
|
30
|
-
"@progress/kendo-react-common": "14.5.0-develop.
|
|
30
|
+
"@progress/kendo-react-common": "14.5.0-develop.9",
|
|
31
31
|
"react": "^18.0.0 || ^19.0.0",
|
|
32
32
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
33
33
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"package": {
|
|
55
55
|
"productName": "KendoReact",
|
|
56
56
|
"productCode": "KENDOUIREACT",
|
|
57
|
-
"publishDate":
|
|
57
|
+
"publishDate": 1778599275,
|
|
58
58
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
59
59
|
}
|
|
60
60
|
},
|