@vonage/vivid-react 0.0.1 → 2.10.47
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/README.md +183 -0
- package/VwcAccordion/index.d.ts +14 -0
- package/VwcAccordion/index.js +59 -0
- package/VwcAccordion/package.json +11 -0
- package/VwcActionGroup/index.d.ts +18 -0
- package/VwcActionGroup/index.js +90 -0
- package/VwcActionGroup/package.json +11 -0
- package/VwcBadge/index.d.ts +29 -0
- package/VwcBadge/index.js +154 -0
- package/VwcBadge/package.json +11 -0
- package/VwcBanner/index.d.ts +26 -0
- package/VwcBanner/index.js +91 -0
- package/VwcBanner/package.json +11 -0
- package/VwcButton/index.d.ts +55 -0
- package/VwcButton/index.js +240 -0
- package/VwcButton/package.json +11 -0
- package/VwcButtonToggleGroup/index.d.ts +25 -0
- package/VwcButtonToggleGroup/index.js +91 -0
- package/VwcButtonToggleGroup/package.json +11 -0
- package/VwcCalendar/index.d.ts +20 -0
- package/VwcCalendar/index.js +70 -0
- package/VwcCalendar/package.json +11 -0
- package/VwcCalendarEvent/index.d.ts +25 -0
- package/VwcCalendarEvent/index.js +81 -0
- package/VwcCalendarEvent/package.json +11 -0
- package/VwcCard/index.d.ts +23 -0
- package/VwcCard/index.js +76 -0
- package/VwcCard/package.json +11 -0
- package/VwcCarousel/index.d.ts +14 -0
- package/VwcCarousel/index.js +45 -0
- package/VwcCarousel/package.json +11 -0
- package/VwcCarouselItem/index.d.ts +14 -0
- package/VwcCarouselItem/index.js +49 -0
- package/VwcCarouselItem/package.json +11 -0
- package/VwcCheckListItem/index.d.ts +41 -0
- package/VwcCheckListItem/index.js +153 -0
- package/VwcCheckListItem/package.json +11 -0
- package/VwcCheckbox/index.d.ts +34 -0
- package/VwcCheckbox/index.js +126 -0
- package/VwcCheckbox/package.json +11 -0
- package/VwcChip/index.d.ts +31 -0
- package/VwcChip/index.js +106 -0
- package/VwcChip/package.json +11 -0
- package/VwcChipSet/index.d.ts +16 -0
- package/VwcChipSet/index.js +60 -0
- package/VwcChipSet/package.json +11 -0
- package/VwcCircularProgress/index.d.ts +24 -0
- package/VwcCircularProgress/index.js +84 -0
- package/VwcCircularProgress/package.json +11 -0
- package/VwcDataGrid/index.d.ts +33 -0
- package/VwcDataGrid/index.js +122 -0
- package/VwcDataGrid/package.json +11 -0
- package/VwcDataGridColumn/index.d.ts +43 -0
- package/VwcDataGridColumn/index.js +144 -0
- package/VwcDataGridColumn/package.json +11 -0
- package/VwcDatepicker/index.d.ts +120 -0
- package/VwcDatepicker/index.js +422 -0
- package/VwcDatepicker/package.json +11 -0
- package/VwcDialog/index.d.ts +40 -0
- package/VwcDialog/index.js +135 -0
- package/VwcDialog/package.json +11 -0
- package/VwcDrawer/index.d.ts +20 -0
- package/VwcDrawer/index.js +80 -0
- package/VwcDrawer/package.json +11 -0
- package/VwcDropdown/index.d.ts +61 -0
- package/VwcDropdown/index.js +221 -0
- package/VwcDropdown/package.json +11 -0
- package/VwcElevation/index.d.ts +14 -0
- package/VwcElevation/index.js +45 -0
- package/VwcElevation/package.json +11 -0
- package/VwcEmptyState/index.d.ts +18 -0
- package/VwcEmptyState/index.js +59 -0
- package/VwcEmptyState/package.json +11 -0
- package/VwcExpansionPanel/index.d.ts +34 -0
- package/VwcExpansionPanel/index.js +199 -0
- package/VwcExpansionPanel/package.json +11 -0
- package/VwcFab/index.d.ts +32 -0
- package/VwcFab/index.js +124 -0
- package/VwcFab/package.json +11 -0
- package/VwcFilePicker/index.d.ts +24 -0
- package/VwcFilePicker/index.js +88 -0
- package/VwcFilePicker/package.json +11 -0
- package/VwcFormfield/index.d.ts +20 -0
- package/VwcFormfield/index.js +70 -0
- package/VwcFormfield/package.json +11 -0
- package/VwcHelperMessage/index.d.ts +14 -0
- package/VwcHelperMessage/index.js +49 -0
- package/VwcHelperMessage/package.json +11 -0
- package/VwcIcon/index.d.ts +22 -0
- package/VwcIcon/index.js +102 -0
- package/VwcIcon/package.json +11 -0
- package/VwcIconButton/index.d.ts +31 -0
- package/VwcIconButton/index.js +111 -0
- package/VwcIconButton/package.json +11 -0
- package/VwcIconButtonToggle/index.d.ts +37 -0
- package/VwcIconButtonToggle/index.js +136 -0
- package/VwcIconButtonToggle/package.json +11 -0
- package/VwcKeypad/index.d.ts +31 -0
- package/VwcKeypad/index.js +176 -0
- package/VwcKeypad/package.json +11 -0
- package/VwcLayout/index.d.ts +20 -0
- package/VwcLayout/index.js +105 -0
- package/VwcLayout/package.json +11 -0
- package/VwcLinearProgress/index.d.ts +26 -0
- package/VwcLinearProgress/index.js +98 -0
- package/VwcLinearProgress/package.json +11 -0
- package/VwcList/index.d.ts +35 -0
- package/VwcList/index.js +146 -0
- package/VwcList/package.json +11 -0
- package/VwcListExpansionPanel/index.d.ts +19 -0
- package/VwcListExpansionPanel/index.js +68 -0
- package/VwcListExpansionPanel/package.json +11 -0
- package/VwcListItem/index.d.ts +42 -0
- package/VwcListItem/index.js +171 -0
- package/VwcListItem/package.json +11 -0
- package/VwcMenu/index.d.ts +53 -0
- package/VwcMenu/index.js +210 -0
- package/VwcMenu/package.json +11 -0
- package/VwcNotchedOutline/index.d.ts +17 -0
- package/VwcNotchedOutline/index.js +58 -0
- package/VwcNotchedOutline/package.json +11 -0
- package/VwcNote/index.d.ts +18 -0
- package/VwcNote/index.js +59 -0
- package/VwcNote/package.json +11 -0
- package/VwcPagination/index.d.ts +16 -0
- package/VwcPagination/index.js +52 -0
- package/VwcPagination/package.json +11 -0
- package/VwcPopup/index.d.ts +30 -0
- package/VwcPopup/index.js +147 -0
- package/VwcPopup/package.json +11 -0
- package/VwcRadio/index.d.ts +52 -0
- package/VwcRadio/index.js +149 -0
- package/VwcRadio/package.json +11 -0
- package/VwcRadioListItem/index.d.ts +41 -0
- package/VwcRadioListItem/index.js +148 -0
- package/VwcRadioListItem/package.json +11 -0
- package/VwcSchemeSelect/index.d.ts +14 -0
- package/VwcSchemeSelect/index.js +46 -0
- package/VwcSchemeSelect/package.json +11 -0
- package/VwcSelect/index.d.ts +60 -0
- package/VwcSelect/index.js +253 -0
- package/VwcSelect/package.json +11 -0
- package/VwcSideDrawer/index.d.ts +22 -0
- package/VwcSideDrawer/index.js +73 -0
- package/VwcSideDrawer/package.json +11 -0
- package/VwcSlider/index.d.ts +34 -0
- package/VwcSlider/index.js +129 -0
- package/VwcSlider/package.json +11 -0
- package/VwcSnackbar/index.d.ts +42 -0
- package/VwcSnackbar/index.js +138 -0
- package/VwcSnackbar/package.json +11 -0
- package/VwcSurface/index.d.ts +42 -0
- package/VwcSurface/index.js +145 -0
- package/VwcSurface/package.json +11 -0
- package/VwcSwitch/index.d.ts +27 -0
- package/VwcSwitch/index.js +114 -0
- package/VwcSwitch/package.json +11 -0
- package/VwcTab/index.d.ts +40 -0
- package/VwcTab/index.js +151 -0
- package/VwcTab/package.json +11 -0
- package/VwcTabBar/index.d.ts +15 -0
- package/VwcTabBar/index.js +55 -0
- package/VwcTabBar/package.json +11 -0
- package/VwcTag/index.d.ts +34 -0
- package/VwcTag/index.js +115 -0
- package/VwcTag/package.json +11 -0
- package/VwcText/index.d.ts +18 -0
- package/VwcText/index.js +83 -0
- package/VwcText/package.json +11 -0
- package/VwcTextarea/index.d.ts +93 -0
- package/VwcTextarea/index.js +331 -0
- package/VwcTextarea/package.json +11 -0
- package/VwcTextfield/index.d.ts +89 -0
- package/VwcTextfield/index.js +329 -0
- package/VwcTextfield/package.json +11 -0
- package/VwcThemeSwitch/index.d.ts +14 -0
- package/VwcThemeSwitch/index.js +57 -0
- package/VwcThemeSwitch/package.json +11 -0
- package/VwcTooltip/index.d.ts +22 -0
- package/VwcTooltip/index.js +105 -0
- package/VwcTooltip/package.json +11 -0
- package/VwcTopAppBar/index.d.ts +22 -0
- package/VwcTopAppBar/index.js +77 -0
- package/VwcTopAppBar/package.json +11 -0
- package/VwcTopAppBarFixed/index.d.ts +22 -0
- package/VwcTopAppBarFixed/index.js +88 -0
- package/VwcTopAppBarFixed/package.json +11 -0
- package/index.js +281 -0
- package/package.json +135 -7
- package/testing/component.mock.js +3 -0
- package/types/index.d.ts +2 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"name": "vwc-textarea",
|
|
8
|
+
"path": "./../node_modules/@vonage/vwc-textarea/vwc-textarea.d.ts",
|
|
9
|
+
"properties": [
|
|
10
|
+
{
|
|
11
|
+
"name": "dense",
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"bindable": false
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "resizable",
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"bindable": false
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "form",
|
|
22
|
+
"type": "string | undefined",
|
|
23
|
+
"bindable": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "styles",
|
|
27
|
+
"type": "CSSResult[]"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "rows",
|
|
31
|
+
"type": "number",
|
|
32
|
+
"bindable": false
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "cols",
|
|
36
|
+
"type": "number",
|
|
37
|
+
"bindable": false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "value",
|
|
41
|
+
"type": "string",
|
|
42
|
+
"bindable": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "type",
|
|
46
|
+
"type": "TextFieldType",
|
|
47
|
+
"bindable": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "placeholder",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"bindable": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "label",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"bindable": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "icon",
|
|
61
|
+
"type": "string",
|
|
62
|
+
"bindable": false
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "iconTrailing",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"bindable": false
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "disabled",
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"bindable": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "required",
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"bindable": false
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "minLength",
|
|
81
|
+
"type": "number",
|
|
82
|
+
"bindable": false
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "maxLength",
|
|
86
|
+
"type": "number",
|
|
87
|
+
"bindable": false
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "outlined",
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"bindable": false
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "helper",
|
|
96
|
+
"type": "string",
|
|
97
|
+
"bindable": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "validateOnInitialRender",
|
|
101
|
+
"type": "boolean",
|
|
102
|
+
"bindable": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "validationMessage",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"bindable": false
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "autoValidate",
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"bindable": false
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "pattern",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"bindable": false
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "min",
|
|
121
|
+
"type": "string | number",
|
|
122
|
+
"bindable": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "max",
|
|
126
|
+
"type": "string | number",
|
|
127
|
+
"bindable": false
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "step",
|
|
131
|
+
"type": "number | null",
|
|
132
|
+
"bindable": false
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "size",
|
|
136
|
+
"type": "number | null",
|
|
137
|
+
"bindable": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "helperPersistent",
|
|
141
|
+
"type": "boolean",
|
|
142
|
+
"bindable": false
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "charCounter",
|
|
146
|
+
"type": "boolean | TextAreaCharCounter",
|
|
147
|
+
"bindable": false
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "endAligned",
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"bindable": false
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "prefix",
|
|
156
|
+
"type": "string",
|
|
157
|
+
"bindable": false
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "suffix",
|
|
161
|
+
"type": "string",
|
|
162
|
+
"bindable": false
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "name",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"bindable": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "inputMode",
|
|
171
|
+
"type": "TextFieldInputMode",
|
|
172
|
+
"bindable": false
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "readOnly",
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"bindable": false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "autocapitalize",
|
|
181
|
+
"type": "string",
|
|
182
|
+
"bindable": false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "validity",
|
|
186
|
+
"type": "ValidityState"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "willValidate",
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"bindable": false
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "selectionStart",
|
|
195
|
+
"type": "number | null",
|
|
196
|
+
"bindable": false
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "selectionEnd",
|
|
200
|
+
"type": "number | null",
|
|
201
|
+
"bindable": false
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "validityTransform",
|
|
205
|
+
"type": "((value: string, nativeValidity: ValidityState) => Partial<ValidityState>) | null",
|
|
206
|
+
"bindable": true
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "shadowRootOptions",
|
|
210
|
+
"type": "ShadowRootInit",
|
|
211
|
+
"bindable": false
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "ripple",
|
|
215
|
+
"description": "Implement ripple getter for Ripple integration with mwc-formfield",
|
|
216
|
+
"type": "Promise<RippleInterface | null> | undefined"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"events": [
|
|
220
|
+
"input",
|
|
221
|
+
"blur",
|
|
222
|
+
"focus"
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
*/
|
|
226
|
+
import PropTypes from 'prop-types'
|
|
227
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
228
|
+
import '@vonage/vwc-textarea'
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @param {boolean} dense
|
|
233
|
+
* @param {boolean} resizable
|
|
234
|
+
* @param {string | undefined} form
|
|
235
|
+
* @param {number} rows
|
|
236
|
+
* @param {number} cols
|
|
237
|
+
* @param {string} value
|
|
238
|
+
* @param {TextFieldType} type
|
|
239
|
+
* @param {string} placeholder
|
|
240
|
+
* @param {string} label
|
|
241
|
+
* @param {string} icon
|
|
242
|
+
* @param {string} iconTrailing
|
|
243
|
+
* @param {boolean} disabled
|
|
244
|
+
* @param {boolean} required
|
|
245
|
+
* @param {number} minLength
|
|
246
|
+
* @param {number} maxLength
|
|
247
|
+
* @param {boolean} outlined
|
|
248
|
+
* @param {string} helper
|
|
249
|
+
* @param {boolean} validateOnInitialRender
|
|
250
|
+
* @param {string} validationMessage
|
|
251
|
+
* @param {boolean} autoValidate
|
|
252
|
+
* @param {string} pattern
|
|
253
|
+
* @param {string | number} min
|
|
254
|
+
* @param {string | number} max
|
|
255
|
+
* @param {number | null} step
|
|
256
|
+
* @param {number | null} size
|
|
257
|
+
* @param {boolean} helperPersistent
|
|
258
|
+
* @param {boolean | TextAreaCharCounter} charCounter
|
|
259
|
+
* @param {boolean} endAligned
|
|
260
|
+
* @param {string} prefix
|
|
261
|
+
* @param {string} suffix
|
|
262
|
+
* @param {string} name
|
|
263
|
+
* @param {TextFieldInputMode} inputMode
|
|
264
|
+
* @param {boolean} readOnly
|
|
265
|
+
* @param {string} autocapitalize
|
|
266
|
+
* @param {boolean} willValidate
|
|
267
|
+
* @param {number | null} selectionStart
|
|
268
|
+
* @param {number | null} selectionEnd
|
|
269
|
+
* @param {((value: string, nativeValidity: ValidityState) => Partial<ValidityState>) | null} validityTransform
|
|
270
|
+
* @param {ShadowRootInit} shadowRootOptions
|
|
271
|
+
*/
|
|
272
|
+
const VwcTextarea = wrapper('vwc-textarea', {
|
|
273
|
+
events: [{"name":"focus","propName":"onFocus"},{"name":"blur","propName":"onBlur"},{"name":"input","propName":"onInput"}],
|
|
274
|
+
attributes: [],
|
|
275
|
+
properties: ["form","validityTransform"]
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
VwcTextarea.propTypes = {
|
|
279
|
+
onInput: PropTypes.func,
|
|
280
|
+
onBlur: PropTypes.func,
|
|
281
|
+
onFocus: PropTypes.func,
|
|
282
|
+
dense: PropTypes.bool,
|
|
283
|
+
resizable: PropTypes.bool,
|
|
284
|
+
form: PropTypes.string,
|
|
285
|
+
rows: PropTypes.number,
|
|
286
|
+
cols: PropTypes.number,
|
|
287
|
+
value: PropTypes.string,
|
|
288
|
+
type: PropTypes.any /* TextFieldType */,
|
|
289
|
+
placeholder: PropTypes.string,
|
|
290
|
+
label: PropTypes.string,
|
|
291
|
+
icon: PropTypes.string,
|
|
292
|
+
iconTrailing: PropTypes.string,
|
|
293
|
+
disabled: PropTypes.bool,
|
|
294
|
+
required: PropTypes.bool,
|
|
295
|
+
minLength: PropTypes.number,
|
|
296
|
+
maxLength: PropTypes.number,
|
|
297
|
+
outlined: PropTypes.bool,
|
|
298
|
+
helper: PropTypes.string,
|
|
299
|
+
validateOnInitialRender: PropTypes.bool,
|
|
300
|
+
validationMessage: PropTypes.string,
|
|
301
|
+
autoValidate: PropTypes.bool,
|
|
302
|
+
pattern: PropTypes.string,
|
|
303
|
+
min: PropTypes.any /* string | number */,
|
|
304
|
+
max: PropTypes.any /* string | number */,
|
|
305
|
+
step: PropTypes.number,
|
|
306
|
+
size: PropTypes.number,
|
|
307
|
+
helperPersistent: PropTypes.bool,
|
|
308
|
+
charCounter: PropTypes.any /* boolean | TextAreaCharCounter */,
|
|
309
|
+
endAligned: PropTypes.bool,
|
|
310
|
+
prefix: PropTypes.string,
|
|
311
|
+
suffix: PropTypes.string,
|
|
312
|
+
name: PropTypes.string,
|
|
313
|
+
inputMode: PropTypes.any /* TextFieldInputMode */,
|
|
314
|
+
readOnly: PropTypes.bool,
|
|
315
|
+
autocapitalize: PropTypes.string,
|
|
316
|
+
willValidate: PropTypes.bool,
|
|
317
|
+
selectionStart: PropTypes.number,
|
|
318
|
+
selectionEnd: PropTypes.number,
|
|
319
|
+
validityTransform: PropTypes.any /* ((value: string, nativeValidity: ValidityState) => Partial<ValidityState>) | null */,
|
|
320
|
+
shadowRootOptions: PropTypes.any /* ShadowRootInit */
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
VwcTextarea.defaultProps = {
|
|
324
|
+
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
VwcTextarea.displayName = 'VwcTextarea'
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
export default VwcTextarea
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import '@vonage/vwc-textfield';
|
|
3
|
+
/**
|
|
4
|
+
* @param {boolean} noActionsSync
|
|
5
|
+
* @param {boolean} dense
|
|
6
|
+
* @param {TextfieldShape | undefined} shape
|
|
7
|
+
* @param {string | undefined} autocomplete
|
|
8
|
+
* @param {string | undefined} form
|
|
9
|
+
* @param {TextfieldLayout | undefined} appearance
|
|
10
|
+
* @param {string} value
|
|
11
|
+
* @param {TextFieldType} type
|
|
12
|
+
* @param {string} placeholder
|
|
13
|
+
* @param {string} label
|
|
14
|
+
* @param {string} icon
|
|
15
|
+
* @param {string} iconTrailing
|
|
16
|
+
* @param {boolean} disabled
|
|
17
|
+
* @param {boolean} required
|
|
18
|
+
* @param {number} minLength
|
|
19
|
+
* @param {number} maxLength
|
|
20
|
+
* @param {boolean} outlined
|
|
21
|
+
* @param {string} helper
|
|
22
|
+
* @param {boolean} validateOnInitialRender
|
|
23
|
+
* @param {string} validationMessage
|
|
24
|
+
* @param {boolean} autoValidate
|
|
25
|
+
* @param {string} pattern
|
|
26
|
+
* @param {string | number} min
|
|
27
|
+
* @param {string | number} max
|
|
28
|
+
* @param {number | null} step
|
|
29
|
+
* @param {number | null} size
|
|
30
|
+
* @param {boolean} helperPersistent
|
|
31
|
+
* @param {boolean | TextAreaCharCounter} charCounter
|
|
32
|
+
* @param {boolean} endAligned
|
|
33
|
+
* @param {string} prefix
|
|
34
|
+
* @param {string} suffix
|
|
35
|
+
* @param {string} name
|
|
36
|
+
* @param {TextFieldInputMode} inputMode
|
|
37
|
+
* @param {boolean} readOnly
|
|
38
|
+
* @param {string} autocapitalize
|
|
39
|
+
* @param {((value: string, nativeValidity: ValidityState) => Partial<ValidityState>) | null} validityTransform
|
|
40
|
+
* @param {ShadowRootInit} shadowRootOptions
|
|
41
|
+
*/
|
|
42
|
+
declare const VwcTextfield: (props: {
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
slot?: string | undefined;
|
|
45
|
+
id?: string | undefined;
|
|
46
|
+
style?: React.CSSProperties | undefined;
|
|
47
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
48
|
+
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
49
|
+
onBlur?: ((event: SyntheticEvent) => void) | undefined;
|
|
50
|
+
onFocus?: ((event: SyntheticEvent) => void) | undefined;
|
|
51
|
+
noActionsSync?: boolean | undefined;
|
|
52
|
+
dense?: boolean | undefined;
|
|
53
|
+
shape?: any;
|
|
54
|
+
autocomplete?: string | undefined;
|
|
55
|
+
form?: string | undefined;
|
|
56
|
+
appearance?: any;
|
|
57
|
+
value?: string | undefined;
|
|
58
|
+
type?: any;
|
|
59
|
+
placeholder?: string | undefined;
|
|
60
|
+
label?: string | undefined;
|
|
61
|
+
icon?: string | undefined;
|
|
62
|
+
iconTrailing?: string | undefined;
|
|
63
|
+
disabled?: boolean | undefined;
|
|
64
|
+
required?: boolean | undefined;
|
|
65
|
+
minLength?: number | undefined;
|
|
66
|
+
maxLength?: number | undefined;
|
|
67
|
+
outlined?: boolean | undefined;
|
|
68
|
+
helper?: string | undefined;
|
|
69
|
+
validateOnInitialRender?: boolean | undefined;
|
|
70
|
+
validationMessage?: string | undefined;
|
|
71
|
+
autoValidate?: boolean | undefined;
|
|
72
|
+
pattern?: string | undefined;
|
|
73
|
+
min?: string | number | undefined;
|
|
74
|
+
max?: string | number | undefined;
|
|
75
|
+
step?: number | undefined;
|
|
76
|
+
size?: number | undefined;
|
|
77
|
+
helperPersistent?: boolean | undefined;
|
|
78
|
+
charCounter?: any;
|
|
79
|
+
endAligned?: boolean | undefined;
|
|
80
|
+
prefix?: string | undefined;
|
|
81
|
+
suffix?: string | undefined;
|
|
82
|
+
name?: string | undefined;
|
|
83
|
+
inputMode?: any;
|
|
84
|
+
readOnly?: boolean | undefined;
|
|
85
|
+
autocapitalize?: string | undefined;
|
|
86
|
+
validityTransform?: any;
|
|
87
|
+
shadowRootOptions?: any;
|
|
88
|
+
}) => JSX.Element;
|
|
89
|
+
export default VwcTextfield;
|