@progress/kendo-react-inputs 14.0.1 → 14.1.0-develop.1

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 (37) hide show
  1. package/checkbox/Checkbox.mjs +24 -24
  2. package/colors/ColorGradient.mjs +4 -4
  3. package/colors/ColorPalette.mjs +9 -9
  4. package/colors/ColorPicker.mjs +11 -11
  5. package/colors/FlatColorPicker.d.ts +9 -0
  6. package/colors/FlatColorPicker.mjs +11 -11
  7. package/common/SliderTooltip.d.ts +6 -0
  8. package/dist/cdn/js/kendo-react-inputs.js +1 -1
  9. package/input/Input.d.ts +12 -0
  10. package/input/Input.mjs +12 -12
  11. package/maskedtextbox/MaskedTextBox.mjs +5 -5
  12. package/maskedtextbox/MaskedTextBoxProps.d.ts +18 -0
  13. package/numerictextbox/NumericTextBox.mjs +13 -13
  14. package/numerictextbox/interfaces/NumericTextBoxProps.d.ts +18 -0
  15. package/package-metadata.js +1 -1
  16. package/package-metadata.mjs +1 -1
  17. package/package.json +10 -10
  18. package/radiobutton/RadioButton.mjs +18 -18
  19. package/radiobutton/RadioGroup.mjs +15 -15
  20. package/range-slider/RangeSlider.d.ts +12 -0
  21. package/range-slider/RangeSlider.mjs +15 -15
  22. package/rating/Rating.d.ts +9 -0
  23. package/rating/Rating.mjs +12 -12
  24. package/rating/RatingItem.d.ts +3 -0
  25. package/rating/RatingItem.mjs +4 -4
  26. package/signature/Signature.mjs +12 -12
  27. package/signature/interfaces/SignatureProps.d.ts +9 -0
  28. package/slider/Slider.d.ts +9 -0
  29. package/slider/Slider.js +1 -1
  30. package/slider/Slider.mjs +1 -1
  31. package/switch/Switch.d.ts +9 -0
  32. package/switch/Switch.js +1 -1
  33. package/switch/Switch.mjs +1 -1
  34. package/textarea/TextArea.mjs +16 -16
  35. package/textarea/interfaces/TextAreaProps.d.ts +15 -0
  36. package/textbox/Textbox.d.ts +6 -0
  37. package/textbox/Textbox.mjs +12 -12
package/input/Input.d.ts CHANGED
@@ -36,18 +36,30 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
36
36
  /**
37
37
  * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
38
38
  * For example these elements could contain error or hint message.
39
+ *
40
+ * @remarks
41
+ * This property is related to accessibility.
39
42
  */
40
43
  ariaDescribedBy?: string;
41
44
  /**
42
45
  * Identifies the element(s) which will label the component.
46
+ *
47
+ * @remarks
48
+ * This property is related to accessibility.
43
49
  */
44
50
  ariaLabelledBy?: string;
45
51
  /**
46
52
  * Defines a string value that labels an interactive element.
53
+ *
54
+ * @remarks
55
+ * This property is related to accessibility.
47
56
  */
48
57
  ariaLabel?: string;
49
58
  /**
50
59
  * Represents the `autoFocus` HTML attribute that will be applied to the input element of the Input. (Defaults to `false`)
60
+ *
61
+ * @remarks
62
+ * This property is related to accessibility.
51
63
  */
52
64
  autoFocus?: boolean;
53
65
  /**
package/input/Input.mjs CHANGED
@@ -7,10 +7,10 @@
7
7
  */
8
8
  import * as a from "react";
9
9
  import r from "prop-types";
10
- import { applyDefaultProps as Q, useUnstyled as W, useId as X, classNames as Y, useKendoPaste as Z, createPropsContext as $ } from "@progress/kendo-react-common";
10
+ import { applyDefaultProps as W, useUnstyled as X, useId as Y, classNames as Z, useKendoPaste as _, createPropsContext as $ } from "@progress/kendo-react-common";
11
11
  import { FloatingLabel as ee } from "@progress/kendo-react-labels";
