@progress/kendo-react-inputs 7.0.3-develop.9 → 7.1.0-develop.10
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 +8 -8
- package/index.d.ts +3 -0
- package/index.js +8 -8
- package/index.mjs +1671 -1665
- package/input/InputPrefix.d.ts +12 -2
- package/input/InputSeparator.d.ts +12 -2
- package/input/InputSuffix.d.ts +12 -2
- package/package.json +9 -9
- package/textarea/interfaces/TextAreaProps.d.ts +10 -2
package/input/InputPrefix.d.ts
CHANGED
|
@@ -12,8 +12,18 @@ export type InputPrefixHandle = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents the `props` of the `InputPrefix` component.
|
|
14
14
|
*/
|
|
15
|
-
export type InputPrefixProps = React.HTMLAttributes<HTMLSpanElement
|
|
15
|
+
export type InputPrefixProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
16
|
+
/**
|
|
17
|
+
* Sets the `orientation` property of the `InputPrefix` component.
|
|
18
|
+
*/
|
|
19
|
+
orientation?: 'horizontal' | 'vertical';
|
|
20
|
+
};
|
|
16
21
|
/**
|
|
17
22
|
* Represents the KendoReact InputPrefix component.
|
|
18
23
|
*/
|
|
19
|
-
export declare const InputPrefix: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const InputPrefix: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
|
25
|
+
/**
|
|
26
|
+
* Sets the `orientation` property of the `InputPrefix` component.
|
|
27
|
+
*/
|
|
28
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
29
|
+
} & React.RefAttributes<InputPrefixHandle>>;
|
|
@@ -12,8 +12,18 @@ export type InputSeparatorHandle = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents the `props` of the `InputSeparator` component.
|
|
14
14
|
*/
|
|
15
|
-
export type InputSeparatorProps = React.HTMLAttributes<HTMLSpanElement
|
|
15
|
+
export type InputSeparatorProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
16
|
+
/**
|
|
17
|
+
* Sets the `orientation` property of the `InputSeparator` component.
|
|
18
|
+
*/
|
|
19
|
+
orientation?: 'horizontal' | 'vertical';
|
|
20
|
+
};
|
|
16
21
|
/**
|
|
17
22
|
* Represents the KendoReact InputSeparator component.
|
|
18
23
|
*/
|
|
19
|
-
export declare const InputSeparator: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const InputSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
|
25
|
+
/**
|
|
26
|
+
* Sets the `orientation` property of the `InputSeparator` component.
|
|
27
|
+
*/
|
|
28
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
29
|
+
} & React.RefAttributes<InputSeparatorHandle>>;
|
package/input/InputSuffix.d.ts
CHANGED
|
@@ -12,8 +12,18 @@ export type InputSuffixHandle = {
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents the `props` of the `InputSuffix` component.
|
|
14
14
|
*/
|
|
15
|
-
export type InputSuffixProps = React.HTMLAttributes<HTMLSpanElement
|
|
15
|
+
export type InputSuffixProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
16
|
+
/**
|
|
17
|
+
* Sets the `orientation` property of the `InputSuffix` component.
|
|
18
|
+
*/
|
|
19
|
+
orientation?: 'horizontal' | 'vertical';
|
|
20
|
+
};
|
|
16
21
|
/**
|
|
17
22
|
* Represents the KendoReact InputSuffix component.
|
|
18
23
|
*/
|
|
19
|
-
export declare const InputSuffix: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const InputSuffix: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
|
25
|
+
/**
|
|
26
|
+
* Sets the `orientation` property of the `InputSuffix` component.
|
|
27
|
+
*/
|
|
28
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
29
|
+
} & React.RefAttributes<InputSuffixHandle>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-inputs",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0-develop.10",
|
|
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",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"@progress/kendo-drawing": "^1.19.0",
|
|
26
26
|
"@progress/kendo-inputs-common": "^3.1.0",
|
|
27
27
|
"@progress/kendo-licensing": "^1.3.4",
|
|
28
|
-
"@progress/kendo-react-animation": "7.0
|
|
29
|
-
"@progress/kendo-react-buttons": "7.0
|
|
30
|
-
"@progress/kendo-react-common": "7.0
|
|
31
|
-
"@progress/kendo-react-dialogs": "7.0
|
|
32
|
-
"@progress/kendo-react-form": "7.0
|
|
33
|
-
"@progress/kendo-react-intl": "7.0
|
|
34
|
-
"@progress/kendo-react-labels": "7.0
|
|
35
|
-
"@progress/kendo-react-popup": "7.0
|
|
28
|
+
"@progress/kendo-react-animation": "7.1.0-develop.10",
|
|
29
|
+
"@progress/kendo-react-buttons": "7.1.0-develop.10",
|
|
30
|
+
"@progress/kendo-react-common": "7.1.0-develop.10",
|
|
31
|
+
"@progress/kendo-react-dialogs": "7.1.0-develop.10",
|
|
32
|
+
"@progress/kendo-react-form": "7.1.0-develop.10",
|
|
33
|
+
"@progress/kendo-react-intl": "7.1.0-develop.10",
|
|
34
|
+
"@progress/kendo-react-labels": "7.1.0-develop.10",
|
|
35
|
+
"@progress/kendo-react-popup": "7.1.0-develop.10",
|
|
36
36
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
37
37
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
38
38
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { FormComponentProps } from '@progress/kendo-react-common';
|
|
5
|
+
import { CustomComponent, FormComponentProps } from '@progress/kendo-react-common';
|
|
6
6
|
import { TextAreaBlurEvent } from './TextAreaBlurEvent';
|
|
7
7
|
import { TextAreaChangeEvent } from './TextAreaChangeEvent';
|
|
8
8
|
import { TextAreaFocusEvent } from './TextAreaFocusEvent';
|
|
@@ -13,7 +13,7 @@ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
|
13
13
|
/**
|
|
14
14
|
* Represents the props of the [KendoReact TextArea component]({% slug overview_textarea %}).
|
|
15
15
|
*/
|
|
16
|
-
export interface TextAreaProps extends FormComponentProps, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'defaultValue' | 'onChange' | 'onFocus' | 'onBlur'> {
|
|
16
|
+
export interface TextAreaProps extends FormComponentProps, Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'defaultValue' | 'onChange' | 'onFocus' | 'onBlur' | 'prefix'> {
|
|
17
17
|
/**
|
|
18
18
|
* 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).
|
|
19
19
|
* For example these elements could contain error or hint message.
|
|
@@ -128,5 +128,13 @@ export interface TextAreaProps extends FormComponentProps, Omit<React.TextareaHT
|
|
|
128
128
|
* @default `solid`
|
|
129
129
|
*/
|
|
130
130
|
fillMode?: null | 'solid' | 'flat' | 'outline';
|
|
131
|
+
/**
|
|
132
|
+
* Sets a custom prefix to the TextArea component.
|
|
133
|
+
*/
|
|
134
|
+
prefix?: CustomComponent<any>;
|
|
135
|
+
/**
|
|
136
|
+
* Sets a custom suffix to the TextArea component.
|
|
137
|
+
*/
|
|
138
|
+
suffix?: CustomComponent<any>;
|
|
131
139
|
}
|
|
132
140
|
export {};
|