@progress/kendo-react-buttons 9.4.0-develop.1 → 9.4.0-develop.11

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.
Files changed (52) hide show
  1. package/Button.js +1 -1
  2. package/Button.mjs +17 -18
  3. package/ButtonGroup.js +1 -1
  4. package/ButtonGroup.mjs +9 -10
  5. package/Chip/Chip.js +1 -1
  6. package/Chip/Chip.mjs +0 -1
  7. package/Chip/ChipList.js +1 -1
  8. package/Chip/ChipList.mjs +0 -1
  9. package/Chip/chip-list-contexts.js +1 -1
  10. package/Chip/chip-list-contexts.mjs +6 -7
  11. package/Chip/data-reducer.js +1 -1
  12. package/Chip/data-reducer.mjs +0 -1
  13. package/Chip/focus-reducer.js +1 -1
  14. package/Chip/focus-reducer.mjs +0 -1
  15. package/Chip/selection-reducer.js +1 -1
  16. package/Chip/selection-reducer.mjs +2 -3
  17. package/FloatingActionButton/FloatingActionButton.js +1 -1
  18. package/FloatingActionButton/FloatingActionButton.mjs +0 -1
  19. package/FloatingActionButton/FloatingActionButtonItem.js +1 -1
  20. package/FloatingActionButton/FloatingActionButtonItem.mjs +6 -7
  21. package/FloatingActionButton/utils.js +1 -1
  22. package/FloatingActionButton/utils.mjs +0 -1
  23. package/ListButton/ButtonItem.js +1 -1
  24. package/ListButton/ButtonItem.mjs +3 -4
  25. package/ListButton/DropDownButton.js +1 -1
  26. package/ListButton/DropDownButton.mjs +0 -1
  27. package/ListButton/DropDownButtonItem.js +1 -1
  28. package/ListButton/DropDownButtonItem.mjs +4 -5
  29. package/ListButton/SplitButton.js +1 -1
  30. package/ListButton/SplitButton.mjs +0 -1
  31. package/ListButton/SplitButtonItem.js +1 -1
  32. package/ListButton/SplitButtonItem.mjs +0 -1
  33. package/ListButton/utils/navigation.js +1 -1
  34. package/ListButton/utils/navigation.mjs +8 -9
  35. package/ListButton/utils/popup.js +1 -1
  36. package/ListButton/utils/popup.mjs +5 -6
  37. package/dist/cdn/js/kendo-react-buttons.js +8 -1
  38. package/index.js +2 -1
  39. package/index.mjs +2 -2
  40. package/package-metadata.js +1 -1
  41. package/package-metadata.mjs +2 -3
  42. package/package.json +4 -4
  43. package/toolbar/Toolbar.js +1 -1
  44. package/toolbar/Toolbar.mjs +0 -1
  45. package/toolbar/tools/ToolbarItem.js +1 -1
  46. package/toolbar/tools/ToolbarItem.mjs +5 -6
  47. package/toolbar/tools/ToolbarSeparator.js +1 -1
  48. package/toolbar/tools/ToolbarSeparator.mjs +4 -5
  49. package/toolbar/tools/ToolbarSpacer.js +1 -1
  50. package/toolbar/tools/ToolbarSpacer.mjs +12 -13
  51. package/util.js +1 -1
  52. package/util.mjs +0 -1
@@ -5,22 +5,21 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  import * as e from "react";
10
- import m from "prop-types";
11
- import { classNames as n } from "@progress/kendo-react-common";
12
- const r = e.forwardRef(
13
- (s, t) => {
14
- const a = e.useRef(null), c = e.useRef(null);
15
- e.useImperativeHandle(c, () => ({ element: a.current })), e.useImperativeHandle(t, () => ({ element: a.current }));
16
- const l = e.useMemo(() => n("k-spacer", s.className), [s.className]);
17
- return /* @__PURE__ */ e.createElement("span", { ref: a, className: l });
9
+ import c from "prop-types";
10
+ import { classNames as l } from "@progress/kendo-react-common";
11
+ const s = e.forwardRef(
12
+ (r, t) => {
13
+ const a = e.useRef(null), m = e.useRef(null);
14
+ e.useImperativeHandle(m, () => ({ element: a.current })), e.useImperativeHandle(t, () => ({ element: a.current }));
15
+ const o = e.useMemo(() => l("k-spacer", r.className), [r.className]);
16
+ return /* @__PURE__ */ e.createElement("span", { ref: a, className: o });
18
17
  }
19
18
  );
20
- r.displayName = "KendoReactToolbarSpacer";
21
- r.propTypes = {
22
- className: m.string
19
+ s.displayName = "KendoReactToolbarSpacer";
20
+ s.propTypes = {
21
+ className: c.string
23
22
  };
24
23
  export {
25
- r as ToolbarSpacer
24
+ s as ToolbarSpacer
26
25
  };
package/util.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 client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",o=["button"+t,".k-button-group > button"+t,".k-colorpicker",".k-dropdownlist"];exports.toolbarButtons=o;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)",o=["button"+t,".k-button-group > button"+t,".k-colorpicker",".k-dropdownlist"];exports.toolbarButtons=o;
package/util.mjs CHANGED
@@ -5,7 +5,6 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use client";
9
8
  const t = ":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-split-button .k-split-button-arrow)", o = [
10
9
  "button" + t,
11
10
  ".k-button-group > button" + t,