@progress/kendo-react-inputs 13.3.0-develop.9 → 13.4.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 (149) hide show
  1. package/checkbox/Checkbox.d.ts +49 -0
  2. package/checkbox/Checkbox.js +1 -1
  3. package/checkbox/Checkbox.mjs +35 -36
  4. package/checkbox/interfaces/CheckboxBlurEvent.d.ts +14 -0
  5. package/checkbox/interfaces/CheckboxChangeEvent.d.ts +18 -0
  6. package/checkbox/interfaces/CheckboxFocusEvent.d.ts +14 -0
  7. package/checkbox/interfaces/CheckboxProps.d.ts +148 -0
  8. package/colors/ColorContrastLabels.d.ts +22 -0
  9. package/colors/ColorContrastSvg.d.ts +25 -0
  10. package/colors/ColorGradient.d.ts +215 -0
  11. package/colors/ColorGradient.js +1 -1
  12. package/colors/ColorGradient.mjs +20 -19
  13. package/colors/ColorInput.d.ts +40 -0
  14. package/colors/ColorInput.js +1 -1
  15. package/colors/ColorInput.mjs +20 -16
  16. package/colors/ColorPalette.d.ts +129 -0
  17. package/colors/ColorPalette.js +1 -1
  18. package/colors/ColorPalette.mjs +7 -7
  19. package/colors/ColorPicker.d.ts +34 -0
  20. package/colors/ColorPicker.js +1 -1
  21. package/colors/ColorPicker.mjs +96 -94
  22. package/colors/FlatColorPicker.d.ts +189 -0
  23. package/colors/FlatColorPicker.js +1 -1
  24. package/colors/FlatColorPicker.mjs +41 -40
  25. package/colors/HexInput.d.ts +39 -0
  26. package/colors/HexInput.js +1 -1
  27. package/colors/HexInput.mjs +2 -1
  28. package/colors/Picker.d.ts +13 -0
  29. package/colors/interfaces/ColorGradientChangeEvent.d.ts +18 -0
  30. package/colors/interfaces/ColorGradientProps.d.ts +160 -0
  31. package/colors/interfaces/ColorPaletteChangeEvent.d.ts +22 -0
  32. package/colors/interfaces/ColorPaletteProps.d.ts +116 -0
  33. package/colors/interfaces/ColorPickerActiveColorClick.d.ts +29 -0
  34. package/colors/interfaces/ColorPickerBlurEvent.d.ts +20 -0
  35. package/colors/interfaces/ColorPickerChangeEvent.d.ts +29 -0
  36. package/colors/interfaces/ColorPickerFocusEvent.d.ts +20 -0
  37. package/colors/interfaces/ColorPickerGradientSettings.d.ts +29 -0
  38. package/colors/interfaces/ColorPickerPaletteSettings.d.ts +39 -0
  39. package/colors/interfaces/ColorPickerPopupSettings.d.ts +21 -0
  40. package/colors/interfaces/ColorPickerProps.d.ts +242 -0
  41. package/colors/interfaces/ColorPickerView.d.ts +17 -0
  42. package/colors/interfaces/PickerPopupSettings.d.ts +29 -0
  43. package/colors/interfaces/PickerProps.d.ts +57 -0
  44. package/colors/models/hsva.d.ts +16 -0
  45. package/colors/models/output-format.d.ts +11 -0
  46. package/colors/models/palette-presets.d.ts +60 -0
  47. package/colors/models/rgb.d.ts +15 -0
  48. package/colors/models/rgba.d.ts +16 -0
  49. package/colors/models/table-cell.d.ts +14 -0
  50. package/colors/models/tile-size.d.ts +18 -0
  51. package/colors/utils/color-cache.d.ts +37 -0
  52. package/colors/utils/color-palette.service.d.ts +19 -0
  53. package/colors/utils/color-parser.d.ts +72 -0
  54. package/colors/utils/color-parser.js +1 -1
  55. package/colors/utils/color-parser.mjs +1 -1
  56. package/colors/utils/misc.d.ts +23 -0
  57. package/colors/utils/svg-calc.d.ts +69 -0
  58. package/common/AdaptiveMode.d.ts +21 -0
  59. package/common/SliderTooltip.d.ts +25 -0
  60. package/common/SwitchController.d.ts +38 -0
  61. package/common/SwitchModel.d.ts +14 -0
  62. package/dist/cdn/js/kendo-react-inputs.js +1 -1
  63. package/index.d.mts +72 -5128
  64. package/index.d.ts +72 -5128
  65. package/input/Input.d.ts +119 -0
  66. package/input/Input.js +1 -1
  67. package/input/Input.mjs +45 -43
  68. package/input/InputClearValue.d.ts +28 -0
  69. package/input/InputPrefix.d.ts +30 -0
  70. package/input/InputSeparator.d.ts +30 -0
  71. package/input/InputSuffix.d.ts +32 -0
  72. package/input/InputValidationIcon.d.ts +21 -0
  73. package/input/interfaces/InputChangeEvent.d.ts +18 -0
  74. package/interfaces/Direction.d.ts +8 -0
  75. package/interfaces/ToggleBaseProps.d.ts +24 -0
  76. package/maskedtextbox/MaskedTextBox.d.ts +224 -0
  77. package/maskedtextbox/MaskedTextBox.js +1 -1
  78. package/maskedtextbox/MaskedTextBox.mjs +80 -79
  79. package/maskedtextbox/MaskedTextBoxProps.d.ts +273 -0
  80. package/maskedtextbox/masking.service.d.ts +48 -0
  81. package/maskedtextbox/masking.service.mjs +9 -9
  82. package/maskedtextbox/parsing/combinators.d.ts +16 -0
  83. package/maskedtextbox/parsing/parsers.d.ts +54 -0
  84. package/maskedtextbox/parsing/result.d.ts +30 -0
  85. package/maskedtextbox/parsing/stream.d.ts +29 -0
  86. package/maskedtextbox/utils.d.ts +23 -0
  87. package/messages/index.d.ts +177 -0
  88. package/numerictextbox/NumericTextBox.d.ts +21 -0
  89. package/numerictextbox/NumericTextBox.js +1 -1
  90. package/numerictextbox/NumericTextBox.mjs +161 -161
  91. package/numerictextbox/interfaces/NumericTextBoxBlurEvent.d.ts +14 -0
  92. package/numerictextbox/interfaces/NumericTextBoxChangeEvent.d.ts +18 -0
  93. package/numerictextbox/interfaces/NumericTextBoxFocusEvent.d.ts +14 -0
  94. package/numerictextbox/interfaces/NumericTextBoxHandle.d.ts +46 -0
  95. package/numerictextbox/interfaces/NumericTextBoxProps.d.ts +212 -0
  96. package/numerictextbox/interfaces/NumericTextBoxState.d.ts +22 -0
  97. package/numerictextbox/utils/index.d.ts +126 -0
  98. package/package-metadata.d.ts +12 -0
  99. package/package-metadata.js +1 -1
  100. package/package-metadata.mjs +10 -16
  101. package/package.json +10 -10
  102. package/radiobutton/RadioButton.d.ts +36 -0
  103. package/radiobutton/RadioButton.js +1 -1
  104. package/radiobutton/RadioButton.mjs +8 -8
  105. package/radiobutton/RadioGroup.d.ts +36 -0
  106. package/radiobutton/interfaces/RadioButtonBlurEvent.d.ts +14 -0
  107. package/radiobutton/interfaces/RadioButtonChangeEvent.d.ts +18 -0
  108. package/radiobutton/interfaces/RadioButtonFocusEvent.d.ts +14 -0
  109. package/radiobutton/interfaces/RadioButtonProps.d.ts +107 -0
  110. package/radiobutton/interfaces/RadioGroupChangeEvent.d.ts +18 -0
  111. package/radiobutton/interfaces/RadioGroupFocusEvent.d.ts +14 -0
  112. package/radiobutton/interfaces/RadioGroupProps.d.ts +178 -0
  113. package/range-slider/RangeSlider.d.ts +152 -0
  114. package/range-slider/range-raducer.d.ts +46 -0
  115. package/rating/Rating.d.ts +302 -0
  116. package/rating/Rating.mjs +3 -3
  117. package/rating/RatingItem.d.ts +111 -0
  118. package/rating/models/index.d.ts +91 -0
  119. package/rating/rating-reducer.d.ts +39 -0
  120. package/rating/utils/index.d.ts +31 -0
  121. package/signature/Signature.d.ts +21 -0
  122. package/signature/Signature.js +1 -1
  123. package/signature/Signature.mjs +26 -23
  124. package/signature/interfaces/SignatureBlurEvent.d.ts +14 -0
  125. package/signature/interfaces/SignatureChangeEvent.d.ts +18 -0
  126. package/signature/interfaces/SignatureCloseEvent.d.ts +14 -0
  127. package/signature/interfaces/SignatureFocusEvent.d.ts +14 -0
  128. package/signature/interfaces/SignatureHandle.d.ts +49 -0
  129. package/signature/interfaces/SignatureOpenEvent.d.ts +14 -0
  130. package/signature/interfaces/SignatureProps.d.ts +324 -0
  131. package/signature/interfaces/index.d.ts +14 -0
  132. package/signature/utils/index.d.ts +11 -0
  133. package/slider/Slider.d.ts +288 -0
  134. package/slider/Slider.mjs +9 -9
  135. package/slider/SliderLabel.d.ts +51 -0
  136. package/switch/Switch.d.ts +397 -0
  137. package/switch/Switch.js +1 -1
  138. package/switch/Switch.mjs +29 -22
  139. package/textarea/TextArea.d.ts +40 -0
  140. package/textarea/TextArea.js +1 -1
  141. package/textarea/TextArea.mjs +41 -41
  142. package/textarea/interfaces/TextAreaBlurEvent.d.ts +14 -0
  143. package/textarea/interfaces/TextAreaChangeEvent.d.ts +18 -0
  144. package/textarea/interfaces/TextAreaFocusEvent.d.ts +14 -0
  145. package/textarea/interfaces/TextAreaProps.d.ts +199 -0
  146. package/textbox/Textbox.d.ts +99 -0
  147. package/textbox/Textbox.js +1 -1
  148. package/textbox/Textbox.mjs +70 -66
  149. package/utils.d.ts +11 -0
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { SignaturePad as Le } from "@progress/kendo-inputs-common";
9
9
  import { Button as T } from "@progress/kendo-react-buttons";
