@progress/kendo-react-dialogs 8.3.0-develop.11 → 8.3.0-develop.13

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/Dialog.mjs CHANGED
@@ -36,10 +36,14 @@ const i = class i extends o.Component {
36
36
  else if (this.props.autoFocus && this.props.autoFocusedElement)
37
37
  this.element.focus();
38
38
  else if (!this.props.autoFocus && this.props.autoFocusedElement) {
39
- const e = this.element.querySelector(this.props.autoFocusedElement);
39
+ const e = this.element.querySelector(
40
+ this.props.autoFocusedElement
41
+ );
40
42
  e && e.focus();
41
43
  } else {
42
- const e = [...P].map((t) => t + ":not(.k-dialog-titlebar *)");
44
+ const e = [...P].map(
45
+ (t) => t + ":not(.k-dialog-titlebar *)"
46
+ );
43
47
  Z(this.element, e);
44
48
  }
45
49
  this.setState({
@@ -76,38 +80,21 @@ const i = class i extends o.Component {
76
80
  },
77
81
  ref: (T) => this.element = T
78
82
  },
79
- D && /* @__PURE__ */ o.createElement(
80
- "div",
81
- {
82
- className: "k-overlay",
83
- style: this.props.overlayStyle
84
- }
85
- ),
83
+ D && /* @__PURE__ */ o.createElement("div", { className: "k-overlay", style: this.props.overlayStyle }),
86
84
  /* @__PURE__ */ o.createElement(
87
85
  "div",
88
86
  {
89
87
  ...x,
90
- className: _(
91
- "k-window k-dialog",
92
- {
93
- [`k-window-${this.props.themeColor}`]: this.props.themeColor
94
- }
95
- ),
88
+ className: _("k-window k-dialog", {
89
+ [`k-window-${this.props.themeColor}`]: this.props.themeColor
90
+ }),
96
91
  role: "dialog",
97
92
  "aria-labelledby": e,
98
93
  "aria-modal": !0,
99
94
  "aria-describedby": this.contentId,
100
95
  style: { width: m, height: u, minWidth: f }
101
96
  },
102
- this.props.title && /* @__PURE__ */ o.createElement(
103
- k,
104
- {
105
- closeIcon: w,
106
- onCloseButtonClick: this.onCloseDialog,
107
- id: e
108
- },
109
- t
110
- ),
97
+ this.props.title && /* @__PURE__ */ o.createElement(k, { closeIcon: w, onCloseButtonClick: this.onCloseDialog, id: e }, t),
111
98
  /* @__PURE__ */ o.createElement("div", { className: "k-window-content k-dialog-content", style: E, id: this.contentId }, C),
112
99
  v,
113
100
  this.showLicenseWatermark && /* @__PURE__ */ o.createElement(B, null)
@@ -142,7 +129,12 @@ i.displayName = "Dialog", i.propTypes = {
142
129
  autoFocus: !1
143
130
  }, i.contextType = d;
144
131
  let n = i;
145
- const X = K(), j = U(z(X, n));
132
+ const X = K(), j = U(
133
+ z(
134
+ X,
135
+ n
136
+ )
137
+ );
146
138
  j.displayName = "KendoReactDialog";
147
139
  export {
148
140
  j as Dialog,
package/Window.mjs CHANGED
@@ -252,15 +252,11 @@ const u = 300, w = 300, m = 120, S = 100, p = 5, g = class g extends h.Component
252
252
  * @hidden
253
253
  */
254
254
  render() {
255
- const s = h.Children.toArray(this.props.children), t = this.getContent(s), e = this.getActionBar(s), o = this.getCurrentZIndex(), a = k(
256
- "k-window",
257
- this.props.className,
258
- {
259
- [`k-window-${this.props.themeColor}`]: this.props.themeColor,
260
- "k-window-minimized": this.state.stage === "MINIMIZED",
261
- "k-window-focused": this.state.focused
262
- }
263
- ), f = /* @__PURE__ */ h.createElement(W.Provider, { value: o }, /* @__PURE__ */ h.createElement(h.Fragment, null, this.props.modal && /* @__PURE__ */ h.createElement(
255
+ const s = h.Children.toArray(this.props.children), t = this.getContent(s), e = this.getActionBar(s), o = this.getCurrentZIndex(), a = k("k-window", this.props.className, {
256
+ [`k-window-${this.props.themeColor}`]: this.props.themeColor,
257
+ "k-window-minimized": this.state.stage === "MINIMIZED",
258
+ "k-window-focused": this.state.focused
259
+ }), f = /* @__PURE__ */ h.createElement(W.Provider, { value: o }, /* @__PURE__ */ h.createElement(h.Fragment, null, this.props.modal && /* @__PURE__ */ h.createElement(
264
260
  "div",
265
261
  {
266
262
  className: "k-overlay",
@@ -405,7 +401,12 @@ g.displayName = "Window", g.propTypes = {
405
401
  autoFocus: !0
406
402
  }, g.contextType = W;
407
403
  let E = g;
408
- const Y = O(), j = Z(P(Y, E));
404
+ const Y = O(), j = Z(
405
+ P(
406
+ Y,
407
+ E
408
+ )
409
+ );
409
410
  j.displayName = "KendoReactWindow";
410
411
  export {
411
412
  j as Window,
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-dialogs",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1724738418,
13
+ publishDate: 1725532757,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-dialogs",
3
- "version": "8.3.0-develop.11",
3
+ "version": "8.3.0-develop.13",
4
4
  "description": "React Dialogs provide modal and non-modal windows for showing additional information to the user. KendoReact Dialogs package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,8 +23,8 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-licensing": "^1.3.4",
26
- "@progress/kendo-react-buttons": "8.3.0-develop.11",
27
- "@progress/kendo-react-common": "8.3.0-develop.11",
26
+ "@progress/kendo-react-buttons": "8.3.0-develop.13",
27
+ "@progress/kendo-react-common": "8.3.0-develop.13",
28
28
  "@progress/kendo-svg-icons": "^3.0.0",
29
29
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
30
30
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"