@progress/kendo-react-inputs 8.1.0-develop.9 → 8.1.0

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.
@@ -8,260 +8,260 @@
8
8
  "use client";
9
9
  import * as n from "react";
10
10
  import t from "prop-types";
11
- import { useInternationalization as Ye, useLocalization as Je } from "@progress/kendo-react-intl";
12
- import { createPropsContext as Qe, validatePackage as Xe, usePropsContext as Ze, useId as et, useCustomComponent as pe, dispatchEvent as Y, getActiveElement as be, useIsomorphicLayoutEffect as tt, classNames as nt, kendoThemeMaps as ge, getTabIndex as rt } from "@progress/kendo-react-common";
13
- import { caretAltUpIcon as at, caretAltDownIcon as lt } from "@progress/kendo-svg-icons";
14
- import { FloatingLabel as st } from "@progress/kendo-react-labels";
11
+ import { useInternationalization as Je, useLocalization as Qe } from "@progress/kendo-react-intl";
12
+ import { createPropsContext as Xe, validatePackage as Ze, usePropsContext as et, useId as tt, useCustomComponent as pe, dispatchEvent as Q, getActiveElement as be, useIsomorphicLayoutEffect as nt, classNames as rt, kendoThemeMaps as ge, getTabIndex as at } from "@progress/kendo-react-common";
13
+ import { caretAltUpIcon as lt, caretAltDownIcon as st } from "@progress/kendo-svg-icons";
14
+ import { FloatingLabel as ot } from "@progress/kendo-react-labels";
15
15
  import { packageMetadata as ut } from "../package-metadata.mjs";
16
- import { numericIncreaseValue as R, messages as B, numericDecreaseValue as M } from "../messages/index.mjs";
17
- import { getInitialState as ve, formatValue as F, getStateOrPropsValue as J, rangeValue as T, sanitizeNumber as ye, decreaseValue as Ve, increaseValue as ke } from "./utils/index.mjs";
16
+ import { numericIncreaseValue as M, messages as F, numericDecreaseValue as T } from "../messages/index.mjs";
17
+ import { getInitialState as ve, formatValue as z, getStateOrPropsValue as X, rangeValue as G, sanitizeNumber as ye, decreaseValue as Ve, increaseValue as ke } from "./utils/index.mjs";
18
18
  import { Button as Ce } from "@progress/kendo-react-buttons";