10
- import { createPropsContext as we, validatePackage as Ie, getLicenseMessage as Pe, usePropsContext as De, useIsomorphicLayoutEffect as Te, dispatchEvent as h, classNames as B, kendoThemeMaps as ee, getTabIndex as Be, WatermarkOverlay as Re, noop as f } from "@progress/kendo-react-common";
10
+ import { createPropsContext as we, validatePackage as Ie, getLicenseMessage as Pe, usePropsContext as De, noop as f, useIsomorphicLayoutEffect as Te, dispatchEvent as h, classNames as B, kendoThemeMaps as ee, getTabIndex as Be, WatermarkOverlay as Re } from "@progress/kendo-react-common";
11
11
  import { Dialog as Fe } from "@progress/kendo-react-dialogs";
12
12
  import { useLocalization as _e } from "@progress/kendo-react-intl";
13
13
  import a from "prop-types";
@@ -38,7 +38,7 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
38
38
  ..._
39
39
  }),
40
40
  [_]
41
- ), S = _e(), c = o.useRef(null), g = o.useRef(null), N = o.useRef(null), W = o.useRef(null), z = o.useRef(null), [r, me] = o.useState(), [b, q] = o.useState(!1), [E, G] = o.useState(!1), [k, A] = o.useState(), [pe, fe] = o.useState(), V = ie(e.value) ? e.value : k, [ge, be] = o.useState(!1), p = ie(e.open), m = p ? e.open : ge, ke = e.maximized || E || !e.maximizable || e.disabled, ye = !(e.maximized && !E), ve = !(!(e.value || k) || E || e.readOnly || e.disabled), j = S.toLanguageString(te, R[te]), U = S.toLanguageString(oe, R[oe]), H = S.toLanguageString(ne, R[ne]), O = e.popupScale || se, x = e.exportScale || le, M = (t) => {
41
+ ), S = _e(), c = o.useRef(null), g = o.useRef(null), N = o.useRef(null), W = o.useRef(null), z = o.useRef(null), [r, me] = o.useState(), [b, q] = o.useState(!1), [E, G] = o.useState(!1), [k, A] = o.useState(), [pe, fe] = o.useState(), V = ie(e.value) ? e.value : k, [ge, be] = o.useState(!1), p = ie(e.open), m = p ? e.open : ge, ke = e.maximized || E || !e.maximizable || e.disabled, ve = !(e.maximized && !E), ye = !(!(e.value || k) || E || e.readOnly || e.disabled), j = S.toLanguageString(te, R[te]), U = S.toLanguageString(oe, R[oe]), H = S.toLanguageString(ne, R[ne]), O = e.popupScale || se, x = e.exportScale || le, M = (t) => {
42
42
  A(t), e.onChange && e.onChange({ value: t });
43
43
  }, Ce = (t) => {
44
44
  r == null || r.loadImage(t.value), M(t.value);
@@ -48,7 +48,7 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
48
48
  }, [e.value]);