12
12
  const E = a.forwardRef((I, k) => {
13
- const L = a.useContext(te).call(void 0, I), [, N] = a.useReducer((t) => t, !0), n = Q(L, ae), {
13
+ const L = a.useContext(te).call(void 0, I), [, N] = a.useReducer((t) => t, !0), n = W(L, ae), {
14
14
  className: M,
15
15
  label: u,
16
16
  labelClassName: V,
@@ -30,7 +30,7 @@ const E = a.forwardRef((I, k) => {
30
30
  style: b,
31
31
  ariaLabel: U,
32
32
  ...D
33
- } = n, O = W(), T = F || O, K = X(), [q, A] = a.useState({
33
+ } = n, O = X(), T = F || O, K = Y(), [q, A] = a.useState({
34
34
  value: R
35
35
  }), h = x || K, e = a.useRef(null), s = a.useRef(void 0), c = a.useRef(null), C = n.name || n.id, G = () => {
36
36
  e.current && e.current.focus();
@@ -68,14 +68,14 @@ const E = a.forwardRef((I, k) => {
68
68
  for (const o in t)
69
69
  t.hasOwnProperty(o) && (l = l || !!t[o]);
70
70
  return l;
71
- }, v = !g || i().valid, _ = Y(
71
+ }, v = !g || i().valid, j = Z(
72
72
  "k-input",
73
73
  {
74
74
  "k-invalid": !v,
75
75
  "k-disabled": n.disabled
76
76
  },
77
77
  M
78
- ), j = () => {
78
+ ), z = () => {
79
79
  e.current && e.current.setCustomValidity && (i().valid || !g ? e.current.classList.remove("k-invalid") : e.current.classList.add("k-invalid"), e.current.setCustomValidity(i().valid ? "" : m || ""));
80
80
  }, { onChange: p } = n, f = a.useCallback(
81
81
  (t) => {
@@ -89,7 +89,7 @@ const E = a.forwardRef((I, k) => {
89
89
  }), s.current = void 0;
90
90
  },
91
91
  [p]
92
- ), z = a.useCallback(
92
+ ), J = a.useCallback(
93
93
  (t) => {
94
94
  const l = t != null ? String(t) : "", o = {
95
95
  target: e.current,
@@ -100,12 +100,12 @@ const E = a.forwardRef((I, k) => {
100
100
  },
101
101
  [f]
102
102
  );
103
- Z(e, {
103
+ _(e, {
104
104
  fieldName: C || "",
105
- onValueChange: z,
105
+ onValueChange: J,
106
106
  enabled: !!C
107
107
  });
108
- const J = (t) => {
108
+ const Q = (t) => {
109
109
  if (t.animationName === "autoFillStart") {
110
110
  const l = t.target.parentNode;
111
111
  l && l.classList.contains("k-empty") && l.classList.remove("k-empty");
@@ -114,7 +114,7 @@ const E = a.forwardRef((I, k) => {
114
114
  a.useEffect(() => {
115
115
  N();
116
116
  }, []), a.useEffect(() => {
117
- j();
117
+ z();
118
118
  });
119
119
  const P = /* @__PURE__ */ a.createElement(
120
120
  "input",
@@ -129,9 +129,9 @@ const E = a.forwardRef((I, k) => {
129
129
  value: d(),
130
130
  id: h,
131
131
  autoFocus: w,
132
- className: _,
132
+ className: j,
133
133
  onChange: f,
134
- onAnimationStart: J,
134
+ onAnimationStart: Q,
135
135
  ref: e
136
136
  }
137
137
  );
@@ -9,7 +9,7 @@ import * as p from "react";
9
9
  import e from "prop-types";
10
10
  import { MaskingService as E } from "./masking.service.mjs";
11
11
  import { defaultRules as m, maskingChanged as V, returnFalse as b } from "./utils.mjs";
12
- import { withIdHOC as O, withPropsContext as M, withUnstyledHOC as I, subscribeToKendoPaste as w, useCustomComponent as y, classNames as _, kendoThemeMaps as P, getTabIndex as D, uMaskedTextBox as H, createPropsContext as T } from "@progress/kendo-react-common";
12
+ import { withIdHOC as O, withPropsContext as M, withUnstyledHOC as I, subscribeToKendoPaste as w, useCustomComponent as y, classNames as P, kendoThemeMaps as _, getTabIndex as D, uMaskedTextBox as H, createPropsContext as T } from "@progress/kendo-react-common";
13
13
  import { FloatingLabel as q } from "@progress/kendo-react-labels";
14
14
  const n = class n extends p.Component {
15
15
  constructor() {
@@ -171,13 +171,13 @@ const n = class n extends p.Component {
171
171
  "span",
172
172
  {
173
173
  dir: this.props.dir,
174
- className: _(
174
+ className: P(
175
175
  "k-input",
176
176
  "k-maskedtextbox",
177
177
  {
178
- [`k-input-${P.sizeMap[t] || t}`]: t,
178
+ [`k-input-${_.sizeMap[t] || t}`]: t,
179
179
  [`k-input-${s}`]: s,
180
- [`k-rounded-${P.roundedMap[i] || i}`]: i,
180
+ [`k-rounded-${_.roundedMap[i] || i}`]: i,
181
181
  "k-invalid": !f,
182
182
  "k-disabled": this.props.disabled
183
183
  },
@@ -195,7 +195,7 @@ const n = class n extends p.Component {
195
195
  autoCapitalize: "off",
196
196
  autoFocus: a,
197
197
  spellCheck: !1,
198
- className: _(H.inputInner({ c: k })),
198
+ className: P(H.inputInner({ c: k })),
199
199
  value: this.value,
200
200
  id: c,
201
201
  "aria-labelledby": this.props.ariaLabelledBy,
@@ -100,10 +100,16 @@ export interface MaskedTextBoxProps extends FormComponentProps {
100
100
  dir?: string;
101
101
  /**
102
102
  * Sets the `tabIndex` property of the MaskedTextBox.
103
+ *
104
+ * @remarks
105
+ * This property is related to accessibility.
103
106
  */
104
107
  tabIndex?: number;
105
108
  /**
106
109
  * Specifies the `accessKey` of the MaskedTextBox.
110
+ *
111
+ * @remarks
112
+ * This property is related to accessibility.
107
113
  */
108
114
  accessKey?: string;
109
115
  /**
@@ -143,10 +149,16 @@ export interface MaskedTextBoxProps extends FormComponentProps {
143
149
  /**
144
150
  * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
145
151
  * For example these elements could contain error or hint message.
152
+ *
153
+ * @remarks
154
+ * This property is related to accessibility.
146
155
  */
147
156
  ariaDescribedBy?: string;
148
157
  /**
149
158
  * Identifies the element(s) which will label the component.
159
+ *
160
+ * @remarks
161
+ * This property is related to accessibility.
150
162
  */
151
163
  ariaLabelledBy?: string;
152
164
  /**
@@ -259,6 +271,9 @@ export interface MaskedTextBoxProps extends FormComponentProps {
259
271
  fillMode?: 'solid' | 'flat' | 'outline';
260
272
  /**
261
273
  * Represents the `autoFocus` HTML attribute that will be applied to the input element of the MaskedTextBox. (Defaults to `false`)
274
+ *
275
+ * @remarks
276
+ * This property is related to accessibility.
262
277
  */
263
278
  autoFocus?: boolean;
264
279
  /**
@@ -268,6 +283,9 @@ export interface MaskedTextBoxProps extends FormComponentProps {
268
283
  /**
269
284
  * Sets the HTML attributes of the inner focusable input element.
270
285
  * Attributes which are essential for certain component functionalities cannot be changed.
286
+ *
287
+ * @remarks
288
+ * This property is related to accessibility.
271
289
  */
272
290
  inputAttributes?: React.InputHTMLAttributes<HTMLInputElement>;
273
291
  }
@@ -11,12 +11,12 @@ import { useInternationalization as et, useLocalization as tt } from "@progress/
11
11
  import { usePropsContext as nt, useId as rt, useCustomComponent as ge, dispatchEvent as Q, useKendoPaste as at, getActiveElement as ve, useIsomorphicLayoutEffect as st, classNames as ot, kendoThemeMaps as ye, getTabIndex as lt, createPropsContext as ut } from "@progress/kendo-react-common";
12
12
  import { caretAltUpIcon as it, caretAltDownIcon as ct } from "@progress/kendo-svg-icons";
13
13
  import { FloatingLabel as dt } from "@progress/kendo-react-labels";
14
- import { numericIncreaseValue as G, messages as _, numericDecreaseValue as j } from "../messages/index.mjs";
14
+ import { numericIncreaseValue as G, messages as j, numericDecreaseValue as K } from "../messages/index.mjs";
15
15
  import { getInitialState as Ve, formatValue as O, getStateOrPropsValue as X, rangeValue as N, sanitizeNumber as Ce, decreaseValue as ke, increaseValue as Ee } from "./utils/index.mjs";
16
16
  import { Button as Se } from "@progress/kendo-react-buttons";
17
17
  const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
18
18
  (k, xe) => {
19
- const K = nt(
19
+ const _ = nt(
20
20
  ft,
21
21
  k
22
22
  ), {
@@ -64,9 +64,9 @@ const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
64
64
  rounded: U = c.rounded,
65
65
  fillMode: F = c.fillMode,
66
66
  autoFocus: Ge = c.autoFocus,
67
- inputAttributes: _e,
67
+ inputAttributes: je,
68
68
  ...ue
69
- } = K, je = rt(), ie = ne || je, o = et(), B = tt(), a = n.useRef(null), M = n.useRef(void 0), [Ke, S] = n.useState(!1), i = n.useRef(Ve()), T = n.useRef(!1), $ = n.useRef(void 0), x = n.useRef(Le), ce = P || ne, I = O(
69
+ } = _, Ke = rt(), ie = ne || Ke, o = et(), B = tt(), a = n.useRef(null), M = n.useRef(void 0), [_e, S] = n.useState(!1), i = n.useRef(Ve()), T = n.useRef(!1), $ = n.useRef(void 0), x = n.useRef(Le), ce = P || ne, I = O(
70
70
  i.current.focused && !l ? i.current.currentLooseValue : X(y, x.current),
71
71
  s,
72
72
  o
@@ -87,7 +87,7 @@ const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
87
87
  valid: b,
88
88
  valueMissing: e == null
89
89
  };
90
- }, [H, w, z, q]), W = n.useCallback(() => ae, [ae]), fe = n.useCallback(() => K, [K]), C = n.useCallback(() => {
90
+ }, [H, w, z, q]), W = n.useCallback(() => ae, [ae]), fe = n.useCallback(() => _, [_]), C = n.useCallback(() => {
91
91
  const r = {
92
92
  element: a.current,
93
93
  focus: de
@@ -241,7 +241,7 @@ const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
241
241
  }, []);
242
242
  st(() => {
243
243
  a.current && a.current.type !== "number" && i.current.selectionStart !== void 0 && i.current.selectionEnd !== void 0 && (a.current.selectionStart = i.current.selectionStart, a.current.selectionEnd = i.current.selectionEnd, i.current.selectionStart = void 0, i.current.selectionEnd = void 0);
244
- }, [Ke]);
244
+ }, [_e]);
245
245
  const be = !W() || A().valid, pe = /* @__PURE__ */ n.createElement(
246
246
  "span",
247
247
  {
@@ -298,7 +298,7 @@ const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
298
298
  onPaste: Ye,
299
299
  onWheel: Je,
300
300
  ref: a,
301
- ..._e
301
+ ...je
302
302
  }
303
303
  ),
304
304
  /* @__PURE__ */ n.createElement(we, null),
@@ -315,11 +315,11 @@ const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
315
315
  className: "k-spinner-increase",
316
316
  "aria-label": B.toLanguageString(
317
317
  G,
318
- _[G]
318
+ j[G]
319
319
  ),
320
320
  title: B.toLanguageString(
321
321
  G,
322
- _[G]
322
+ j[G]
323
323
  ),
324
324
  onClick: Y
325
325
  }
@@ -334,12 +334,12 @@ const mt = "Please enter a valid value!", ft = ut(), he = n.forwardRef(
334
334
  size: h,
335
335
  className: "k-spinner-decrease",
336
336
  "aria-label": B.toLanguageString(
337
- j,
338
- _[j]
337
+ K,
338
+ j[K]
339
339
  ),
340
340
  title: B.toLanguageString(
341
- j,
342
- _[j]
341
+ K,
342
+ j[K]
343
343
  ),
344
344
  onClick: J
345
345
  }
@@ -41,6 +41,9 @@ export interface NumericTextBoxProps extends FormComponentProps, Omit<React.HTML
41
41
  width?: number | string;
42
42
  /**
43
43
  * Sets the `tabIndex` property of the NumericTextBox.
44
+ *
45
+ * @remarks
46
+ * This property is related to accessibility.
44
47
  */
45
48
  tabIndex?: number;
46
49
  /**
@@ -98,14 +101,23 @@ export interface NumericTextBoxProps extends FormComponentProps, Omit<React.HTML
98
101
  /**
99
102
  * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
100
103
  * For example these elements could contain error or hint message.
104
+ *
105
+ * @remarks
106
+ * This property is related to accessibility.
101
107
  */
102
108
  ariaDescribedBy?: string;
103
109
  /**
104
110
  * Identifies the element(s) which will label the component.
111
+ *
112
+ * @remarks
113
+ * This property is related to accessibility.
105
114
  */
106
115
  ariaLabelledBy?: string;
107
116
  /**
108
117
  * The accessible label of the component.
118
+ *
119
+ * @remarks
120
+ * This property is related to accessibility.
109
121
  */
110
122
  ariaLabel?: string;
111
123
  /**
@@ -201,11 +213,17 @@ export interface NumericTextBoxProps extends FormComponentProps, Omit<React.HTML
201
213
  inputStyle?: React.CSSProperties;
202
214
  /**
203
215
  * Represents the `autoFocus` HTML attribute that will be applied to the input element of the NumericTextBox. (Defaults to `false`)
216
+ *
217
+ * @remarks
218
+ * This property is related to accessibility.
204
219
  */
205
220
  autoFocus?: boolean;
206
221
  /**
207
222
  * Sets the HTML attributes of the inner focusable input element.
208
223
  * Attributes which are essential for certain component functionalities cannot be changed.
224
+ *
225
+ * @remarks
226
+ * This property is related to accessibility.
209
227
  */
210
228
  inputAttributes?: React.InputHTMLAttributes<HTMLInputElement>;
211
229
  }
@@ -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 strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-inputs",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770896475,version:"14.0.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-inputs",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770995672,version:"14.1.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
@@ -8,6 +8,6 @@ export const packageMetadata = Object.freeze({
8
8
  productCode: 'KENDOUIREACT',
9
9
  productCodes: ['KENDOUIREACT'],
10
10
  publishDate: 0,
11
- version: '14.0.1',
11
+ version: '14.1.0-develop.1',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-inputs",
3
- "version": "14.0.1",
3
+ "version": "14.1.0-develop.1",
4
4
  "description": "React Inputs offer a customizable interface for users to enter and pick different information. KendoReact Input package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -28,14 +28,14 @@
28
28
  "@progress/kendo-drawing": "^1.21.2",
29
29
  "@progress/kendo-inputs-common": "^3.1.0",
30
30
  "@progress/kendo-licensing": "^1.7.2",
31
- "@progress/kendo-react-animation": "14.0.1",
32
- "@progress/kendo-react-buttons": "14.0.1",
33
- "@progress/kendo-react-common": "14.0.1",
34
- "@progress/kendo-react-dialogs": "14.0.1",
35
- "@progress/kendo-react-layout": "14.0.1",
36
- "@progress/kendo-react-intl": "14.0.1",
37
- "@progress/kendo-react-labels": "14.0.1",
38
- "@progress/kendo-react-popup": "14.0.1",
31
+ "@progress/kendo-react-animation": "14.1.0-develop.1",
32
+ "@progress/kendo-react-buttons": "14.1.0-develop.1",
33
+ "@progress/kendo-react-common": "14.1.0-develop.1",
34
+ "@progress/kendo-react-dialogs": "14.1.0-develop.1",
35
+ "@progress/kendo-react-layout": "14.1.0-develop.1",
36
+ "@progress/kendo-react-intl": "14.1.0-develop.1",
37
+ "@progress/kendo-react-labels": "14.1.0-develop.1",
38
+ "@progress/kendo-react-popup": "14.1.0-develop.1",
39
39
  "@progress/kendo-svg-icons": "^4.0.0",
40
40
  "react": "^18.0.0 || ^19.0.0",
41
41
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -82,7 +82,7 @@
82
82
  "package": {
83
83
  "productName": "KendoReact",
84
84
  "productCode": "KENDOUIREACT",
85
- "publishDate": 1770896475,
85
+ "publishDate": 1770995672,
86
86
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
87
87
  }
88
88
  },
@@ -7,16 +7,16 @@
7
7
  */
8
8
  import * as e from "react";
9
9
  import a from "prop-types";
10
- import { usePropsContext as S, useUnstyled as U, useId as A, dispatchEvent as d, getTabIndex as G, classNames as m, uRadioButton as b, createPropsContext as J } from "@progress/kendo-react-common";
11
- const M = J(), x = e.forwardRef((E, F) => {
12
- const I = S(M, E), {
10
+ import { usePropsContext as U, useUnstyled as A, useId as G, dispatchEvent as d, getTabIndex as J, classNames as m, uRadioButton as b, createPropsContext as M } from "@progress/kendo-react-common";
11
+ const Q = M(), x = e.forwardRef((E, F) => {
12
+ const I = U(Q, E), {
13
13
  ariaDescribedBy: P,
14
14
  checked: p,
15
15
  children: f,
16
16
  className: k,
17
17
  disabled: n,
18
18
  id: g,
19
- size: N = Q.size,
19
+ size: N = V.size,
20
20
  label: o,
21
21
  labelPlacement: z,
22
22
  name: T,
@@ -28,8 +28,8 @@ const M = J(), x = e.forwardRef((E, F) => {
28
28
  onFocus: c,
29
29
  onBlur: i,
30
30
  required: H,
31
- ..._
32
- } = I, y = U(), u = y && y.uRadioButton, l = e.useRef(null), C = e.useCallback(() => {
31
+ ...j
32
+ } = I, y = A(), u = y && y.uRadioButton, l = e.useRef(null), C = e.useCallback(() => {
33
33
  l.current && l.current.focus();
34
34
  }, []), s = e.useCallback(
35
35
  () => ({
@@ -39,14 +39,14 @@ const M = J(), x = e.forwardRef((E, F) => {
39
39
  [C]
40
40
  );
41
41
  e.useImperativeHandle(F, s);
42
- const v = A(), j = e.useCallback(
42
+ const v = G(), K = e.useCallback(
43
43
  (t) => {
44
44
  d(h, t, s(), {
45
45
  value: r
46
46
  });
47
47
  },
48
48
  [h, r, n]
49
- ), K = e.useCallback(
49
+ ), L = e.useCallback(
50
50
  (t) => {
51
51
  c && !n && d(
52
52
  c,
@@ -56,12 +56,12 @@ const M = J(), x = e.forwardRef((E, F) => {
56
56
  );
57
57
  },
58
58
  [c, n]
59
- ), L = e.useCallback(
59
+ ), O = e.useCallback(
60
60
  (t) => {
61
61
  i && !n && d(i, t, s(), void 0);
62
62
  },
63
63
  [i, n]
64
- ), O = {
64
+ ), S = {
65
65
  type: "radio",
66
66
  id: g || v,
67
67
  name: T,
@@ -76,16 +76,16 @@ const M = J(), x = e.forwardRef((E, F) => {
76
76
  ),
77
77
  ref: l,
78
78
  disabled: n,
79
- tabIndex: G(w, n),
79
+ tabIndex: J(w, n),
80
80
  checked: p,
81
81
  style: q,
82
82
  "aria-describedby": P,
83
83
  "aria-required": H,
84
84
  value: r,
85
- onChange: j,
86
- onFocus: K,
87
- onBlur: L,
88
- ..._
85
+ onChange: K,
86
+ onFocus: L,
87
+ onBlur: O,
88
+ ...j
89
89
  }, B = /* @__PURE__ */ e.createElement(e.Fragment, null, o !== void 0 ? /* @__PURE__ */ e.createElement(
90
90
  "label",
91
91
  {
@@ -95,7 +95,7 @@ const M = J(), x = e.forwardRef((E, F) => {
95
95
  "aria-label": o
96
96
  },
97
97
  o
98
- ) : null), R = /* @__PURE__ */ e.createElement("span", { className: m(b.wrap({ c: u })) }, /* @__PURE__ */ e.createElement("input", { ...O }));
98
+ ) : null), R = /* @__PURE__ */ e.createElement("span", { className: m(b.wrap({ c: u })) }, /* @__PURE__ */ e.createElement("input", { ...S }));
99
99
  return z === "before" ? /* @__PURE__ */ e.createElement(e.Fragment, null, B, R, f) : /* @__PURE__ */ e.createElement(e.Fragment, null, R, B, f);
100
100
  });
101
101
  x.propTypes = {
@@ -116,11 +116,11 @@ x.propTypes = {
116
116
  onFocus: a.func,
117
117
  onBlur: a.func
118
118
  };
119
- const Q = {
119
+ const V = {
120
120
  size: void 0
121
121
  };
122
122
  x.displayName = "KendoRadioButton";
123
123
  export {
124
124
  x as RadioButton,
125
- M as RadioButtonPropsContext
125
+ Q as RadioButtonPropsContext
126
126
  };
@@ -7,10 +7,10 @@
7
7
  */
8
8
  import * as t from "react";
9
9
  import e from "prop-types";
10
- import { RadioButton as A } from "./RadioButton.mjs";
11
- import { usePropsContext as J, useUnstyled as M, focusFirstFocusableChild as Q, dispatchEvent as k, useId as W, classNames as P, uRadioGroup as E, useRtl as X, createPropsContext as Y } from "@progress/kendo-react-common";
12
- const Z = Y(), G = t.forwardRef((r, I) => {
13
- const m = J(Z, r), {
10
+ import { RadioButton as J } from "./RadioButton.mjs";
11
+ import { usePropsContext as M, useUnstyled as Q, focusFirstFocusableChild as W, dispatchEvent as k, useId as X, classNames as P, uRadioGroup as E, useRtl as Y, createPropsContext as Z } from "@progress/kendo-react-common";
12
+ const _ = Z(), G = t.forwardRef((r, I) => {
13
+ const m = M(_, r), {
14
14
  id: N,
15
15
  ariaLabelledBy: B,
16
16
  ariaDescribedBy: F,
@@ -27,8 +27,8 @@ const Z = Y(), G = t.forwardRef((r, I) => {
27
27
  item: D = $.item,
28
28
  onChange: c,
29
29
  onFocus: d
30
- } = m, f = M(), y = f && f.uRadioGroup, o = t.useRef(null), C = t.useCallback(() => {
31
- o.current && Q(o.current);
30
+ } = m, f = Q(), y = f && f.uRadioGroup, o = t.useRef(null), C = t.useCallback(() => {
31
+ o.current && W(o.current);
32
32
  }, []), i = t.useCallback(
33
33
  () => ({
34
34
  element: o.current,
@@ -58,21 +58,21 @@ const Z = Y(), G = t.forwardRef((r, I) => {
58
58
  );
59
59
  },
60
60
  [d, s]
61
- ), T = W(), _ = P(
61
+ ), T = X(), w = P(
62
62
  E.ul({
63
63
  c: y,
64
64
  horizontal: n === "horizontal",
65
65
  vertical: n === "vertical" || n === void 0
66
66
  }),
67
67
  x
68
- ), w = X(o, m.dir), K = b && b.map((a, l) => {
69
- const g = u === a.value, U = u == null, R = {
68
+ ), K = Y(o, m.dir), U = b && b.map((a, l) => {
69
+ const g = u === a.value, A = u == null, R = {
70
70
  ...a,
71
71
  valid: z,
72
72
  checked: g,
73
73
  disabled: !!(a.disabled || s),
74
74
  labelPlacement: a.labelPlacement ? a.labelPlacement : j,
75
- tabIndex: a.tabIndex ? a.tabIndex : U && l === 0 || g ? 0 : -1,
75
+ tabIndex: a.tabIndex ? a.tabIndex : A && l === 0 || g ? 0 : -1,
76
76
  index: l,
77
77
  name: O || T,
78
78
  required: a.required,
@@ -91,7 +91,7 @@ const Z = Y(), G = t.forwardRef((r, I) => {
91
91
  key: l,
92
92
  role: "none"
93
93
  },
94
- /* @__PURE__ */ t.createElement(A, { ...R })
94
+ /* @__PURE__ */ t.createElement(J, { ...R })
95
95
  );
96
96
  });
97
97
  return /* @__PURE__ */ t.createElement(
@@ -99,14 +99,14 @@ const Z = Y(), G = t.forwardRef((r, I) => {
99
99
  {
100
100
  id: N,
101
101
  role: "radiogroup",
102
- className: _,
102
+ className: w,
103
103
  ref: o,
104
- dir: w,
104
+ dir: K,
105
105
  style: q,
106
106
  "aria-labelledby": B,
107
107
  "aria-describedby": F
108
108
  },
109
- K
109
+ U
110
110
  );
111
111
  }), $ = {
112
112
  item: (r) => /* @__PURE__ */ t.createElement("li", { ...r })
@@ -130,5 +130,5 @@ G.propTypes = {
130
130
  G.displayName = "KendoRadioGroup";
131
131
  export {
132
132
  G as RadioGroup,
133
- Z as RadioGroupPropsContext
133
+ _ as RadioGroupPropsContext
134
134
  };
@@ -83,19 +83,31 @@ export interface RangeSliderProps extends FormComponentProps {
83
83
  dir?: Direction;
84
84
  /**
85
85
  * Sets the `tabIndex` attribute to the `start` drag handle.
86
+ *
87
+ * @remarks
88
+ * This property is related to accessibility.
86
89
  */
87
90
  startTabIndex?: number;
88
91
  /**
89
92
  * Sets the `tabIndex` attribute to the `end` drag handle.
93
+ *
94
+ * @remarks
95
+ * This property is related to accessibility.
90
96
  */
91
97
  endTabIndex?: number;
92
98
  /**
93
99
  * Identifies the element(s) which will describe the component, similar to [HTML aria-describedby attribute](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-describedby_attribute).
94
100
  * For example these elements could contain error or hint message.
101
+ *
102
+ * @remarks
103
+ * This property is related to accessibility.
95
104
  */
96
105
  ariaDescribedBy?: string;
97
106
  /**
98
107
  * Identifies the element(s) which will label the component.
108
+ *
109
+ * @remarks
110
+ * This property is related to accessibility.
99
111
  */
100
112
  ariaLabelledBy?: string;
101
113
  }