@progress/kendo-react-inputs 5.1.0-dev.202202180916 → 5.1.0-dev.202202230917
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/dist/cdn/js/kendo-react-inputs.js +1 -1
- package/dist/es/numerictextbox/NumericTextBox.js +2 -1
- package/dist/es/numerictextbox/interfaces/NumericTextBoxProps.d.ts +4 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/npm/numerictextbox/NumericTextBox.js +2 -1
- package/dist/npm/numerictextbox/interfaces/NumericTextBoxProps.d.ts +4 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-react-inputs.js +1 -1
- package/package.json +14 -14
|
@@ -259,7 +259,7 @@ export var NumericTextBox = React.forwardRef(function (directProps, target) {
|
|
|
259
259
|
_a['k-required'] = props.required,
|
|
260
260
|
_a['k-disabled'] = props.disabled,
|
|
261
261
|
_a), props.className), "aria-disabled": props.disabled ? 'true' : undefined },
|
|
262
|
-
React.createElement("input", { value: looseValue === null ? '' : looseValue, tabIndex: getTabIndex(props.tabIndex, props.disabled), accessKey: props.accessKey, disabled: props.disabled, title: props.title, "aria-valuemin": props.min, "aria-valuemax": props.max, "aria-labelledby": props.ariaLabelledBy, "aria-describedby": props.ariaDescribedBy, placeholder: props.placeholder, spellCheck: false, autoComplete: 'off', autoCorrect: 'off', type: props.inputType || 'tel', className: 'k-input-inner', id: inputId, name: props.name, readOnly: props.readOnly, onChange: onChangeHandler, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, onPaste: onPasteHandler, onWheel: onWheelHandler, ref: elementRef }),
|
|
262
|
+
React.createElement("input", { value: looseValue === null ? '' : looseValue, tabIndex: getTabIndex(props.tabIndex, props.disabled), accessKey: props.accessKey, disabled: props.disabled, title: props.title, "aria-valuemin": props.min, "aria-valuemax": props.max, "aria-label": props.ariaLabel, "aria-labelledby": props.ariaLabelledBy, "aria-describedby": props.ariaDescribedBy, placeholder: props.placeholder, spellCheck: false, autoComplete: 'off', autoCorrect: 'off', type: props.inputType || 'tel', className: 'k-input-inner', id: inputId, name: props.name, readOnly: props.readOnly, onChange: onChangeHandler, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, onPaste: onPasteHandler, onWheel: onWheelHandler, ref: elementRef }),
|
|
263
263
|
props.children,
|
|
264
264
|
props.spinners &&
|
|
265
265
|
(React.createElement("span", { className: "k-input-spinner k-spin-button", onMouseDown: onMouseDown },
|
|
@@ -307,6 +307,7 @@ NumericTextBox.propTypes = {
|
|
|
307
307
|
rangeOnEnter: PropTypes.bool,
|
|
308
308
|
ariaLabelledBy: PropTypes.string,
|
|
309
309
|
ariaDescribedBy: PropTypes.string,
|
|
310
|
+
ariaLabel: PropTypes.string,
|
|
310
311
|
onChange: PropTypes.func,
|
|
311
312
|
onFocus: PropTypes.func,
|
|
312
313
|
onBlur: PropTypes.func,
|
|
@@ -90,6 +90,10 @@ export interface NumericTextBoxProps extends FormComponentProps {
|
|
|
90
90
|
* Identifies the element(s) which will label the component.
|
|
91
91
|
*/
|
|
92
92
|
ariaLabelledBy?: string;
|
|
93
|
+
/**
|
|
94
|
+
* The accessible label of the component.
|
|
95
|
+
*/
|
|
96
|
+
ariaLabel?: string;
|
|
93
97
|
/**
|
|
94
98
|
* Sets the `type` of the `input` DOM element.
|
|
95
99
|
*
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-inputs',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1645606895,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -261,7 +261,7 @@ exports.NumericTextBox = React.forwardRef(function (directProps, target) {
|
|
|
261
261
|
_a['k-required'] = props.required,
|
|
262
262
|
_a['k-disabled'] = props.disabled,
|
|
263
263
|
_a), props.className), "aria-disabled": props.disabled ? 'true' : undefined },
|
|
264
|
-
React.createElement("input", { value: looseValue === null ? '' : looseValue, tabIndex: kendo_react_common_1.getTabIndex(props.tabIndex, props.disabled), accessKey: props.accessKey, disabled: props.disabled, title: props.title, "aria-valuemin": props.min, "aria-valuemax": props.max, "aria-labelledby": props.ariaLabelledBy, "aria-describedby": props.ariaDescribedBy, placeholder: props.placeholder, spellCheck: false, autoComplete: 'off', autoCorrect: 'off', type: props.inputType || 'tel', className: 'k-input-inner', id: inputId, name: props.name, readOnly: props.readOnly, onChange: onChangeHandler, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, onPaste: onPasteHandler, onWheel: onWheelHandler, ref: elementRef }),
|
|
264
|
+
React.createElement("input", { value: looseValue === null ? '' : looseValue, tabIndex: kendo_react_common_1.getTabIndex(props.tabIndex, props.disabled), accessKey: props.accessKey, disabled: props.disabled, title: props.title, "aria-valuemin": props.min, "aria-valuemax": props.max, "aria-label": props.ariaLabel, "aria-labelledby": props.ariaLabelledBy, "aria-describedby": props.ariaDescribedBy, placeholder: props.placeholder, spellCheck: false, autoComplete: 'off', autoCorrect: 'off', type: props.inputType || 'tel', className: 'k-input-inner', id: inputId, name: props.name, readOnly: props.readOnly, onChange: onChangeHandler, onFocus: onFocus, onBlur: onBlur, onKeyDown: onKeyDown, onPaste: onPasteHandler, onWheel: onWheelHandler, ref: elementRef }),
|
|
265
265
|
props.children,
|
|
266
266
|
props.spinners &&
|
|
267
267
|
(React.createElement("span", { className: "k-input-spinner k-spin-button", onMouseDown: onMouseDown },
|
|
@@ -309,6 +309,7 @@ exports.NumericTextBox.propTypes = {
|
|
|
309
309
|
rangeOnEnter: PropTypes.bool,
|
|
310
310
|
ariaLabelledBy: PropTypes.string,
|
|
311
311
|
ariaDescribedBy: PropTypes.string,
|
|
312
|
+
ariaLabel: PropTypes.string,
|
|
312
313
|
onChange: PropTypes.func,
|
|
313
314
|
onFocus: PropTypes.func,
|
|
314
315
|
onBlur: PropTypes.func,
|
|
@@ -90,6 +90,10 @@ export interface NumericTextBoxProps extends FormComponentProps {
|
|
|
90
90
|
* Identifies the element(s) which will label the component.
|
|
91
91
|
*/
|
|
92
92
|
ariaLabelledBy?: string;
|
|
93
|
+
/**
|
|
94
|
+
* The accessible label of the component.
|
|
95
|
+
*/
|
|
96
|
+
ariaLabel?: string;
|
|
93
97
|
/**
|
|
94
98
|
* Sets the `type` of the `input` DOM element.
|
|
95
99
|
*
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-inputs',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1645606895,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|