49
49
  const he = () => {
50
50
  r == null || r.clear(), M();
51
- }, y = o.useCallback(
51
+ }, v = o.useCallback(
52
52
  (t) => {
53
53
  p || be(t);
54
54
  },
@@ -93,14 +93,14 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
93
93
  const t = (l = (i = N.current) == null ? void 0 : i.element) == null ? void 0 : l.querySelector(".k-overlay");
94
94
  if (!t)
95
95
  return;
96
- const n = () => y(!1);
96
+ const n = () => v(!1);
97
97
  return t.addEventListener("click", n), () => t.removeEventListener("click", n);
98
98
  }, [m]), o.useEffect(() => {
99
99
  if (!m || typeof document == "undefined")
100
100
  return;
101
101
  const t = (n) => {
102
102
  var i, l;
103
- n.key === "Escape" && (y(!1), (l = (i = z.current) == null ? void 0 : i.element) == null || l.focus());
103
+ n.key === "Escape" && (v(!1), (l = (i = z.current) == null ? void 0 : i.element) == null || l.focus());
104
104
  };
105
105
  return document.addEventListener("keydown", t), () => document.removeEventListener("keydown", t);
106
106
  }, [m]), o.useEffect(() => {
@@ -110,22 +110,22 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
110
110
  const I = o.useCallback(() => {
111
111
  var t;
112
112
  return (t = g.current) == null ? void 0 : t.focus();
113
- }, []), v = o.useCallback(() => e.value, [e.value]), X = o.useCallback(() => e.name, [e.name]), C = o.useCallback(() => e.required, [e.required]), P = o.useCallback(() => {
114
- const t = e.validationMessage !== void 0, i = !v(), l = e.valid !== void 0 ? e.valid : !C() || !i;
113
+ }, []), y = o.useCallback(() => e.value, [e.value]), X = o.useCallback(() => e.name, [e.name]), C = o.useCallback(() => e.required, [e.required]), P = o.useCallback(() => {
114
+ const t = e.validationMessage !== void 0, i = !y(), l = e.valid !== void 0 ? e.valid : !C() || !i;
115
115
  return {
116
116
  customError: t,
117
117
  valid: l,
118
118
  valueMissing: i
119
119
  };
120
- }, [e.validationMessage, e.valid, v, C]), D = o.useCallback(() => e.validityStyles, [e.validityStyles]), J = o.useCallback(() => e, [e]), u = o.useCallback(() => {
120
+ }, [e.validationMessage, e.valid, y, C]), D = o.useCallback(() => e.validityStyles, [e.validityStyles]), J = o.useCallback(() => e, [e]), u = o.useCallback(() => {
121
121
  const t = {
122
122
  element: c.current,
123
123
  focus: I
124
124
  };
125
- return Object.defineProperty(t, "name", { get: X }), Object.defineProperty(t, "value", { get: v }), Object.defineProperty(t, "validity", { get: P }), Object.defineProperty(t, "validityStyles", { get: D }), Object.defineProperty(t, "required", { get: C }), Object.defineProperty(t, "props", { get: J }), Object.defineProperty(t, "color", { get: L }), Object.defineProperty(t, "backgroundColor", { get: w }), t;
125
+ return Object.defineProperty(t, "name", { get: X }), Object.defineProperty(t, "value", { get: y }), Object.defineProperty(t, "validity", { get: P }), Object.defineProperty(t, "validityStyles", { get: D }), Object.defineProperty(t, "required", { get: C }), Object.defineProperty(t, "props", { get: J }), Object.defineProperty(t, "color", { get: L }), Object.defineProperty(t, "backgroundColor", { get: w }), t;
126
126
  }, [
127
127
  X,
128
- v,
128
+ y,
129
129
  P,
130
130
  D,
131
131
  C,
@@ -147,12 +147,12 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
147
147
  [b, e.onBlur, u]
148
148
  ), Oe = o.useCallback(
149
149
  async (t) => {
150
- fe(await K(Z())), y(!0), h(e.onOpen, t, u(), {});
150
+ fe(await K(Z())), v(!0), h(e.onOpen, t, u(), {});
151
151
  },
152
152
  [m, p, e.onOpen, e.value, k, u]
153
153
  ), Q = o.useCallback(
154
154
  (t) => {
155
- y(!1), h(e.onClose, t, u(), {});
155
+ v(!1), h(e.onClose, t, u(), {});
156
156
  },
157
157
  [m, p, e.onClose, u]
158
158
  ), xe = () => {
@@ -221,8 +221,9 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
221
221
  ref: z,
222
222
  icon: "hyperlink-open",
223
223
  svgIcon: re,
224
- fillMode: "flat",
225
224
  size: e.size,
225
+ rounded: e.rounded,
226
+ fillMode: "flat",
226
227
  onClick: Oe,
227
228
  "aria-label": j,
228
229
  title: j
@@ -232,28 +233,30 @@ const qe = 250, Ge = 84, se = 3, le = 2, Ae = "#000000", Ve = "#ffffff", ie = (d
232
233
  {
233
234
  type: "button",
234
235
  className: B("k-signature-action", "k-signature-minimize", "k-rotate-180", {
235
- "k-hidden": e.disabled || ye
236
+ "k-hidden": e.disabled || ve
236
237
  }),
237
238
  ref: W,
238
239
  icon: "hyperlink-open",
239
240
  svgIcon: re,
240
- fillMode: "flat",
241
241
  size: e.size,
242
+ rounded: e.rounded,
243
+ fillMode: "flat",
242
244
  onClick: Q,
243
245
  "aria-label": U,
244
246
  title: U
245
247
  }
246
248
  )),
247
249
  !e.hideLine && /* @__PURE__ */ o.createElement("div", { className: "k-signature-line", style: { zIndex: 2, pointerEvents: "none" } }),
248
- /* @__PURE__ */ o.createElement("div", { className: "k-signature-actions k-signature-actions-bottom" }, ve && /* @__PURE__ */ o.createElement(
250
+ /* @__PURE__ */ o.createElement("div", { className: "k-signature-actions k-signature-actions-bottom" }, ye && /* @__PURE__ */ o.createElement(
249
251
  T,
250
252
  {
251
253
  type: "button",
252
254
  className: "k-signature-action k-signature-clear",
253
255
  icon: "x",
254
256
  svgIcon: We,
255
- fillMode: "flat",
256
257
  size: e.size,
258
+ rounded: e.rounded,
259
+ fillMode: "flat",
257
260
  onClick: xe,
258
261
  "aria-label": H,
259
262
  title: H
@@ -293,9 +296,9 @@ F.propTypes = {
293
296
  onBlur: a.func,
294
297
  onOpen: a.func,
295
298
  onClose: a.func,
296
- size: a.oneOf([null, "small", "medium", "large"]),
297
- rounded: a.oneOf([null, "small", "medium", "large"]),
298
- fillMode: a.oneOf([null, "solid", "flat", "outline"])
299
+ size: a.oneOf(["small", "medium", "large"]),
300
+ rounded: a.oneOf(["small", "medium", "large"]),
301
+ fillMode: a.oneOf(["solid", "flat", "outline"])
299
302
  };
300
303
  const s = {
301
304
  strokeWidth: 1,
@@ -311,9 +314,9 @@ const s = {
311
314
  onBlur: (d) => f,
312
315
  onOpen: (d) => f,
313
316
  onClose: (d) => f,
314
- size: "medium",
315
- rounded: "medium",
316
- fillMode: "solid"
317
+ size: void 0,
318
+ rounded: void 0,
319
+ fillMode: void 0
317
320
  };
318
321
  F.displayName = "KendoSignature";
319
322
  export {
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { SignatureHandle } from './SignatureHandle.js';
10
+ /**
11
+ * The arguments for the `onBlur` Signature event.
12
+ */
13
+ export interface SignatureBlurEvent extends BaseEvent<SignatureHandle> {
14
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { SignatureHandle } from './SignatureHandle.js';
10
+ /**
11
+ * The arguments for the `change` event of the Signature.
12
+ */
13
+ export interface SignatureChangeEvent extends BaseEvent<SignatureHandle> {
14
+ /**
15
+ * The current value of the Signature.
16
+ */
17
+ value: string;
18
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { SignatureHandle } from './SignatureHandle.js';
10
+ /**
11
+ * The arguments for the `onClose` Signature event.
12
+ */
13
+ export interface SignatureCloseEvent extends BaseEvent<SignatureHandle> {
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { SignatureHandle } from './SignatureHandle.js';
10
+ /**
11
+ * The arguments for the `onFocus` Signature event.
12
+ */
13
+ export interface SignatureFocusEvent extends BaseEvent<SignatureHandle> {
14
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { SignatureProps } from './SignatureProps.js';
9
+ /**
10
+ * The Signature ref.
11
+ */
12
+ export interface SignatureHandle {
13
+ /**
14
+ * The Signature element.
15
+ */
16
+ element: HTMLInputElement | null;
17
+ /**
18
+ * Focus the Signature.
19
+ */
20
+ focus: () => void;
21
+ /**
22
+ * Gets the `name` property of the Signature.
23
+ */
24
+ name: string | undefined;
25
+ /**
26
+ * Gets the value of the Signature.
27
+ */
28
+ value: number | null;
29
+ /**
30
+ * @hidden
31
+ */
32
+ props: SignatureProps;
33
+ /**
34
+ * @hidden
35
+ */
36
+ validityStyles: boolean;
37
+ /**
38
+ * @hidden
39
+ */
40
+ required: boolean;
41
+ /**
42
+ * @hidden
43
+ */
44
+ color: string;
45
+ /**
46
+ * @hidden
47
+ */
48
+ backgroundColor: string;
49
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { BaseEvent } from '@progress/kendo-react-common';
9
+ import { SignatureHandle } from './SignatureHandle.js';
10
+ /**
11
+ * The arguments for the `onOpen` Signature event.
12
+ */
13
+ export interface SignatureOpenEvent extends BaseEvent<SignatureHandle> {
14
+ }
@@ -0,0 +1,324 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { FormComponentProps } from '@progress/kendo-react-common';
9
+ import { SignatureChangeEvent } from './SignatureChangeEvent.js';
10
+ import { SignatureFocusEvent } from './SignatureFocusEvent.js';
11
+ import { SignatureBlurEvent } from './SignatureBlurEvent.js';
12
+ import { SignatureOpenEvent } from './SignatureOpenEvent.js';
13
+ import { SignatureCloseEvent } from './SignatureCloseEvent.js';
14
+ /**
15
+ * Represents the props of the [KendoReact Signature component](https://www.telerik.com/kendo-react-ui/components/inputs/signature).
16
+ */
17
+ export interface SignatureProps extends FormComponentProps {
18
+ /**
19
+ * Adds custom CSS classes to the Signature.
20
+ *
21
+ * @example
22
+ * ```jsx
23
+ * <Signature className="custom-class" />
24
+ * ```
25
+ */
26
+ className?: string;
27
+ /**
28
+ * Specifies the value of the Signature as a Data URL.
29
+ *
30
+ * @example
31
+ * ```jsx
32
+ * <Signature value="data:image/png;base64,..." />
33
+ * ```
34
+ */
35
+ value?: string;
36
+ /**
37
+ * Specifies the width of the Signature in pixels.
38
+ *
39
+ * @example
40
+ * ```jsx
41
+ * <Signature width={500} />
42
+ * ```
43
+ */
44
+ width?: number;
45
+ /**
46
+ * Specifies the height of the Signature in pixels.
47
+ *
48
+ * @example
49
+ * ```jsx
50
+ * <Signature height={300} />
51
+ * ```
52
+ */
53
+ height?: number;
54
+ /**
55
+ * Specifies the `tabIndex` of the Signature.
56
+ *
57
+ * @example
58
+ * ```jsx
59
+ * <Signature tabIndex={0} />
60
+ * ```
61
+ */
62
+ tabIndex?: number;
63
+ /**
64
+ * Specifies the `id` of the Signature.
65
+ *
66
+ * @example
67
+ * ```jsx
68
+ * <Signature id="signature-component" />
69
+ * ```
70
+ */
71
+ id?: string;
72
+ /**
73
+ * Represents the `dir` HTML attribute.
74
+ *
75
+ * @example
76
+ * ```jsx
77
+ * <Signature dir="rtl" />
78
+ * ```
79
+ */
80
+ dir?: string;
81
+ /**
82
+ * Specifies the name of the Signature input.
83
+ *
84
+ * @example
85
+ * ```jsx
86
+ * <Signature name="signature" />
87
+ * ```
88
+ */
89
+ name?: string;
90
+ /**
91
+ * Identifies the element(s) which will describe the component.
92
+ *
93
+ * @example
94
+ * ```jsx
95
+ * <Signature ariaDescribedBy="description-id" />
96
+ * ```
97
+ */
98
+ ariaDescribedBy?: string;
99
+ /**
100
+ * Identifies the element(s) which will label the component.
101
+ *
102
+ * @example
103
+ * ```jsx
104
+ * <Signature ariaLabelledBy="label-id" />
105
+ * ```
106
+ */
107
+ ariaLabelledBy?: string;
108
+ /**
109
+ * Specifies the accessible label of the Signature.
110
+ *
111
+ * @example
112
+ * ```jsx
113
+ * <Signature ariaLabel="Signature field" />
114
+ * ```
115
+ */
116
+ ariaLabel?: string;
117
+ /**
118
+ * Sets the Signature to read-only mode.
119
+ *
120
+ * @example
121
+ * ```jsx
122
+ * <Signature readOnly={true} />
123
+ * ```
124
+ */
125
+ readOnly?: boolean;
126
+ /**
127
+ * Disables the Signature when set to `true`.
128
+ *
129
+ * @example
130
+ * ```jsx
131
+ * <Signature disabled={true} />
132
+ * ```
133
+ */
134
+ disabled?: boolean;
135
+ /**
136
+ * Configures the size of the Signature.
137
+ *
138
+ * @default undefined (theme-controlled)
139
+ *
140
+ * @example
141
+ * ```jsx
142
+ * <Signature size="large" />
143
+ * ```
144
+ */
145
+ size?: 'small' | 'medium' | 'large';
146
+ /**
147
+ * Configures the roundness of the Signature.
148
+ *
149
+ * @default undefined (theme-controlled)
150
+ *
151
+ * @example
152
+ * ```jsx
153
+ * <Signature rounded="medium" />
154
+ * ```
155
+ */
156
+ rounded?: 'small' | 'medium' | 'large';
157
+ /**
158
+ * Configures the fill mode of the Signature.
159
+ *
160
+ * @default undefined (theme-controlled)
161
+ *
162
+ * @example
163
+ * ```jsx
164
+ * <Signature fillMode="solid" />
165
+ * ```
166
+ */
167
+ fillMode?: 'solid' | 'flat' | 'outline';
168
+ /**
169
+ * Specifies the stroke color of the Signature.
170
+ *
171
+ * @example
172
+ * ```jsx
173
+ * <Signature color="blue" />
174
+ * ```
175
+ */
176
+ color?: string;
177
+ /**
178
+ * Specifies the background color of the Signature.
179
+ *
180
+ * @example
181
+ * ```jsx
182
+ * <Signature backgroundColor="lightgray" />
183
+ * ```
184
+ */
185
+ backgroundColor?: string;
186
+ /**
187
+ * Specifies the stroke width of the Signature.
188
+ *
189
+ * @example
190
+ * ```jsx
191
+ * <Signature strokeWidth={2} />
192
+ * ```
193
+ */
194
+ strokeWidth?: number;
195
+ /**
196
+ * Enables smoothing of the signature lines.
197
+ *
198
+ * @example
199
+ * ```jsx
200
+ * <Signature smooth={true} />
201
+ * ```
202
+ */
203
+ smooth?: boolean;
204
+ /**
205
+ * Enables the maximizable feature of the Signature.
206
+ *
207
+ * @example
208
+ * ```jsx
209
+ * <Signature maximizable={true} />
210
+ * ```
211
+ */
212
+ maximizable?: boolean;
213
+ /**
214
+ * Sets the open state of the Signature popup.
215
+ *
216
+ * @example
217
+ * ```jsx
218
+ * <Signature open={true} />
219
+ * ```
220
+ */
221
+ open?: boolean;
222
+ /**
223
+ * The scale factor for the popup.
224
+ *
225
+ * The Signature width and height will be multiplied by the scale when showing the popup.
226
+ *
227
+ * @default 3
228
+ * @example
229
+ * ```jsx
230
+ * <Signature popupScale={1.5} />
231
+ * ```
232
+ */
233
+ popupScale?: number;
234
+ /**
235
+ * The scale factor for the exported image.
236
+ *
237
+ * The Signature width and height will be multiplied by the scale when converting the signature to an image.
238
+ *
239
+ * @default 2
240
+ *
241
+ * @example
242
+ * ```jsx
243
+ * <Signature exportScale={2} />
244
+ * ```
245
+ */
246
+ exportScale?: number;
247
+ /**
248
+ * Hides the dotted line in the background.
249
+ *
250
+ * @default false
251
+ * @example
252
+ * ```jsx
253
+ * <Signature hideLine={true} />
254
+ * ```
255
+ */
256
+ hideLine?: boolean;
257
+ /**
258
+ * Represents the `style` HTML attribute.
259
+ *
260
+ * @example
261
+ * ```jsx
262
+ * <Signature style={{ border: '1px solid black' }} />
263
+ * ```
264
+ */
265
+ style?: React.CSSProperties;
266
+ /**
267
+ * Represents the input element `style` HTML attribute.
268
+ *
269
+ * @example
270
+ * ```jsx
271
+ * <Signature inputStyle={{ padding: '10px' }} />
272
+ * ```
273
+ */
274
+ inputStyle?: React.CSSProperties;
275
+ /**
276
+ * Fires when the value of the Signature changes.
277
+ *
278
+ * @example
279
+ * ```jsx
280
+ * <Signature onChange={(event) => console.log(event.value)} />
281
+ * ```
282
+ */
283
+ onChange?: (event: SignatureChangeEvent) => void;
284
+ /**
285
+ * Fires when the Signature is focused.
286
+ *
287
+ * @example
288
+ * ```jsx
289
+ * <Signature onFocus={(event) => console.log('Focused')} />
290
+ * ```
291
+ */
292
+ onFocus?: (event: SignatureFocusEvent) => void;
293
+ /**
294
+ * Fires when the Signature is blurred.
295
+ *
296
+ * @example
297
+ * ```jsx
298
+ * <Signature onBlur={(event) => console.log('Blurred')} />
299
+ * ```
300
+ */
301
+ onBlur?: (event: SignatureBlurEvent) => void;
302
+ /**
303
+ * Fires when the Signature popup is opened.
304
+ *
305
+ * @example
306
+ * ```jsx
307
+ * <Signature onOpen={(event) => console.log('Popup opened')} />
308
+ * ```
309
+ */
310
+ onOpen?: (event: SignatureOpenEvent) => void;
311
+ /**
312
+ * Fires when the Signature popup is closed.
313
+ *
314
+ * @example
315
+ * ```jsx
316
+ * <Signature onClose={(event) => console.log('Popup closed')} />
317
+ * ```
318
+ */
319
+ onClose?: (event: SignatureCloseEvent) => void;
320
+ /** @hidden */
321
+ children?: React.ReactNode;
322
+ /** @hidden */
323
+ maximized?: boolean;
324
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ export { type SignatureBlurEvent } from './SignatureBlurEvent.js';
9
+ export { type SignatureChangeEvent } from './SignatureChangeEvent.js';
10
+ export { type SignatureCloseEvent } from './SignatureCloseEvent.js';
11
+ export { type SignatureFocusEvent } from './SignatureFocusEvent.js';
12
+ export { type SignatureHandle } from './SignatureHandle.js';
13
+ export { type SignatureOpenEvent } from './SignatureOpenEvent.js';
14
+ export { type SignatureProps } from './SignatureProps.js';
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare function hasParent(element: any, parent: any): boolean;