@progress/kendo-vue-inputs 2.7.0 → 2.7.1-dev.202112201049
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-vue-inputs.js +1 -1
- package/dist/es/main.d.ts +5 -0
- package/dist/es/main.js +5 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/switch/Switch.d.ts +131 -0
- package/dist/es/switch/Switch.js +304 -0
- package/dist/es/switch/util.d.ts +8 -0
- package/dist/es/switch/util.js +46 -0
- package/dist/es/textarea/TextArea.d.ts +46 -0
- package/dist/es/textarea/TextArea.js +251 -0
- package/dist/es/textarea/interfaces/TextAreaBlurEvent.d.ts +5 -0
- package/dist/es/textarea/interfaces/TextAreaBlurEvent.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaChangeEvent.d.ts +9 -0
- package/dist/es/textarea/interfaces/TextAreaChangeEvent.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaFocusEvent.d.ts +5 -0
- package/dist/es/textarea/interfaces/TextAreaFocusEvent.js +0 -0
- package/dist/es/textarea/interfaces/TextAreaProps.d.ts +84 -0
- package/dist/es/textarea/interfaces/TextAreaProps.js +0 -0
- package/dist/npm/main.d.ts +5 -0
- package/dist/npm/main.js +6 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/switch/Switch.d.ts +131 -0
- package/dist/npm/switch/Switch.js +317 -0
- package/dist/npm/switch/util.d.ts +8 -0
- package/dist/npm/switch/util.js +49 -0
- package/dist/npm/textarea/TextArea.d.ts +46 -0
- package/dist/npm/textarea/TextArea.js +261 -0
- package/dist/npm/textarea/interfaces/TextAreaBlurEvent.d.ts +5 -0
- package/dist/npm/textarea/interfaces/TextAreaBlurEvent.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaChangeEvent.d.ts +9 -0
- package/dist/npm/textarea/interfaces/TextAreaChangeEvent.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaFocusEvent.d.ts +5 -0
- package/dist/npm/textarea/interfaces/TextAreaFocusEvent.js +2 -0
- package/dist/npm/textarea/interfaces/TextAreaProps.d.ts +84 -0
- package/dist/npm/textarea/interfaces/TextAreaProps.js +5 -0
- package/package.json +7 -7
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { FormComponentProps } from '@progress/kendo-vue-common';
|
|
2
|
+
import { TextAreaBlurEvent } from './TextAreaBlurEvent';
|
|
3
|
+
import { TextAreaChangeEvent } from './TextAreaChangeEvent';
|
|
4
|
+
import { TextAreaFocusEvent } from './TextAreaFocusEvent';
|
|
5
|
+
/**
|
|
6
|
+
* Represents the props of the [Kendo UI for Vue TextArea component]({% slug overview_textarea %}).
|
|
7
|
+
*/
|
|
8
|
+
export interface TextAreaProps extends FormComponentProps {
|
|
9
|
+
/**
|
|
10
|
+
* 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).
|
|
11
|
+
* For example these elements could contain error or hint message.
|
|
12
|
+
*/
|
|
13
|
+
ariaDescribedBy?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Identifies the element(s) which will label the component.
|
|
16
|
+
*/
|
|
17
|
+
ariaLabelledBy?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies if the textarea element will resize its height automatically ([see example]({% slug sizing_textarea %})).
|
|
20
|
+
* Defaults to `false`.
|
|
21
|
+
*/
|
|
22
|
+
autoSize?: boolean;
|
|
23
|
+
modelValue?: string | string[] | number;
|
|
24
|
+
/**
|
|
25
|
+
* Specifies a list of CSS classes that will be added to the TextArea.
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The default value of the TextArea ([see example]({% slug default_textarea %})).
|
|
30
|
+
*/
|
|
31
|
+
defaultValue?: string | string[] | number;
|
|
32
|
+
/**
|
|
33
|
+
* Represents the `dir` HTML attribute.
|
|
34
|
+
*/
|
|
35
|
+
dir?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies if the TextArea is disabled ([see example]({% slug disabled_textarea %})).
|
|
38
|
+
*/
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the read-only state of the TextArea.
|
|
42
|
+
*/
|
|
43
|
+
readOnly?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies an exact height size for the TextArea to take ([see example]({% slug sizing_textarea %})).
|
|
46
|
+
*/
|
|
47
|
+
rows?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the `id` of the TextArea.
|
|
50
|
+
*/
|
|
51
|
+
id?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the `name` property of the `textarea` DOM element.
|
|
54
|
+
*
|
|
55
|
+
* This property is part of the [FormComponentProps]({% slug api_common_formcomponentprops %}) interface.
|
|
56
|
+
*/
|
|
57
|
+
name?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The hint that is displayed when the TextArea is empty.
|
|
60
|
+
*/
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Sets the `tabIndex` property of the TextArea.
|
|
64
|
+
* Defaults to `0`.
|
|
65
|
+
*/
|
|
66
|
+
tabIndex?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Sets the value to be submitted ([see example]({% slug controlled_textarea %})).
|
|
69
|
+
*/
|
|
70
|
+
value?: string | string[] | number;
|
|
71
|
+
validityStyles?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* The event handler that will be fired when the changes the selected value.
|
|
74
|
+
*/
|
|
75
|
+
onChange?: (event: TextAreaChangeEvent) => void;
|
|
76
|
+
/**
|
|
77
|
+
* The event handler that will be fired when TextArea is focused.
|
|
78
|
+
*/
|
|
79
|
+
onFocus?: (event: TextAreaFocusEvent) => void;
|
|
80
|
+
/**
|
|
81
|
+
* The event handler that will be fired when TextArea is blurred.
|
|
82
|
+
*/
|
|
83
|
+
onBlur?: (event: TextAreaBlurEvent) => void;
|
|
84
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-inputs",
|
|
3
3
|
"description": "Kendo UI for Vue Input package",
|
|
4
|
-
"version": "2.7.
|
|
4
|
+
"version": "2.7.1-dev.202112201049",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"vue": "^2.6.12 || ^3.0.2"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@progress/kendo-vue-common": "2.7.
|
|
41
|
-
"@progress/kendo-vue-labels": "2.7.
|
|
40
|
+
"@progress/kendo-vue-common": "2.7.1-dev.202112201049",
|
|
41
|
+
"@progress/kendo-vue-labels": "2.7.1-dev.202112201049"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@progress/kendo-licensing": "^1.1.0",
|
|
45
|
-
"@progress/kendo-vue-buttons": "2.7.
|
|
46
|
-
"@progress/kendo-vue-form": "2.7.
|
|
47
|
-
"@progress/kendo-vue-intl": "2.7.
|
|
48
|
-
"@progress/kendo-vue-labels": "2.7.
|
|
45
|
+
"@progress/kendo-vue-buttons": "2.7.1-dev.202112201049",
|
|
46
|
+
"@progress/kendo-vue-form": "2.7.1-dev.202112201049",
|
|
47
|
+
"@progress/kendo-vue-intl": "2.7.1-dev.202112201049",
|
|
48
|
+
"@progress/kendo-vue-labels": "2.7.1-dev.202112201049",
|
|
49
49
|
"cldr-core": "^34.0.0",
|
|
50
50
|
"cldr-dates-full": "^34.0.0",
|
|
51
51
|
"cldr-numbers-full": "^34.0.0"
|