@progress/kendo-react-buttons 7.0.0-develop.5 → 7.0.0-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
@@ -5,25 +5,25 @@
5
5
  import * as n from "react";
6
6
  import we from "react";
7
7
  import * as s from "prop-types";
8
- import { svgIconPropType as O, validatePackage as K, classNames as f, kendoThemeMaps as P, IconWrap as L, Keys as r, guid as me, dispatchEvent as x, getActiveElement as se, useDir as De, useMouse as Oe, getTabIndex as fe, toIconName as Ie, getter as Be, useZIndexContext as rt, ZIndexContext as ct } from "@progress/kendo-react-common";
8
+ import { svgIconPropType as M, validatePackage as R, classNames as b, kendoThemeMaps as P, IconWrap as $, Keys as r, guid as fe, dispatchEvent as x, getActiveElement as se, useDir as De, useMouse as Oe, getTabIndex as be, toIconName as Ie, getter as Be, useZIndexContext as rt, ZIndexContext as ct } from "@progress/kendo-react-common";
9
9
  import { Popup as Ee } from "@progress/kendo-react-popup";
10
10
  import { caretAltDownIcon as dt, xCircleIcon as ut } from "@progress/kendo-svg-icons";
11
- const A = {
11
+ const O = {
12
12
  name: "@progress/kendo-react-buttons",
13
13
  productName: "KendoReact",
14
14
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
15
- publishDate: 1700662833,
15
+ publishDate: 1700738942,
16
16
  version: "",
17
17
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
18
18
  };
19
19
  function ht({ imageUrl: e, name: o, iconClass: t, svgIcon: i, imageAlt: a }) {
20
- return e ? /* @__PURE__ */ n.createElement("img", { role: "presentation", className: "k-button-icon", alt: a, src: e }) : o || i ? /* @__PURE__ */ n.createElement(L, { className: "k-button-icon", name: o, icon: i }) : t ? /* @__PURE__ */ n.createElement("span", { role: "presentation", className: f("k-button-icon", t) }) : null;
20
+ return e ? /* @__PURE__ */ n.createElement("img", { role: "presentation", className: "k-button-icon", alt: a, src: e }) : o || i ? /* @__PURE__ */ n.createElement($, { className: "k-button-icon", name: o, icon: i }) : t ? /* @__PURE__ */ n.createElement("span", { role: "presentation", className: b("k-button-icon", t) }) : null;
21
21
  }
22
22
  const ee = class extends n.Component {
23
23
  constructor(e) {
24
24
  super(e), this._element = null, this.handleClick = (o) => {
25
25
  this.toggleIfApplicable(), this.props.onClick && this.props.onClick.call(void 0, o);
26
- }, K(A), this.state = { selected: this.props.togglable === !0 && this.props.selected === !0 };
26
+ }, R(O), this.state = { selected: this.props.togglable === !0 && this.props.selected === !0 };
27
27
  }
28
28
  /**
29
29
  * Gets the DOM element of the Button component.
@@ -57,13 +57,13 @@ const ee = class extends n.Component {
57
57
  imageUrl: l,
58
58
  imageAlt: d,
59
59
  className: c,
60
- onClick: b,
60
+ onClick: g,
61
61
  size: C = ee.defaultProps.size,
62
62
  rounded: u = ee.defaultProps.rounded,
63
63
  fillMode: w = ee.defaultProps.fillMode,
64
64
  themeColor: N = ee.defaultProps.themeColor,
65
65
  ...D
66
- } = this.props, S = a !== void 0 || t !== void 0 || i !== void 0 || l !== void 0, E = e !== void 0, F = ht({
66
+ } = this.props, S = a !== void 0 || t !== void 0 || i !== void 0 || l !== void 0, F = e !== void 0, I = ht({
67
67
  name: t,
68
68
  svgIcon: a,
69
69
  iconClass: i,
@@ -73,18 +73,18 @@ const ee = class extends n.Component {
73
73
  return /* @__PURE__ */ n.createElement(
74
74
  "button",
75
75
  {
76
- ref: (k) => this._element = k,
76
+ ref: (E) => this._element = E,
77
77
  "aria-pressed": o ? this.state.selected : void 0,
78
78
  ...D,
79
79
  onClick: this.handleClick,
80
- className: f(
80
+ className: b(
81
81
  "k-button",
82
82
  {
83
83
  [`k-button-${P.sizeMap[C] || C}`]: C,
84
84
  [`k-button-${w}`]: w,
85
85
  [`k-button-${w}-${N}`]: !!(w && N),
86
86
  [`k-rounded-${P.roundedMap[u] || u}`]: u,
87
- "k-icon-button": !E && S,
87
+ "k-icon-button": !F && S,
88
88
  "k-disabled": this.props.disabled,
89
89
  "k-selected": this.state.selected,
90
90
  "k-rtl": this.props.dir === "rtl"
@@ -92,7 +92,7 @@ const ee = class extends n.Component {
92
92
  this.props.className
93
93
  )
94
94
  },
95
- F,
95
+ I,
96
96
  e && /* @__PURE__ */ n.createElement("span", { className: "k-button-text" }, e)
97
97
  );
98
98
  }
@@ -109,7 +109,7 @@ ne.propTypes = {
109
109
  selected: s.bool,
110
110
  togglable: s.bool,
111
111
  icon: s.string,
112
- svgIcon: O,
112
+ svgIcon: M,
113
113
  iconClass: s.string,
114
114
  imageUrl: s.string,
115
115
  imageAlt: s.string,
@@ -149,20 +149,20 @@ const pt = {
149
149
  ".k-dropdownlist"
150
150
  ], ft = {
151
151
  styles: pt
152
- }, ue = ft.styles;
152
+ }, he = ft.styles;
153
153
  class bt extends n.Component {
154
154
  constructor(o) {
155
- super(o), this._element = null, K(A);
155
+ super(o), this._element = null, R(O);
156
156
  }
157
157
  /**
158
158
  * @hidden
159
159
  */
160
160
  render() {
161
- const o = this.mapButtons(this.props.children), t = f(
162
- [ue["button-group"]],
161
+ const o = this.mapButtons(this.props.children), t = b(
162
+ [he["button-group"]],
163
163
  {
164
164
  ["k-disabled"]: this.props.disabled,
165
- [ue["button-group-stretched"]]: !!this.props.width
165
+ [he["button-group-stretched"]]: !!this.props.width
166
166
  },
167
167
  this.props.className
168
168
  ), i = {
@@ -190,16 +190,16 @@ class bt extends n.Component {
190
190
  return n.Children.map(o, (a, l) => n.isValidElement(a) ? this.renderButton(a, l, l === t - 1, i) : a);
191
191
  }
192
192
  renderButton(o, t, i, a) {
193
- const l = f(o.props.className, {
194
- [ue["group-start"]]: a ? i : t === 0,
195
- [ue["group-end"]]: a ? t === 0 : i
196
- }), d = { ...this.props.width ? { width: this.props.width } : {}, ...o.props.style || {} }, c = this.props.disabled || o.props.disabled, b = {
193
+ const l = b(o.props.className, {
194
+ [he["group-start"]]: a ? i : t === 0,
195
+ [he["group-end"]]: a ? t === 0 : i
196
+ }), d = { ...this.props.width ? { width: this.props.width } : {}, ...o.props.style || {} }, c = this.props.disabled || o.props.disabled, g = {
197
197
  ...o.props,
198
198
  ...l ? { className: l } : {},
199
199
  ...Object.keys(d).length ? { style: d } : {},
200
200
  ...c !== void 0 ? { disabled: c } : {}
201
201
  };
202
- return n.Children.count(o.props.children) > 0 ? n.cloneElement(o, b, o.props.children) : n.cloneElement(o, b);
202
+ return n.Children.count(o.props.children) > 0 ? n.cloneElement(o, g, o.props.children) : n.cloneElement(o, g);
203
203
  }
204
204
  }
205
205
  bt.propTypes = {
@@ -219,7 +219,7 @@ const Ne = (e) => {
219
219
  "li",
220
220
  {
221
221
  id: e.id,
222
- className: f(
222
+ className: b(
223
223
  "k-item",
224
224
  e.className,
225
225
  { "k-focus": e.focused }
@@ -235,7 +235,7 @@ const Ne = (e) => {
235
235
  "span",
236
236
  {
237
237
  tabIndex: -1,
238
- className: f(
238
+ className: b(
239
239
  "k-link k-menu-link",
240
240
  {
241
241
  "k-selected": e.dataItem.selected,
@@ -244,7 +244,7 @@ const Ne = (e) => {
244
244
  ),
245
245
  key: "icon"
246
246
  },
247
- t ? /* @__PURE__ */ n.createElement(t, { item: e.dataItem, itemIndex: e.index }) : /* @__PURE__ */ n.createElement(n.Fragment, null, (e.dataItem.icon || e.dataItem.iconClass) && /* @__PURE__ */ n.createElement(L, { className: e.dataItem.iconClass, name: e.dataItem.icon, icon: e.dataItem.svgIcon }), e.dataItem.imageUrl && /* @__PURE__ */ n.createElement(
247
+ t ? /* @__PURE__ */ n.createElement(t, { item: e.dataItem, itemIndex: e.index }) : /* @__PURE__ */ n.createElement(n.Fragment, null, (e.dataItem.icon || e.dataItem.iconClass) && /* @__PURE__ */ n.createElement($, { className: e.dataItem.iconClass, name: e.dataItem.icon, icon: e.dataItem.svgIcon }), e.dataItem.imageUrl && /* @__PURE__ */ n.createElement(
248
248
  "img",
249
249
  {
250
250
  role: "presentation",
@@ -306,13 +306,13 @@ function Te(e) {
306
306
  let o = { horizontal: "left", vertical: "top" };
307
307
  return e && (o.horizontal = "right"), o;
308
308
  }
309
- class _e extends n.Component {
309
+ class Le extends n.Component {
310
310
  constructor(o) {
311
311
  super(o), this.state = {
312
312
  focused: !1,
313
313
  focusedIndex: -1,
314
314
  opened: !1
315
- }, this.wrapper = null, this.mainButton = null, this.list = null, this.guid = me(), this.skipFocus = !1, this.buttonsData = [], this.onKeyDown = (t) => {
315
+ }, this.wrapper = null, this.mainButton = null, this.list = null, this.guid = fe(), this.skipFocus = !1, this.buttonsData = [], this.onKeyDown = (t) => {
316
316
  const { focusedIndex: i } = this.state;
317
317
  if (t.altKey) {
318
318
  !this.opened && t.keyCode === r.down ? (this.dispatchPopupEvent(t, !0), this.setState({ focusedIndex: 0 }), this.setOpen(!0)) : this.opened && t.keyCode === r.up && (this.setState({ focusedIndex: -1 }), this.setOpen(!1));
@@ -380,7 +380,7 @@ class _e extends n.Component {
380
380
  se(document) === this.list && t.preventDefault();
381
381
  }, this.dispatchPopupEvent = (t, i) => {
382
382
  x(i ? this.props.onOpen : this.props.onClose, t, this, void 0), this.openedDuringOnChange = void 0;
383
- }, K(A);
383
+ }, R(O);
384
384
  }
385
385
  get opened() {
386
386
  return this.openedDuringOnChange !== void 0 ? this.openedDuringOnChange : this.props.opened === void 0 ? this.state.opened : this.props.opened;
@@ -396,7 +396,7 @@ class _e extends n.Component {
396
396
  {
397
397
  id: i,
398
398
  style: a,
399
- className: f(
399
+ className: b(
400
400
  "k-split-button",
401
401
  "k-button-group",
402
402
  {
@@ -494,7 +494,7 @@ class _e extends n.Component {
494
494
  anchor: this.wrapper,
495
495
  show: this.opened,
496
496
  animate: t.animate,
497
- popupClass: f("k-menu-popup", t.popupClass),
497
+ popupClass: b("k-menu-popup", t.popupClass),
498
498
  anchorAlign: t.anchorAlign || $e(o),
499
499
  popupAlign: t.popupAlign || Te(o),
500
500
  style: o ? { direction: "rtl" } : void 0,
@@ -509,7 +509,7 @@ class _e extends n.Component {
509
509
  tabIndex: -1,
510
510
  ref: this.listRef,
511
511
  "aria-activedescendant": i >= 0 ? `${this.guid}-${i}` : void 0,
512
- className: f("k-group k-menu-group k-reset", {
512
+ className: b("k-group k-menu-group k-reset", {
513
513
  [`k-menu-group-${P.sizeMap[this.props.size] || this.props.size}`]: this.props.size
514
514
  })
515
515
  },
@@ -543,7 +543,7 @@ class _e extends n.Component {
543
543
  return this.props.dir !== void 0 ? this.props.dir === "rtl" : !!this.wrapper && getComputedStyle(this.wrapper).direction === "rtl";
544
544
  }
545
545
  }
546
- _e.propTypes = {
546
+ Le.propTypes = {
547
547
  accessKey: s.string,
548
548
  ariaLabel: s.string,
549
549
  title: s.string,
@@ -559,7 +559,7 @@ _e.propTypes = {
559
559
  tabIndex: s.number,
560
560
  disabled: s.bool,
561
561
  icon: s.string,
562
- svgIcon: O,
562
+ svgIcon: M,
563
563
  iconClass: s.string,
564
564
  imageUrl: s.string,
565
565
  popupSettings: s.object,
@@ -569,13 +569,13 @@ _e.propTypes = {
569
569
  buttonClass: s.string,
570
570
  dir: s.string
571
571
  };
572
- _e.defaultProps = {
572
+ Le.defaultProps = {
573
573
  size: "medium",
574
574
  rounded: "medium",
575
575
  fillMode: "solid",
576
576
  themeColor: "base"
577
577
  };
578
- class Le extends n.Component {
578
+ class _e extends n.Component {
579
579
  /**
580
580
  * @hidden
581
581
  */
@@ -583,7 +583,7 @@ class Le extends n.Component {
583
583
  return null;
584
584
  }
585
585
  }
586
- Le.propTypes = {
586
+ _e.propTypes = {
587
587
  text: s.string,
588
588
  icon: s.string,
589
589
  iconClass: s.string,
@@ -598,7 +598,7 @@ class He extends n.Component {
598
598
  opened: !1,
599
599
  focused: !1,
600
600
  focusedIndex: -1
601
- }, this.wrapper = null, this.mainButton = null, this.list = null, this.skipFocus = !1, this.guid = me(), this.buttonsData = [], this.onKeyDown = (t) => {
601
+ }, this.wrapper = null, this.mainButton = null, this.list = null, this.skipFocus = !1, this.guid = fe(), this.buttonsData = [], this.onKeyDown = (t) => {
602
602
  const { focusedIndex: i } = this.state;
603
603
  if (t.altKey) {
604
604
  !this.opened && t.keyCode === r.down ? (this.setOpen(!0), this.dispatchPopupEvent(t, !0), this.setState({ focusedIndex: 0 })) : this.opened && t.keyCode === r.up && (this.setState({ focusedIndex: -1 }), this.setOpen(!1));
@@ -660,7 +660,7 @@ class He extends n.Component {
660
660
  }), this.setOpen(i), i && this.dispatchPopupEvent(t, i);
661
661
  }, this.dispatchPopupEvent = (t, i) => {
662
662
  x(i ? this.props.onOpen : this.props.onClose, t, this, void 0), this.openedDuringOnChange = void 0;
663
- }, K(A);
663
+ }, R(O);
664
664
  }
665
665
  get opened() {
666
666
  return this.openedDuringOnChange !== void 0 ? this.openedDuringOnChange : this.props.opened === void 0 ? this.state.opened : this.props.opened;
@@ -670,12 +670,12 @@ class He extends n.Component {
670
670
  */
671
671
  render() {
672
672
  const o = this.isRtl(), t = o ? "rtl" : void 0, { id: i, style: a, tabIndex: l, disabled: d } = this.props;
673
- return this.buttonsData = this.props.items || n.Children.toArray(this.props.children).filter((c) => c && c.type === Le).map((c) => c.props), /* @__PURE__ */ n.createElement(
673
+ return this.buttonsData = this.props.items || n.Children.toArray(this.props.children).filter((c) => c && c.type === _e).map((c) => c.props), /* @__PURE__ */ n.createElement(
674
674
  "div",
675
675
  {
676
676
  id: i,
677
677
  style: a,
678
- className: f(
678
+ className: b(
679
679
  "k-dropdown-button",
680
680
  {
681
681
  "k-focus": this.state.focused
@@ -751,7 +751,7 @@ class He extends n.Component {
751
751
  anchor: this.wrapper,
752
752
  show: this.opened,
753
753
  animate: t.animate,
754
- popupClass: f("k-menu-popup", t.popupClass),
754
+ popupClass: b("k-menu-popup", t.popupClass),
755
755
  anchorAlign: t.anchorAlign || $e(o),
756
756
  popupAlign: t.popupAlign || Te(o),
757
757
  style: o ? { direction: "rtl" } : void 0,
@@ -766,7 +766,7 @@ class He extends n.Component {
766
766
  tabIndex: -1,
767
767
  "aria-activedescendant": i >= 0 ? `${this.guid}-${i}` : void 0,
768
768
  ref: this.listRef,
769
- className: f("k-group k-menu-group k-reset", {
769
+ className: b("k-group k-menu-group k-reset", {
770
770
  [`k-menu-group-${P.sizeMap[this.props.size] || this.props.size}`]: this.props.size
771
771
  })
772
772
  },
@@ -814,7 +814,7 @@ He.propTypes = {
814
814
  tabIndex: s.number,
815
815
  disabled: s.bool,
816
816
  icon: s.string,
817
- svgIcon: O,
817
+ svgIcon: M,
818
818
  iconClass: s.string,
819
819
  imageUrl: s.string,
820
820
  popupSettings: s.object,
@@ -853,7 +853,7 @@ const xe = class extends n.Component {
853
853
  const l = { offsetWidth: this.offsetWidth, offsetHeight: this.offsetHeight };
854
854
  this.props.onResize && this.props.onResize.call(void 0, { target: this, ...l, nativeEvent: o });
855
855
  }
856
- }, K(A);
856
+ }, R(O);
857
857
  }
858
858
  get selectors() {
859
859
  return this.props.buttons || mt;
@@ -898,7 +898,7 @@ const xe = class extends n.Component {
898
898
  {
899
899
  id: this.props.id,
900
900
  "aria-label": this.props.ariaLabel,
901
- className: f(
901
+ className: b(
902
902
  "k-toolbar",
903
903
  {
904
904
  [`k-toolbar-${P.sizeMap[this.props.size] || this.props.size}`]: this.props.size
@@ -957,7 +957,7 @@ class gt extends n.PureComponent {
957
957
  "div",
958
958
  {
959
959
  id: this.props.id,
960
- className: f("k-toolbar-item", this.props.className),
960
+ className: b("k-toolbar-item", this.props.className),
961
961
  style: this.props.style,
962
962
  ref: (o) => this._element = o
963
963
  },
@@ -973,14 +973,14 @@ class Tt extends n.PureComponent {
973
973
  * @hidden
974
974
  */
975
975
  render() {
976
- return /* @__PURE__ */ n.createElement("div", { className: f("k-separator", this.props.className) });
976
+ return /* @__PURE__ */ n.createElement("div", { className: b("k-separator", this.props.className) });
977
977
  }
978
978
  }
979
979
  const We = n.forwardRef((e, o) => {
980
980
  const t = n.useRef(null), i = n.useRef(null);
981
981
  n.useImperativeHandle(i, () => ({ element: t.current })), n.useImperativeHandle(o, () => ({ element: t.current }));
982
982
  const a = n.useMemo(
983
- () => f(
983
+ () => b(
984
984
  "k-spacer",
985
985
  e.className
986
986
  ),
@@ -1031,7 +1031,7 @@ const yt = (e, o) => {
1031
1031
  return e;
1032
1032
  }
1033
1033
  };
1034
- var pe = /* @__PURE__ */ ((e) => (e.toggle = "toggle", e.remove = "remove", e))(pe || {});
1034
+ var me = /* @__PURE__ */ ((e) => (e.toggle = "toggle", e.remove = "remove", e))(me || {});
1035
1035
  const vt = (e, o) => {
1036
1036
  switch (o.selection) {
1037
1037
  case "single":
@@ -1065,14 +1065,14 @@ const vt = (e, o) => {
1065
1065
  default:
1066
1066
  return e;
1067
1067
  }
1068
- }, V = n.forwardRef((e, o) => {
1069
- K(A);
1068
+ }, j = n.forwardRef((e, o) => {
1069
+ R(O);
1070
1070
  const t = n.useRef(null), i = n.useRef(null), a = De(i, e.dir);
1071
1071
  n.useImperativeHandle(t, () => ({
1072
1072
  element: i.current,
1073
1073
  props: e
1074
1074
  })), n.useImperativeHandle(o, () => t.current);
1075
- const [l, d] = n.useContext(je), [c, b] = n.useContext(Ve), [, C] = n.useContext(Ze), u = n.useMemo(
1075
+ const [l, d] = n.useContext(je), [c, g] = n.useContext(Ve), [, C] = n.useContext(Ze), u = n.useMemo(
1076
1076
  () => e.selected || (Array.isArray(l) ? l.some((p) => p === e.value) : l === e.value),
1077
1077
  [e.selected, e.value, l]
1078
1078
  ), w = n.useMemo(
@@ -1087,12 +1087,12 @@ const vt = (e, o) => {
1087
1087
  );
1088
1088
  const N = n.useCallback(
1089
1089
  (p) => {
1090
- d({ type: pe.toggle, payload: e.value, event: p });
1090
+ d({ type: me.toggle, payload: e.value, event: p });
1091
1091
  },
1092
1092
  [d, e.value]
1093
1093
  ), D = n.useCallback(
1094
1094
  (p) => {
1095
- e.removable && (C({ type: qe.remove, payload: e.value, event: p }), b({ type: te.reset, payload: e.value, event: p }), d({ type: pe.remove, payload: e.value, event: p }), e.onRemove && e.onRemove.call(
1095
+ e.removable && (C({ type: qe.remove, payload: e.value, event: p }), g({ type: te.reset, payload: e.value, event: p }), d({ type: me.remove, payload: e.value, event: p }), e.onRemove && e.onRemove.call(
1096
1096
  void 0,
1097
1097
  {
1098
1098
  target: t.current,
@@ -1100,18 +1100,18 @@ const vt = (e, o) => {
1100
1100
  }
1101
1101
  ));
1102
1102
  },
1103
- [e.onRemove, e.value, e.removable, C, b, d]
1103
+ [e.onRemove, e.value, e.removable, C, g, d]
1104
1104
  ), S = n.useCallback(
1105
1105
  (p) => {
1106
1106
  switch (p.keyCode) {
1107
1107
  case r.left:
1108
- b({ type: te.prev, payload: e.value, event: p });
1108
+ g({ type: te.prev, payload: e.value, event: p });
1109
1109
  break;
1110
1110
  case r.right:
1111
- b({ type: te.next, payload: e.value, event: p });
1111
+ g({ type: te.next, payload: e.value, event: p });
1112
1112
  break;
1113
1113
  case r.enter:
1114
- d({ type: pe.toggle, payload: e.value, event: p });
1114
+ d({ type: me.toggle, payload: e.value, event: p });
1115
1115
  break;
1116
1116
  case r.delete:
1117
1117
  D(p);
@@ -1125,10 +1125,10 @@ const vt = (e, o) => {
1125
1125
  }
1126
1126
  );
1127
1127
  },
1128
- [e.onKeyDown, e.value, b, d, D]
1129
- ), E = n.useCallback(
1128
+ [e.onKeyDown, e.value, g, d, D]
1129
+ ), F = n.useCallback(
1130
1130
  (p) => {
1131
- b({ payload: e.value, type: te.current, event: p }), e.onFocus && e.onFocus.call(
1131
+ g({ payload: e.value, type: te.current, event: p }), e.onFocus && e.onFocus.call(
1132
1132
  void 0,
1133
1133
  {
1134
1134
  target: t.current,
@@ -1136,8 +1136,8 @@ const vt = (e, o) => {
1136
1136
  }
1137
1137
  );
1138
1138
  },
1139
- [e.onFocus, e.value, b]
1140
- ), F = n.useCallback(
1139
+ [e.onFocus, e.value, g]
1140
+ ), I = n.useCallback(
1141
1141
  (p) => {
1142
1142
  e.onBlur && e.onBlur.call(
1143
1143
  void 0,
@@ -1148,18 +1148,18 @@ const vt = (e, o) => {
1148
1148
  );
1149
1149
  },
1150
1150
  [e.onBlur]
1151
- ), k = Oe(e, t, { onClick: N });
1151
+ ), E = Oe(e, t, { onClick: N });
1152
1152
  return /* @__PURE__ */ n.createElement(
1153
1153
  "div",
1154
1154
  {
1155
- ...k,
1156
- role: e.role,
1155
+ ...E,
1156
+ role: e.role || "button",
1157
1157
  id: e.value,
1158
1158
  style: e.style,
1159
1159
  ref: i,
1160
1160
  dir: a,
1161
- tabIndex: fe(e.tabIndex, e.disabled, void 0),
1162
- className: f(
1161
+ tabIndex: be(e.tabIndex, e.disabled, void 0),
1162
+ className: b(
1163
1163
  "k-chip",
1164
1164
  {
1165
1165
  "k-rtl": a === "rtl",
@@ -1173,15 +1173,15 @@ const vt = (e, o) => {
1173
1173
  },
1174
1174
  e.className
1175
1175
  ),
1176
- "aria-checked": u,
1176
+ "aria-pressed": e.role ? void 0 : u,
1177
1177
  "aria-disabled": e.disabled,
1178
1178
  "aria-describedby": e.ariaDescribedBy,
1179
- onFocus: E,
1180
- onBlur: F,
1179
+ onFocus: F,
1180
+ onBlur: I,
1181
1181
  onKeyDown: S
1182
1182
  },
1183
1183
  u && (e.selectedIcon || e.selectedSvgIcon) && /* @__PURE__ */ n.createElement(
1184
- L,
1184
+ $,
1185
1185
  {
1186
1186
  className: "k-chip-icon",
1187
1187
  name: e.selectedIcon ? Ie(e.selectedIcon) : void 0,
@@ -1190,7 +1190,7 @@ const vt = (e, o) => {
1190
1190
  }
1191
1191
  ),
1192
1192
  (e.icon || e.svgIcon) && /* @__PURE__ */ n.createElement(
1193
- L,
1193
+ $,
1194
1194
  {
1195
1195
  className: "k-chip-icon",
1196
1196
  name: e.icon ? Ie(e.icon) : void 0,
@@ -1220,8 +1220,8 @@ const vt = (e, o) => {
1220
1220
  },
1221
1221
  e.text
1222
1222
  )),
1223
- e.removable && /* @__PURE__ */ n.createElement("span", { className: "k-chip-actions" }, /* @__PURE__ */ n.createElement("span", { className: f("k-chip-action", "k-chip-remove-action"), onClick: D }, /* @__PURE__ */ n.createElement(
1224
- L,
1223
+ e.removable && /* @__PURE__ */ n.createElement("span", { className: "k-chip-actions" }, /* @__PURE__ */ n.createElement("span", { className: b("k-chip-action", "k-chip-remove-action"), onClick: D }, /* @__PURE__ */ n.createElement(
1224
+ $,
1225
1225
  {
1226
1226
  name: e.removeIcon ? Ie(e.removeIcon) : void 0,
1227
1227
  icon: e.removeSvgIcon || ut,
@@ -1236,12 +1236,12 @@ const vt = (e, o) => {
1236
1236
  dir: s.oneOf(["ltr", "rtl"]),
1237
1237
  removable: s.bool,
1238
1238
  removeIcon: s.string,
1239
- removeIconSvg: O,
1239
+ removeIconSvg: M,
1240
1240
  disabled: s.bool,
1241
1241
  icon: s.string,
1242
- svgIcon: O,
1242
+ svgIcon: M,
1243
1243
  selectedIcon: s.string,
1244
- selectedIconSvg: O,
1244
+ selectedIconSvg: M,
1245
1245
  onRemove: s.func,
1246
1246
  dataItem: s.any,
1247
1247
  selected: s.bool,
@@ -1261,9 +1261,9 @@ const vt = (e, o) => {
1261
1261
  fillMode: "solid",
1262
1262
  themeColor: "base"
1263
1263
  };
1264
- V.displayName = "KendoReactChip";
1265
- V.propTypes = Ct;
1266
- V.defaultProps = It;
1264
+ j.displayName = "KendoReactChip";
1265
+ j.propTypes = Ct;
1266
+ j.defaultProps = It;
1267
1267
  const xt = (e, o, t) => {
1268
1268
  const [i, a] = n.useState(e);
1269
1269
  return [i, (d) => {
@@ -1283,94 +1283,95 @@ const xt = (e, o, t) => {
1283
1283
  t && t(c, d.event), a(c);
1284
1284
  }];
1285
1285
  }, Se = n.forwardRef((e, o) => {
1286
- K(A);
1286
+ R(O);
1287
1287
  const t = n.useRef(null), i = n.useRef(null), a = De(i, e.dir), {
1288
1288
  chip: l,
1289
1289
  id: d,
1290
1290
  style: c,
1291
- tabIndex: b,
1291
+ tabIndex: g,
1292
1292
  disabled: C,
1293
1293
  size: u,
1294
1294
  className: w,
1295
1295
  ariaDescribedBy: N,
1296
1296
  ariaLabelledBy: D,
1297
- selection: S = j.selection,
1298
- value: E = j.defaultValue,
1299
- defaultData: F = j.defaultData,
1300
- valueField: k = j.valueField,
1301
- textField: p = j.textField,
1302
- onChange: $,
1303
- onDataChange: T
1304
- } = e, M = n.useMemo(
1305
- () => l || V,
1306
- [l, V]
1297
+ ariaLabel: S,
1298
+ selection: F = W.selection,
1299
+ value: I = W.defaultValue,
1300
+ defaultData: E = W.defaultData,
1301
+ valueField: p = W.valueField,
1302
+ textField: T = W.textField,
1303
+ onChange: K,
1304
+ onDataChange: z
1305
+ } = e, L = n.useMemo(
1306
+ () => l || j,
1307
+ [l, j]
1307
1308
  );
1308
1309
  n.useImperativeHandle(t, () => ({
1309
1310
  element: i.current,
1310
1311
  props: e
1311
1312
  })), n.useImperativeHandle(o, () => t.current);
1312
- const H = n.useCallback(
1313
- (g, I) => {
1314
- $ && t.current && $.call(void 0, {
1315
- value: g,
1313
+ const A = n.useCallback(
1314
+ (f, k) => {
1315
+ K && t.current && K.call(void 0, {
1316
+ value: f,
1316
1317
  target: t.current,
1317
- syntheticEvent: I
1318
+ syntheticEvent: k
1318
1319
  });
1319
1320
  },
1320
- [$]
1321
- ), [R, oe] = xt(
1322
- E,
1321
+ [K]
1322
+ ), [V, Z] = xt(
1323
+ I,
1323
1324
  {
1324
- selection: S,
1325
- state: E
1325
+ selection: F,
1326
+ state: I
1326
1327
  },
1327
- H
1328
- ), Z = n.useCallback(
1329
- (g, I) => {
1330
- T && t.current && T.call(void 0, {
1331
- value: g,
1328
+ A
1329
+ ), oe = n.useCallback(
1330
+ (f, k) => {
1331
+ z && t.current && z.call(void 0, {
1332
+ value: f,
1332
1333
  target: t.current,
1333
- syntheticEvent: I
1334
+ syntheticEvent: k
1334
1335
  });
1335
1336
  },
1336
- [T]
1337
+ [z]
1337
1338
  ), [q, ie] = Dt(
1338
- e.data || F,
1339
+ e.data || E,
1339
1340
  {
1340
1341
  state: e.data,
1341
- valueField: k
1342
+ valueField: p
1342
1343
  },
1343
- Z
1344
+ oe
1344
1345
  ), G = n.useCallback(
1345
- (g, I) => (g.push(I[k]), g),
1346
- [k]
1346
+ (f, k) => (f.push(k[p]), f),
1347
+ [p]
1347
1348
  ), _ = n.useMemo(
1348
1349
  () => e.data || q,
1349
1350
  [e.data, q]
1350
- ), be = n.useMemo(
1351
- () => E || R,
1352
- [E, R]
1353
1351
  ), ae = n.useMemo(
1352
+ () => I || V,
1353
+ [I, V]
1354
+ ), le = n.useMemo(
1354
1355
  () => _.reduce(G, []),
1355
1356
  [_, G]
1356
1357
  ), X = n.useCallback(
1357
- (g) => Be(k)(g),
1358
- [k]
1359
- ), le = n.useCallback(
1360
- (g) => Be(p)(g),
1358
+ (f) => Be(p)(f),
1361
1359
  [p]
1362
- ), [y, ge] = wt({ items: ae }), ke = Oe(e, t);
1363
- return /* @__PURE__ */ n.createElement(je.Provider, { value: [be, oe] }, /* @__PURE__ */ n.createElement(Ve.Provider, { value: [y, ge] }, /* @__PURE__ */ n.createElement(Ze.Provider, { value: [_, ie] }, /* @__PURE__ */ n.createElement(
1360
+ ), y = n.useCallback(
1361
+ (f) => Be(T)(f),
1362
+ [T]
1363
+ ), [ge, ke] = wt({ items: le }), re = Oe(e, t);
1364
+ return /* @__PURE__ */ n.createElement(je.Provider, { value: [ae, Z] }, /* @__PURE__ */ n.createElement(Ve.Provider, { value: [ge, ke] }, /* @__PURE__ */ n.createElement(Ze.Provider, { value: [_, ie] }, /* @__PURE__ */ n.createElement(
1364
1365
  "div",
1365
1366
  {
1366
1367
  ref: i,
1367
- ...ke,
1368
+ ...re,
1368
1369
  role: "listbox",
1369
1370
  id: d,
1370
1371
  dir: a,
1371
1372
  style: c,
1372
- tabIndex: fe(b, C, void 0),
1373
- className: f(
1373
+ tabIndex: be(g, C, void 0),
1374
+ className: b(
1374
1375
  "k-chip-list",
1375
1376
  {
1376
1377
  "k-rtl": a === "rtl",
@@ -1379,20 +1380,21 @@ const xt = (e, o, t) => {
1379
1380
  },
1380
1381
  w
1381
1382
  ),
1383
+ "aria-label": S,
1382
1384
  "aria-labelledby": D,
1383
1385
  "aria-describedby": N
1384
1386
  },
1385
- _.map((g, I) => /* @__PURE__ */ n.createElement(
1386
- M,
1387
+ _.map((f, k) => /* @__PURE__ */ n.createElement(
1388
+ L,
1387
1389
  {
1388
1390
  role: "option",
1389
- dataItem: g,
1391
+ dataItem: f,
1390
1392
  size: u,
1391
- key: [X(g), I].join("-"),
1392
- text: le(g),
1393
- value: X(g),
1394
- ariaLabel: g.ariaLabel,
1395
- svgIcon: g.svgIcon || void 0
1393
+ key: [X(f), k].join("-"),
1394
+ text: y(f),
1395
+ value: X(f),
1396
+ ariaLabel: f.ariaLabel,
1397
+ svgIcon: f.svgIcon || void 0
1396
1398
  }
1397
1399
  ))
1398
1400
  ))));
@@ -1414,8 +1416,8 @@ const xt = (e, o, t) => {
1414
1416
  ariaLabelledBy: s.string,
1415
1417
  ariaDescribedBy: s.string,
1416
1418
  size: s.oneOf([null, "small", "medium", "large"])
1417
- }, j = {
1418
- chip: V,
1419
+ }, W = {
1420
+ chip: j,
1419
1421
  size: "medium",
1420
1422
  disabled: !1,
1421
1423
  defaultValue: null,
@@ -1428,7 +1430,7 @@ const xt = (e, o, t) => {
1428
1430
  };
1429
1431
  Se.displayName = "KendoReactChipList";
1430
1432
  Se.propTypes = Et;
1431
- Se.defaultProps = j;
1433
+ Se.defaultProps = W;
1432
1434
  const Fe = n.forwardRef((e, o) => {
1433
1435
  const {
1434
1436
  className: t,
@@ -1437,61 +1439,61 @@ const Fe = n.forwardRef((e, o) => {
1437
1439
  icon: l,
1438
1440
  style: d,
1439
1441
  id: c,
1440
- focused: b,
1442
+ focused: g,
1441
1443
  tabIndex: C,
1442
1444
  index: u,
1443
1445
  dataItem: w,
1444
1446
  item: N,
1445
1447
  svgIcon: D,
1446
1448
  onDown: S,
1447
- onClick: E,
1448
- ...F
1449
- } = e, k = n.useRef(null), p = n.useCallback(
1449
+ onClick: F,
1450
+ ...I
1451
+ } = e, E = n.useRef(null), p = n.useCallback(
1450
1452
  () => {
1451
- k.current && k.current.focus();
1453
+ E.current && E.current.focus();
1452
1454
  },
1453
1455
  []
1454
- ), $ = n.useCallback(
1456
+ ), T = n.useCallback(
1455
1457
  () => ({
1456
- element: k.current,
1458
+ element: E.current,
1457
1459
  focus: p
1458
1460
  }),
1459
1461
  [p]
1460
1462
  );
1461
- n.useImperativeHandle(o, $);
1462
- const T = n.useCallback(
1463
- (R) => {
1464
- E && u !== void 0 && !i && E(R, u);
1463
+ n.useImperativeHandle(o, T);
1464
+ const K = n.useCallback(
1465
+ (A) => {
1466
+ F && u !== void 0 && !i && F(A, u);
1465
1467
  },
1466
- [E, u]
1467
- ), M = n.useMemo(
1468
- () => f(
1468
+ [F, u]
1469
+ ), z = n.useMemo(
1470
+ () => b(
1469
1471
  "k-fab-item",
1470
1472
  {
1471
- "k-focus": b,
1473
+ "k-focus": g,
1472
1474
  "k-disabled": i
1473
1475
  },
1474
1476
  t
1475
1477
  ),
1476
- [t, i, b]
1477
- ), H = N;
1478
+ [t, i, g]
1479
+ ), L = N;
1478
1480
  return /* @__PURE__ */ n.createElement(
1479
1481
  "li",
1480
1482
  {
1481
- ref: k,
1483
+ ref: E,
1482
1484
  id: c,
1483
- className: M,
1485
+ className: z,
1484
1486
  style: d,
1485
1487
  role: "menuitem",
1486
- tabIndex: fe(C, i),
1488
+ tabIndex: be(C, i),
1487
1489
  "aria-disabled": i,
1488
1490
  "aria-label": `${a || ""} floatingactionbutton item`,
1489
- onClick: T,
1491
+ onClick: K,
1490
1492
  onMouseDown: S,
1491
1493
  onPointerDown: S,
1492
- ...F
1494
+ ...I
1493
1495
  },
1494
- H ? /* @__PURE__ */ n.createElement(H, { itemIndex: u, item: w }) : /* @__PURE__ */ n.createElement(n.Fragment, null, a && /* @__PURE__ */ n.createElement("span", { className: "k-fab-item-text" }, a), l || D ? /* @__PURE__ */ n.createElement(L, { className: "k-fab-item-icon", name: l, icon: D }) : null)
1496
+ L ? /* @__PURE__ */ n.createElement(L, { itemIndex: u, item: w }) : /* @__PURE__ */ n.createElement(n.Fragment, null, a && /* @__PURE__ */ n.createElement("span", { className: "k-fab-item-text" }, a), l || D ? /* @__PURE__ */ n.createElement($, { className: "k-fab-item-icon", name: l, icon: D }) : null)
1495
1497
  );
1496
1498
  });
1497
1499
  Fe.propTypes = {
@@ -1502,13 +1504,13 @@ Fe.propTypes = {
1502
1504
  focused: s.bool,
1503
1505
  index: s.number,
1504
1506
  icon: s.string,
1505
- svgIcon: O,
1507
+ svgIcon: M,
1506
1508
  text: s.string,
1507
1509
  tabIndex: s.number,
1508
1510
  customProp: s.any
1509
1511
  };
1510
1512
  Fe.displayName = "KendoFloatingActionButtonItem";
1511
- const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o) => {
1513
+ const Re = "16px", pe = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o) => {
1512
1514
  const t = { horizontal: o ? "right" : "left", vertical: "bottom" };
1513
1515
  return e.horizontal === "end" && (t.horizontal = o ? "left" : "right"), t;
1514
1516
  }, St = (e, o) => {
@@ -1523,8 +1525,8 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1523
1525
  }, zt = (e, o, t, i) => {
1524
1526
  const a = o.horizontal, l = o.vertical;
1525
1527
  if (e.current) {
1526
- const d = t && t.x !== void 0 ? he(t.x) : Re, c = t && t.x !== void 0 ? `calc(50% + ${he(t.x)})` : "50%", b = t && t.y !== void 0 ? he(t.y) : Re, C = t && t.y !== void 0 ? `calc(50% + ${he(t.y)})` : "50%";
1527
- e.current.style.setProperty(Pt(o, i), a === "center" ? c : d), e.current.style.setProperty(Bt(o), l === "middle" ? C : b), i && ((l === "top" || l === "bottom") && a === "start" && e.current.style.setProperty("left", "unset"), l === "middle" && a === "end" && e.current.style.setProperty("right", "unset"), l === "middle" && a === "start" && e.current.style.setProperty("left", "unset"));
1528
+ const d = t && t.x !== void 0 ? pe(t.x) : Re, c = t && t.x !== void 0 ? `calc(50% + ${pe(t.x)})` : "50%", g = t && t.y !== void 0 ? pe(t.y) : Re, C = t && t.y !== void 0 ? `calc(50% + ${pe(t.y)})` : "50%";
1529
+ e.current.style.setProperty(Pt(o, i), a === "center" ? c : d), e.current.style.setProperty(Bt(o), l === "middle" ? C : g), i && ((l === "top" || l === "bottom") && a === "start" && e.current.style.setProperty("left", "unset"), l === "middle" && a === "end" && e.current.style.setProperty("right", "unset"), l === "middle" && a === "start" && e.current.style.setProperty("left", "unset"));
1528
1530
  }
1529
1531
  }, Pt = (e, o) => {
1530
1532
  const { horizontal: t } = e;
@@ -1538,7 +1540,7 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1538
1540
  middle: "top",
1539
1541
  bottom: "bottom"
1540
1542
  })[e.vertical || "bottom"], Mt = 2, Rt = 100, Ge = n.forwardRef((e, o) => {
1541
- K(A);
1543
+ R(O);
1542
1544
  const {
1543
1545
  align: t = Y.align,
1544
1546
  alignOffset: i,
@@ -1546,43 +1548,43 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1546
1548
  disabled: l,
1547
1549
  icon: d,
1548
1550
  svgIcon: c,
1549
- iconClass: b,
1551
+ iconClass: g,
1550
1552
  id: C,
1551
1553
  items: u,
1552
1554
  item: w,
1553
1555
  text: N,
1554
1556
  positionMode: D = Y.positionMode,
1555
1557
  size: S = Y.size,
1556
- style: E,
1557
- rounded: F = Y.rounded,
1558
- themeColor: k = Y.themeColor,
1558
+ style: F,
1559
+ rounded: I = Y.rounded,
1560
+ themeColor: E = Y.themeColor,
1559
1561
  overlayStyle: p,
1560
- tabIndex: $,
1561
- accessKey: T,
1562
- popupSettings: M = {},
1563
- modal: H,
1564
- onClick: R,
1565
- onItemClick: oe,
1562
+ tabIndex: T,
1563
+ accessKey: K,
1564
+ popupSettings: z = {},
1565
+ modal: L,
1566
+ onClick: A,
1567
+ onItemClick: V,
1566
1568
  onFocus: Z,
1567
- onBlur: q,
1568
- onKeyDown: ie,
1569
- onOpen: G,
1570
- onClose: _,
1571
- ...be
1572
- } = e, ae = rt(), X = ae ? ae + Mt : Rt, le = n.useRef(null), y = n.useRef(null), ge = n.useRef(null), ke = n.useRef(null), g = n.useCallback(
1569
+ onBlur: oe,
1570
+ onKeyDown: q,
1571
+ onOpen: ie,
1572
+ onClose: G,
1573
+ ..._
1574
+ } = e, ae = rt(), le = ae ? ae + Mt : Rt, X = n.useRef(null), y = n.useRef(null), ge = n.useRef(null), ke = n.useRef(null), re = n.useCallback(
1573
1575
  () => {
1574
1576
  y.current && y.current.focus();
1575
1577
  },
1576
1578
  []
1577
- ), I = n.useCallback(
1579
+ ), f = n.useCallback(
1578
1580
  () => ({
1579
1581
  element: y.current,
1580
- focus: g
1582
+ focus: re
1581
1583
  }),
1582
- [g]
1584
+ [re]
1583
1585
  );
1584
- n.useImperativeHandle(le, I), n.useImperativeHandle(o, () => le.current);
1585
- const [z, B] = n.useState(!1), [re, U] = n.useState(!1), [J, v] = n.useState(-1), Xe = n.useMemo(() => me(), []), ye = De(y, e.dir), Q = ye === "rtl", ce = n.useMemo(() => me(), []);
1586
+ n.useImperativeHandle(X, f), n.useImperativeHandle(o, () => X.current);
1587
+ const [k, B] = n.useState(!1), [ce, H] = n.useState(!1), [J, v] = n.useState(-1), Xe = n.useMemo(() => fe(), []), ye = De(y, e.dir), Q = ye === "rtl", de = n.useMemo(() => fe(), []);
1586
1588
  n.useEffect(
1587
1589
  () => {
1588
1590
  zt(y, t, i, Q);
@@ -1590,59 +1592,59 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1590
1592
  [y, t, i, Q]
1591
1593
  ), n.useEffect(
1592
1594
  () => {
1593
- re && y && y.current && y.current.focus();
1595
+ ce && y && y.current && y.current.focus();
1594
1596
  },
1595
- [re, y]
1597
+ [ce, y]
1596
1598
  );
1597
- const W = n.useCallback(
1599
+ const U = n.useCallback(
1598
1600
  (h, m) => {
1599
1601
  u && x(
1600
- m ? G : _,
1602
+ m ? ie : G,
1601
1603
  h,
1602
- I(),
1604
+ f(),
1603
1605
  void 0
1604
1606
  );
1605
1607
  },
1606
- [G, _, u]
1608
+ [ie, G, u]
1607
1609
  ), Je = n.useCallback(
1608
1610
  (h) => {
1609
- !h.target || l || (!u && R ? x(
1610
- R,
1611
+ !h.target || l || (!u && A ? x(
1612
+ A,
1611
1613
  h,
1612
- I(),
1614
+ f(),
1613
1615
  void 0
1614
- ) : (B(!z), U(!0), v(z ? -1 : 0), W(h, !z)));
1616
+ ) : (B(!k), H(!0), v(k ? -1 : 0), U(h, !k)));
1615
1617
  },
1616
1618
  [
1617
1619
  B,
1618
- U,
1620
+ H,
1619
1621
  v,
1620
- R,
1621
- W,
1622
- z,
1622
+ A,
1623
+ U,
1624
+ k,
1623
1625
  u,
1624
1626
  l
1625
1627
  ]
1626
1628
  ), Qe = n.useCallback(
1627
1629
  (h) => {
1628
- U(!0), v(z ? 0 : -1), Z && x(
1630
+ H(!0), v(k ? 0 : -1), Z && x(
1629
1631
  Z,
1630
1632
  h,
1631
- I(),
1633
+ f(),
1632
1634
  void 0
1633
1635
  );
1634
1636
  },
1635
- [Z, U, v]
1637
+ [Z, H, v]
1636
1638
  ), Ye = n.useCallback(
1637
1639
  (h) => {
1638
- U(!1), B(!1), v(-1), x(
1639
- q,
1640
+ H(!1), B(!1), v(-1), x(
1641
+ oe,
1640
1642
  h,
1641
- I(),
1643
+ f(),
1642
1644
  void 0
1643
- ), z && W(h, !1);
1645
+ ), k && U(h, !1);
1644
1646
  },
1645
- [q, U, B, v, W]
1647
+ [oe, H, B, v, U]
1646
1648
  ), et = n.useCallback(
1647
1649
  (h) => {
1648
1650
  h.preventDefault();
@@ -1651,21 +1653,21 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1651
1653
  ), ve = n.useCallback(
1652
1654
  (h, m) => {
1653
1655
  u && (u[m].disabled || x(
1654
- oe,
1656
+ V,
1655
1657
  h,
1656
- I(),
1658
+ f(),
1657
1659
  {
1658
1660
  itemProps: u[m],
1659
1661
  itemIndex: m
1660
1662
  }
1661
1663
  ));
1662
1664
  },
1663
- [oe]
1665
+ [V]
1664
1666
  ), tt = n.useCallback(
1665
1667
  (h, m) => {
1666
- !h.target || !u || (v(m), B(!1), ve(h, m), W(h, !1));
1668
+ !h.target || !u || (v(m), B(!1), ve(h, m), U(h, !1));
1667
1669
  },
1668
- [v, B, ve, W]
1670
+ [v, B, ve, U]
1669
1671
  ), st = n.useCallback(
1670
1672
  (h) => {
1671
1673
  se(document) === y.current && h.preventDefault();
@@ -1673,11 +1675,11 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1673
1675
  [y]
1674
1676
  ), nt = n.useCallback(
1675
1677
  (h) => {
1676
- const m = J, Ce = u ? u.length - 1 : -1, de = t.vertical === "bottom";
1678
+ const m = J, Ce = u ? u.length - 1 : -1, ue = t.vertical === "bottom";
1677
1679
  switch (h.keyCode) {
1678
1680
  case r.enter:
1679
1681
  case r.space:
1680
- m >= 0 && ve(h, m), h.preventDefault(), B(!z), v(z ? -1 : 0);
1682
+ m >= 0 && ve(h, m), h.preventDefault(), B(!k), v(k ? -1 : 0);
1681
1683
  break;
1682
1684
  case r.esc:
1683
1685
  h.preventDefault(), B(!1), v(-1);
@@ -1690,23 +1692,23 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1690
1692
  break;
1691
1693
  case r.down:
1692
1694
  case r.right:
1693
- h.preventDefault(), m < Ce && !de && v(m + 1), m > 0 && de && v(m - 1);
1695
+ h.preventDefault(), m < Ce && !ue && v(m + 1), m > 0 && ue && v(m - 1);
1694
1696
  break;
1695
1697
  case r.up:
1696
1698
  case r.left:
1697
- h.preventDefault(), m > 0 && !de && v(m - 1), m < Ce && de && v(m + 1);
1699
+ h.preventDefault(), m > 0 && !ue && v(m - 1), m < Ce && ue && v(m + 1);
1698
1700
  break;
1699
1701
  }
1700
1702
  x(
1701
- ie,
1703
+ q,
1702
1704
  h,
1703
- I(),
1705
+ f(),
1704
1706
  void 0
1705
1707
  );
1706
1708
  },
1707
- [ie, J, v, Q, B]
1709
+ [q, J, v, Q, B]
1708
1710
  ), ot = n.useMemo(
1709
- () => f(
1711
+ () => b(
1710
1712
  "k-fab k-fab-solid",
1711
1713
  {
1712
1714
  "k-fab-sm": S === "small",
@@ -1715,26 +1717,26 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1715
1717
  "k-disabled": l,
1716
1718
  "k-pos-absolute": D === "absolute",
1717
1719
  "k-pos-fixed": D === "fixed",
1718
- "k-focus": re,
1719
- [`k-rounded-${P.roundedMap[F] || F}`]: F,
1720
- [`k-fab-solid-${k}`]: k
1720
+ "k-focus": ce,
1721
+ [`k-rounded-${P.roundedMap[I] || I}`]: I,
1722
+ [`k-fab-solid-${E}`]: E
1721
1723
  },
1722
1724
  `k-${t.vertical}-${t.horizontal}`,
1723
1725
  a
1724
1726
  ),
1725
- [k, S, F, l, D, t, re, a]
1727
+ [E, S, I, l, D, t, ce, a]
1726
1728
  ), it = u && u.map((h, m) => /* @__PURE__ */ n.createElement(
1727
1729
  Fe,
1728
1730
  {
1729
1731
  ...h,
1730
1732
  key: m,
1731
1733
  index: m,
1732
- id: `${ce}-${m}`,
1734
+ id: `${de}-${m}`,
1733
1735
  disabled: l || h.disabled,
1734
1736
  focused: J === m,
1735
1737
  dataItem: h,
1736
1738
  item: w,
1737
- className: f(
1739
+ className: b(
1738
1740
  h.className,
1739
1741
  Ft(ye || "ltr", t.horizontal)
1740
1742
  ),
@@ -1742,7 +1744,7 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1742
1744
  onDown: st
1743
1745
  }
1744
1746
  )), ze = !!((d || c) && !N), at = y.current ? y.current.offsetWidth : 0, lt = 32, Pe = at / 2 - lt / 2;
1745
- return /* @__PURE__ */ n.createElement(ct.Provider, { value: X }, /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
1747
+ return /* @__PURE__ */ n.createElement(ct.Provider, { value: le }, /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
1746
1748
  "button",
1747
1749
  {
1748
1750
  ref: y,
@@ -1750,32 +1752,32 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1750
1752
  role: u ? "menubutton" : "button",
1751
1753
  type: "button",
1752
1754
  "aria-disabled": l,
1753
- "aria-expanded": u ? z : void 0,
1755
+ "aria-expanded": u ? k : void 0,
1754
1756
  "aria-haspopup": !!u,
1755
1757
  "aria-label": `${N || ""} floatingactionbutton`,
1756
- "aria-owns": u ? ce : void 0,
1757
- "aria-activedescendant": J >= 0 && u ? `${ce}-${J}` : void 0,
1758
- tabIndex: fe($, l),
1759
- accessKey: T,
1758
+ "aria-owns": u ? de : void 0,
1759
+ "aria-activedescendant": J >= 0 && u ? `${de}-${J}` : void 0,
1760
+ tabIndex: be(T, l),
1761
+ accessKey: K,
1760
1762
  dir: ye,
1761
1763
  disabled: l,
1762
1764
  className: ot,
1763
- style: E,
1765
+ style: F,
1764
1766
  onClick: Je,
1765
1767
  onMouseDown: et,
1766
1768
  onFocus: Qe,
1767
1769
  onBlur: Ye,
1768
1770
  onKeyDown: nt,
1769
- ...be
1771
+ ..._
1770
1772
  },
1771
- d || c ? /* @__PURE__ */ n.createElement(L, { className: "k-fab-icon", name: d, icon: c }) : b ? /* @__PURE__ */ n.createElement("span", { role: "presentation", className: b }) : null,
1773
+ d || c ? /* @__PURE__ */ n.createElement($, { className: "k-fab-icon", name: d, icon: c }) : g ? /* @__PURE__ */ n.createElement("span", { role: "presentation", className: g }) : null,
1772
1774
  N && /* @__PURE__ */ n.createElement("span", { className: "k-fab-text" }, N)
1773
- ), H && z && /* @__PURE__ */ n.createElement(
1775
+ ), L && k && /* @__PURE__ */ n.createElement(
1774
1776
  "div",
1775
1777
  {
1776
1778
  className: "k-overlay",
1777
1779
  style: {
1778
- zIndex: X,
1780
+ zIndex: le,
1779
1781
  ...p
1780
1782
  }
1781
1783
  }
@@ -1784,11 +1786,11 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1784
1786
  {
1785
1787
  ref: ke,
1786
1788
  anchor: y.current,
1787
- show: z,
1788
- animate: M.animate,
1789
- popupClass: f("k-popup-transparent k-fab-popup", M.popupClass),
1790
- anchorAlign: M.anchorAlign || Nt(t, Q),
1791
- popupAlign: M.popupAlign || St(t, Q),
1789
+ show: k,
1790
+ animate: z.animate,
1791
+ popupClass: b("k-popup-transparent k-fab-popup", z.popupClass),
1792
+ anchorAlign: z.anchorAlign || Nt(t, Q),
1793
+ popupAlign: z.popupAlign || St(t, Q),
1792
1794
  style: { boxShadow: "none" }
1793
1795
  },
1794
1796
  /* @__PURE__ */ n.createElement(
@@ -1797,8 +1799,8 @@ const Re = "16px", he = (e) => typeof e == "number" ? e + "px" : e, Nt = (e, o)
1797
1799
  ref: ge,
1798
1800
  role: "menu",
1799
1801
  "aria-labelledby": C,
1800
- id: ce,
1801
- className: f("k-fab-items", {
1802
+ id: de,
1803
+ className: b("k-fab-items", {
1802
1804
  "k-fab-items-bottom": t.vertical !== "bottom",
1803
1805
  "k-fab-items-top": t.vertical === "bottom"
1804
1806
  }),
@@ -1820,7 +1822,7 @@ Ge.propTypes = {
1820
1822
  accessKey: s.string,
1821
1823
  disabled: s.bool,
1822
1824
  icon: s.string,
1823
- svgIcon: O,
1825
+ svgIcon: M,
1824
1826
  iconClass: s.string,
1825
1827
  text: s.string,
1826
1828
  alignOffset: s.shape({
@@ -1861,13 +1863,13 @@ Ge.displayName = "KendoFloatingActionButton";
1861
1863
  export {
1862
1864
  ne as Button,
1863
1865
  bt as ButtonGroup,
1864
- V as Chip,
1866
+ j as Chip,
1865
1867
  Se as ChipList,
1866
1868
  He as DropDownButton,
1867
- Le as DropDownButtonItem,
1869
+ _e as DropDownButtonItem,
1868
1870
  Ge as FloatingActionButton,
1869
1871
  Fe as FloatingActionButtonItem,
1870
- _e as SplitButton,
1872
+ Le as SplitButton,
1871
1873
  Ke as SplitButtonItem,
1872
1874
  Ue as Toolbar,
1873
1875
  gt as ToolbarItem,