@progress/kendo-react-inputs 13.3.0 → 13.4.0-develop.2
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.
- package/checkbox/Checkbox.d.ts +49 -0
- package/checkbox/Checkbox.js +1 -1
- package/checkbox/Checkbox.mjs +35 -36
- package/checkbox/interfaces/CheckboxBlurEvent.d.ts +14 -0
- package/checkbox/interfaces/CheckboxChangeEvent.d.ts +18 -0
- package/checkbox/interfaces/CheckboxFocusEvent.d.ts +14 -0
- package/checkbox/interfaces/CheckboxProps.d.ts +148 -0
- package/colors/ColorContrastLabels.d.ts +22 -0
- package/colors/ColorContrastSvg.d.ts +25 -0
- package/colors/ColorGradient.d.ts +215 -0
- package/colors/ColorGradient.js +1 -1
- package/colors/ColorGradient.mjs +20 -19
- package/colors/ColorInput.d.ts +40 -0
- package/colors/ColorInput.js +1 -1
- package/colors/ColorInput.mjs +20 -16
- package/colors/ColorPalette.d.ts +129 -0
- package/colors/ColorPalette.js +1 -1
- package/colors/ColorPalette.mjs +7 -7
- package/colors/ColorPicker.d.ts +34 -0
- package/colors/ColorPicker.js +1 -1
- package/colors/ColorPicker.mjs +96 -94
- package/colors/FlatColorPicker.d.ts +189 -0
- package/colors/FlatColorPicker.js +1 -1
- package/colors/FlatColorPicker.mjs +41 -40
- package/colors/HexInput.d.ts +39 -0
- package/colors/HexInput.js +1 -1
- package/colors/HexInput.mjs +2 -1
- package/colors/Picker.d.ts +13 -0
- package/colors/interfaces/ColorGradientChangeEvent.d.ts +18 -0
- package/colors/interfaces/ColorGradientProps.d.ts +160 -0
- package/colors/interfaces/ColorPaletteChangeEvent.d.ts +22 -0
- package/colors/interfaces/ColorPaletteProps.d.ts +116 -0
- package/colors/interfaces/ColorPickerActiveColorClick.d.ts +29 -0
- package/colors/interfaces/ColorPickerBlurEvent.d.ts +20 -0
- package/colors/interfaces/ColorPickerChangeEvent.d.ts +29 -0
- package/colors/interfaces/ColorPickerFocusEvent.d.ts +20 -0
- package/colors/interfaces/ColorPickerGradientSettings.d.ts +29 -0
- package/colors/interfaces/ColorPickerPaletteSettings.d.ts +39 -0
- package/colors/interfaces/ColorPickerPopupSettings.d.ts +21 -0
- package/colors/interfaces/ColorPickerProps.d.ts +242 -0
- package/colors/interfaces/ColorPickerView.d.ts +17 -0
- package/colors/interfaces/PickerPopupSettings.d.ts +29 -0
- package/colors/interfaces/PickerProps.d.ts +57 -0
- package/colors/models/hsva.d.ts +16 -0
- package/colors/models/output-format.d.ts +11 -0
- package/colors/models/palette-presets.d.ts +60 -0
- package/colors/models/rgb.d.ts +15 -0
- package/colors/models/rgba.d.ts +16 -0
- package/colors/models/table-cell.d.ts +14 -0
- package/colors/models/tile-size.d.ts +18 -0
- package/colors/utils/color-cache.d.ts +37 -0
- package/colors/utils/color-palette.service.d.ts +19 -0
- package/colors/utils/color-parser.d.ts +72 -0
- package/colors/utils/color-parser.js +1 -1
- package/colors/utils/color-parser.mjs +1 -1
- package/colors/utils/misc.d.ts +23 -0
- package/colors/utils/svg-calc.d.ts +69 -0
- package/common/AdaptiveMode.d.ts +21 -0
- package/common/SliderTooltip.d.ts +25 -0
- package/common/SwitchController.d.ts +38 -0
- package/common/SwitchModel.d.ts +14 -0
- package/dist/cdn/js/kendo-react-inputs.js +1 -1
- package/index.d.mts +72 -5128
- package/index.d.ts +72 -5128
- package/input/Input.d.ts +119 -0
- package/input/Input.js +1 -1
- package/input/Input.mjs +45 -43
- package/input/InputClearValue.d.ts +28 -0
- package/input/InputPrefix.d.ts +30 -0
- package/input/InputSeparator.d.ts +30 -0
- package/input/InputSuffix.d.ts +32 -0
- package/input/InputValidationIcon.d.ts +21 -0
- package/input/interfaces/InputChangeEvent.d.ts +18 -0
- package/interfaces/Direction.d.ts +8 -0
- package/interfaces/ToggleBaseProps.d.ts +24 -0
- package/maskedtextbox/MaskedTextBox.d.ts +224 -0
- package/maskedtextbox/MaskedTextBox.js +1 -1
- package/maskedtextbox/MaskedTextBox.mjs +80 -79
- package/maskedtextbox/MaskedTextBoxProps.d.ts +273 -0
- package/maskedtextbox/masking.service.d.ts +48 -0
- package/maskedtextbox/masking.service.mjs +9 -9
- package/maskedtextbox/parsing/combinators.d.ts +16 -0
- package/maskedtextbox/parsing/parsers.d.ts +54 -0
- package/maskedtextbox/parsing/result.d.ts +30 -0
- package/maskedtextbox/parsing/stream.d.ts +29 -0
- package/maskedtextbox/utils.d.ts +23 -0
- package/messages/index.d.ts +177 -0
- package/numerictextbox/NumericTextBox.d.ts +21 -0
- package/numerictextbox/NumericTextBox.js +1 -1
- package/numerictextbox/NumericTextBox.mjs +161 -161
- package/numerictextbox/interfaces/NumericTextBoxBlurEvent.d.ts +14 -0
- package/numerictextbox/interfaces/NumericTextBoxChangeEvent.d.ts +18 -0
- package/numerictextbox/interfaces/NumericTextBoxFocusEvent.d.ts +14 -0
- package/numerictextbox/interfaces/NumericTextBoxHandle.d.ts +46 -0
- package/numerictextbox/interfaces/NumericTextBoxProps.d.ts +212 -0
- package/numerictextbox/interfaces/NumericTextBoxState.d.ts +22 -0
- package/numerictextbox/utils/index.d.ts +126 -0
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +10 -10
- package/radiobutton/RadioButton.d.ts +36 -0
- package/radiobutton/RadioButton.js +1 -1
- package/radiobutton/RadioButton.mjs +8 -8
- package/radiobutton/RadioGroup.d.ts +36 -0
- package/radiobutton/interfaces/RadioButtonBlurEvent.d.ts +14 -0
- package/radiobutton/interfaces/RadioButtonChangeEvent.d.ts +18 -0
- package/radiobutton/interfaces/RadioButtonFocusEvent.d.ts +14 -0
- package/radiobutton/interfaces/RadioButtonProps.d.ts +107 -0
- package/radiobutton/interfaces/RadioGroupChangeEvent.d.ts +18 -0
- package/radiobutton/interfaces/RadioGroupFocusEvent.d.ts +14 -0
- package/radiobutton/interfaces/RadioGroupProps.d.ts +178 -0
- package/range-slider/RangeSlider.d.ts +152 -0
- package/range-slider/range-raducer.d.ts +46 -0
- package/rating/Rating.d.ts +302 -0
- package/rating/Rating.mjs +3 -3
- package/rating/RatingItem.d.ts +111 -0
- package/rating/models/index.d.ts +91 -0
- package/rating/rating-reducer.d.ts +39 -0
- package/rating/utils/index.d.ts +31 -0
- package/signature/Signature.d.ts +21 -0
- package/signature/Signature.js +1 -1
- package/signature/Signature.mjs +26 -23
- package/signature/interfaces/SignatureBlurEvent.d.ts +14 -0
- package/signature/interfaces/SignatureChangeEvent.d.ts +18 -0
- package/signature/interfaces/SignatureCloseEvent.d.ts +14 -0
- package/signature/interfaces/SignatureFocusEvent.d.ts +14 -0
- package/signature/interfaces/SignatureHandle.d.ts +49 -0
- package/signature/interfaces/SignatureOpenEvent.d.ts +14 -0
- package/signature/interfaces/SignatureProps.d.ts +324 -0
- package/signature/interfaces/index.d.ts +14 -0
- package/signature/utils/index.d.ts +11 -0
- package/slider/Slider.d.ts +288 -0
- package/slider/Slider.mjs +9 -9
- package/slider/SliderLabel.d.ts +51 -0
- package/switch/Switch.d.ts +397 -0
- package/switch/Switch.js +1 -1
- package/switch/Switch.mjs +29 -22
- package/textarea/TextArea.d.ts +40 -0
- package/textarea/TextArea.js +1 -1
- package/textarea/TextArea.mjs +41 -41
- package/textarea/interfaces/TextAreaBlurEvent.d.ts +14 -0
- package/textarea/interfaces/TextAreaChangeEvent.d.ts +18 -0
- package/textarea/interfaces/TextAreaFocusEvent.d.ts +14 -0
- package/textarea/interfaces/TextAreaProps.d.ts +199 -0
- package/textbox/Textbox.d.ts +99 -0
- package/textbox/Textbox.js +1 -1
- package/textbox/Textbox.mjs +70 -66
- package/utils.d.ts +11 -0
|
@@ -0,0 +1,46 @@
|
|
|
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 { FormComponentValidity } from '@progress/kendo-react-common';
|
|
9
|
+
import { NumericTextBoxProps } from './NumericTextBoxProps.js';
|
|
10
|
+
/**
|
|
11
|
+
* The NumericTextBox ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface NumericTextBoxHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The NumericTextBox element.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLInputElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focus the NumericTextBox.
|
|
20
|
+
*/
|
|
21
|
+
focus: () => void;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the `name` property of the NumericTextBox.
|
|
24
|
+
*/
|
|
25
|
+
name: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the value of the NumericTextBox.
|
|
28
|
+
*/
|
|
29
|
+
value: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Represents the validity state into which the NumericTextBox is set.
|
|
32
|
+
*/
|
|
33
|
+
validity: FormComponentValidity;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
props: NumericTextBoxProps;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
validityStyles: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
required: boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,212 @@
|
|
|
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 { CustomComponent, FormComponentProps } from '@progress/kendo-react-common';
|
|
9
|
+
import { NumberFormatOptions } from '@progress/kendo-react-intl';
|
|
10
|
+
import { NumericTextBoxChangeEvent } from './NumericTextBoxChangeEvent.js';
|
|
11
|
+
import { NumericTextBoxFocusEvent } from './NumericTextBoxFocusEvent.js';
|
|
12
|
+
import { NumericTextBoxBlurEvent } from './NumericTextBoxBlurEvent.js';
|
|
13
|
+
type NumericTextBoxInputType = 'tel' | 'text' | 'number';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the props of the [KendoReact NumericTextBox component](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox).
|
|
16
|
+
*/
|
|
17
|
+
export interface NumericTextBoxProps extends FormComponentProps, Omit<React.HTMLAttributes<HTMLElement>, 'defaultValue' | 'prefix' | 'onChange' | 'onBlur' | 'onFocus'> {
|
|
18
|
+
/**
|
|
19
|
+
* Sets a class of the NumericTextBox DOM element.
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the value of the NumericTextBox.
|
|
24
|
+
*/
|
|
25
|
+
value?: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies the initial value. Leaves the subsequent updates uncontrolled.
|
|
28
|
+
*/
|
|
29
|
+
defaultValue?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the value that is used to increment or decrement the value of the NumericTextBox ([see example](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox/incremental-step)).
|
|
32
|
+
*/
|
|
33
|
+
step?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies the number format which is used for formatting the value ([see example](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox/formats)). If set to `an empty string` or `undefined`, the default format will be used. Format cannot contain decimal separators or numbers. Power signs are supported.
|
|
36
|
+
*/
|
|
37
|
+
format?: string | NumberFormatOptions;
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the width of the NumericTextBox.
|
|
40
|
+
*/
|
|
41
|
+
width?: number | string;
|
|
42
|
+
/**
|
|
43
|
+
* Sets the `tabIndex` property of the NumericTextBox.
|
|
44
|
+
*/
|
|
45
|
+
tabIndex?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the `accessKey` of the NumericTextBox.
|
|
48
|
+
*/
|
|
49
|
+
accessKey?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the title of the `input` element of the NumericTextBox.
|
|
52
|
+
*/
|
|
53
|
+
title?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the input placeholder.
|
|
56
|
+
*/
|
|
57
|
+
placeholder?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the smallest value that can be entered.
|
|
60
|
+
*/
|
|
61
|
+
min?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the greatest value that can be entered.
|
|
64
|
+
*/
|
|
65
|
+
max?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Specifies whether the **Up** and **Down** spin buttons will be rendered ([see example](https://www.telerik.com/kendo-react-ui/components/inputs/numerictextbox/spin-buttons)).
|
|
68
|
+
*/
|
|
69
|
+
spinners?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Determines whether the NumericTextBox is disabled.
|
|
72
|
+
*/
|
|
73
|
+
disabled?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Represents the `dir` HTML attribute.
|
|
76
|
+
*/
|
|
77
|
+
dir?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Specifies the name of the `input` DOM element.
|
|
80
|
+
*/
|
|
81
|
+
name?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Renders a floating label for the NumericTextBox.
|
|
84
|
+
*/
|
|
85
|
+
label?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Sets the `id` of the `input` DOM element.
|
|
88
|
+
*/
|
|
89
|
+
id?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Sets a custom prefix to the NumericTextBox component.
|
|
92
|
+
*/
|
|
93
|
+
prefix?: CustomComponent<any>;
|
|
94
|
+
/**
|
|
95
|
+
* Sets a custom suffix to the NumericTextBox component.
|
|
96
|
+
*/
|
|
97
|
+
suffix?: CustomComponent<any>;
|
|
98
|
+
/**
|
|
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).
|
|
100
|
+
* For example these elements could contain error or hint message.
|
|
101
|
+
*/
|
|
102
|
+
ariaDescribedBy?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Identifies the element(s) which will label the component.
|
|
105
|
+
*/
|
|
106
|
+
ariaLabelledBy?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The accessible label of the component.
|
|
109
|
+
*/
|
|
110
|
+
ariaLabel?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Sets the `type` of the `input` DOM element.
|
|
113
|
+
*
|
|
114
|
+
* The available options are:
|
|
115
|
+
* - (Default) `tel`
|
|
116
|
+
* - `text`
|
|
117
|
+
*/
|
|
118
|
+
inputType?: NumericTextBoxInputType;
|
|
119
|
+
/**
|
|
120
|
+
* If enabled, the NumericTextBox will handle the `enter` key to range the current invalid value between `min` and `max` props.
|
|
121
|
+
* The available options are:
|
|
122
|
+
* - (Default) `true`
|
|
123
|
+
* - `false`
|
|
124
|
+
* Can be disabled when form submit is required on pressing the `enter` key.
|
|
125
|
+
*/
|
|
126
|
+
rangeOnEnter?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Determines whether the NumericTextBox is in its read-only state.
|
|
129
|
+
*/
|
|
130
|
+
readOnly?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Determines the event handler that will be fired when the user edits the value.
|
|
133
|
+
*/
|
|
134
|
+
onChange?: (event: NumericTextBoxChangeEvent) => void;
|
|
135
|
+
/**
|
|
136
|
+
* The event handler that will be fired when NumericTextBox is focused.
|
|
137
|
+
*/
|
|
138
|
+
onFocus?: (event: NumericTextBoxFocusEvent) => void;
|
|
139
|
+
/**
|
|
140
|
+
* The event handler that will be fired when NumericTextBox is blurred.
|
|
141
|
+
*/
|
|
142
|
+
onBlur?: (event: NumericTextBoxBlurEvent) => void;
|
|
143
|
+
/** @hidden */
|
|
144
|
+
children?: React.ReactNode;
|
|
145
|
+
/**
|
|
146
|
+
* Configures the `size` of the NumericTextBox.
|
|
147
|
+
*
|
|
148
|
+
* The available options are:
|
|
149
|
+
* - small
|
|
150
|
+
* - medium
|
|
151
|
+
* - large
|
|
152
|
+
*
|
|
153
|
+
* @default undefined (theme-controlled)
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* ```tsx
|
|
157
|
+
* <NumericTextBox size="large" />
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
size?: 'small' | 'medium' | 'large';
|
|
161
|
+
/**
|
|
162
|
+
* Configures the `roundness` of the NumericTextBox.
|
|
163
|
+
*
|
|
164
|
+
* The available options are:
|
|
165
|
+
* - small
|
|
166
|
+
* - medium
|
|
167
|
+
* - large
|
|
168
|
+
* - full
|
|
169
|
+
*
|
|
170
|
+
* @default undefined (theme-controlled)
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* ```tsx
|
|
174
|
+
* <NumericTextBox rounded="full" />
|
|
175
|
+
* ```
|
|
176
|
+
*/
|
|
177
|
+
rounded?: 'small' | 'medium' | 'large' | 'full';
|
|
178
|
+
/**
|
|
179
|
+
* Configures the `fillMode` of the NumericTextBox.
|
|
180
|
+
*
|
|
181
|
+
* The available options are:
|
|
182
|
+
* - solid
|
|
183
|
+
* - outline
|
|
184
|
+
* - flat
|
|
185
|
+
*
|
|
186
|
+
* @default undefined (theme-controlled)
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* ```tsx
|
|
190
|
+
* <NumericTextBox fillMode="outline" />
|
|
191
|
+
* ```
|
|
192
|
+
*/
|
|
193
|
+
fillMode?: 'solid' | 'flat' | 'outline';
|
|
194
|
+
/**
|
|
195
|
+
* Represents the `style` HTML attribute.
|
|
196
|
+
*/
|
|
197
|
+
style?: React.CSSProperties;
|
|
198
|
+
/**
|
|
199
|
+
* Represents the input element `style` HTML attribute.
|
|
200
|
+
*/
|
|
201
|
+
inputStyle?: React.CSSProperties;
|
|
202
|
+
/**
|
|
203
|
+
* Represents the `autoFocus` HTML attribute that will be applied to the input element of the NumericTextBox. (Defaults to `false`)
|
|
204
|
+
*/
|
|
205
|
+
autoFocus?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* Sets the HTML attributes of the inner focusable input element.
|
|
208
|
+
* Attributes which are essential for certain component functionalities cannot be changed.
|
|
209
|
+
*/
|
|
210
|
+
inputAttributes?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
211
|
+
}
|
|
212
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
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 interface NumericTextBoxState {
|
|
12
|
+
eventValue: number | null | undefined;
|
|
13
|
+
prevLooseValue: string | undefined;
|
|
14
|
+
currentLooseValue: string | undefined;
|
|
15
|
+
selectionStart: number | undefined;
|
|
16
|
+
selectionEnd: number | undefined;
|
|
17
|
+
decimalSelect: boolean;
|
|
18
|
+
valueIsCorrected: boolean;
|
|
19
|
+
valueIsOutOfRange: boolean;
|
|
20
|
+
focused: boolean;
|
|
21
|
+
isPaste: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
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 { NumericTextBoxState } from '../interfaces/NumericTextBoxState.js';
|
|
9
|
+
import { NumberFormatOptions } from '@progress/kendo-react-intl';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const getInitialState: () => NumericTextBoxState;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const getStateOrPropsValue: (value: number | null | undefined, stateValue: number | null | undefined) => number | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const formatValue: (value: string | number | null | undefined, format: string | NumberFormatOptions | undefined, intlService: any) => string;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const fractionLength: (value: number) => number;
|
|
26
|
+
/**
|
|
27
|
+
* @hidden
|
|
28
|
+
*/
|
|
29
|
+
export declare const limitPrecision: (precision: number) => number;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
export declare const toFixedPrecision: (value: number, precision: number) => number;
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare const increaseValue: (value: any, newState: any, step: any, min: any, max: any, format: any, intlService: any) => void;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
export declare const decreaseValue: (value: any, newState: any, step: any, min: any, max: any, format: any, intlService: any) => void;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export declare const rangeValue: (value: number | null, min?: number, max?: number) => number | null;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
export declare const getMaxCursorPosition: (nextValue: string, formatInfo: string[][]) => number;
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
export declare const getMinCursorPosition: (nextValue: string, formatInfo: string[][]) => number;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
export declare const rangeSelection: (nextLooseValue: string, formatInfo: string[][], newState: NumericTextBoxState) => void;
|
|
58
|
+
/**
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
export declare const setSelection: (newState: NumericTextBoxState, newIndex: number, nextLooseValue: string, formatInfo: string[][]) => void;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
export declare const setInvalid: (newState: NumericTextBoxState, format: string | NumberFormatOptions | undefined, formatInfo: string[][], intlService: any) => void;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export declare const isMinusSymbolAdded: (newState: NumericTextBoxState, symbols: any) => boolean;
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
export declare const isMinusSymbolRemoved: (newState: NumericTextBoxState, symbols: any) => boolean;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
*/
|
|
77
|
+
export declare const isDecimalDuplicated: (newState: NumericTextBoxState, symbols: any) => boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*/
|
|
81
|
+
export declare const getFormatPrefixSufix: (format: string | NumberFormatOptions | undefined, intlService: any) => {
|
|
82
|
+
positiveInfo: string[];
|
|
83
|
+
negativeInfo: string[];
|
|
84
|
+
zeroInfo: string[];
|
|
85
|
+
oneInfo: string[];
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @hidden
|
|
89
|
+
*/
|
|
90
|
+
export declare const getFormatSymbols: (format: string | NumberFormatOptions | undefined, intlService: any) => string;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
*/
|
|
94
|
+
export declare const getInitialPosition: (nextLooseValue: string, symbols: any) => number;
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
export declare const reverseString: (str: string) => string;
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
export declare const getLastNumberIndex: (currentLooseValue: string, inputRegex: RegExp) => number;
|
|
103
|
+
/**
|
|
104
|
+
* @hidden
|
|
105
|
+
*/
|
|
106
|
+
export declare const getPrefix: (str: string) => string;
|
|
107
|
+
/**
|
|
108
|
+
* @hidden
|
|
109
|
+
*/
|
|
110
|
+
export declare const getSuffix: (str: string) => string;
|
|
111
|
+
/**
|
|
112
|
+
* @hidden
|
|
113
|
+
*/
|
|
114
|
+
export declare const getFirstNumberIndex: (prevLooseValue: string, inputRegex: RegExp) => number;
|
|
115
|
+
/**
|
|
116
|
+
* @hidden
|
|
117
|
+
*/
|
|
118
|
+
export declare const getDecimalCount: (value: string, decimal: string) => number;
|
|
119
|
+
/**
|
|
120
|
+
* @hidden
|
|
121
|
+
*/
|
|
122
|
+
export declare const changeBasedSelection: (currentValue: string, nextValue: string, selectionPosition: number, isDelete: boolean, sanitizeRegex: any) => number;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
*/
|
|
126
|
+
export declare const sanitizeNumber: (state: NumericTextBoxState, format: string | NumberFormatOptions | undefined, intlService: any) => NumericTextBoxState;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { PackageMetadata } from '@progress/kendo-licensing';
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package-metadata.js
CHANGED
|
@@ -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:
|
|
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: 1770287905,version:"13.4.0-develop.2",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
|
package/package-metadata.mjs
CHANGED
|
@@ -1,19 +1,13 @@
|
|
|
1
|
+
// Generated file. DO NOT EDIT.
|
|
1
2
|
/**
|
|
2
|
-
* @
|
|
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
|
-
*-------------------------------------------------------------------------------------------
|
|
3
|
+
* @hidden
|
|
7
4
|
*/
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
export const packageMetadata = Object.freeze({
|
|
6
|
+
name: '@progress/kendo-react-inputs',
|
|
7
|
+
productName: 'KendoReact',
|
|
8
|
+
productCode: 'KENDOUIREACT',
|
|
9
|
+
productCodes: ['KENDOUIREACT'],
|
|
10
|
+
publishDate: 0,
|
|
11
|
+
version: '13.4.0-develop.2',
|
|
12
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
|
|
16
13
|
});
|
|
17
|
-
export {
|
|
18
|
-
e as packageMetadata
|
|
19
|
-
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-inputs",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.4.0-develop.2",
|
|
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": "13.
|
|
32
|
-
"@progress/kendo-react-buttons": "13.
|
|
33
|
-
"@progress/kendo-react-common": "13.
|
|
34
|
-
"@progress/kendo-react-dialogs": "13.
|
|
35
|
-
"@progress/kendo-react-layout": "13.
|
|
36
|
-
"@progress/kendo-react-intl": "13.
|
|
37
|
-
"@progress/kendo-react-labels": "13.
|
|
38
|
-
"@progress/kendo-react-popup": "13.
|
|
31
|
+
"@progress/kendo-react-animation": "13.4.0-develop.2",
|
|
32
|
+
"@progress/kendo-react-buttons": "13.4.0-develop.2",
|
|
33
|
+
"@progress/kendo-react-common": "13.4.0-develop.2",
|
|
34
|
+
"@progress/kendo-react-dialogs": "13.4.0-develop.2",
|
|
35
|
+
"@progress/kendo-react-layout": "13.4.0-develop.2",
|
|
36
|
+
"@progress/kendo-react-intl": "13.4.0-develop.2",
|
|
37
|
+
"@progress/kendo-react-labels": "13.4.0-develop.2",
|
|
38
|
+
"@progress/kendo-react-popup": "13.4.0-develop.2",
|
|
39
39
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
40
40
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
41
41
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"package": {
|
|
83
83
|
"productName": "KendoReact",
|
|
84
84
|
"productCode": "KENDOUIREACT",
|
|
85
|
-
"publishDate":
|
|
85
|
+
"publishDate": 1770287905,
|
|
86
86
|
"licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { RadioButtonProps } from './interfaces/RadioButtonProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The RadioButton ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface RadioButtonHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The HTML input element of the RadioButton component.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLInputElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focuses the RadioButton component.
|
|
20
|
+
*/
|
|
21
|
+
focus: any;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the PropsContext of the `RadioButton` component.
|
|
25
|
+
* Used for global configuration of all `RadioButton` instances.
|
|
26
|
+
*
|
|
27
|
+
* For more information, refer to the [Inputs Props Context](https://www.telerik.com/kendo-react-ui/components/inputs/props-context) article.
|
|
28
|
+
*/
|
|
29
|
+
export declare const RadioButtonPropsContext: React.Context<(p: RadioButtonProps) => RadioButtonProps>;
|
|
30
|
+
/**
|
|
31
|
+
* Represents the [KendoReact RadioButton component](https://www.telerik.com/kendo-react-ui/components/inputs/radiobutton).
|
|
32
|
+
*
|
|
33
|
+
* Accepts properties of type [RadioButtonProps](https://www.telerik.com/kendo-react-ui/components/inputs/api/radiobuttonprops).
|
|
34
|
+
* Obtaining the `ref` returns an object of type [RadioButtonHandle](https://www.telerik.com/kendo-react-ui/components/inputs/api/radiobuttonhandle).
|
|
35
|
+
*/
|
|
36
|
+
export declare const RadioButton: React.ForwardRefExoticComponent<RadioButtonProps & React.RefAttributes<RadioButtonHandle | null>>;
|
|
@@ -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 M=require("react"),t=require("prop-types"),n=require("@progress/kendo-react-common");function K(a){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const s in a)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(a,s);Object.defineProperty(l,s,r.get?r:{enumerable:!0,get:()=>a[s]})}}return l.default=a,Object.freeze(l)}const e=K(M),k=n.createPropsContext(),g=e.forwardRef((a,l)=>{const s=n.usePropsContext(k,a),{ariaDescribedBy:r,checked:y,children:
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),t=require("prop-types"),n=require("@progress/kendo-react-common");function K(a){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const s in a)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(a,s);Object.defineProperty(l,s,r.get?r:{enumerable:!0,get:()=>a[s]})}}return l.default=a,Object.freeze(l)}const e=K(M),k=n.createPropsContext(),g=e.forwardRef((a,l)=>{const s=n.usePropsContext(k,a),{ariaDescribedBy:r,checked:y,children:v,className:x,disabled:o,id:B,size:F=L.size,label:d,labelPlacement:I,name:O,style:j,tabIndex:q,value:m,valid:z,onChange:h,onFocus:b,onBlur:p,required:S,...T}=s,C=n.useUnstyled(),f=C&&C.uRadioButton,u=e.useRef(null),R=e.useCallback(()=>{u.current&&u.current.focus()},[]),i=e.useCallback(()=>({element:u.current,focus:R}),[R]);e.useImperativeHandle(l,i);const P=n.useId(),D=e.useCallback(c=>{n.dispatchEvent(h,c,i(),{value:m})},[h,m,o]),w=e.useCallback(c=>{b&&!o&&n.dispatchEvent(b,c,i(),void 0)},[b,o]),_=e.useCallback(c=>{p&&!o&&n.dispatchEvent(p,c,i(),void 0)},[p,o]),H={type:"radio",id:B||P,name:O,className:n.classNames(n.uRadioButton.input({c:f,size:F,invalid:z===!1,checked:y}),x),ref:u,disabled:o,tabIndex:n.getTabIndex(q,o),checked:y,style:j,"aria-describedby":r,"aria-required":S,value:m,onChange:D,onFocus:w,onBlur:_,...T},E=e.createElement(e.Fragment,null,d!==void 0?e.createElement("label",{className:n.classNames(n.uRadioButton.label({c:f})),htmlFor:B||P,style:{userSelect:"none"},"aria-label":d},d):null),N=e.createElement("span",{className:n.classNames(n.uRadioButton.wrap({c:f}))},e.createElement("input",{...H}));return I==="before"?e.createElement(e.Fragment,null,E,N,v):e.createElement(e.Fragment,null,N,E,v)});g.propTypes={ariaDescribedBy:t.string,checked:t.bool,className:t.string,disabled:t.bool,id:t.string,size:t.oneOf(["small","medium","large"]),label:t.string,labelPlacement:t.string,name:t.string,style:t.object,tabIndex:t.number,value:t.any,valid:t.bool,onChange:t.func,onFocus:t.func,onBlur:t.func};const L={size:void 0};g.displayName="KendoRadioButton";exports.RadioButton=g;exports.RadioButtonPropsContext=k;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as e from "react";
|
|
9
9
|
import a from "prop-types";
|
|
10
|
-
import { createPropsContext as U, usePropsContext as A, useUnstyled as G, useId as J, dispatchEvent as d,
|
|
10
|
+
import { createPropsContext as U, usePropsContext as A, useUnstyled as G, useId as J, dispatchEvent as d, getTabIndex as M, classNames as m, uRadioButton as b } from "@progress/kendo-react-common";
|
|
11
11
|
const Q = U(), x = e.forwardRef((E, F) => {
|
|
12
12
|
const I = A(Q, E), {
|
|
13
13
|
ariaDescribedBy: P,
|
|
@@ -39,7 +39,7 @@ const Q = U(), x = e.forwardRef((E, F) => {
|
|
|
39
39
|
[C]
|
|
40
40
|
);
|
|
41
41
|
e.useImperativeHandle(F, s);
|
|
42
|
-
const
|
|
42
|
+
const v = J(), K = e.useCallback(
|
|
43
43
|
(t) => {
|
|
44
44
|
d(h, t, s(), {
|
|
45
45
|
value: r
|
|
@@ -63,7 +63,7 @@ const Q = U(), x = e.forwardRef((E, F) => {
|
|
|
63
63
|
[i, n]
|
|
64
64
|
), S = {
|
|
65
65
|
type: "radio",
|
|
66
|
-
id: g ||
|
|
66
|
+
id: g || v,
|
|
67
67
|
name: T,
|
|
68
68
|
className: m(
|
|
69
69
|
b.input({
|
|
@@ -86,17 +86,17 @@ const Q = U(), x = e.forwardRef((E, F) => {
|
|
|
86
86
|
onFocus: L,
|
|
87
87
|
onBlur: O,
|
|
88
88
|
...j
|
|
89
|
-
},
|
|
89
|
+
}, B = /* @__PURE__ */ e.createElement(e.Fragment, null, o !== void 0 ? /* @__PURE__ */ e.createElement(
|
|
90
90
|
"label",
|
|
91
91
|
{
|
|
92
92
|
className: m(b.label({ c: u })),
|
|
93
|
-
htmlFor: g ||
|
|
93
|
+
htmlFor: g || v,
|
|
94
94
|
style: { userSelect: "none" },
|
|
95
95
|
"aria-label": o
|
|
96
96
|
},
|
|
97
97
|
o
|
|
98
98
|
) : null), R = /* @__PURE__ */ e.createElement("span", { className: m(b.wrap({ c: u })) }, /* @__PURE__ */ e.createElement("input", { ...S }));
|
|
99
|
-
return z === "before" ? /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
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 = {
|
|
102
102
|
ariaDescribedBy: a.string,
|
|
@@ -104,7 +104,7 @@ x.propTypes = {
|
|
|
104
104
|
className: a.string,
|
|
105
105
|
disabled: a.bool,
|
|
106
106
|
id: a.string,
|
|
107
|
-
size: a.oneOf([
|
|
107
|
+
size: a.oneOf(["small", "medium", "large"]),
|
|
108
108
|
label: a.string,
|
|
109
109
|
labelPlacement: a.string,
|
|
110
110
|
name: a.string,
|
|
@@ -117,7 +117,7 @@ x.propTypes = {
|
|
|
117
117
|
onBlur: a.func
|
|
118
118
|
};
|
|
119
119
|
const V = {
|
|
120
|
-
size:
|
|
120
|
+
size: void 0
|
|
121
121
|
};
|
|
122
122
|
x.displayName = "KendoRadioButton";
|
|
123
123
|
export {
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { RadioGroupProps } from './interfaces/RadioGroupProps.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* The RadioGroup ref.
|
|
12
|
+
*/
|
|
13
|
+
export interface RadioGroupHandle {
|
|
14
|
+
/**
|
|
15
|
+
* The HTML list element of the RadioGroup component.
|
|
16
|
+
*/
|
|
17
|
+
element: HTMLUListElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Focuses the RadioGroup component.
|
|
20
|
+
*/
|
|
21
|
+
focus: any;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Represents the PropsContext of the `RadioGroup` component.
|
|
25
|
+
* Used for global configuration of all `RadioGroup` instances.
|
|
26
|
+
*
|
|
27
|
+
* For more information, refer to the [Inputs Props Context](https://www.telerik.com/kendo-react-ui/components/inputs/props-context) article.
|
|
28
|
+
*/
|
|
29
|
+
export declare const RadioGroupPropsContext: React.Context<(p: RadioGroupProps) => RadioGroupProps>;
|
|
30
|
+
/**
|
|
31
|
+
* Represents the [KendoReact RadioGroup component](https://www.telerik.com/kendo-react-ui/components/inputs/radiogroup).
|
|
32
|
+
*
|
|
33
|
+
* Accepts properties of type [RadioGroupProps](https://www.telerik.com/kendo-react-ui/components/inputs/api/radiogroupprops).
|
|
34
|
+
* Obtaining the `ref` returns an object of type [RadioGroupHandle](https://www.telerik.com/kendo-react-ui/components/inputs/api/radiogrouphandle).
|
|
35
|
+
*/
|
|
36
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<RadioGroupHandle | null>>;
|
|
@@ -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 { RadioButtonHandle } from './../RadioButton.js';
|
|
9
|
+
import { BaseEvent } from '@progress/kendo-react-common';
|
|
10
|
+
/**
|
|
11
|
+
* The arguments for the `onBlur` RadioButton event.
|
|
12
|
+
*/
|
|
13
|
+
export interface RadioButtonBlurEvent extends BaseEvent<RadioButtonHandle> {
|
|
14
|
+
}
|