19
- const ot = "Please enter a valid value!", ct = Qe(), Q = n.forwardRef((k, Ee) => {
20
- Xe(ut);
21
- const z = Ze(ct, k), {
22
- className: Se,
23
- value: p,
24
- defaultValue: xe,
25
- step: b,
19
+ const it = "Please enter a valid value!", ct = Xe(), Ee = n.forwardRef((C, Se) => {
20
+ Ze(ut);
21
+ const q = et(ct, C), {
22
+ className: xe,
23
+ value: b,
24
+ defaultValue: he,
26
25
  format: l,
27
- width: X,
28
- tabIndex: he,
29
- accessKey: Ie,
26
+ width: Z,
27
+ tabIndex: Ie,
28
+ accessKey: Oe,
30
29
  title: Le,
31
- placeholder: Z,
30
+ placeholder: ee,
32
31
  min: c,
33
- max: i,
34
- spinners: Oe,
35
- disabled: u,
36
- dir: ee,
37
- name: G,
38
- label: h,
32
+ max: d,
33
+ dir: te,
34
+ name: j,
35
+ label: I,
39
36
  id: Pe,
40
- prefix: Ne,
41
- suffix: De,
42
- ariaDescribedBy: Re,
43
- validityStyles: te,
44
- ariaLabelledBy: Be,
45
- required: j,
46
- ariaLabel: Me,
47
- inputType: Fe,
48
- rangeOnEnter: ne,
37
+ ariaDescribedBy: Ne,
38
+ ariaLabelledBy: De,
39
+ ariaLabel: Re,
40
+ inputType: Be,
49
41
  readOnly: g,
50
- onChange: C,
51
- onFocus: re,
52
- onBlur: ae,
53
- validationMessage: q,
54
- children: Te,
55
- size: A,
56
- rounded: _,
57
- fillMode: le,
58
- style: se,
59
- inputStyle: ze,
60
- valid: H,
61
- ...ue
62
- } = z, Ge = et(), oe = Pe || Ge, s = Ye(), I = Je(), a = n.useRef(null), L = n.useRef(), [je, E] = n.useState(!1), o = n.useRef(ve()), O = n.useRef(!1), K = n.useRef(), S = n.useRef(xe), x = F(
63
- o.current.focused && !u ? o.current.currentLooseValue : J(p, S.current),
42
+ validationMessage: A,
43
+ children: Me,
44
+ style: ne,
45
+ inputStyle: Fe,
46
+ valid: _,
47
+ step: v = i.step,
48
+ spinners: Te = i.spinners,
49
+ disabled: o = i.disabled,
50
+ required: H = i.required,
51
+ validityStyles: re = i.validityStyles,
52
+ prefix: ze = i.prefix,
53
+ suffix: Ge = i.suffix,
54
+ onChange: E = i.onChange,
55
+ onFocus: ae = i.onFocus,
56
+ onBlur: le = i.onBlur,
57
+ rangeOnEnter: se = i.rangeOnEnter,
58
+ size: K = i.size,
59
+ rounded: w = i.rounded,
60
+ fillMode: O = i.fillMode,
61
+ ...oe
62
+ } = q, qe = tt(), ue = Pe || qe, s = Je(), L = Qe(), a = n.useRef(null), P = n.useRef(), [je, S] = n.useState(!1), u = n.useRef(ve()), N = n.useRef(!1), U = n.useRef(), x = n.useRef(he), h = z(
63
+ u.current.focused && !o ? u.current.currentLooseValue : X(b, x.current),
64
64
  l,
65
65
  s
66
66
  );
67
- K.current = x;
68
- const [qe] = pe(Ne), [Ae] = pe(De);
67
+ U.current = h;
68
+ const [Ae] = pe(ze), [_e] = pe(Ge);
69
69
  n.useEffect(
70
70
  () => {
71
71
  a.current && a.current.setCustomValidity && a.current.setCustomValidity(
72
- D().valid ? "" : q || ot
72
+ B().valid ? "" : A || it
73
73
  );
74
74
  }
75
75
  );
76
- const ce = n.useCallback(
76
+ const ie = n.useCallback(
77
77
  () => {
78
78
  a.current && a.current.focus();
79
79
  },
80
80
  []
81
- ), P = n.useCallback(
82
- () => L.current !== void 0 ? L.current : J(p, S.current),
83
- [p]
84
- ), ie = n.useCallback(
85
- () => G,
86
- [G]
87
- ), N = n.useCallback(
81
+ ), D = n.useCallback(
82
+ () => P.current !== void 0 ? P.current : X(b, x.current),
83
+ [b]
84
+ ), ce = n.useCallback(
88
85
  () => j,
89
86
  [j]
90
- ), D = n.useCallback(
87
+ ), R = n.useCallback(
88
+ () => H,
89
+ [H]
90
+ ), B = n.useCallback(
91
91
  () => {
92
- const r = q !== void 0, e = P(), y = H !== void 0 ? H : !o.current.valueIsOutOfRange && (!N() || e != null);
92
+ const r = A !== void 0, e = D(), V = _ !== void 0 ? _ : !u.current.valueIsOutOfRange && (!R() || e != null);
93
93
  return {
94
94
  customError: r,
95
- valid: y,
95
+ valid: V,
96
96
  valueMissing: e == null
97
97
  };
98
98
  },
99
- [q, H, P, N]
100
- ), w = n.useCallback(
101
- () => te,
102
- [te]
99
+ [A, _, D, R]
100
+ ), $ = n.useCallback(
101
+ () => re,
102
+ [re]
103
103
  ), de = n.useCallback(
104
- () => z,
105
- [z]
106
- ), v = n.useCallback(
104
+ () => q,
105
+ [q]
106
+ ), y = n.useCallback(
107
107
  () => {
108
108
  const r = {
109
109
  element: a.current,
110
- focus: ce
110
+ focus: ie
111
111
  };
112
- return Object.defineProperty(r, "name", { get: ie }), Object.defineProperty(r, "value", { get: P }), Object.defineProperty(r, "validity", { get: D }), Object.defineProperty(r, "validityStyles", { get: w }), Object.defineProperty(r, "required", { get: N }), Object.defineProperty(r, "props", { get: de }), r;
112
+ return Object.defineProperty(r, "name", { get: ce }), Object.defineProperty(r, "value", { get: D }), Object.defineProperty(r, "validity", { get: B }), Object.defineProperty(r, "validityStyles", { get: $ }), Object.defineProperty(r, "required", { get: R }), Object.defineProperty(r, "props", { get: de }), r;
113
113
  },
114
- [ie, P, D, w, N, ce, de]
114
+ [ce, D, B, $, R, ie, de]
115
115
  );
116
- n.useImperativeHandle(Ee, v);
117
- const m = n.useCallback(
116
+ n.useImperativeHandle(Se, y);
117
+ const f = n.useCallback(
118
118
  () => ({
119
- eventValue: J(p, S.current),
120
- prevLooseValue: K.current,
119
+ eventValue: X(b, x.current),
120
+ prevLooseValue: U.current,
121
121
  currentLooseValue: a.current.value,
122
122
  selectionStart: a.current.selectionStart,
123
123
  selectionEnd: a.current.selectionEnd,
124
124
  decimalSelect: !1,
125
125
  valueIsCorrected: !1,
126
126
  valueIsOutOfRange: !1,
127
- isPaste: O.current,
128
- focused: o.current.focused
127
+ isPaste: N.current,
128
+ focused: u.current.focused
129
129
  }),
130
- [p]
131
- ), f = n.useCallback(
130
+ [b]
131
+ ), p = n.useCallback(
132
132
  (r, e) => {
133
- if (u)
133
+ if (o)
134
134
  return;
135
- L.current = e.eventValue, S.current = e.eventValue;
136
- const y = F(T(e.eventValue, c, i), l, s), d = T(s.parseNumber(y, l), c, i);
137
- d !== e.eventValue && (e.valueIsOutOfRange = !0, e.eventValue = d, S.current = d), p !== e.eventValue && Y(
138
- C,
135
+ P.current = e.eventValue, x.current = e.eventValue;
136
+ const V = z(G(e.eventValue, c, d), l, s), m = G(s.parseNumber(V, l), c, d);
137
+ m !== e.eventValue && (e.valueIsOutOfRange = !0, e.eventValue = m, x.current = m), b !== e.eventValue && Q(
138
+ E,
139
139
  r,
140
- v(),
140
+ y(),
141
141
  { value: e.eventValue }
142
- ), L.current = void 0, o.current = e, E((W) => !W);
142
+ ), P.current = void 0, u.current = e, S((J) => !J);
143
143
  },
144
- [p, C, u, E, v]
145
- ), _e = n.useCallback(
144
+ [b, E, o, S, y]
145
+ ), He = n.useCallback(
146
146
  (r) => {
147
- const e = m();
148
- O.current = !1, f(r, ye(e, l, s));
147
+ const e = f();
148
+ N.current = !1, p(r, ye(e, l, s));
149
149
  },
150
- [l, C, s, f, m]
151
- ), He = n.useCallback(
150
+ [l, E, s, p, f]
151
+ ), Ke = n.useCallback(
152
152
  (r) => {
153
- let e = m();
154
- const y = s.parseNumber(String(e.currentLooseValue), l);
153
+ let e = f();
154
+ const V = s.parseNumber(String(e.currentLooseValue), l);
155
155
  if (e.selectionEnd > e.selectionStart && e.selectionEnd - e.selectionStart === String(e.currentLooseValue).length) {
156
- const d = s.numberSymbols(), V = d && r.key === d.minusSign, W = d && r.key === d.decimal;
157
- O.current = !V && !W;
156
+ const m = s.numberSymbols(), k = m && r.key === m.minusSign, J = m && r.key === m.decimal;
157
+ N.current = !k && !J;
158
158
  return;
159
159
  }
160
160
  switch (r.keyCode) {
161
161
  case 38:
162
162
  ke(
163
- y,
163
+ V,
164
164
  e,
165
- b,
165
+ v,
166
166
  c,
167
- i,
167
+ d,
168
168
  l,
169
169
  s
170
170
  );
171
171
  break;
172
172
  case 40:
173
173
  Ve(
174
- y,
174
+ V,
175
175
  e,
176
- b,
176
+ v,
177
177
  c,
178
- i,
178
+ d,
179
179
  l,
180
180
  s
181
181
  );
182
182
  break;
183
183
  case 13: {
184
- if (ne === !1)
184
+ if (se === !1)
185
185
  return;
186
- const d = F(T(y, c, i), l, s), V = T(s.parseNumber(d, l), c, i);
187
- e.eventValue = V, e.currentLooseValue = F(V, l, s), e.selectionStart = e.selectionEnd = e.currentLooseValue.length;
186
+ const m = z(G(V, c, d), l, s), k = G(s.parseNumber(m, l), c, d);
187
+ e.eventValue = k, e.currentLooseValue = z(k, l, s), e.selectionStart = e.selectionEnd = e.currentLooseValue.length;
188
188
  break;
189
189
  }
190
190
  case 110: {
191
- const d = a.current, V = s.numberSymbols();
192
- d && (e.currentLooseValue = e.currentLooseValue.slice(0, e.selectionStart) + V.decimal + e.currentLooseValue.slice(e.selectionEnd), e.selectionStart = e.selectionEnd = e.selectionStart + 1, e = ye(e, l, s));
191
+ const m = a.current, k = s.numberSymbols();
192
+ m && (e.currentLooseValue = e.currentLooseValue.slice(0, e.selectionStart) + k.decimal + e.currentLooseValue.slice(e.selectionEnd), e.selectionStart = e.selectionEnd = e.selectionStart + 1, e = ye(e, l, s));
193
193
  break;
194
194
  }
195
195
  default:
196
196
  return;
197
197
  }
198
- r.preventDefault(), f(r, e);
198
+ r.preventDefault(), p(r, e);
199
199
  },
200
- [l, c, i, b, C, ne, f, m]
201
- ), Ke = n.useCallback(
200
+ [l, c, d, v, E, se, p, f]
201
+ ), we = n.useCallback(
202
202
  () => {
203
- O.current = !0;
203
+ N.current = !0;
204
204
  },
205
205
  []
206
- ), U = n.useCallback(
206
+ ), W = n.useCallback(
207
207
  (r) => {
208
- if (g || u)
208
+ if (g || o)
209
209
  return;
210
- const e = m();
210
+ const e = f();
211
211
  ke(
212
212
  s.parseNumber(String(e.currentLooseValue), l),
213
213
  e,
214
- b,
214
+ v,
215
215
  c,
216
- i,
216
+ d,
217
217
  l,
218
218
  s
219
- ), f(r, e);
219
+ ), p(r, e);
220
220
  },
221
- [l, c, i, b, C, g, u, f, m]
222
- ), $ = n.useCallback(
221
+ [l, c, d, v, E, g, o, p, f]
222
+ ), Y = n.useCallback(
223
223
  (r) => {
224
- if (g || u)
224
+ if (g || o)
225
225
  return;
226
- const e = m();
226
+ const e = f();
227
227
  Ve(
228
228
  s.parseNumber(String(e.currentLooseValue), l),
229
229
  e,
230
- b,
230
+ v,
231
231
  c,
232
- i,
232
+ d,
233
233
  l,
234
234
  s
235
- ), f(r, e);
235
+ ), p(r, e);
236
236
  },
237
- [l, c, i, b, C, g, u, f, m]
238
- ), we = n.useCallback(
237
+ [l, c, d, v, E, g, o, p, f]
238
+ ), Ue = n.useCallback(
239
239
  (r) => {
240
240
  const e = be(document);
241
- !document || e !== a.current || !a.current || g || u || (r.nativeEvent.deltaY < 0 && U(r), r.nativeEvent.deltaY > 0 && $(r));
241
+ !document || e !== a.current || !a.current || g || o || (r.nativeEvent.deltaY < 0 && W(r), r.nativeEvent.deltaY > 0 && Y(r));
242
242
  },
243
- [U, $, u, g]
244
- ), Ue = n.useCallback(
243
+ [W, Y, o, g]
244
+ ), $e = n.useCallback(
245
245
  (r) => {
246
- o.current.currentLooseValue = K.current, o.current.focused = !0, Y(
247
- re,
246
+ u.current.currentLooseValue = U.current, u.current.focused = !0, Q(
247
+ ae,
248
248
  r,
249
- v(),
249
+ y(),
250
250
  {}
251
- ), E((e) => !e);
251
+ ), S((e) => !e);
252
252
  },
253
- [re, E, v]
254
- ), $e = n.useCallback(
253
+ [ae, S, y]
254
+ ), We = n.useCallback(
255
255
  (r) => {
256
- o.current = ve(), Y(
257
- ae,
256
+ u.current = ve(), Q(
257
+ le,
258
258
  r,
259
- v(),
259
+ y(),
260
260
  {}
261
- ), E((e) => !e);
261
+ ), S((e) => !e);
262
262
  },
263
- [ae, E, v]
264
- ), We = n.useCallback(
263
+ [le, S, y]
264
+ ), Ye = n.useCallback(
265
265
  (r) => {
266
266
  if (document && a.current) {
267
267
  const e = be(document);
@@ -270,75 +270,75 @@ const ot = "Please enter a valid value!", ct = Qe(), Q = n.forwardRef((k, Ee) =>
270
270
  },
271
271
  []
272
272
  );
273
- tt(
273
+ nt(
274
274
  () => {
275
- a.current && a.current.type !== "number" && o.current.selectionStart !== void 0 && o.current.selectionEnd !== void 0 && (a.current.selectionStart = o.current.selectionStart, a.current.selectionEnd = o.current.selectionEnd, o.current.selectionStart = void 0, o.current.selectionEnd = void 0);
275
+ a.current && a.current.type !== "number" && u.current.selectionStart !== void 0 && u.current.selectionEnd !== void 0 && (a.current.selectionStart = u.current.selectionStart, a.current.selectionEnd = u.current.selectionEnd, u.current.selectionStart = void 0, u.current.selectionEnd = void 0);
276
276
  },
277
277
  [je]
278
278
  );
279
- const me = !w() || D().valid, fe = /* @__PURE__ */ n.createElement(
279
+ const me = !$() || B().valid, fe = /* @__PURE__ */ n.createElement(
280
280
  "span",
281
281
  {
282
- dir: ee,
283
- style: h ? se : { width: X, ...se },
284
- className: nt(
282
+ dir: te,
283
+ style: I ? ne : { width: Z, ...ne },
284
+ className: rt(
285
285
  "k-input",
286
286
  "k-numerictextbox",
287
287
  {
288
- [`k-input-${ge.sizeMap[A] || A}`]: A,
289
- [`k-input-${le}`]: le,
290
- [`k-rounded-${ge.roundedMap[_] || _}`]: _,
288
+ [`k-input-${ge.sizeMap[K] || K}`]: K,
289
+ [`k-input-${O}`]: O,
290
+ [`k-rounded-${ge.roundedMap[w] || w}`]: w,
291
291
  "k-invalid": !me,
292
- "k-required": j,
293
- "k-disabled": u
292
+ "k-required": H,
293
+ "k-disabled": o
294
294
  },
295
- Se
295
+ xe
296
296
  ),
297
- "aria-disabled": u ? "true" : void 0,
298
- ...h ? {} : ue
297
+ "aria-disabled": o ? "true" : void 0,
298
+ ...I ? {} : oe
299
299
  },
300
- /* @__PURE__ */ n.createElement(qe, null),
300
+ /* @__PURE__ */ n.createElement(Ae, null),
301
301
  /* @__PURE__ */ n.createElement(
302
302
  "input",
303
303
  {
304
304
  role: "spinbutton",
305
- value: x === null ? "" : x,
306
- tabIndex: rt(he, u),
307
- accessKey: Ie,
308
- disabled: u,
305
+ value: h === null ? "" : h,
306
+ tabIndex: at(Ie, o),
307
+ accessKey: Oe,
308
+ disabled: o,
309
309
  title: Le,
310
- "aria-disabled": u ? "true" : void 0,
310
+ "aria-disabled": o ? "true" : void 0,
311
311
  "aria-valuemin": c,
312
- "aria-valuemax": i,
313
- "aria-label": Me,
314
- "aria-labelledby": Be,
315
- "aria-describedby": Re,
316
- placeholder: Z,
312
+ "aria-valuemax": d,
313
+ "aria-label": Re,
314
+ "aria-labelledby": De,
315
+ "aria-describedby": Ne,
316
+ placeholder: ee,
317
317
  spellCheck: !1,
318
318
  autoComplete: "off",
319
319
  autoCorrect: "off",
320
- type: Fe || "tel",
320
+ type: Be || "tel",
321
321
  className: "k-input-inner",
322
- id: oe,
323
- name: G,
322
+ id: ue,
323
+ name: j,
324
324
  readOnly: g,
325
- style: ze,
326
- onChange: _e,
327
- onFocus: Ue,
328
- onBlur: $e,
329
- onKeyDown: He,
330
- onPaste: Ke,
331
- onWheel: we,
325
+ style: Fe,
326
+ onChange: He,
327
+ onFocus: $e,
328
+ onBlur: We,
329
+ onKeyDown: Ke,
330
+ onPaste: we,
331
+ onWheel: Ue,
332
332
  ref: a
333
333
  }
334
334
  ),
335
- /* @__PURE__ */ n.createElement(Ae, null),
336
- Te,
337
- Oe && /* @__PURE__ */ n.createElement(
335
+ /* @__PURE__ */ n.createElement(_e, null),
336
+ Me,
337
+ Te && /* @__PURE__ */ n.createElement(
338
338
  "span",
339
339
  {
340
340
  className: "k-input-spinner k-spin-button",
341
- onMouseDown: We
341
+ onMouseDown: Ye
342
342
  },
343
343
  /* @__PURE__ */ n.createElement(
344
344
  Ce,
@@ -346,12 +346,13 @@ const ot = "Please enter a valid value!", ct = Qe(), Q = n.forwardRef((k, Ee) =>
346
346
  tabIndex: -1,
347
347
  type: "button",
348
348
  icon: "caret-alt-up",
349
- svgIcon: at,
349
+ svgIcon: lt,
350
350
  rounded: null,
351
+ fillMode: O,
351
352
  className: "k-spinner-increase",
352
- "aria-label": I.toLanguageString(R, B[R]),
353
- title: I.toLanguageString(R, B[R]),
354
- onClick: U
353
+ "aria-label": L.toLanguageString(M, F[M]),
354
+ title: L.toLanguageString(M, F[M]),
355
+ onClick: W
355
356
  }
356
357
  ),
357
358
  /* @__PURE__ */ n.createElement(
@@ -360,33 +361,34 @@ const ot = "Please enter a valid value!", ct = Qe(), Q = n.forwardRef((k, Ee) =>
360
361
  tabIndex: -1,
361
362
  type: "button",
362
363
  icon: "caret-alt-down",
363
- svgIcon: lt,
364
+ svgIcon: st,
364
365
  rounded: null,
366
+ fillMode: O,
365
367
  className: "k-spinner-decrease",
366
- "aria-label": I.toLanguageString(M, B[M]),
367
- title: I.toLanguageString(M, B[M]),
368
- onClick: $
368
+ "aria-label": L.toLanguageString(T, F[T]),
369
+ title: L.toLanguageString(T, F[T]),
370
+ onClick: Y
369
371
  }
370
372
  )
371
373
  )
372
374
  );
373
- return h ? /* @__PURE__ */ n.createElement(
374
- st,
375
+ return I ? /* @__PURE__ */ n.createElement(
376
+ ot,
375
377
  {
376
- label: h,
377
- editorId: oe,
378
- editorValue: x === null ? "" : x,
378
+ label: I,
379
+ editorId: ue,
380
+ editorValue: h === null ? "" : h,
379
381
  editorValid: me,
380
- editorDisabled: u,
381
- editorPlaceholder: Z,
382
+ editorDisabled: o,
383
+ editorPlaceholder: ee,
382
384
  children: fe,
383
- style: { width: X },
384
- dir: ee,
385
- ...ue
385
+ style: { width: Z },
386
+ dir: te,
387
+ ...oe
386
388
  }
387
389
  ) : fe;
388
390
  });
389
- Q.propTypes = {
391
+ Ee.propTypes = {
390
392
  value: t.number,
391
393
  defaultValue: t.number,
392
394
  step: t.number,
@@ -432,27 +434,27 @@ Q.propTypes = {
432
434
  rounded: t.oneOf([null, "small", "medium", "large", "full"]),
433
435
  fillMode: t.oneOf([null, "solid", "flat", "outline"])
434
436
  };
435
- Q.displayName = "KendoNumericTextBox";
436
- Q.defaultProps = {
437
- prefix: (k) => null,
438
- suffix: (k) => null,
437
+ const i = {
438
+ prefix: (C) => null,
439
+ suffix: (C) => null,
439
440
  step: 1,
440
441
  spinners: !0,
441
442
  disabled: !1,
442
443
  required: !1,
443
444
  validityStyles: !0,
444
445
  rangeOnEnter: !0,
445
- onChange: (k) => {
446
+ onChange: (C) => {
446
447
  },
447
- onFocus: (k) => {
448
+ onFocus: (C) => {
448
449
  },
449
- onBlur: (k) => {
450
+ onBlur: (C) => {
450
451
  },
451
452
  size: "medium",
452
453
  rounded: "medium",
453
454
  fillMode: "solid"
454
455
  };
456
+ Ee.displayName = "KendoNumericTextBox";
455
457
  export {
456
- Q as NumericTextBox,
458
+ Ee as NumericTextBox,
457
459
  ct as NumericTextBoxPropsContext
458
460
  };
@@ -10,7 +10,7 @@ const e = {
10
10
  name: "@progress/kendo-react-inputs",
11
11
  productName: "KendoReact",
12
12
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
13
- publishDate: 1718182089,
13
+ publishDate: 1719467390,
14
14
  version: "",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-inputs",
3
- "version": "8.1.0-develop.9",
3
+ "version": "8.1.0",
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",
@@ -25,13 +25,13 @@
25
25
  "@progress/kendo-drawing": "^1.20.1",
26
26
  "@progress/kendo-inputs-common": "^3.1.0",
27
27
  "@progress/kendo-licensing": "^1.3.4",
28
- "@progress/kendo-react-animation": "8.1.0-develop.9",
29
- "@progress/kendo-react-buttons": "8.1.0-develop.9",
30
- "@progress/kendo-react-common": "8.1.0-develop.9",
31
- "@progress/kendo-react-dialogs": "8.1.0-develop.9",
32
- "@progress/kendo-react-intl": "8.1.0-develop.9",
33
- "@progress/kendo-react-labels": "8.1.0-develop.9",
34
- "@progress/kendo-react-popup": "8.1.0-develop.9",
28
+ "@progress/kendo-react-animation": "8.1.0",
29
+ "@progress/kendo-react-buttons": "8.1.0",
30
+ "@progress/kendo-react-common": "8.1.0",
31
+ "@progress/kendo-react-dialogs": "8.1.0",
32
+ "@progress/kendo-react-intl": "8.1.0",
33
+ "@progress/kendo-react-labels": "8.1.0",
34
+ "@progress/kendo-react-popup": "8.1.0",
35
35
  "@progress/kendo-svg-icons": "^3.0.0",
36
36
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0",
37
37
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"