@progress/kendo-react-layout 7.0.3-develop.5 → 7.0.3-develop.7

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/index.mjs CHANGED
@@ -154,7 +154,7 @@ function ms(e, s, n, i, a, o) {
154
154
  case C.esc:
155
155
  return b();
156
156
  default:
157
- return S() ? y() : s;
157
+ return w() ? y() : s;
158
158
  }
159
159
  function c() {
160
160
  return a ? o ? R() : N() : o ? f() : E();
@@ -166,7 +166,7 @@ function ms(e, s, n, i, a, o) {
166
166
  return a ? L() : J(s) ? v() : L();
167
167
  }
168
168
  function m() {
169
- return a ? D() : J(s) ? w() : D();
169
+ return a ? D() : J(s) ? S() : D();
170
170
  }
171
171
  function h() {
172
172
  return l.disabled ? s : A() ? Lt(s) : ge(s);
@@ -189,7 +189,7 @@ function ms(e, s, n, i, a, o) {
189
189
  return J(s) ? D() : as(s) ? v(D(ge(s))) : pe(s);
190
190
  }
191
191
  function N() {
192
- return J(s) ? w() : pe(s);
192
+ return J(s) ? S() : pe(s);
193
193
  }
194
194
  function f() {
195
195
  return J(s) ? L() : v(
@@ -204,10 +204,10 @@ function ms(e, s, n, i, a, o) {
204
204
  function v(x) {
205
205
  return ee(!0, x);
206
206
  }
207
- function w(x) {
207
+ function S(x) {
208
208
  return ee(!1, x);
209
209
  }
210
- function S() {
210
+ function w() {
211
211
  return i.length === 1 && us.test(i);
212
212
  }
213
213
  function O(x, M) {
@@ -622,7 +622,7 @@ const K = {
622
622
  name: "@progress/kendo-react-layout",
623
623
  productName: "KendoReact",
624
624
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
625
- publishDate: 1704295630,
625
+ publishDate: 1704376836,
626
626
  version: "",
627
627
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
628
628
  }, _t = {
@@ -1409,7 +1409,7 @@ class ce extends t.PureComponent {
1409
1409
  d ? "k-panelbar-collapse" : "k-panelbar-expand"
1410
1410
  )
1411
1411
  }
1412
- ) : null, w = !o && d || g ? /* @__PURE__ */ t.createElement(
1412
+ ) : null, S = !o && d || g ? /* @__PURE__ */ t.createElement(
1413
1413
  "ul",
1414
1414
  {
1415
1415
  role: "group",
@@ -1419,20 +1419,20 @@ class ce extends t.PureComponent {
1419
1419
  style: { display: g ? this.state.show ? "block" : "none" : "block" }
1420
1420
  },
1421
1421
  n
1422
- ) : null, S = (p === void 0 || p) && !o && n ? /* @__PURE__ */ t.createElement(
1422
+ ) : null, w = (p === void 0 || p) && !o && n ? /* @__PURE__ */ t.createElement(
1423
1423
  Qt,
1424
1424
  {
1425
1425
  transitionEnterDuration: 200,
1426
1426
  transitionExitDuration: 200,
1427
1427
  key: a + "_animation",
1428
1428
  style: N,
1429
- children: w,
1429
+ children: S,
1430
1430
  childFactory: g && this.childFactory,
1431
1431
  unmountOnExit: !g,
1432
1432
  onBeforeEnter: () => g && this.setState({ show: !0 }),
1433
1433
  onAfterExited: () => g && this.setState({ show: !1 })
1434
1434
  }
1435
- ) : w;
1435
+ ) : S;
1436
1436
  return /* @__PURE__ */ t.createElement(
1437
1437
  "li",
1438
1438
  {
@@ -1441,7 +1441,7 @@ class ce extends t.PureComponent {
1441
1441
  ...b
1442
1442
  },
1443
1443
  /* @__PURE__ */ t.createElement("span", { className: E, onClick: this.handleItemClick }, f, /* @__PURE__ */ t.createElement("span", { className: "k-panelbar-item-text" }, i), R),
1444
- S
1444
+ w
1445
1445
  );
1446
1446
  }
1447
1447
  }
@@ -1978,22 +1978,22 @@ class Ls extends t.Component {
1978
1978
  initialSize: a,
1979
1979
  min: g(m.min) || h - g(u.max) || 0,
1980
1980
  max: g(m.max) || h - g(u.min) || h
1981
- }, E = (v, w) => {
1982
- const S = d[v.index], O = this.clamp(v.min, v.max, v.initialSize + w);
1983
- return this.isPercent(S.size || "") ? 100 * O / p + "%" : O + "px";
1981
+ }, E = (v, S) => {
1982
+ const w = d[v.index], O = this.clamp(v.min, v.max, v.initialSize + S);
1983
+ return this.isPercent(w.size || "") ? 100 * O / p + "%" : O + "px";
1984
1984
  };
1985
1985
  let N, f;
1986
1986
  this.fixedSize(u.size) && this.fixedSize(m.size) ? (N = E(b, o), f = E(y, -o)) : m.collapsible || this.fixedSize(m.size) ? f = E(y, -o) : N = E(b, o);
1987
- const R = d.map((v, w) => {
1988
- const S = this.getPaneProps(v);
1989
- return w === s ? {
1990
- ...S,
1987
+ const R = d.map((v, S) => {
1988
+ const w = this.getPaneProps(v);
1989
+ return S === s ? {
1990
+ ...w,
1991
1991
  size: N
1992
- } : w === n ? {
1993
- ...S,
1992
+ } : S === n ? {
1993
+ ...w,
1994
1994
  size: f
1995
1995
  } : {
1996
- ...S
1996
+ ...w
1997
1997
  };
1998
1998
  });
1999
1999
  this.panesDuringOnChange = R, this.isControlledState || this.setState({
@@ -2243,7 +2243,7 @@ const Fs = {
2243
2243
  "k-disabled": d
2244
2244
  },
2245
2245
  n
2246
- ), w = t.useCallback(
2246
+ ), S = t.useCallback(
2247
2247
  (O) => {
2248
2248
  if (m && !d) {
2249
2249
  const A = {
@@ -2255,7 +2255,7 @@ const Fs = {
2255
2255
  }
2256
2256
  },
2257
2257
  [m, h, d]
2258
- ), S = /* @__PURE__ */ t.createElement(t.Fragment, null, (o || l) && /* @__PURE__ */ t.createElement(Q, { name: o && jt(o), icon: l }), !y && E ? null : /* @__PURE__ */ t.createElement("span", { className: "k-item-text" }, a));
2258
+ ), w = /* @__PURE__ */ t.createElement(t.Fragment, null, (o || l) && /* @__PURE__ */ t.createElement(Q, { name: o && jt(o), icon: l }), !y && E ? null : /* @__PURE__ */ t.createElement("span", { className: "k-item-text" }, a));
2259
2259
  return c ? /* @__PURE__ */ t.createElement("li", { className: "k-drawer-item k-drawer-separator", role: "separator" }) : /* @__PURE__ */ t.createElement(
2260
2260
  "li",
2261
2261
  {
@@ -2265,11 +2265,11 @@ const Fs = {
2265
2265
  role: "menuitem",
2266
2266
  "aria-label": a,
2267
2267
  "aria-disabled": d,
2268
- onClick: w,
2268
+ onClick: S,
2269
2269
  tabIndex: Oe(p, d),
2270
2270
  ...b
2271
2271
  },
2272
- N ? g : S
2272
+ N ? g : w
2273
2273
  );
2274
2274
  });
2275
2275
  pt.propTypes = {
@@ -2305,7 +2305,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2305
2305
  f.current && f.current.focus();
2306
2306
  },
2307
2307
  []
2308
- ), v = typeof l != "boolean" ? l : l === !1 ? _s : Hs, w = g || Bs, S = b || Ks;
2308
+ ), v = typeof l != "boolean" ? l : l === !1 ? _s : Hs, S = g || Bs, w = b || Ks;
2309
2309
  t.useImperativeHandle(s, () => ({
2310
2310
  element: f.current,
2311
2311
  focus: R
@@ -2321,7 +2321,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2321
2321
  [u]
2322
2322
  ), A = {
2323
2323
  opacity: 1,
2324
- flexBasis: w,
2324
+ flexBasis: S,
2325
2325
  WebkitTransition: "all " + (v && v.duration) + "ms",
2326
2326
  /* Safari */
2327
2327
  transition: "all " + (v && v.duration) + "ms"
@@ -2333,7 +2333,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2333
2333
  transition: "all " + (v && v.duration) + "ms"
2334
2334
  }, L = {
2335
2335
  opacity: h ? 1 : 0,
2336
- flexBasis: h ? S : 0,
2336
+ flexBasis: h ? w : 0,
2337
2337
  WebkitTransition: "all " + (v && v.duration) + "ms",
2338
2338
  /* Safari */
2339
2339
  transition: "all " + (v && v.duration) + "ms"
@@ -2383,7 +2383,7 @@ const Bs = 240, Ks = 50, Hs = { type: "slide", duration: 200 }, _s = { type: "sl
2383
2383
  "div",
2384
2384
  {
2385
2385
  className: "k-drawer-wrapper",
2386
- style: !c && h && d === "overlay" ? { width: S } : { width: w }
2386
+ style: !c && h && d === "overlay" ? { width: w } : { width: S }
2387
2387
  },
2388
2388
  x || n
2389
2389
  ),
@@ -2428,10 +2428,10 @@ const gt = t.forwardRef((e, s) => {
2428
2428
  focus: f
2429
2429
  }));
2430
2430
  const R = t.useCallback(
2431
- (S, O, A) => {
2431
+ (w, O, A) => {
2432
2432
  if (p && E) {
2433
2433
  const D = {
2434
- itemTarget: S,
2434
+ itemTarget: w,
2435
2435
  itemIndex: O,
2436
2436
  syntheticEvent: A,
2437
2437
  nativeEvent: A && A.nativeEvent,
@@ -2441,7 +2441,7 @@ const gt = t.forwardRef((e, s) => {
2441
2441
  }
2442
2442
  },
2443
2443
  [p, E]
2444
- ), v = ve(N, e.dir), w = k(
2444
+ ), v = ve(N, e.dir), S = k(
2445
2445
  {
2446
2446
  "k-drawer-container": !0,
2447
2447
  "k-drawer-expanded": n,
@@ -2472,7 +2472,7 @@ const gt = t.forwardRef((e, s) => {
2472
2472
  /* @__PURE__ */ t.createElement(
2473
2473
  "div",
2474
2474
  {
2475
- className: w,
2475
+ className: S,
2476
2476
  ref: N,
2477
2477
  dir: v,
2478
2478
  style: c,
@@ -2561,8 +2561,8 @@ const $s = {
2561
2561
  isVertical: f,
2562
2562
  item: R,
2563
2563
  linear: v,
2564
- mode: w,
2565
- numOfSteps: S,
2564
+ mode: S,
2565
+ numOfSteps: w,
2566
2566
  value: O,
2567
2567
  onChange: A,
2568
2568
  onFocus: D,
@@ -2583,7 +2583,7 @@ const $s = {
2583
2583
  [x]
2584
2584
  );
2585
2585
  t.useImperativeHandle(s, M);
2586
- const j = !v || u === O - 1 || u === O || u === O + 1, Y = w === "labels" || !!c && !!h, Z = en(), de = ((ne) => Z.toLanguageString(ne, Pn[ne]))(On), se = typeof N == "number" ? N : N !== !1 ? Rn : Dn, Ie = t.useCallback(
2586
+ const j = !v || u === O - 1 || u === O || u === O + 1, Y = S === "labels" || !!c && !!h, Z = en(), de = ((ne) => Z.toLanguageString(ne, Pn[ne]))(On), se = typeof N == "number" ? N : N !== !1 ? Rn : Dn, Ie = t.useCallback(
2587
2587
  (ne) => {
2588
2588
  A && !o && q(
2589
2589
  A,
@@ -2608,7 +2608,7 @@ const $s = {
2608
2608
  "k-step",
2609
2609
  {
2610
2610
  "k-step-first": u === 0,
2611
- "k-step-last": S && u === S - 1,
2611
+ "k-step-last": w && u === w - 1,
2612
2612
  "k-step-done": u < O,
2613
2613
  "k-step-current": a,
2614
2614
  "k-step-optional": p,
@@ -2621,15 +2621,15 @@ const $s = {
2621
2621
  },
2622
2622
  i
2623
2623
  ),
2624
- [u, S, O, a, p, o, l, m, i]
2624
+ [u, w, O, a, p, o, l, m, i]
2625
2625
  ), _ = t.useMemo(
2626
2626
  () => ({
2627
- maxWidth: f ? void 0 : `calc(100% / ${S})`,
2628
- maxHeight: f ? `calc(100% / ${S})` : void 0,
2627
+ maxWidth: f ? void 0 : `calc(100% / ${w})`,
2628
+ maxHeight: f ? `calc(100% / ${w})` : void 0,
2629
2629
  pointerEvents: j ? void 0 : "none",
2630
2630
  ...g
2631
2631
  }),
2632
- [f, S, g, j]
2632
+ [f, w, g, j]
2633
2633
  ), F = m ? L : B, V = F ? /* @__PURE__ */ t.createElement(
2634
2634
  "span",
2635
2635
  {
@@ -2643,7 +2643,7 @@ const $s = {
2643
2643
  name: m ? "check-circle" : "exclamation-circle",
2644
2644
  icon: m ? G || Yn : ee || Zn
2645
2645
  }
2646
- ), me = /* @__PURE__ */ t.createElement(t.Fragment, null, w !== "labels" ? /* @__PURE__ */ t.createElement(
2646
+ ), me = /* @__PURE__ */ t.createElement(t.Fragment, null, S !== "labels" ? /* @__PURE__ */ t.createElement(
2647
2647
  "span",
2648
2648
  {
2649
2649
  className: "k-step-indicator",
@@ -2715,19 +2715,19 @@ const bt = t.forwardRef((e, s) => {
2715
2715
  successSVGIcon: y,
2716
2716
  onChange: E,
2717
2717
  onFocus: N
2718
- } = e, R = en().toLanguageString(st, Pn[st]), v = t.useRef(null), w = t.useCallback(
2718
+ } = e, R = en().toLanguageString(st, Pn[st]), v = t.useRef(null), S = t.useCallback(
2719
2719
  () => {
2720
2720
  v.current && ke(v.current);
2721
2721
  },
2722
2722
  []
2723
- ), S = t.useCallback(
2723
+ ), w = t.useCallback(
2724
2724
  () => ({
2725
2725
  element: v.current,
2726
- focus: w
2726
+ focus: S
2727
2727
  }),
2728
- [w]
2728
+ [S]
2729
2729
  );
2730
- t.useImperativeHandle(s, S);
2730
+ t.useImperativeHandle(s, w);
2731
2731
  const O = e.value || Mn.value, [A, D] = t.useState(O), L = u ? u.length : 0, B = p === "vertical", G = Vt(v, e.dir), ee = typeof n == "number" ? n : n !== !1 ? Rn : Dn;
2732
2732
  t.useEffect(() => {
2733
2733
  D(O);
@@ -2738,7 +2738,7 @@ const bt = t.forwardRef((e, s) => {
2738
2738
  O !== _ && E && !o && (!m || F || V || me) && (q(
2739
2739
  E,
2740
2740
  H,
2741
- S(),
2741
+ w(),
2742
2742
  { value: _ }
2743
2743
  ), D(_));
2744
2744
  },
@@ -2754,7 +2754,7 @@ const bt = t.forwardRef((e, s) => {
2754
2754
  N && !o && q(
2755
2755
  N,
2756
2756
  H.syntheticEvent,
2757
- S(),
2757
+ w(),
2758
2758
  void 0
2759
2759
  );
2760
2760
  },
@@ -3460,7 +3460,7 @@ const qs = {
3460
3460
  y && E !== void 0 && !l && y(A, E);
3461
3461
  },
3462
3462
  [y, E, l]
3463
- ), w = d, S = c, O = /* @__PURE__ */ t.createElement(
3463
+ ), S = d, w = c, O = /* @__PURE__ */ t.createElement(
3464
3464
  "span",
3465
3465
  {
3466
3466
  ref: n,
@@ -3474,9 +3474,9 @@ const qs = {
3474
3474
  "aria-current": o,
3475
3475
  "aria-disabled": l
3476
3476
  },
3477
- S ? /* @__PURE__ */ t.createElement(S, { itemIndex: E, item: u }) : /* @__PURE__ */ t.createElement(t.Fragment, null, (m || h) && /* @__PURE__ */ t.createElement(Q, { className: "k-bottom-nav-item-icon", name: m, icon: h, size: "xlarge" }), p && /* @__PURE__ */ t.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, p))
3477
+ w ? /* @__PURE__ */ t.createElement(w, { itemIndex: E, item: u }) : /* @__PURE__ */ t.createElement(t.Fragment, null, (m || h) && /* @__PURE__ */ t.createElement(Q, { className: "k-bottom-nav-item-icon", name: m, icon: h, size: "xlarge" }), p && /* @__PURE__ */ t.createElement("span", { className: "k-bottom-nav-item-text", style: { userSelect: "none" } }, p))
3478
3478
  );
3479
- return w !== void 0 ? w.call(void 0, O, e) : O;
3479
+ return S !== void 0 ? S.call(void 0, O, e) : O;
3480
3480
  }), Xs = {
3481
3481
  tabIndex: 0
3482
3482
  };
@@ -3527,7 +3527,7 @@ const vt = t.forwardRef((e, s) => {
3527
3527
  ), v = t.useMemo(
3528
3528
  () => e.themeColor || fe.themeColor,
3529
3529
  [e.themeColor]
3530
- ), w = t.useMemo(
3530
+ ), S = t.useMemo(
3531
3531
  () => k(
3532
3532
  "k-bottom-nav",
3533
3533
  Gs[o],
@@ -3541,7 +3541,7 @@ const vt = t.forwardRef((e, s) => {
3541
3541
  d
3542
3542
  ),
3543
3543
  [o, v, R, l, c, p, d]
3544
- ), S = t.useCallback(
3544
+ ), w = t.useCallback(
3545
3545
  (D, L) => {
3546
3546
  u && !u[L].disabled && y && q(
3547
3547
  y,
@@ -3556,15 +3556,15 @@ const vt = t.forwardRef((e, s) => {
3556
3556
  [u, y]
3557
3557
  ), O = t.useCallback(
3558
3558
  (D, L) => {
3559
- S(D, L);
3559
+ w(D, L);
3560
3560
  },
3561
- [S]
3561
+ [w]
3562
3562
  ), A = t.useCallback(
3563
3563
  (D, L) => {
3564
3564
  switch (D.keyCode) {
3565
3565
  case C.enter:
3566
3566
  case C.space:
3567
- S(D, L), D.preventDefault();
3567
+ w(D, L), D.preventDefault();
3568
3568
  break;
3569
3569
  }
3570
3570
  q(
@@ -3574,13 +3574,13 @@ const vt = t.forwardRef((e, s) => {
3574
3574
  void 0
3575
3575
  );
3576
3576
  },
3577
- [S, E]
3577
+ [w, E]
3578
3578
  );
3579
3579
  return /* @__PURE__ */ t.createElement(
3580
3580
  "nav",
3581
3581
  {
3582
3582
  ref: n,
3583
- className: w,
3583
+ className: S,
3584
3584
  style: g,
3585
3585
  id: b || N,
3586
3586
  dir: f
@@ -4045,12 +4045,12 @@ const wt = t.forwardRef((e, s) => {
4045
4045
  )
4046
4046
  },
4047
4047
  /* @__PURE__ */ t.createElement(a, { rootItem: !0 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, v) => {
4048
- const w = f[g];
4048
+ const S = f[g];
4049
4049
  if (R === 0)
4050
4050
  return /* @__PURE__ */ t.createElement(
4051
4051
  o,
4052
4052
  {
4053
- key: w,
4053
+ key: S,
4054
4054
  isFirstItem: !0,
4055
4055
  isLastItem: v.length - 1 === R
4056
4056
  },
@@ -4059,7 +4059,7 @@ const wt = t.forwardRef((e, s) => {
4059
4059
  {
4060
4060
  isLast: v.length - 1 === R,
4061
4061
  isFirst: !0,
4062
- id: String(w),
4062
+ id: String(S),
4063
4063
  icon: f[b] || void 0,
4064
4064
  iconClass: f[y] ? String(f[y]) : void 0,
4065
4065
  text: f[E] ? String(f[E]) : void 0,
@@ -4072,12 +4072,12 @@ const wt = t.forwardRef((e, s) => {
4072
4072
  );
4073
4073
  }))),
4074
4074
  /* @__PURE__ */ t.createElement(a, { rootItem: !1 }, /* @__PURE__ */ t.createElement(t.Fragment, null, e.data.map((f, R, v) => {
4075
- const w = f[g];
4075
+ const S = f[g];
4076
4076
  if (R !== 0)
4077
4077
  return /* @__PURE__ */ t.createElement(
4078
4078
  o,
4079
4079
  {
4080
- key: w,
4080
+ key: S,
4081
4081
  isFirstItem: !1,
4082
4082
  isLastItem: v.length - 1 === R
4083
4083
  },
@@ -4087,7 +4087,7 @@ const wt = t.forwardRef((e, s) => {
4087
4087
  {
4088
4088
  isLast: v.length - 1 === R,
4089
4089
  isFirst: !1,
4090
- id: String(w),
4090
+ id: String(S),
4091
4091
  icon: f[b] || void 0,
4092
4092
  iconClass: f[y] ? String(f[y]) : void 0,
4093
4093
  text: f[E] ? String(f[E]) : void 0,
@@ -4431,7 +4431,9 @@ const Dt = (e) => {
4431
4431
  "aria-atomic": "true",
4432
4432
  tabIndex: e.tabindex,
4433
4433
  role: e.horizontal ? "tabpanel" : "button",
4434
- "aria-expanded": e.collapsible && u
4434
+ "aria-expanded": e.collapsible && u,
4435
+ className: "k-card-with-callout",
4436
+ onClick: (b) => h(b)
4435
4437
  },
4436
4438
  /* @__PURE__ */ t.createElement(
4437
4439
  "span",
@@ -4449,7 +4451,6 @@ const Dt = (e) => {
4449
4451
  /* @__PURE__ */ t.createElement("div", { className: "k-card-inner" }, /* @__PURE__ */ t.createElement(In, null, /* @__PURE__ */ t.createElement(En, null, /* @__PURE__ */ t.createElement("span", { className: "k-event-title" }, n), e.collapsible && /* @__PURE__ */ t.createElement(
4450
4452
  "span",
4451
4453
  {
4452
- onClick: (b) => h(b),
4453
4454
  className: "k-event-collapse k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button"
4454
4455
  },
4455
4456
  /* @__PURE__ */ t.createElement(Xe, { icon: Jt })
@@ -4474,7 +4475,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4474
4475
  let s;
4475
4476
  return e.reduce((i, a) => (s !== a.date.getFullYear() ? (s = a.date.getFullYear(), i.push({ yearFlag: s }, a)) : i.push(a), i), []);
4476
4477
  }, Wn = (e) => {
4477
- const i = tn(), [a, o] = t.useState(!1), [l, c] = t.useState(!0), [d, u] = t.useState(), [m, h] = t.useState(0), [p, g] = t.useState(), [b, y] = t.useState(0), [E, N] = t.useState(0), [f, R] = t.useState(1), [v, w] = t.useState(), [S, O] = t.useState(), [A, D] = t.useState([0, 0, 0]), [L, B] = t.useState(0), [G, ee] = t.useState(1), $ = t.useRef(null), x = t.useRef(null), M = t.useRef(null), { eventsData: j, dateFormat: Y, navigatable: Z, onActionClick: re } = e, de = p ? `${p}%` : "150px", se = t.useRef(new ct({
4478
+ const i = tn(), [a, o] = t.useState(!1), [l, c] = t.useState(!0), [d, u] = t.useState(), [m, h] = t.useState(0), [p, g] = t.useState(), [b, y] = t.useState(0), [E, N] = t.useState(0), [f, R] = t.useState(1), [v, S] = t.useState(), [w, O] = t.useState(), [A, D] = t.useState([0, 0, 0]), [L, B] = t.useState(0), [G, ee] = t.useState(1), $ = t.useRef(null), x = t.useRef(null), M = t.useRef(null), { eventsData: j, dateFormat: Y, navigatable: Z, onActionClick: re } = e, de = p ? `${p}%` : "150px", se = t.useRef(new ct({
4478
4479
  tabIndex: 0,
4479
4480
  root: $,
4480
4481
  selectors: [".k-timeline-scrollable-wrap"]
@@ -4507,8 +4508,8 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4507
4508
  const I = x.current, T = I && I.children[f];
4508
4509
  if (T) {
4509
4510
  const P = T.offsetWidth, z = !(m >= 0);
4510
- if (o(z), S) {
4511
- const U = S.length * P > b * P * ((m * -1 + 100) / 100);
4511
+ if (o(z), w) {
4512
+ const U = w.length * P > b * P * ((m * -1 + 100) / 100);
4512
4513
  c(U);
4513
4514
  }
4514
4515
  (I == null ? void 0 : I.offsetWidth) * -m / 100 >= I.children.length * P && (V(), Me(), h((T.offsetLeft - T.offsetWidth) / (b * T.offsetWidth) * 100 * -1)), Ot(T);
@@ -4517,7 +4518,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4517
4518
  const ue = (I, T, P) => {
4518
4519
  if (x.current) {
4519
4520
  const z = x.current.children[f + 1], U = z && z.classList.contains("k-timeline-flag-wrap") ? f + 2 : f + 1;
4520
- if (S && S.length <= U)
4521
+ if (w && w.length <= U)
4521
4522
  return;
4522
4523
  b + E <= U && Ee(), Ne(U, P);
4523
4524
  }
@@ -4545,24 +4546,24 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4545
4546
  }
4546
4547
  }, V = () => {
4547
4548
  const I = _n(j);
4548
- O(I), w([I[f - 1], I[f], I[f + 1]]);
4549
+ O(I), S([I[f - 1], I[f], I[f + 1]]);
4549
4550
  }, me = () => {
4550
4551
  var T;
4551
- if (x.current && S) {
4552
- const P = E - b, z = E - 1, U = S[z] && ((T = S[z]) != null && T.yearFlag) ? z - 1 : z, we = m + 100 > 0 ? 0 : m + 100;
4552
+ if (x.current && w) {
4553
+ const P = E - b, z = E - 1, U = w[z] && ((T = w[z]) != null && T.yearFlag) ? z - 1 : z, we = m + 100 > 0 ? 0 : m + 100;
4553
4554
  he(!1, U, P, we);
4554
4555
  }
4555
4556
  }, Ee = () => {
4556
- if (x.current && S) {
4557
- const T = E + b, P = S[T] && S[T].yearFlag ? T + 1 : T, z = m - 100;
4557
+ if (x.current && w) {
4558
+ const T = E + b, P = w[T] && w[T].yearFlag ? T + 1 : T, z = m - 100;
4558
4559
  he(!0, P, T, z);
4559
4560
  }
4560
4561
  }, he = (I, T, P, z) => {
4561
4562
  ne(I, T), Me(), N(P), h(z), R(T);
4562
4563
  }, ne = (I, T) => {
4563
- if (v && S) {
4564
- const P = Ce(I, G), z = Object.assign([], v, { [P]: S[T] });
4565
- w(z), ee(P), B(I ? -100 : 100), setTimeout(() => {
4564
+ if (v && w) {
4565
+ const P = Ce(I, G), z = Object.assign([], v, { [P]: w[T] });
4566
+ S(z), ee(P), B(I ? -100 : 100), setTimeout(() => {
4566
4567
  var Mt;
4567
4568
  const U = (Mt = $.current) == null ? void 0 : Mt.offsetWidth, we = Object.assign([], A, {
4568
4569
  [P]: 0,
@@ -4572,7 +4573,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4572
4573
  [Ce(!0, P)]: {},
4573
4574
  [Ce(!1, P)]: {}
4574
4575
  });
4575
- w(je), D(we), B(0);
4576
+ S(je), D(we), B(0);
4576
4577
  }, e.transitionDuration || 300);
4577
4578
  }
4578
4579
  }, Ce = (I, T) => {
@@ -4597,7 +4598,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4597
4598
  transformOrigin: "left top"
4598
4599
  });
4599
4600
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-track-wrap", ref: $, onKeyDown: Ie }, /* @__PURE__ */ t.createElement(
4600
- "a",
4601
+ "button",
4601
4602
  {
4602
4603
  ref: M,
4603
4604
  "aria-hidden": "true",
@@ -4611,7 +4612,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4611
4612
  },
4612
4613
  /* @__PURE__ */ t.createElement(Xe, { icon: ae })
4613
4614
  ), /* @__PURE__ */ t.createElement(
4614
- "a",
4615
+ "button",
4615
4616
  {
4616
4617
  "aria-hidden": "true",
4617
4618
  onClick: () => l && Ee(),
@@ -4632,7 +4633,7 @@ const fi = (e) => e.sort((n, i) => n.date.getTime() - i.date.getTime()), _n = (e
4632
4633
  tabIndex: 0,
4633
4634
  style: { transform: `translateX(${m}%)` }
4634
4635
  },
4635
- S && S.map((I, T) => I.yearFlag ? /* @__PURE__ */ t.createElement(
4636
+ w && w.map((I, T) => I.yearFlag ? /* @__PURE__ */ t.createElement(
4636
4637
  "li",
4637
4638
  {
4638
4639
  role: "none",
@@ -4728,19 +4729,19 @@ const $n = (e) => {
4728
4729
  u && g.current && g.current.triggerKeyboardEvent(f);
4729
4730
  }, y = (f, R, v) => {
4730
4731
  v.preventDefault();
4731
- const w = f.querySelector(".k-card-title .k-event-collapse");
4732
- w && w.click();
4732
+ const S = f.querySelector(".k-card-title .k-event-collapse");
4733
+ S && S.click();
4733
4734
  };
4734
4735
  let E = 0;
4735
4736
  const N = ye();
4736
4737
  return /* @__PURE__ */ t.createElement("ul", { ref: p, onKeyDown: b }, n && n.map((f, R) => {
4737
4738
  const v = (R + E) % 2 === 0;
4738
4739
  f.yearFlag && (E += 1);
4739
- const w = N + "-" + R;
4740
- return /* @__PURE__ */ t.createElement(t.Fragment, { key: R }, f.yearFlag ? /* @__PURE__ */ t.createElement("li", { className: "k-timeline-flag-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, f.yearFlag)) : /* @__PURE__ */ t.createElement("li", { className: k("k-timeline-event", { "k-reverse": v }) }, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-date-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-date", id: w }, s.formatDate(f.date, c))), /* @__PURE__ */ t.createElement("a", { className: "k-timeline-circle" }), /* @__PURE__ */ t.createElement(
4740
+ const S = N + "-" + R, w = d ? { "k-reverse": v } : void 0;
4741
+ return /* @__PURE__ */ t.createElement(t.Fragment, { key: R }, f.yearFlag ? /* @__PURE__ */ t.createElement("li", { className: "k-timeline-flag-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-flag" }, f.yearFlag)) : /* @__PURE__ */ t.createElement("li", { className: k("k-timeline-event", w) }, /* @__PURE__ */ t.createElement("div", { className: "k-timeline-date-wrap" }, /* @__PURE__ */ t.createElement("span", { className: "k-timeline-date", id: S }, s.formatDate(f.date, c))), /* @__PURE__ */ t.createElement("span", { className: "k-timeline-circle" }), /* @__PURE__ */ t.createElement(
4741
4742
  Dt,
4742
4743
  {
4743
- id: w,
4744
+ id: S,
4744
4745
  tabindex: u ? 0 : -1,
4745
4746
  eventData: f,
4746
4747
  alternated: d && v,
@@ -4758,7 +4759,7 @@ $n.propTypes = {
4758
4759
  const ti = (e) => {
4759
4760
  const s = {
4760
4761
  alterMode: !1,
4761
- collapsibleEvents: !0,
4762
+ collapsibleEvents: !1,
4762
4763
  dateFormat: "MMM dd, yyyy",
4763
4764
  ...e
4764
4765
  }, {
@@ -4869,13 +4870,13 @@ const Un = t.forwardRef((e, s) => {
4869
4870
  expandSVGIcon: g,
4870
4871
  collapseSVGIcon: b
4871
4872
  } = e, y = t.useCallback(
4872
- (w) => {
4873
- q(m, w, o(), { expanded: l });
4873
+ (S) => {
4874
+ q(m, S, o(), { expanded: l });
4874
4875
  },
4875
4876
  [m, l]
4876
4877
  ), E = t.useCallback(
4877
- (w) => {
4878
- (w.keyCode === C.enter || w.keyCode === C.space) && (w.preventDefault(), q(m, w, o(), { expanded: l }));
4878
+ (S) => {
4879
+ (S.keyCode === C.enter || S.keyCode === C.space) && (S.preventDefault(), q(m, S, o(), { expanded: l }));
4879
4880
  },
4880
4881
  [m, l]
4881
4882
  ), N = t.useCallback(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-layout",
3
- "version": "7.0.3-develop.5",
3
+ "version": "7.0.3-develop.7",
4
4
  "description": "React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -23,11 +23,11 @@
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
25
  "@progress/kendo-licensing": "^1.3.4",
26
- "@progress/kendo-react-animation": "7.0.3-develop.5",
27
- "@progress/kendo-react-common": "7.0.3-develop.5",
28
- "@progress/kendo-react-intl": "7.0.3-develop.5",
29
- "@progress/kendo-react-popup": "7.0.3-develop.5",
30
- "@progress/kendo-react-progressbars": "7.0.3-develop.5",
26
+ "@progress/kendo-react-animation": "7.0.3-develop.7",
27
+ "@progress/kendo-react-common": "7.0.3-develop.7",
28
+ "@progress/kendo-react-intl": "7.0.3-develop.7",
29
+ "@progress/kendo-react-popup": "7.0.3-develop.7",
30
+ "@progress/kendo-react-progressbars": "7.0.3-develop.7",
31
31
  "@progress/kendo-svg-icons": "^2.1.0",
32
32
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
33
33
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"