@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
@@ -8,8 +8,8 @@
8
8
  import * as t from "react";
9
9
  import o from "prop-types";
10
10
  import { useUnstyled as V, useCustomComponent as g, useKendoPaste as w, useAsyncFocusBlur as D, classNames as h, kendoThemeMaps as C, uTextBox as G } from "@progress/kendo-react-common";
11
- const _ = t.forwardRef((e, k) => {
12
- const u = t.useRef(null), i = t.useRef(null), l = t.useRef(void 0), f = V(), y = f && f.uTextBox, b = t.useCallback(() => {
11
+ const k = t.forwardRef((e, y) => {
12
+ const u = t.useRef(null), i = t.useRef(null), l = t.useRef(void 0), f = V(), b = f && f.uTextBox, B = t.useCallback(() => {
13
13
  var n;
14
14
  return l.current !== void 0 ? l.current : (n = u.current) == null ? void 0 : n.value;
15
15
  }, []);
@@ -21,15 +21,15 @@ const _ = t.forwardRef((e, k) => {
21
21
  return u.current && u.current.name;
22
22
  },
23
23
  get value() {
24
- return b();
24
+ return B();
25
25
  }
26
- })), t.useImperativeHandle(k, () => i.current);
26
+ })), t.useImperativeHandle(y, () => i.current);
27
27
  const {
28
28
  size: r = a.size,
29
29
  fillMode: c = a.fillMode,
30
30
  rounded: s = a.rounded,
31
- autoFocus: B = a.autoFocus,
32
- inputAttributes: F,
31
+ autoFocus: F = a.autoFocus,
32
+ inputAttributes: _,
33
33
  className: m,
34
34
  dir: M,
35
35
  style: E,
@@ -101,9 +101,9 @@ const _ = t.forwardRef((e, k) => {
101
101
  "input",
102
102
  {
103
103
  ref: u,
104
- className: h(G.inputInner({ c: y })),
105
- autoFocus: B,
106
- ...Object.assign({}, R, F),
104
+ className: h(G.inputInner({ c: b })),
105
+ autoFocus: F,
106
+ ...Object.assign({}, R, _),
107
107
  "aria-required": e.required,
108
108
  onChange: d
109
109
  }
@@ -116,14 +116,14 @@ const _ = t.forwardRef((e, k) => {
116
116
  fillMode: void 0,
117
117
  autoFocus: !1
118
118
  };
119
- _.propTypes = {
119
+ k.propTypes = {
120
120
  size: o.oneOf(["small", "medium", "large"]),
121
121
  rounded: o.oneOf(["small", "medium", "large", "full", "none"]),
122
122
  fillMode: o.oneOf(["solid", "flat", "outline"]),
123
123
  autoFocus: o.bool,
124
124
  inputAttributes: o.object
125
125
  };
126
- _.displayName = "KendoReactTextBoxComponent";
126
+ k.displayName = "KendoReactTextBoxComponent";
127
127
  export {
128
- _ as TextBox
128
+ k as TextBox
129
129
  };