@progress/kendo-react-inputs 15.2.0-develop.1 → 15.2.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.
Files changed (47) hide show
  1. package/checkbox/Checkbox.js +1 -1
  2. package/checkbox/Checkbox.mjs +79 -77
  3. package/colors/ColorContrastLabels.js +1 -1
  4. package/colors/ColorContrastLabels.mjs +2 -2
  5. package/colors/ColorGradient.js +1 -1
  6. package/colors/ColorGradient.mjs +51 -52
  7. package/colors/ColorPalette.js +1 -1
  8. package/colors/ColorPalette.mjs +71 -72
  9. package/colors/ColorPicker.js +1 -1
  10. package/colors/ColorPicker.mjs +247 -239
  11. package/colors/FlatColorPicker.d.ts +4 -4
  12. package/colors/FlatColorPicker.js +1 -1
  13. package/colors/FlatColorPicker.mjs +104 -100
  14. package/colors/interfaces/ColorPaletteProps.d.ts +7 -0
  15. package/colors/interfaces/ColorPickerPaletteSettings.d.ts +5 -0
  16. package/dist/cdn/js/kendo-react-inputs.js +1 -1
  17. package/maskedtextbox/MaskedTextBox.d.ts +1 -0
  18. package/maskedtextbox/MaskedTextBox.js +1 -1
  19. package/maskedtextbox/MaskedTextBox.mjs +26 -23
  20. package/maskedtextbox/MaskedTextBoxProps.d.ts +7 -0
  21. package/messages/index.d.ts +5 -0
  22. package/messages/index.js +1 -1
  23. package/messages/index.mjs +46 -44
  24. package/numerictextbox/NumericTextBox.js +1 -1
  25. package/numerictextbox/NumericTextBox.mjs +2 -2
  26. package/otpinput/OTPInput.js +1 -1
  27. package/otpinput/OTPInput.mjs +141 -143
  28. package/package-metadata.js +1 -1
  29. package/package-metadata.mjs +2 -2
  30. package/package.json +10 -10
  31. package/radiobutton/RadioButton.js +1 -1
  32. package/radiobutton/RadioButton.mjs +32 -30
  33. package/range-slider/RangeSlider.js +11 -11
  34. package/range-slider/RangeSlider.mjs +54 -54
  35. package/rating/Rating.d.ts +12 -0
  36. package/rating/Rating.js +2 -2
  37. package/rating/Rating.mjs +91 -92
  38. package/signature/Signature.js +1 -1
  39. package/signature/Signature.mjs +113 -110
  40. package/slider/Slider.d.ts +12 -0
  41. package/slider/Slider.js +1 -1
  42. package/slider/Slider.mjs +61 -56
  43. package/switch/Switch.d.ts +15 -0
  44. package/switch/Switch.js +1 -1
  45. package/switch/Switch.mjs +82 -79
  46. package/textarea/TextArea.js +1 -1
  47. package/textarea/TextArea.mjs +11 -12
@@ -14,7 +14,7 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
14
14
  rounded: b = i.rounded,
15
15
  fillMode: w = i.fillMode,
16
16
  autoFocus: G = i.autoFocus,
17
- flow: v = i.flow,
17
+ flow: g = i.flow,
18
18
  prefix: J = null,
19
19
  suffix: Q = null,
20
20
  ariaDescribedBy: U,
@@ -31,7 +31,7 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
31
31
  placeholder: te,
32
32
  style: ae,
33
33
  tabIndex: re,
34
- value: g,
34
+ value: v,
35
35
  valid: I,
36
36
  validationMessage: M,
37
37
  validityStyles: S,
@@ -50,7 +50,7 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
50
50
  a.current && a.current.focus();
51
51
  }, []), E = t.useCallback(() => {
52
52
  a.current && a.current.blur();
53
- }, []), [O, B] = t.useState(Z), [se, A] = t.useState(!1), [le, ue] = q(J), [ie, ce] = q(Q), f = g !== void 0, m = f ? g : O, N = F || P, n = t.useCallback(() => ({
53
+ }, []), [O, B] = t.useState(Z), [se, A] = t.useState(!1), [le, ue] = q(J), [ie, ce] = q(Q), f = v !== void 0, m = f ? v : O, N = F || P, n = t.useCallback(() => ({
54
54
  element: a,
55
55
  focus: V,
56
56
  blur: E,
@@ -110,7 +110,7 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
110
110
  onValueChange: be,
111
111
  enabled: !!N
112
112
  });
113
- const ve = t.useMemo(() => {
113
+ const ge = t.useMemo(() => {
114
114
  let r = {};
115
115
  return c ? r = {
116
116
  resize: "none",
@@ -120,13 +120,13 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
120
120
  ...r,
121
121
  ...T
122
122
  };
123
- }, [c, l, H, T]), ge = {
123
+ }, [c, l, H, T]), ve = {
124
124
  id: P || de,
125
125
  name: F,
126
126
  className: D("k-input-inner", "!k-overflow-auto", {
127
127
  "k-resize": !c && l !== "none",
128
128
  "k-resize-none": c || l === "none",
129
- "!k-flex-none": v === "vertical"
129
+ "!k-flex-none": g === "vertical"
130
130
  }),
131
131
  ref: a,
132
132
  disabled: o,
@@ -136,12 +136,11 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
136
136
  required: d,
137
137
  tabIndex: we(re, o),
138
138
  autoFocus: G,
139
- style: ve,
139
+ style: ge,
140
140
  "aria-labelledby": X,
141
141
  "aria-describedby": U,
142
- "aria-disabled": o || void 0,
143
142
  "aria-required": d,
144
- value: f ? g : O,
143
+ value: f ? v : O,
145
144
  ...Object.assign({}, ne, oe),
146
145
  onChange: C,
147
146
  onFocus: me,
@@ -161,8 +160,8 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
161
160
  "k-required": d,
162
161
  "k-disabled": o,
163
162
  "k-focus": se,
164
- "!k-flex-col": v === "vertical",
165
- "!k-flex-row": v === "horizontal"
163
+ "!k-flex-col": g === "vertical",
164
+ "!k-flex-row": g === "horizontal"
166
165
  },
167
166
  Y
168
167
  ),
@@ -170,7 +169,7 @@ const Fe = Pe(), L = t.forwardRef((j, W) => {
170
169
  dir: fe
171
170
  },
172
171
  s.prefix && /* @__PURE__ */ t.createElement(le, { ...ue }),
173
- /* @__PURE__ */ t.createElement("textarea", { ...ge }),
172
+ /* @__PURE__ */ t.createElement("textarea", { ...ve }),
174
173
  s.suffix && /* @__PURE__ */ t.createElement(ie, { ...ce })
175
174
  );
176
175
  });