@progress/kendo-react-dialogs
Advanced tools
+9
-9
@@ -13,6 +13,6 @@ /** | ||
| import { DialogActionsBar as B } from "./DialogActionsBar.mjs"; | ||
| import { createPropsContext as V, useZIndexContext as W, getActiveElement as X, usePropsContext as q, FOCUSABLE_ELEMENTS as J, focusFirstFocusableChild as Q, canUseDOM as Z, dispatchEvent as Y, Keys as ee, keepFocusInContainer as te, ZIndexContext as oe, classNames as ne } from "@progress/kendo-react-common"; | ||
| import { useZIndexContext as V, getActiveElement as W, usePropsContext as X, FOCUSABLE_ELEMENTS as q, focusFirstFocusableChild as J, canUseDOM as Z, dispatchEvent as Q, Keys as Y, keepFocusInContainer as ee, ZIndexContext as te, classNames as oe, createPropsContext as ne } from "@progress/kendo-react-common"; | ||
| import { DEFAULT_DIALOGS_ZINDEX as re, DATA_DIALOGS_ID as le, ZINDEX_DIALOGS_STEP as se } from "./constants.mjs"; | ||
| const ce = V(), $ = t.forwardRef((j, z) => { | ||
| const I = W(), u = I ? I + se : re, E = t.useRef(null), n = t.useRef(null), l = t.useRef(X(document)), b = q(ce, j), r = t.useMemo( | ||
| const ce = ne(), $ = t.forwardRef((j, z) => { | ||
| const I = V(), u = I ? I + se : re, E = t.useRef(null), n = t.useRef(null), l = t.useRef(W(document)), b = X(ce, j), r = t.useMemo( | ||
| () => ({ | ||
@@ -63,6 +63,6 @@ ...d, | ||
| } else { | ||
| const e = [...J].map( | ||
| const e = [...q].map( | ||
| (s) => s + ":not(.k-dialog-titlebar *)" | ||
| ); | ||
| Q(n.current, e); | ||
| J(n.current, e); | ||
| } | ||
@@ -78,3 +78,3 @@ }, [y, a]); | ||
| (e) => { | ||
| e.preventDefault(), Y(r.onClose, e, N(), void 0); | ||
| e.preventDefault(), Q(r.onClose, e, N(), void 0); | ||
| }, | ||
@@ -84,6 +84,6 @@ [r.onClose] | ||
| (e) => { | ||
| e.keyCode === ee.esc && r.onClose && (e.preventDefault(), i(e)), te(e, n.current); | ||
| e.keyCode === Y.esc && r.onClose && (e.preventDefault(), i(e)), ee(e, n.current); | ||
| }, | ||
| [r.onClose, i] | ||
| ), L = t.useMemo(() => /* @__PURE__ */ t.createElement(oe.Provider, { value: u }, /* @__PURE__ */ t.createElement( | ||
| ), L = t.useMemo(() => /* @__PURE__ */ t.createElement(te.Provider, { value: u }, /* @__PURE__ */ t.createElement( | ||
| "div", | ||
@@ -106,3 +106,3 @@ { | ||
| { | ||
| className: ne("k-window k-dialog", { | ||
| className: oe("k-window k-dialog", { | ||
| [`k-window-${p}`]: p | ||
@@ -109,0 +109,0 @@ }), |
@@ -11,4 +11,4 @@ // Generated file. DO NOT EDIT. | ||
| publishDate: 0, | ||
| version: '14.0.0-develop.1', | ||
| version: '14.0.0-develop.2', | ||
| licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/' | ||
| }); |
+7
-7
| { | ||
| "name": "@progress/kendo-react-dialogs", | ||
| "version": "14.0.0-develop.1", | ||
| "version": "14.0.0-develop.2", | ||
| "description": "React Dialogs provide modal and non-modal windows for showing additional information to the user. KendoReact Dialogs package", | ||
@@ -29,8 +29,8 @@ "author": "Progress", | ||
| "@progress/kendo-licensing": "^1.7.2", | ||
| "@progress/kendo-react-buttons": "14.0.0-develop.1", | ||
| "@progress/kendo-react-common": "14.0.0-develop.1", | ||
| "@progress/kendo-react-intl": "14.0.0-develop.1", | ||
| "@progress/kendo-react-buttons": "14.0.0-develop.2", | ||
| "@progress/kendo-react-common": "14.0.0-develop.2", | ||
| "@progress/kendo-react-intl": "14.0.0-develop.2", | ||
| "@progress/kendo-svg-icons": "^4.0.0", | ||
| "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc", | ||
| "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" | ||
| "react": "^18.0.0 || ^19.0.0", | ||
| "react-dom": "^18.0.0 || ^19.0.0" | ||
| }, | ||
@@ -76,3 +76,3 @@ "dependencies": { | ||
| "productCode": "KENDOUIREACT", | ||
| "publishDate": 1770382812, | ||
| "publishDate": 1770669919, | ||
| "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/" | ||
@@ -79,0 +79,0 @@ } |
+3
-3
@@ -12,3 +12,3 @@ /** | ||
| import { WindowTitleBar as ft } from "./WindowTitlebar.mjs"; | ||
| import { withIdHOC as ht, createPropsContext as gt, withPropsContext as st, ZIndexContext as Ze, canUseDOM as le, keepFocusInContainer as mt, Keys as E, dispatchEvent as v, classNames as wt, Draggable as Tt } from "@progress/kendo-react-common"; | ||
| import { withIdHOC as ht, withPropsContext as gt, createPropsContext as st, ZIndexContext as Ze, canUseDOM as le, keepFocusInContainer as mt, Keys as E, dispatchEvent as v, classNames as wt, Draggable as Tt } from "@progress/kendo-react-common"; | ||
| import { ResizeHandlers as Et } from "./WindowResizeHandlers.mjs"; | ||
@@ -481,4 +481,4 @@ import { MiddleLayerOptimization as Ct } from "./MiddleLayerOptimization.mjs"; | ||
| Ge.displayName = "Window"; | ||
| const Wt = gt(), Ve = ht( | ||
| st( | ||
| const Wt = st(), Ve = ht( | ||
| gt( | ||
| Wt, | ||
@@ -485,0 +485,0 @@ Ge |
161570
-0.04%