@progress/kendo-react-common 9.0.0-develop.1 → 9.0.0-develop.3

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/Draggable.mjs CHANGED
@@ -60,18 +60,22 @@ const m = n.forwardRef((e, c) => {
60
60
  },
61
61
  [t, e.onDragEnd]
62
62
  );
63
- return i(l, {
64
- onPress: u,
65
- onRelease: g,
66
- onDragStart: o,
67
- onDrag: s,
68
- onDragEnd: d
69
- }, {
70
- mouseOnly: e.mouseOnly,
71
- autoScroll: e.autoScroll,
72
- hint: e.hint,
73
- scrollContainer: e.scrollContainer
74
- }), e.children ? n.cloneElement(n.Children.only(e.children), { ref: l }) : null;
63
+ return i(
64
+ l,
65
+ {
66
+ onPress: u,
67
+ onRelease: g,
68
+ onDragStart: o,
69
+ onDrag: s,
70
+ onDragEnd: d
71
+ },
72
+ {
73
+ mouseOnly: e.mouseOnly,
74
+ autoScroll: e.autoScroll,
75
+ hint: e.hint,
76
+ scrollContainer: e.scrollContainer
77
+ }
78
+ ), e.children ? n.cloneElement(n.Children.only(e.children), { ref: l }) : null;
75
79
  });
76
80
  m.displayName = "KendoReactDraggable";
