@vonage/vivid-react 3.2.0 → 3.3.1
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/VwcAccordion/package.json +1 -1
- package/VwcActionGroup/package.json +1 -1
- package/VwcBadge/package.json +1 -1
- package/VwcBanner/package.json +1 -1
- package/VwcButton/package.json +1 -1
- package/VwcButtonToggleGroup/package.json +1 -1
- package/VwcCalendar/package.json +1 -1
- package/VwcCalendarEvent/package.json +1 -1
- package/VwcCard/package.json +1 -1
- package/VwcCarousel/package.json +1 -1
- package/VwcCarouselItem/package.json +1 -1
- package/VwcCheckListItem/package.json +1 -1
- package/VwcCheckbox/package.json +1 -1
- package/VwcChip/package.json +1 -1
- package/VwcChipSet/package.json +1 -1
- package/VwcCircularProgress/package.json +1 -1
- package/VwcDataGrid/package.json +1 -1
- package/VwcDataGridColumn/package.json +1 -1
- package/VwcDatepicker/package.json +1 -1
- package/VwcDropdown/package.json +1 -1
- package/VwcElevation/package.json +1 -1
- package/VwcEmptyState/package.json +1 -1
- package/VwcExpansionPanel/package.json +1 -1
- package/VwcFab/package.json +1 -1
- package/VwcFilePicker/package.json +1 -1
- package/VwcFormfield/package.json +1 -1
- package/VwcHelperMessage/package.json +1 -1
- package/VwcIcon/package.json +1 -1
- package/VwcIconButton/package.json +1 -1
- package/VwcIconButtonToggle/package.json +1 -1
- package/VwcKeypad/package.json +1 -1
- package/VwcLayout/package.json +1 -1
- package/VwcLinearProgress/package.json +1 -1
- package/VwcList/package.json +1 -1
- package/VwcListExpansionPanel/package.json +1 -1
- package/VwcListItem/package.json +1 -1
- package/VwcMenu/package.json +1 -1
- package/VwcNotchedOutline/package.json +1 -1
- package/VwcNote/package.json +1 -1
- package/VwcPagination/package.json +1 -1
- package/VwcPopup/package.json +1 -1
- package/VwcRadio/package.json +1 -1
- package/VwcRadioListItem/package.json +1 -1
- package/VwcSchemeSelect/package.json +1 -1
- package/VwcScrubBar/package.json +1 -1
- package/VwcSelect/package.json +1 -1
- package/VwcSlider/package.json +1 -1
- package/VwcSnackbar/package.json +1 -1
- package/VwcSurface/package.json +1 -1
- package/VwcSwitch/package.json +1 -1
- package/VwcTab/package.json +1 -1
- package/VwcTabBar/package.json +1 -1
- package/VwcTag/package.json +1 -1
- package/VwcText/package.json +1 -1
- package/VwcTextarea/package.json +1 -1
- package/VwcTextfield/package.json +1 -1
- package/VwcThemeSwitch/package.json +1 -1
- package/VwcTooltip/package.json +1 -1
- package/VwcTopAppBar/package.json +1 -1
- package/VwcTopAppBarFixed/package.json +1 -1
- package/index.js +4 -4
- package/package.json +2 -2
- package/types/index.d.ts +260 -29
- package/v3/VwcARIAGlobalStatesAndProperties/index.d.ts +122 -0
- package/v3/VwcARIAGlobalStatesAndProperties/index.js +352 -0
- package/v3/VwcARIAGlobalStatesAndProperties/package.json +11 -0
- package/v3/VwcAccordion/index.d.ts +7 -1
- package/v3/VwcAccordion/index.js +142 -3
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +6 -0
- package/v3/VwcAccordionItem/index.js +62 -3
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/index.js +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.d.ts +10 -14
- package/v3/VwcAlert/index.js +28 -25
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAnchor/index.d.ts +33 -0
- package/v3/VwcAnchor/index.js +173 -0
- package/v3/{VwcAppearanceUi → VwcAnchor}/package.json +3 -3
- package/v3/VwcAudioPlayer/index.js +2 -2
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/index.js +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/index.js +58 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.js +2 -2
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBaseProgress/index.d.ts +24 -0
- package/v3/VwcBaseProgress/index.js +108 -0
- package/v3/VwcBaseProgress/package.json +11 -0
- package/v3/VwcBreadcrumb/index.js +62 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/index.js +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.d.ts +24 -3
- package/v3/VwcButton/index.js +369 -5
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/index.js +2 -2
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/index.js +2 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/index.js +2 -2
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.d.ts +8 -1
- package/v3/VwcCheckbox/index.js +67 -4
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +26 -0
- package/v3/VwcCombobox/index.js +286 -4
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcDataGrid/index.d.ts +29 -2
- package/v3/VwcDataGrid/index.js +286 -8
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +10 -2
- package/v3/VwcDataGridCell/index.js +143 -23
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +16 -0
- package/v3/VwcDataGridRow/index.js +168 -3
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.js +42 -1
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDatePickerBase/index.js +27 -0
- package/v3/VwcDatePickerBase/package.json +2 -2
- package/v3/VwcDateRangePicker/index.js +45 -2
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDelegatesARIAButton/index.d.ts +19 -0
- package/v3/VwcDelegatesARIAButton/index.js +63 -0
- package/v3/VwcDelegatesARIAButton/package.json +11 -0
- package/v3/VwcDelegatesARIALink/index.d.ts +17 -0
- package/v3/VwcDelegatesARIALink/index.js +46 -0
- package/v3/VwcDelegatesARIALink/package.json +11 -0
- package/v3/VwcDelegatesARIAListbox/index.d.ts +23 -0
- package/v3/VwcDelegatesARIAListbox/index.js +63 -0
- package/v3/VwcDelegatesARIAListbox/package.json +11 -0
- package/v3/VwcDelegatesARIAListboxOption/index.d.ts +23 -0
- package/v3/VwcDelegatesARIAListboxOption/index.js +97 -0
- package/v3/VwcDelegatesARIAListboxOption/package.json +11 -0
- package/v3/VwcDelegatesARIASelect/index.d.ts +17 -0
- package/v3/VwcDelegatesARIASelect/index.js +70 -0
- package/v3/VwcDelegatesARIASelect/package.json +11 -0
- package/v3/VwcDelegatesARIATextbox/index.d.ts +16 -0
- package/v3/VwcDelegatesARIATextbox/index.js +59 -0
- package/v3/VwcDelegatesARIATextbox/package.json +11 -0
- package/v3/VwcDialPad/index.js +5 -3
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.d.ts +11 -1
- package/v3/VwcDialog/index.js +122 -20
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +4 -1
- package/v3/VwcDivider/index.js +41 -3
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/index.d.ts +2 -0
- package/v3/VwcElevation/index.js +17 -3
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.d.ts +4 -0
- package/v3/VwcEmptyState/index.js +123 -3
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.d.ts +20 -0
- package/v3/VwcFab/index.js +353 -3
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +8 -0
- package/v3/VwcFilePicker/index.js +181 -1
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcFormAssociatedCheckbox/index.d.ts +17 -0
- package/v3/VwcFormAssociatedCheckbox/index.js +41 -0
- package/v3/VwcFormAssociatedCheckbox/package.json +11 -0
- package/v3/VwcFormAssociatedFilePicker/index.js +1 -1
- package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
- package/v3/VwcFormAssociatedNumberField/index.js +1 -1
- package/v3/VwcFormAssociatedNumberField/package.json +2 -2
- package/v3/VwcFormAssociatedRadio/index.d.ts +19 -0
- package/v3/VwcFormAssociatedRadio/index.js +64 -0
- package/v3/VwcFormAssociatedRadio/package.json +11 -0
- package/v3/VwcFormAssociatedRangeSlider/index.js +1 -1
- package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
- package/v3/VwcFormAssociatedSearchableSelect/index.d.ts +17 -0
- package/v3/VwcFormAssociatedSearchableSelect/index.js +41 -0
- package/v3/VwcFormAssociatedSearchableSelect/package.json +11 -0
- package/v3/VwcFormAssociatedSelect/index.d.ts +27 -0
- package/v3/VwcFormAssociatedSelect/index.js +164 -0
- package/v3/VwcFormAssociatedSelect/package.json +11 -0
- package/v3/VwcFormAssociatedSlider/index.d.ts +17 -0
- package/v3/VwcFormAssociatedSlider/index.js +41 -0
- package/v3/VwcFormAssociatedSlider/package.json +11 -0
- package/v3/VwcFormAssociatedSwitch/index.d.ts +17 -0
- package/v3/VwcFormAssociatedSwitch/index.js +41 -0
- package/v3/VwcFormAssociatedSwitch/package.json +11 -0
- package/v3/VwcFormAssociatedTextArea/index.d.ts +17 -0
- package/v3/VwcFormAssociatedTextArea/index.js +41 -0
- package/v3/VwcFormAssociatedTextArea/package.json +11 -0
- package/v3/VwcFormAssociatedTextField/index.d.ts +17 -0
- package/v3/VwcFormAssociatedTextField/index.js +41 -0
- package/v3/VwcFormAssociatedTextField/package.json +11 -0
- package/v3/VwcFormAssociatedTimePicker/index.js +1 -1
- package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
- package/v3/VwcHeader/index.js +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcIcon/index.js +15 -2
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcInlineTimePicker/index.d.ts +27 -0
- package/v3/VwcInlineTimePicker/index.js +125 -0
- package/v3/VwcInlineTimePicker/package.json +11 -0
- package/v3/VwcLayout/index.js +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.d.ts +10 -6
- package/v3/VwcListbox/index.js +51 -76
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +2 -4
- package/v3/VwcMenu/index.js +148 -11
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +8 -2
- package/v3/VwcMenuItem/index.js +93 -6
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/VwcNav/index.js +2 -2
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.js +2 -2
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/index.js +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.d.ts +2 -0
- package/v3/VwcNumberField/index.js +21 -2
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +24 -5
- package/v3/VwcOption/index.js +199 -12
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/index.d.ts +25 -0
- package/v3/VwcOptionTag/index.js +109 -0
- package/v3/VwcOptionTag/package.json +11 -0
- package/v3/VwcPagination/index.js +2 -2
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcProgress/index.d.ts +8 -0
- package/v3/VwcProgress/index.js +79 -4
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/index.d.ts +8 -0
- package/v3/VwcProgressRing/index.js +84 -2
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +8 -0
- package/v3/VwcRadio/index.js +93 -3
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/index.d.ts +11 -0
- package/v3/VwcRadioGroup/index.js +180 -4
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.d.ts +2 -0
- package/v3/VwcRangeSlider/index.js +98 -10
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcSearchableSelect/index.d.ts +46 -0
- package/v3/VwcSearchableSelect/index.js +551 -0
- package/v3/VwcSearchableSelect/package.json +11 -0
- package/v3/VwcSelect/index.d.ts +20 -0
- package/v3/VwcSelect/index.js +208 -4
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.js +2 -2
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/index.d.ts +1 -0
- package/v3/VwcSideDrawer/index.js +10 -3
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSlider/index.d.ts +24 -11
- package/v3/VwcSlider/index.js +338 -8
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.js +2 -2
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.d.ts +10 -1
- package/v3/VwcSwitch/index.js +93 -4
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.d.ts +4 -0
- package/v3/VwcTab/index.js +61 -3
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/index.js +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.d.ts +11 -1
- package/v3/VwcTabs/index.js +284 -34
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.js +2 -2
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/index.js +2 -2
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextAnchor/index.js +2 -2
- package/v3/VwcTextAnchor/package.json +2 -2
- package/v3/VwcTextArea/index.d.ts +27 -0
- package/v3/VwcTextArea/index.js +229 -4
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +28 -2
- package/v3/VwcTextField/index.js +224 -4
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.js +20 -1
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.js +2 -2
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.js +2 -2
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/index.d.ts +6 -0
- package/v3/VwcTreeItem/index.js +107 -3
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/index.d.ts +5 -1
- package/v3/VwcTreeView/index.js +124 -3
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/index.js +2 -2
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVividElement/index.d.ts +16 -0
- package/v3/VwcVividElement/index.js +30 -0
- package/v3/VwcVividElement/package.json +11 -0
- package/v3/VwcVividFoundationButton/index.d.ts +36 -0
- package/v3/VwcVividFoundationButton/index.js +296 -0
- package/v3/VwcVividFoundationButton/package.json +11 -0
- package/v3/VwcAppearanceUi/index.d.ts +0 -29
- package/v3/VwcAppearanceUi/index.js +0 -559
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-text-anchor",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"private": true,
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@vonage/vivid": "4.
|
|
9
|
+
"@vonage/vivid": "4.14.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcTextArea
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/text-area
|
|
4
|
+
* @param {boolean} readOnly - When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information. **attribute** `readOnly`
|
|
5
|
+
* @param {TextAreaResize} resize - The resize mode of the element. **attribute** `resize`
|
|
6
|
+
* @param {boolean} autofocus - Indicates that this element should get focus after the page finishes loading. **attribute** `autofocus`
|
|
7
|
+
* @param {string} formId - The https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id | id of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form | form the element is associated to **attribute** `form`
|
|
8
|
+
* @param {string} list - Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id. **attribute** `list`
|
|
9
|
+
* @param {number} maxlength - The maximum number of characters a user can enter. **attribute** `maxlength`
|
|
10
|
+
* @param {number} minlength - The minimum number of characters a user can enter. **attribute** `minlength`
|
|
11
|
+
* @param {string} name - The name of the element. **attribute** `name`
|
|
12
|
+
* @param {string} placeholder - Sets the placeholder value of the element, generally used to provide a hint to the user. **attribute** `placeholder`
|
|
13
|
+
* @param {number} cols - Sizes the element horizontally by a number of character columns. **attribute** `cols`
|
|
14
|
+
* @param {number} rows - Sizes the element vertically by a number of character rows. **attribute** `rows`
|
|
15
|
+
* @param {boolean} spellcheck - Sets if the element is eligible for spell checking
|
|
16
|
+
but the UA. **attribute** `spellcheck`
|
|
4
17
|
* @param {TextAreaWrap | undefined} wrap - The wrap attribute **attribute** `wrap`
|
|
18
|
+
* @param proxy
|
|
5
19
|
*/
|
|
6
20
|
declare const VwcTextArea: {
|
|
7
21
|
(props: {
|
|
@@ -12,7 +26,20 @@ declare const VwcTextArea: {
|
|
|
12
26
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
13
27
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
14
28
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
29
|
+
readOnly?: boolean | undefined;
|
|
30
|
+
resize?: any;
|
|
31
|
+
autofocus?: boolean | undefined;
|
|
32
|
+
formId?: string | undefined;
|
|
33
|
+
list?: string | undefined;
|
|
34
|
+
maxlength?: number | undefined;
|
|
35
|
+
minlength?: number | undefined;
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
placeholder?: string | undefined;
|
|
38
|
+
cols?: number | undefined;
|
|
39
|
+
rows?: number | undefined;
|
|
40
|
+
spellcheck?: boolean | undefined;
|
|
15
41
|
wrap?: any;
|
|
42
|
+
proxy?: any;
|
|
16
43
|
}): JSX.Element;
|
|
17
44
|
displayName: string;
|
|
18
45
|
};
|
package/v3/VwcTextArea/index.js
CHANGED
|
@@ -112,6 +112,131 @@ Code in this file were generated using following JSON:
|
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
114
|
"members": [
|
|
115
|
+
{
|
|
116
|
+
"kind": "field",
|
|
117
|
+
"name": "readOnly",
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "boolean"
|
|
120
|
+
},
|
|
121
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
122
|
+
"privacy": "public"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "field",
|
|
126
|
+
"name": "resize",
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "TextAreaResize"
|
|
129
|
+
},
|
|
130
|
+
"description": "The resize mode of the element.",
|
|
131
|
+
"privacy": "public"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"kind": "field",
|
|
135
|
+
"name": "autofocus",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "boolean"
|
|
138
|
+
},
|
|
139
|
+
"description": "Indicates that this element should get focus after the page finishes loading.",
|
|
140
|
+
"privacy": "public"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "field",
|
|
144
|
+
"name": "formId",
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "string"
|
|
147
|
+
},
|
|
148
|
+
"description": "The https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id | id of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form | form the element is associated to",
|
|
149
|
+
"privacy": "public"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "field",
|
|
153
|
+
"name": "list",
|
|
154
|
+
"type": {
|
|
155
|
+
"text": "string"
|
|
156
|
+
},
|
|
157
|
+
"description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
|
|
158
|
+
"privacy": "public"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"kind": "field",
|
|
162
|
+
"name": "maxlength",
|
|
163
|
+
"type": {
|
|
164
|
+
"text": "number"
|
|
165
|
+
},
|
|
166
|
+
"description": "The maximum number of characters a user can enter.",
|
|
167
|
+
"privacy": "public"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"kind": "field",
|
|
171
|
+
"name": "minlength",
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "number"
|
|
174
|
+
},
|
|
175
|
+
"description": "The minimum number of characters a user can enter.",
|
|
176
|
+
"privacy": "public"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "field",
|
|
180
|
+
"name": "name",
|
|
181
|
+
"type": {
|
|
182
|
+
"text": "string"
|
|
183
|
+
},
|
|
184
|
+
"description": "The name of the element.",
|
|
185
|
+
"privacy": "public"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"kind": "field",
|
|
189
|
+
"name": "placeholder",
|
|
190
|
+
"type": {
|
|
191
|
+
"text": "string"
|
|
192
|
+
},
|
|
193
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
194
|
+
"privacy": "public"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"kind": "field",
|
|
198
|
+
"name": "cols",
|
|
199
|
+
"type": {
|
|
200
|
+
"text": "number"
|
|
201
|
+
},
|
|
202
|
+
"default": "20",
|
|
203
|
+
"description": "Sizes the element horizontally by a number of character columns.",
|
|
204
|
+
"privacy": "public"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"kind": "field",
|
|
208
|
+
"name": "rows",
|
|
209
|
+
"type": {
|
|
210
|
+
"text": "number"
|
|
211
|
+
},
|
|
212
|
+
"description": "Sizes the element vertically by a number of character rows.",
|
|
213
|
+
"privacy": "public"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"kind": "field",
|
|
217
|
+
"name": "spellcheck",
|
|
218
|
+
"type": {
|
|
219
|
+
"text": "boolean"
|
|
220
|
+
},
|
|
221
|
+
"description": "Sets if the element is eligible for spell checking\nbut the UA.",
|
|
222
|
+
"privacy": "public"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"kind": "method",
|
|
226
|
+
"name": "select",
|
|
227
|
+
"description": "Selects all the text in the text area",
|
|
228
|
+
"privacy": "public"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "method",
|
|
232
|
+
"name": "validate",
|
|
233
|
+
"return": {
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "void"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"description": "{@inheritDoc (FormAssociated:interface).validate}"
|
|
239
|
+
},
|
|
115
240
|
{
|
|
116
241
|
"kind": "field",
|
|
117
242
|
"name": "wrap",
|
|
@@ -128,6 +253,14 @@ Code in this file were generated using following JSON:
|
|
|
128
253
|
"type": {
|
|
129
254
|
"text": "Reflector<this, HTMLTextAreaElement> | undefined"
|
|
130
255
|
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "field",
|
|
259
|
+
"name": "proxy",
|
|
260
|
+
"inheritedFrom": {
|
|
261
|
+
"name": "FormAssociatedTextArea",
|
|
262
|
+
"module": "libs/components/src/lib/text-area/text-area.form-associated.ts"
|
|
263
|
+
}
|
|
131
264
|
}
|
|
132
265
|
],
|
|
133
266
|
"events": [
|
|
@@ -140,6 +273,96 @@ Code in this file were generated using following JSON:
|
|
|
140
273
|
}
|
|
141
274
|
],
|
|
142
275
|
"attributes": [
|
|
276
|
+
{
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "boolean"
|
|
279
|
+
},
|
|
280
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
281
|
+
"fieldName": "readOnly"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "resize",
|
|
285
|
+
"type": {
|
|
286
|
+
"text": "TextAreaResize"
|
|
287
|
+
},
|
|
288
|
+
"description": "The resize mode of the element.",
|
|
289
|
+
"fieldName": "resize"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": {
|
|
293
|
+
"text": "boolean"
|
|
294
|
+
},
|
|
295
|
+
"description": "Indicates that this element should get focus after the page finishes loading.",
|
|
296
|
+
"fieldName": "autofocus"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "form",
|
|
300
|
+
"type": {
|
|
301
|
+
"text": "string"
|
|
302
|
+
},
|
|
303
|
+
"description": "The https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id | id of the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form | form the element is associated to",
|
|
304
|
+
"fieldName": "formId"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "list",
|
|
308
|
+
"type": {
|
|
309
|
+
"text": "string"
|
|
310
|
+
},
|
|
311
|
+
"description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
|
|
312
|
+
"fieldName": "list"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": {
|
|
316
|
+
"text": "number"
|
|
317
|
+
},
|
|
318
|
+
"description": "The maximum number of characters a user can enter.",
|
|
319
|
+
"fieldName": "maxlength"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "number"
|
|
324
|
+
},
|
|
325
|
+
"description": "The minimum number of characters a user can enter.",
|
|
326
|
+
"fieldName": "minlength"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "name",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "string"
|
|
332
|
+
},
|
|
333
|
+
"description": "The name of the element.",
|
|
334
|
+
"fieldName": "name"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "placeholder",
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "string"
|
|
340
|
+
},
|
|
341
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
342
|
+
"fieldName": "placeholder"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"type": {
|
|
346
|
+
"text": "number"
|
|
347
|
+
},
|
|
348
|
+
"default": "20",
|
|
349
|
+
"description": "Sizes the element horizontally by a number of character columns.",
|
|
350
|
+
"fieldName": "cols"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"type": {
|
|
354
|
+
"text": "number"
|
|
355
|
+
},
|
|
356
|
+
"description": "Sizes the element vertically by a number of character rows.",
|
|
357
|
+
"fieldName": "rows"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": {
|
|
361
|
+
"text": "boolean"
|
|
362
|
+
},
|
|
363
|
+
"description": "Sets if the element is eligible for spell checking\nbut the UA.",
|
|
364
|
+
"fieldName": "spellcheck"
|
|
365
|
+
},
|
|
143
366
|
{
|
|
144
367
|
"name": "wrap",
|
|
145
368
|
"type": {
|
|
@@ -150,8 +373,8 @@ Code in this file were generated using following JSON:
|
|
|
150
373
|
}
|
|
151
374
|
],
|
|
152
375
|
"superclass": {
|
|
153
|
-
"name": "
|
|
154
|
-
"
|
|
376
|
+
"name": "FormAssociatedTextArea",
|
|
377
|
+
"module": "/libs/components/src/lib/text-area/text-area.form-associated"
|
|
155
378
|
},
|
|
156
379
|
"vividComponent": {
|
|
157
380
|
"public": true,
|
|
@@ -160,7 +383,9 @@ Code in this file were generated using following JSON:
|
|
|
160
383
|
{
|
|
161
384
|
"name": "modelValue",
|
|
162
385
|
"attributeName": "value",
|
|
163
|
-
"
|
|
386
|
+
"eventNames": [
|
|
387
|
+
"input"
|
|
388
|
+
],
|
|
164
389
|
"valueMapping": "(event.target as HTMLInputElement).value"
|
|
165
390
|
}
|
|
166
391
|
]
|
|
@@ -175,7 +400,7 @@ registerTextArea('vvd3')
|
|
|
175
400
|
const VwcTextArea = wrapper(`vvd3-text-area`, {
|
|
176
401
|
events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
|
|
177
402
|
attributes: [],
|
|
178
|
-
properties: ['wrap']
|
|
403
|
+
properties: ['readOnly', 'resize', 'autofocus', 'formId', 'list', 'maxlength', 'minlength', 'name', 'placeholder', 'cols', 'rows', 'spellcheck', 'wrap', 'proxy']
|
|
179
404
|
})
|
|
180
405
|
|
|
181
406
|
VwcTextArea.displayName = 'VwcTextArea'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-text-area",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"private": true,
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@vonage/vivid": "4.
|
|
9
|
+
"@vonage/vivid": "4.14.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for text-field
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/text-field
|
|
4
|
+
* @param {boolean} readOnly - When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information. **attribute** `readonly`
|
|
5
|
+
* @param {boolean} autofocus - Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information. **attribute** `autofocus`
|
|
6
|
+
* @param {string} placeholder - Sets the placeholder value of the element, generally used to provide a hint to the user. **attribute** `placeholder`
|
|
7
|
+
* @param {TextFieldType} type - Allows setting a type or mode of text. **attribute** `type`
|
|
8
|
+
* @param {string} list - Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id. **attribute** `list`
|
|
9
|
+
* @param {number} maxlength - The maximum number of characters a user can enter. **attribute** `maxlength`
|
|
10
|
+
* @param {number} minlength - The minimum number of characters a user can enter. **attribute** `minlength`
|
|
11
|
+
* @param {string} pattern - A regular expression that the value must match to pass validation. **attribute** `pattern`
|
|
12
|
+
* @param {number} size - Sets the width of the element to a specified number of characters. **attribute** `size`
|
|
13
|
+
* @param {boolean} spellcheck - Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used. **attribute** `spellcheck`
|
|
4
14
|
* @param {TextFieldAppearance | undefined} appearance **attribute** `appearance`
|
|
5
15
|
* @param {TextFieldShape | undefined} shape **attribute** `shape`
|
|
6
16
|
* @param {string | undefined} autoComplete **attribute** `autoComplete`
|
|
17
|
+
* @param {TextFieldSize | undefined} scale - The size the text-field should have. **attribute** `scale`
|
|
18
|
+
* @param {string} inputMode - Hints at the type of data that might be entered by the user while editing the element or its contents.
|
|
19
|
+
This allows a browser to display an appropriate virtual keyboard. **attribute** `inputmode`
|
|
7
20
|
* @param {HTMLElement[] | undefined} leadingActionItemsSlottedContent
|
|
21
|
+
* @param proxy
|
|
8
22
|
* @param {string | undefined} icon
|
|
9
23
|
* @param {string | undefined} value
|
|
10
|
-
* @param {string | undefined} placeholder
|
|
24
|
+
* @param {string | undefined} placeholder **attribute** `placeholder`
|
|
11
25
|
* @param {string | undefined} label
|
|
12
26
|
* @param {any} onInput
|
|
13
27
|
*/
|
|
@@ -20,13 +34,25 @@ declare const VwcTextField: {
|
|
|
20
34
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
21
35
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
22
36
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
37
|
+
readOnly?: boolean | undefined;
|
|
38
|
+
autofocus?: boolean | undefined;
|
|
39
|
+
placeholder?: string | undefined;
|
|
40
|
+
type?: any;
|
|
41
|
+
list?: string | undefined;
|
|
42
|
+
maxlength?: number | undefined;
|
|
43
|
+
minlength?: number | undefined;
|
|
44
|
+
pattern?: string | undefined;
|
|
45
|
+
size?: number | undefined;
|
|
46
|
+
spellcheck?: boolean | undefined;
|
|
23
47
|
appearance?: any;
|
|
24
48
|
shape?: any;
|
|
25
49
|
autoComplete?: string | undefined;
|
|
50
|
+
scale?: any;
|
|
51
|
+
inputMode?: string | undefined;
|
|
26
52
|
leadingActionItemsSlottedContent?: any;
|
|
53
|
+
proxy?: any;
|
|
27
54
|
icon?: string | undefined;
|
|
28
55
|
value?: string | undefined;
|
|
29
|
-
placeholder?: string | undefined;
|
|
30
56
|
label?: string | undefined;
|
|
31
57
|
}): JSX.Element;
|
|
32
58
|
displayName: string;
|
package/v3/VwcTextField/index.js
CHANGED
|
@@ -56,6 +56,107 @@ Code in this file were generated using following JSON:
|
|
|
56
56
|
}
|
|
57
57
|
],
|
|
58
58
|
"members": [
|
|
59
|
+
{
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "readOnly",
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "boolean"
|
|
64
|
+
},
|
|
65
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
66
|
+
"privacy": "public"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "field",
|
|
70
|
+
"name": "autofocus",
|
|
71
|
+
"type": {
|
|
72
|
+
"text": "boolean"
|
|
73
|
+
},
|
|
74
|
+
"description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
|
|
75
|
+
"privacy": "public"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "field",
|
|
79
|
+
"name": "placeholder",
|
|
80
|
+
"type": {
|
|
81
|
+
"text": "string"
|
|
82
|
+
},
|
|
83
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
84
|
+
"privacy": "public"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "field",
|
|
88
|
+
"name": "type",
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "TextFieldType"
|
|
91
|
+
},
|
|
92
|
+
"description": "Allows setting a type or mode of text.",
|
|
93
|
+
"privacy": "public"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "field",
|
|
97
|
+
"name": "list",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "string"
|
|
100
|
+
},
|
|
101
|
+
"description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
|
|
102
|
+
"privacy": "public"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "field",
|
|
106
|
+
"name": "maxlength",
|
|
107
|
+
"type": {
|
|
108
|
+
"text": "number"
|
|
109
|
+
},
|
|
110
|
+
"description": "The maximum number of characters a user can enter.",
|
|
111
|
+
"privacy": "public"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "field",
|
|
115
|
+
"name": "minlength",
|
|
116
|
+
"type": {
|
|
117
|
+
"text": "number"
|
|
118
|
+
},
|
|
119
|
+
"description": "The minimum number of characters a user can enter.",
|
|
120
|
+
"privacy": "public"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"kind": "field",
|
|
124
|
+
"name": "pattern",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "string"
|
|
127
|
+
},
|
|
128
|
+
"description": "A regular expression that the value must match to pass validation.",
|
|
129
|
+
"privacy": "public"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "field",
|
|
133
|
+
"name": "size",
|
|
134
|
+
"type": {
|
|
135
|
+
"text": "number"
|
|
136
|
+
},
|
|
137
|
+
"description": "Sets the width of the element to a specified number of characters.",
|
|
138
|
+
"privacy": "public"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "field",
|
|
142
|
+
"name": "spellcheck",
|
|
143
|
+
"type": {
|
|
144
|
+
"text": "boolean"
|
|
145
|
+
},
|
|
146
|
+
"description": "Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.",
|
|
147
|
+
"privacy": "public"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"kind": "method",
|
|
151
|
+
"name": "select",
|
|
152
|
+
"description": "Selects all the text in the text field",
|
|
153
|
+
"privacy": "public"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "method",
|
|
157
|
+
"name": "validate",
|
|
158
|
+
"description": "{@inheritDoc (FormAssociated:interface).validate}"
|
|
159
|
+
},
|
|
59
160
|
{
|
|
60
161
|
"kind": "field",
|
|
61
162
|
"name": "appearance",
|
|
@@ -77,6 +178,24 @@ Code in this file were generated using following JSON:
|
|
|
77
178
|
"text": "string | undefined"
|
|
78
179
|
}
|
|
79
180
|
},
|
|
181
|
+
{
|
|
182
|
+
"kind": "field",
|
|
183
|
+
"name": "scale",
|
|
184
|
+
"type": {
|
|
185
|
+
"text": "TextFieldSize | undefined"
|
|
186
|
+
},
|
|
187
|
+
"description": "The size the text-field should have.",
|
|
188
|
+
"privacy": "public"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"kind": "field",
|
|
192
|
+
"name": "inputMode",
|
|
193
|
+
"type": {
|
|
194
|
+
"text": "string"
|
|
195
|
+
},
|
|
196
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents.\nThis allows a browser to display an appropriate virtual keyboard.",
|
|
197
|
+
"privacy": "public"
|
|
198
|
+
},
|
|
80
199
|
{
|
|
81
200
|
"kind": "field",
|
|
82
201
|
"name": "leadingActionItemsSlottedContent",
|
|
@@ -131,6 +250,14 @@ Code in this file were generated using following JSON:
|
|
|
131
250
|
{
|
|
132
251
|
"kind": "method",
|
|
133
252
|
"name": "#updateMirroredHelperText"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"kind": "field",
|
|
256
|
+
"name": "proxy",
|
|
257
|
+
"inheritedFrom": {
|
|
258
|
+
"name": "FormAssociatedTextField",
|
|
259
|
+
"module": "libs/components/src/lib/text-field/text-field.form-associated.ts"
|
|
260
|
+
}
|
|
134
261
|
}
|
|
135
262
|
],
|
|
136
263
|
"events": [
|
|
@@ -143,6 +270,81 @@ Code in this file were generated using following JSON:
|
|
|
143
270
|
}
|
|
144
271
|
],
|
|
145
272
|
"attributes": [
|
|
273
|
+
{
|
|
274
|
+
"name": "readonly",
|
|
275
|
+
"type": {
|
|
276
|
+
"text": "boolean"
|
|
277
|
+
},
|
|
278
|
+
"description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
279
|
+
"fieldName": "readOnly"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "boolean"
|
|
284
|
+
},
|
|
285
|
+
"description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
|
|
286
|
+
"fieldName": "autofocus"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "placeholder",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "string"
|
|
292
|
+
},
|
|
293
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
294
|
+
"fieldName": "placeholder"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "type",
|
|
298
|
+
"type": {
|
|
299
|
+
"text": "TextFieldType"
|
|
300
|
+
},
|
|
301
|
+
"description": "Allows setting a type or mode of text.",
|
|
302
|
+
"fieldName": "type"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "list",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "string"
|
|
308
|
+
},
|
|
309
|
+
"description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
|
|
310
|
+
"fieldName": "list"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "number"
|
|
315
|
+
},
|
|
316
|
+
"description": "The maximum number of characters a user can enter.",
|
|
317
|
+
"fieldName": "maxlength"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": {
|
|
321
|
+
"text": "number"
|
|
322
|
+
},
|
|
323
|
+
"description": "The minimum number of characters a user can enter.",
|
|
324
|
+
"fieldName": "minlength"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "pattern",
|
|
328
|
+
"type": {
|
|
329
|
+
"text": "string"
|
|
330
|
+
},
|
|
331
|
+
"description": "A regular expression that the value must match to pass validation.",
|
|
332
|
+
"fieldName": "pattern"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"type": {
|
|
336
|
+
"text": "number"
|
|
337
|
+
},
|
|
338
|
+
"description": "Sets the width of the element to a specified number of characters.",
|
|
339
|
+
"fieldName": "size"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"type": {
|
|
343
|
+
"text": "boolean"
|
|
344
|
+
},
|
|
345
|
+
"description": "Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.",
|
|
346
|
+
"fieldName": "spellcheck"
|
|
347
|
+
},
|
|
146
348
|
{
|
|
147
349
|
"name": "appearance",
|
|
148
350
|
"type": {
|
|
@@ -163,11 +365,27 @@ Code in this file were generated using following JSON:
|
|
|
163
365
|
"text": "string | undefined"
|
|
164
366
|
},
|
|
165
367
|
"fieldName": "autoComplete"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "scale",
|
|
371
|
+
"type": {
|
|
372
|
+
"text": "TextFieldSize | undefined"
|
|
373
|
+
},
|
|
374
|
+
"description": "The size the text-field should have.",
|
|
375
|
+
"fieldName": "scale"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "inputmode",
|
|
379
|
+
"type": {
|
|
380
|
+
"text": "string"
|
|
381
|
+
},
|
|
382
|
+
"description": "Hints at the type of data that might be entered by the user while editing the element or its contents.\nThis allows a browser to display an appropriate virtual keyboard.",
|
|
383
|
+
"fieldName": "inputMode"
|
|
166
384
|
}
|
|
167
385
|
],
|
|
168
386
|
"superclass": {
|
|
169
|
-
"name": "
|
|
170
|
-
"
|
|
387
|
+
"name": "FormAssociatedTextField",
|
|
388
|
+
"module": "/libs/components/src/lib/text-field/text-field.form-associated"
|
|
171
389
|
},
|
|
172
390
|
"vividComponent": {
|
|
173
391
|
"public": true,
|
|
@@ -176,7 +394,9 @@ Code in this file were generated using following JSON:
|
|
|
176
394
|
{
|
|
177
395
|
"name": "modelValue",
|
|
178
396
|
"attributeName": "value",
|
|
179
|
-
"
|
|
397
|
+
"eventNames": [
|
|
398
|
+
"input"
|
|
399
|
+
],
|
|
180
400
|
"valueMapping": "(event.target as HTMLInputElement).value"
|
|
181
401
|
}
|
|
182
402
|
]
|
|
@@ -191,7 +411,7 @@ registerTextField('vvd3')
|
|
|
191
411
|
const VwcTextField = wrapper(`vvd3-text-field`, {
|
|
192
412
|
events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
|
|
193
413
|
attributes: [],
|
|
194
|
-
properties: ['appearance', 'shape', 'autoComplete', 'leadingActionItemsSlottedContent', 'icon', 'value', 'placeholder', 'label', 'onInput']
|
|
414
|
+
properties: ['readOnly', 'autofocus', 'placeholder', 'type', 'list', 'maxlength', 'minlength', 'pattern', 'size', 'spellcheck', 'appearance', 'shape', 'autoComplete', 'scale', 'inputMode', 'leadingActionItemsSlottedContent', 'proxy', 'icon', 'value', 'placeholder', 'label', 'onInput']
|
|
195
415
|
})
|
|
196
416
|
|
|
197
417
|
VwcTextField.displayName = 'VwcTextField'
|