@progress/kendo-react-inputs 5.6.0-dev.202208261541 → 5.6.0-dev.202209021051
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/LICENSE.md +2 -2
- package/README.md +4 -4
- package/about.md +1 -1
- package/dist/cdn/js/kendo-react-inputs.js +1 -1
- package/dist/es/checkbox/Checkbox.js +1 -0
- package/dist/es/colors/ColorInput.js +1 -1
- package/dist/es/colors/ColorPicker.js +1 -1
- package/dist/es/colors/FlatColorPicker.js +1 -1
- package/dist/es/input/InputClearValue.d.ts +15 -0
- package/dist/es/input/InputClearValue.js +24 -0
- package/dist/es/input/InputPrefix.d.ts +15 -0
- package/dist/es/input/InputPrefix.js +24 -0
- package/dist/es/input/InputSeparator.d.ts +15 -0
- package/dist/es/input/InputSeparator.js +24 -0
- package/dist/es/input/InputSuffix.d.ts +15 -0
- package/dist/es/input/InputSuffix.js +24 -0
- package/dist/es/input/InputValidationIcon.d.ts +14 -0
- package/dist/es/input/InputValidationIcon.js +20 -0
- package/dist/es/main.d.ts +8 -0
- package/dist/es/main.js +8 -0
- package/dist/es/messages/index.d.ts +15 -0
- package/dist/es/messages/index.js +15 -0
- package/dist/es/numerictextbox/NumericTextBox.js +2 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/signature/Signature.d.ts +14 -0
- package/dist/es/signature/Signature.js +346 -0
- package/dist/es/signature/interfaces/SignatureBlurEvent.d.ts +7 -0
- package/dist/es/signature/interfaces/SignatureBlurEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureChangeEvent.d.ts +11 -0
- package/dist/es/signature/interfaces/SignatureChangeEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureCloseEvent.d.ts +7 -0
- package/dist/es/signature/interfaces/SignatureCloseEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureFocusEvent.d.ts +7 -0
- package/dist/es/signature/interfaces/SignatureFocusEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureHandle.d.ts +34 -0
- package/dist/es/signature/interfaces/SignatureHandle.js +1 -0
- package/dist/es/signature/interfaces/SignatureOpenEvent.d.ts +7 -0
- package/dist/es/signature/interfaces/SignatureOpenEvent.js +1 -0
- package/dist/es/signature/interfaces/SignatureProps.d.ts +196 -0
- package/dist/es/signature/interfaces/SignatureProps.js +1 -0
- package/dist/es/signature/interfaces/index.d.ts +7 -0
- package/dist/es/signature/interfaces/index.js +1 -0
- package/dist/es/signature/utils/index.d.ts +4 -0
- package/dist/es/signature/utils/index.js +10 -0
- package/dist/es/slider/Slider.js +2 -6
- package/dist/es/slider/SliderLabel.js +1 -2
- package/dist/es/switch/Switch.js +5 -5
- package/dist/es/textbox/Textbox.d.ts +69 -0
- package/dist/es/textbox/Textbox.js +111 -0
- package/dist/npm/checkbox/Checkbox.js +1 -0
- package/dist/npm/colors/ColorInput.js +1 -1
- package/dist/npm/colors/ColorPicker.js +1 -1
- package/dist/npm/colors/FlatColorPicker.js +1 -1
- package/dist/npm/input/InputClearValue.d.ts +15 -0
- package/dist/npm/input/InputClearValue.js +27 -0
- package/dist/npm/input/InputPrefix.d.ts +15 -0
- package/dist/npm/input/InputPrefix.js +27 -0
- package/dist/npm/input/InputSeparator.d.ts +15 -0
- package/dist/npm/input/InputSeparator.js +27 -0
- package/dist/npm/input/InputSuffix.d.ts +15 -0
- package/dist/npm/input/InputSuffix.js +27 -0
- package/dist/npm/input/InputValidationIcon.d.ts +14 -0
- package/dist/npm/input/InputValidationIcon.js +23 -0
- package/dist/npm/main.d.ts +8 -0
- package/dist/npm/main.js +15 -1
- package/dist/npm/messages/index.d.ts +15 -0
- package/dist/npm/messages/index.js +16 -1
- package/dist/npm/numerictextbox/NumericTextBox.js +2 -2
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/signature/Signature.d.ts +14 -0
- package/dist/npm/signature/Signature.js +349 -0
- package/dist/npm/signature/interfaces/SignatureBlurEvent.d.ts +7 -0
- package/dist/npm/signature/interfaces/SignatureBlurEvent.js +2 -0
- package/dist/npm/signature/interfaces/SignatureChangeEvent.d.ts +11 -0
- package/dist/npm/signature/interfaces/SignatureChangeEvent.js +2 -0
- package/dist/npm/signature/interfaces/SignatureCloseEvent.d.ts +7 -0
- package/dist/npm/signature/interfaces/SignatureCloseEvent.js +2 -0
- package/dist/npm/signature/interfaces/SignatureFocusEvent.d.ts +7 -0
- package/dist/npm/signature/interfaces/SignatureFocusEvent.js +2 -0
- package/dist/npm/signature/interfaces/SignatureHandle.d.ts +34 -0
- package/dist/npm/signature/interfaces/SignatureHandle.js +2 -0
- package/dist/npm/signature/interfaces/SignatureOpenEvent.d.ts +7 -0
- package/dist/npm/signature/interfaces/SignatureOpenEvent.js +2 -0
- package/dist/npm/signature/interfaces/SignatureProps.d.ts +196 -0
- package/dist/npm/signature/interfaces/SignatureProps.js +2 -0
- package/dist/npm/signature/interfaces/index.d.ts +7 -0
- package/dist/npm/signature/interfaces/index.js +2 -0
- package/dist/npm/signature/utils/index.d.ts +4 -0
- package/dist/npm/signature/utils/index.js +14 -0
- package/dist/npm/slider/Slider.js +2 -6
- package/dist/npm/slider/SliderLabel.js +1 -2
- package/dist/npm/switch/Switch.js +5 -5
- package/dist/npm/textbox/Textbox.d.ts +69 -0
- package/dist/npm/textbox/Textbox.js +114 -0
- package/dist/systemjs/kendo-react-inputs.js +1 -1
- package/package.json +21 -16
|
@@ -148,6 +148,7 @@ export var Checkbox = React.forwardRef(function (directProps, target) {
|
|
|
148
148
|
_a["k-checkbox-".concat(kendoThemeMaps.sizeMap[size] || size)] = size,
|
|
149
149
|
_a["k-rounded-".concat(kendoThemeMaps.roundedMap[rounded] || rounded)] = rounded,
|
|
150
150
|
_a['k-indeterminate'] = indeterminateProp,
|
|
151
|
+
_a['k-disabled'] = disabled,
|
|
151
152
|
_a['k-invalid k-invalid'] = !(isValid || validityStyles !== undefined || validityStyles === true),
|
|
152
153
|
_a)), ref: elementRef, name: name, id: id || calculatedId, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, checked: Boolean(checkedProp), disabled: disabled, tabIndex: getTabIndex(tabIndex, disabled), role: 'checkbox', required: required !== undefined ? required : false, 'aria-checked': currentChecked || checkedProp ?
|
|
153
154
|
true :
|
|
@@ -69,7 +69,7 @@ var ColorInput = /** @class */ (function (_super) {
|
|
|
69
69
|
var toggleButtonMessage = localizationService.toLanguageString(colorGradientToggleInputsButton, messages[colorGradientToggleInputsButton]);
|
|
70
70
|
return (React.createElement("div", { className: "k-colorgradient-inputs k-hstack" },
|
|
71
71
|
React.createElement("div", { className: "k-vstack" },
|
|
72
|
-
React.createElement(Button, { "aria-label": toggleButtonMessage, fillMode: 'flat', icon: '
|
|
72
|
+
React.createElement(Button, { "aria-label": toggleButtonMessage, fillMode: 'flat', icon: 'caret-alt-expand', className: "k-colorgradient-toggle-mode k-icon-button", onClick: this.onToggleModeChange.bind(this) })),
|
|
73
73
|
this.state.inputMode === 'hex' &&
|
|
74
74
|
React.createElement("div", { className: "k-vstack k-flex-1" },
|
|
75
75
|
React.createElement("span", { className: "k-hex-value k-textbox k-input" },
|
|
@@ -212,7 +212,7 @@ export var ColorPicker = React.forwardRef(function (directProps, target) {
|
|
|
212
212
|
(iconClassName || icon) && React.createElement("span", { className: classNames('k-color-preview-icon', iconClassName, (_b = {},
|
|
213
213
|
_b["k-icon k-i-".concat(icon)] = (icon && !iconClassName),
|
|
214
214
|
_b)) }),
|
|
215
|
-
React.createElement("span", { className: "k-color-preview-mask", style: { backgroundColor: value } })))), button: (React.createElement(Button, { tabIndex: -1, type: "button", onClick: onClickHandler, className: "k-input-button", rounded: null, icon: '
|
|
215
|
+
React.createElement("span", { className: "k-color-preview-mask", style: { backgroundColor: value } })))), button: (React.createElement(Button, { tabIndex: -1, type: "button", onClick: onClickHandler, className: "k-input-button", rounded: null, icon: 'caret-alt-down', "aria-label": localization.toLanguageString(colorPickerDropdownButtonAriaLabel, messages[colorPickerDropdownButtonAriaLabel]) })), content: (React.createElement(React.Fragment, null,
|
|
216
216
|
(view === 'combo' || view === 'gradient') && (React.createElement(ColorGradient, __assign({}, gradientSettings, { tabIndex: 0, ref: gradientRef, value: value, onChange: onChangeHandler }))),
|
|
217
217
|
(view === 'combo' || view === 'palette') && (React.createElement(ColorPalette, __assign({}, paletteSettings, { ref: paletteRef, value: value, onChange: onPaletteChangeHandler }))))) })));
|
|
218
218
|
});
|
|
@@ -73,7 +73,7 @@ export var FlatColorPicker = React.forwardRef(function (props, ref) {
|
|
|
73
73
|
React.createElement("div", { className: "k-coloreditor-header-actions k-hstack" },
|
|
74
74
|
(props.showClearButton && defaultProps.showClearButton) &&
|
|
75
75
|
React.createElement(Button, { type: "button", fillMode: 'flat', onClick: handleResetColor },
|
|
76
|
-
React.createElement("span", { className: "k-icon k-i-
|
|
76
|
+
React.createElement("span", { className: "k-icon k-i-droplet-slash" })),
|
|
77
77
|
(props.showPreview && defaultProps.showPreview) &&
|
|
78
78
|
React.createElement("div", { className: "k-coloreditor-preview k-vstack" },
|
|
79
79
|
React.createElement("span", { className: "k-coloreditor-preview-color k-color-preview", style: { background: colorValue } }),
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Represent the `ref` of the `InputClearValue` component.
|
|
4
|
+
*/
|
|
5
|
+
export declare type InputClearValueHandle = {
|
|
6
|
+
element: HTMLSpanElement | null;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Represents the `props` of the `InputClearValue` component.
|
|
10
|
+
*/
|
|
11
|
+
export declare type InputClearValueProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Represents the KendoReact InputClearValue component.
|
|
14
|
+
*/
|
|
15
|
+
export declare const InputClearValue: React.ForwardRefExoticComponent<InputClearValueProps & React.RefAttributes<InputClearValueHandle>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { classNames } from '@progress/kendo-react-common';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the KendoReact InputClearValue component.
|
|
16
|
+
*/
|
|
17
|
+
export var InputClearValue = React.forwardRef(function (props, ref) {
|
|
18
|
+
var target = React.useRef(null);
|
|
19
|
+
var element = React.useRef(null);
|
|
20
|
+
React.useImperativeHandle(target, function () { return ({ element: element.current }); });
|
|
21
|
+
React.useImperativeHandle(ref, function () { return target.current; });
|
|
22
|
+
return (React.createElement("span", __assign({}, props, { className: classNames('k-clear-value', props.className) })));
|
|
23
|
+
});
|
|
24
|
+
InputClearValue.displayName = 'KendoReactInputClearValue';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Represent the `ref` of the `InputPrefix` component.
|
|
4
|
+
*/
|
|
5
|
+
export declare type InputPrefixHandle = {
|
|
6
|
+
element: HTMLSpanElement | null;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Represents the `props` of the `InputPrefix` component.
|
|
10
|
+
*/
|
|
11
|
+
export declare type InputPrefixProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Represents the KendoReact InputPrefix component.
|
|
14
|
+
*/
|
|
15
|
+
export declare const InputPrefix: React.ForwardRefExoticComponent<InputPrefixProps & React.RefAttributes<InputPrefixHandle>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { classNames } from '@progress/kendo-react-common';
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the KendoReact InputPrefix component.
|
|
16
|
+
*/
|
|
17
|
+
export var InputPrefix = React.forwardRef(function (props, ref) {
|
|
18
|
+
var target = React.useRef(null);
|
|
19
|
+
var element = React.useRef(null);
|
|
20
|
+
React.useImperativeHandle(target, function () { return ({ element: element.current }); });
|
|
21
|
+
React.useImperativeHandle(ref, function () { return target.current; });
|
|
22
|
+
return (React.createElement("span", __assign({}, props, { className: classNames('k-input-prefix', props.className) })));
|
|
23
|
+
});
|
|
24
|
+
InputPrefix.displayName = 'KendoReactInputPrefix';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Represent the `ref` of the `InputSeparator` component.
|
|
4
|
+
*/
|
|
5
|
+
export declare type InputSeparatorHandle = {
|
|
6
|
+
element: HTMLSpanElement | null;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Represents the `props` of the `InputSeparator` component.
|
|
10
|
+
*/
|
|
11
|
+
export declare type InputSeparatorProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Represents the KendoReact InputSeparator component.
|
|
14
|
+
*/
|
|
15
|
+
export declare const InputSeparator: React.ForwardRefExoticComponent<InputSeparatorProps & React.RefAttributes<InputSeparatorHandle>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { classNames } from '@progress/kendo-react-common';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the KendoReact InputSeparator component.
|
|
16
|
+
*/
|
|
17
|
+
export var InputSeparator = React.forwardRef(function (props, ref) {
|
|
18
|
+
var target = React.useRef(null);
|
|
19
|
+
var element = React.useRef(null);
|
|
20
|
+
React.useImperativeHandle(target, function () { return ({ element: element.current }); });
|
|
21
|
+
React.useImperativeHandle(ref, function () { return target.current; });
|
|
22
|
+
return (React.createElement("span", __assign({}, props, { className: classNames('k-input-separator', props.className) })));
|
|
23
|
+
});
|
|
24
|
+
InputSeparator.displayName = 'KendoReactInputSeparator';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Represent the `ref` of the `InputSuffix` component.
|
|
4
|
+
*/
|
|
5
|
+
export declare type InputSuffixHandle = {
|
|
6
|
+
element: HTMLSpanElement | null;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Represents the `props` of the `InputSuffix` component.
|
|
10
|
+
*/
|
|
11
|
+
export declare type InputSuffixProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
12
|
+
/**
|
|
13
|
+
* Represents the KendoReact InputSuffix component.
|
|
14
|
+
*/
|
|
15
|
+
export declare const InputSuffix: React.ForwardRefExoticComponent<InputSuffixProps & React.RefAttributes<InputSuffixHandle>>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import * as React from 'react';
|
|
13
|
+
import { classNames } from '@progress/kendo-react-common';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the KendoReact InputSuffix component.
|
|
16
|
+
*/
|
|
17
|
+
export var InputSuffix = React.forwardRef(function (props, ref) {
|
|
18
|
+
var target = React.useRef(null);
|
|
19
|
+
var element = React.useRef(null);
|
|
20
|
+
React.useImperativeHandle(target, function () { return ({ element: element.current }); });
|
|
21
|
+
React.useImperativeHandle(ref, function () { return target.current; });
|
|
22
|
+
return (React.createElement("span", __assign({}, props, { className: classNames('k-input-suffix', props.className) })));
|
|
23
|
+
});
|
|
24
|
+
InputSuffix.displayName = 'KendoReactInputSuffix';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IconHandle, IconProps } from '@progress/kendo-react-common';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Represent the `ref` of the `InputValidationIcon` component.
|
|
5
|
+
*/
|
|
6
|
+
export declare type InputValidationIconHandle = IconHandle;
|
|
7
|
+
/**
|
|
8
|
+
* Represents the `props` of the `InputValidationIcon` component.
|
|
9
|
+
*/
|
|
10
|
+
export declare type InputValidationIconProps = IconProps;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the KendoReact InputValidationIcon component.
|
|
13
|
+
*/
|
|
14
|
+
export declare const InputValidationIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<IconHandle>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { classNames, Icon } from '@progress/kendo-react-common';
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
/**
|
|
15
|
+
* Represents the KendoReact InputValidationIcon component.
|
|
16
|
+
*/
|
|
17
|
+
export var InputValidationIcon = React.forwardRef(function (props, ref) {
|
|
18
|
+
return React.createElement(Icon, __assign({ ref: ref }, props, { className: classNames('k-input-validation-icon', props.className) }));
|
|
19
|
+
});
|
|
20
|
+
InputValidationIcon.displayName = 'KendoReactInputValidationIcon';
|
package/dist/es/main.d.ts
CHANGED
|
@@ -50,3 +50,11 @@ export * from './textarea/interfaces/TextAreaFocusEvent';
|
|
|
50
50
|
export * from './rating/Rating';
|
|
51
51
|
export * from './rating/RatingItem';
|
|
52
52
|
export * from './rating/models/index';
|
|
53
|
+
export * from './signature/Signature';
|
|
54
|
+
export * from './signature/interfaces';
|
|
55
|
+
export { TextBox, TextBoxProps, TextBoxHandle, TextBoxChangeEvent } from './textbox/Textbox';
|
|
56
|
+
export { InputClearValue, InputClearValueProps, InputClearValueHandle } from './input/InputClearValue';
|
|
57
|
+
export { InputPrefix, InputPrefixProps, InputPrefixHandle } from './input/InputPrefix';
|
|
58
|
+
export { InputSeparator, InputSeparatorProps, InputSeparatorHandle } from './input/InputSeparator';
|
|
59
|
+
export { InputSuffix, InputSuffixProps, InputSuffixHandle } from './input/InputSuffix';
|
|
60
|
+
export { InputValidationIcon, InputValidationIconProps, InputValidationIconHandle } from './input/InputValidationIcon';
|
package/dist/es/main.js
CHANGED
|
@@ -46,3 +46,11 @@ export * from './textarea/interfaces/TextAreaFocusEvent';
|
|
|
46
46
|
export * from './rating/Rating';
|
|
47
47
|
export * from './rating/RatingItem';
|
|
48
48
|
export * from './rating/models/index';
|
|
49
|
+
export * from './signature/Signature';
|
|
50
|
+
export * from './signature/interfaces';
|
|
51
|
+
export { TextBox } from './textbox/Textbox';
|
|
52
|
+
export { InputClearValue } from './input/InputClearValue';
|
|
53
|
+
export { InputPrefix } from './input/InputPrefix';
|
|
54
|
+
export { InputSeparator } from './input/InputSeparator';
|
|
55
|
+
export { InputSuffix } from './input/InputSuffix';
|
|
56
|
+
export { InputValidationIcon } from './input/InputValidationIcon';
|
|
@@ -102,6 +102,18 @@ export declare const colorPickerDropdownButtonAriaLabel = "colorPicker.dropdownB
|
|
|
102
102
|
* @hidden
|
|
103
103
|
*/
|
|
104
104
|
export declare const ratingAriaLabel = "rating.ariaLabel";
|
|
105
|
+
/**
|
|
106
|
+
* @hidden
|
|
107
|
+
*/
|
|
108
|
+
export declare const signatureClear = "signature.clear";
|
|
109
|
+
/**
|
|
110
|
+
* @hidden
|
|
111
|
+
*/
|
|
112
|
+
export declare const signatureMaximize = "signature.maximize";
|
|
113
|
+
/**
|
|
114
|
+
* @hidden
|
|
115
|
+
*/
|
|
116
|
+
export declare const signatureMinimize = "signature.minimize";
|
|
105
117
|
/**
|
|
106
118
|
* @hidden
|
|
107
119
|
*/
|
|
@@ -132,4 +144,7 @@ export declare const messages: {
|
|
|
132
144
|
"switch.validation": string;
|
|
133
145
|
"colorPicker.dropdownButtonAriaLabel": string;
|
|
134
146
|
"rating.ariaLabel": string;
|
|
147
|
+
"signature.clear": string;
|
|
148
|
+
"signature.maximize": string;
|
|
149
|
+
"signature.minimize": string;
|
|
135
150
|
};
|
|
@@ -103,6 +103,18 @@ export var colorPickerDropdownButtonAriaLabel = 'colorPicker.dropdownButtonAriaL
|
|
|
103
103
|
* @hidden
|
|
104
104
|
*/
|
|
105
105
|
export var ratingAriaLabel = 'rating.ariaLabel';
|
|
106
|
+
/**
|
|
107
|
+
* @hidden
|
|
108
|
+
*/
|
|
109
|
+
export var signatureClear = 'signature.clear';
|
|
110
|
+
/**
|
|
111
|
+
* @hidden
|
|
112
|
+
*/
|
|
113
|
+
export var signatureMaximize = 'signature.maximize';
|
|
114
|
+
/**
|
|
115
|
+
* @hidden
|
|
116
|
+
*/
|
|
117
|
+
export var signatureMinimize = 'signature.minimize';
|
|
106
118
|
/**
|
|
107
119
|
* @hidden
|
|
108
120
|
*/
|
|
@@ -133,4 +145,7 @@ export var messages = (_a = {},
|
|
|
133
145
|
_a[switchValidation] = 'Please turn on if you want to proceed!',
|
|
134
146
|
_a[colorPickerDropdownButtonAriaLabel] = 'Select',
|
|
135
147
|
_a[ratingAriaLabel] = 'Rating',
|
|
148
|
+
_a[signatureClear] = 'Clear',
|
|
149
|
+
_a[signatureMaximize] = 'Maximize',
|
|
150
|
+
_a[signatureMinimize] = 'Minimize',
|
|
136
151
|
_a);
|
|
@@ -272,8 +272,8 @@ export var NumericTextBox = React.forwardRef(function (directProps, target) {
|
|
|
272
272
|
props.children,
|
|
273
273
|
props.spinners &&
|
|
274
274
|
(React.createElement("span", { className: "k-input-spinner k-spin-button", onMouseDown: onMouseDown },
|
|
275
|
-
React.createElement(Button, { tabIndex: -1, type: "button", icon: '
|
|
276
|
-
React.createElement(Button, { tabIndex: -1, type: "button", icon: '
|
|
275
|
+
React.createElement(Button, { tabIndex: -1, type: "button", icon: 'caret-alt-up', rounded: null, className: "k-spinner-increase", "aria-label": localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]), title: localizationService.toLanguageString(numericIncreaseValue, messages[numericIncreaseValue]), onClick: onIncrease }),
|
|
276
|
+
React.createElement(Button, { tabIndex: -1, type: "button", icon: 'caret-alt-down', rounded: null, className: "k-spinner-decrease", "aria-label": localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]), title: localizationService.toLanguageString(numericDecreaseValue, messages[numericDecreaseValue]), onClick: onDecrease })))));
|
|
277
277
|
return props.label
|
|
278
278
|
? (React.createElement(FloatingLabel, { label: props.label, editorId: inputId, editorValue: looseValue === null ? '' : looseValue, editorValid: isValid, editorDisabled: props.disabled, editorPlaceholder: props.placeholder, children: numerictextbox, style: { width: props.width }, dir: props.dir }))
|
|
279
279
|
: numerictextbox;
|
|
@@ -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: 1662114830,
|
|
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
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SignatureHandle } from './interfaces/SignatureHandle';
|
|
3
|
+
import { SignatureProps } from './interfaces/SignatureProps';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the PropsContext of the `Signature` component.
|
|
6
|
+
* Used for global configuration of all `Signature` instances.
|
|
7
|
+
*
|
|
8
|
+
* For more information, refer to the [Inputs Props Context]({% slug props-context_inputs %}) article.
|
|
9
|
+
*/
|
|
10
|
+
export declare const SignaturePropsContext: React.Context<(p: SignatureProps) => SignatureProps>;
|
|
11
|
+
/**
|
|
12
|
+
* Represents the [KendoReact Signature component]({% slug overview_signature %}).
|
|
13
|
+
*/
|
|
14
|
+
export declare const Signature: React.ForwardRefExoticComponent<SignatureProps & React.RefAttributes<SignatureHandle | null>>;
|