77
81
  export {
package/README.md CHANGED
@@ -5,10 +5,11 @@
5
5
  # KendoReact Common Library for React
6
6
 
7
7
  > **Important**
8
- > * This package is а part of [KendoReact](https://www.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)—a commercial UI library.
9
- > * You will need to install a license key when adding the package to your project. For more information, please refer to the [KendoReact My License page](https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common).
10
- > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/kendo-react-ui/pricing?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) or register for a [free trial](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common). Doing so indicates that you [accept the KendoReact License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common).
11
- > * The 30-day free trial gives you access to all the KendoReact components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the KendoReact dev team!
8
+ >
9
+ > - This package is а part of [KendoReact](https://www.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)—a commercial UI library.
10
+ > - You will need to install a license key when adding the package to your project. For more information, please refer to the [KendoReact My License page](https://www.telerik.com/kendo-react-ui/components/my-license/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common).
11
+ > - To receive a license key, you need to either [purchase a license](https://www.telerik.com/kendo-react-ui/pricing?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) or register for a [free trial](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common). Doing so indicates that you [accept the KendoReact License Agreement](https://www.telerik.com/purchase/license-agreement/progress-kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common).
12
+ > - The 30-day free trial gives you access to all the KendoReact components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the KendoReact dev team!
12
13
  >
13
14
  > [Start using KendoReact](https://www.telerik.com/try/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) and speed up your development process!
14
15
 
@@ -16,12 +17,12 @@ The React Common package, part of KendoReact, delivers common utilities that can
16
17
 
17
18
  What's in this package (ToC):
18
19
 
19
- * [React Draggable component](#react-draggable-component)
20
- * [React Icon component](#react-icon-component)
21
- * [React SvgIcon component](#react-svgicon-component)
22
- * [React Typography component](#react-typography-component)
23
- * [Support Options](#support-options)
24
- * [Resources](#resources)
20
+ - [React Draggable component](#react-draggable-component)
21
+ - [React Icon component](#react-icon-component)
22
+ - [React SvgIcon component](#react-svgicon-component)
23
+ - [React Typography component](#react-typography-component)
24
+ - [Support Options](#support-options)
25
+ - [Resources](#resources)
25
26
 
26
27
  ## React Draggable Component
27
28
 
@@ -43,25 +44,25 @@ What's in this package (ToC):
43
44
 
44
45
  For any issues you might encounter while working with the KendoReact common, use any of the available support channels:
45
46
 
46
- * Industry-leading technical support—KendoReact paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated KendoReact support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common).
47
- * Product forums—The [KendoReact forums](https://www.telerik.com/forums/kendo-ui-react?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) are part of the free support you can get from the community and from the KendoReact team.
48
- * Feedback portal—The [KendoReact feedback portal](https://feedback.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) is where you can request and vote for new features to be added.
47
+ - Industry-leading technical support—KendoReact paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use [the dedicated KendoReact support system](https://www.telerik.com/account/support-tickets?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common).
48
+ - Product forums—The [KendoReact forums](https://www.telerik.com/forums/kendo-ui-react?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) are part of the free support you can get from the community and from the KendoReact team.
49
+ - Feedback portal—The [KendoReact feedback portal](https://feedback.telerik.com/kendo-react-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common) is where you can request and vote for new features to be added.
49
50
 
50
51
  ## Resources
51
52
 
52
- * [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/components/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
53
- * [KendoReact Roadmap](https://www.telerik.com/kendo-react-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
54
- * [Blogs](https://www.telerik.com/blogs/tag/kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
55
- * [Demos, documentation, and component reference](https://www.telerik.com/kendo-react-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
56
- * [KendoReact pricing and licensing](https://www.telerik.com/kendo-react-ui/pricing?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
57
- * [Changelog](https://www.telerik.com/kendo-react-ui/components/changelogs/ui-for-react/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
53
+ - [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui/components/getting-started/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
54
+ - [KendoReact Roadmap](https://www.telerik.com/kendo-react-ui/roadmap/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
55
+ - [Blogs](https://www.telerik.com/blogs/tag/kendoreact?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
56
+ - [Demos, documentation, and component reference](https://www.telerik.com/kendo-react-ui/components/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
57
+ - [KendoReact pricing and licensing](https://www.telerik.com/kendo-react-ui/pricing?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
58
+ - [Changelog](https://www.telerik.com/kendo-react-ui/components/changelogs/ui-for-react/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-react-trial-npm-common)
58
59
 
59
60
  High-level component overview pages
60
61
 
61
- * [React Drag & Drop Utilities](https://www.telerik.com/kendo-react-ui/drag-and-drop)
62
- * [React Icon & SvgIcon Components](https://www.telerik.com/kendo-react-ui/icon-svgicon)
63
- * [React Typography Component](https://www.telerik.com/kendo-react-ui/typography)
62
+ - [React Drag & Drop Utilities](https://www.telerik.com/kendo-react-ui/drag-and-drop)
63
+ - [React Icon & SvgIcon Components](https://www.telerik.com/kendo-react-ui/icon-svgicon)
64
+ - [React Typography Component](https://www.telerik.com/kendo-react-ui/typography)
64
65
 
65
- *Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
66
+ _Copyright © 2024 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved._
66
67
 
67
- *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
68
+ _Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries._
package/clone.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 f=require("react");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(f),l=e=>e?new Date(e.getTime()):null;function a(e){const t={};return c(e,t),t}function c(e,t){for(let n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=o(r,t[n])}}function o(e,t){if(Array.isArray(e))return s(e);if(e instanceof Date)return l(e);if(i.isValidElement(e))return i.cloneElement(e,e.props);if(e&&typeof e=="object"){const n=t||{};return c(e,n),n}else return e}function s(e){return e.map(t=>o(t,void 0))}exports.clone=a;exports.cloneArray=s;exports.cloneDate=l;exports.cloneObject=c;exports.cloneValue=o;
8
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(f),l=e=>e?new Date(e.getTime()):null;function a(e){const t={};return c(e,t),t}function c(e,t){for(const n in e)if(e.hasOwnProperty(n)){const r=e[n];t[n]=o(r,t[n])}}function o(e,t){if(Array.isArray(e))return s(e);if(e instanceof Date)return l(e);if(i.isValidElement(e))return i.cloneElement(e,e.props);if(e&&typeof e=="object"){const n=t||{};return c(e,n),n}return e}function s(e){return e.map(t=>o(t,void 0))}exports.clone=a;exports.cloneArray=s;exports.cloneDate=l;exports.cloneObject=c;exports.cloneValue=o;
package/clone.mjs CHANGED
@@ -7,33 +7,33 @@
7
7
  */
8
8
  "use client";
9
9
  import * as r from "react";
10
- const s = (e) => e ? new Date(e.getTime()) : null;
11
- function l(e) {
12
- const n = {};
13
- return o(e, n), n;
10
+ const s = (n) => n ? new Date(n.getTime()) : null;
11
+ function l(n) {
12
+ const e = {};
13
+ return o(n, e), e;
14
14
  }
15
- function o(e, n) {
16
- for (let t in e)
17
- if (e.hasOwnProperty(t)) {
18
- const i = e[t];
19
- n[t] = c(i, n[t]);
15
+ function o(n, e) {
16
+ for (const t in n)
17
+ if (n.hasOwnProperty(t)) {
18
+ const i = n[t];
19
+ e[t] = c(i, e[t]);
20
20
  }
21
21
  }
22
- function c(e, n) {
23
- if (Array.isArray(e))
24
- return f(e);
25
- if (e instanceof Date)
26
- return s(e);
27
- if (r.isValidElement(e))
28
- return r.cloneElement(e, e.props);
29
- if (e && typeof e == "object") {
30
- const t = n || {};
31
- return o(e, t), t;
32
- } else
33
- return e;
22
+ function c(n, e) {
23
+ if (Array.isArray(n))
24
+ return f(n);
25
+ if (n instanceof Date)
26
+ return s(n);
27
+ if (r.isValidElement(n))
28
+ return r.cloneElement(n, n.props);
29
+ if (n && typeof n == "object") {
30
+ const t = e || {};
31
+ return o(n, t), t;
32
+ }
33
+ return n;
34
34
  }
35
- function f(e) {
36
- return e.map((n) => c(n, void 0));
35
+ function f(n) {
36
+ return n.map((e) => c(e, void 0));
37
37
  }
38
38
  export {
39
39
  l as clone,
@@ -20,7 +20,9 @@ const d = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g, t = ":not(.k-dr
20
20
  "audio[controls]",
21
21
  "video[controls]",
22
22
  "[contenteditable]"
23
- ], s = [...n, `[tabindex]${t}${o}`], i = [...n, `[tabindex]${t}${o}`].map((e) => e + ':not([tabindex="-1"])');
23
+ ], s = [...n, `[tabindex]${t}${o}`], i = [...n, `[tabindex]${t}${o}`].map(
24
+ (e) => e + ':not([tabindex="-1"])'
25
+ );
24
26
  export {
25
27
  d as FIELD_REGEX,
26
28
  s as FOCUSABLE_ELEMENTS,