@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,13 +1,26 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcCombobox
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/combobox
|
|
4
|
+
* @param {ComboboxAutocomplete | undefined} autocomplete - The autocomplete attribute. **attribute** `autocomplete`
|
|
5
|
+
* @param {ListboxOption[]} filteredOptions - The collection of currently filtered options.
|
|
4
6
|
* @param {ComboboxAppearance | undefined} appearance - The appearance attribute. **attribute** `appearance`
|
|
7
|
+
* @param {ComboboxShape | undefined} shape - The shape attribute. **attribute** `shape`
|
|
8
|
+
* @param {ComboboxSize | undefined} scale - The size the combobox should have. **attribute** `scale`
|
|
5
9
|
* @param {PopupPlacement | undefined} placement - the placement of the combobox
|
|
6
10
|
|
|
7
11
|
HTML Attribute: string **attribute** `placement`
|
|
8
12
|
* @param {boolean} fixedDropdown - Whether the dropdown is using a fixed positioning strategy. **attribute** `fixed-dropdown`
|
|
9
13
|
* @param {Popup} _popup
|
|
10
14
|
* @param {HTMLElement} _anchor
|
|
15
|
+
* @param {boolean} open - The open attribute. **attribute** `open`
|
|
16
|
+
* @param {ListboxOption[]} options - The list of options.
|
|
17
|
+
* @param {string} placeholder - Sets the placeholder value of the element, generally used to provide a hint to the user. **attribute** `placeholder`
|
|
18
|
+
* @param value - The value property.
|
|
19
|
+
* @param proxy
|
|
20
|
+
* @param {boolean} disabled - The disabled state of the listbox. **attribute** `disabled`
|
|
21
|
+
* @param {number} selectedIndex - The index of the selected option.
|
|
22
|
+
* @param {ListboxOption[]} selectedOptions - A collection of the selected options.
|
|
23
|
+
* @param slottedOptionFilter - A static filter to include only selectable options.
|
|
11
24
|
*/
|
|
12
25
|
declare const VwcCombobox: {
|
|
13
26
|
(props: {
|
|
@@ -17,11 +30,24 @@ declare const VwcCombobox: {
|
|
|
17
30
|
style?: React.CSSProperties | undefined;
|
|
18
31
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
19
32
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
33
|
+
autocomplete?: any;
|
|
34
|
+
filteredOptions?: any[] | undefined;
|
|
20
35
|
appearance?: any;
|
|
36
|
+
shape?: any;
|
|
37
|
+
scale?: any;
|
|
21
38
|
placement?: any;
|
|
22
39
|
fixedDropdown?: boolean | undefined;
|
|
23
40
|
_popup?: any;
|
|
24
41
|
_anchor?: any;
|
|
42
|
+
open?: boolean | undefined;
|
|
43
|
+
options?: any[] | undefined;
|
|
44
|
+
placeholder?: string | undefined;
|
|
45
|
+
value?: any;
|
|
46
|
+
proxy?: any;
|
|
47
|
+
disabled?: boolean | undefined;
|
|
48
|
+
selectedIndex?: number | undefined;
|
|
49
|
+
selectedOptions?: any[] | undefined;
|
|
50
|
+
slottedOptionFilter?: any;
|
|
25
51
|
}): JSX.Element;
|
|
26
52
|
displayName: string;
|
|
27
53
|
};
|
package/v3/VwcCombobox/index.js
CHANGED
|
@@ -14,6 +14,25 @@ Code in this file were generated using following JSON:
|
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"members": [
|
|
17
|
+
{
|
|
18
|
+
"kind": "field",
|
|
19
|
+
"name": "autocomplete",
|
|
20
|
+
"type": {
|
|
21
|
+
"text": "ComboboxAutocomplete | undefined"
|
|
22
|
+
},
|
|
23
|
+
"description": "The autocomplete attribute.",
|
|
24
|
+
"privacy": "public"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "filteredOptions",
|
|
29
|
+
"type": {
|
|
30
|
+
"text": "ListboxOption[]"
|
|
31
|
+
},
|
|
32
|
+
"default": "[]",
|
|
33
|
+
"description": "The collection of currently filtered options.",
|
|
34
|
+
"privacy": "public"
|
|
35
|
+
},
|
|
17
36
|
{
|
|
18
37
|
"kind": "field",
|
|
19
38
|
"name": "appearance",
|
|
@@ -23,6 +42,24 @@ Code in this file were generated using following JSON:
|
|
|
23
42
|
"description": "The appearance attribute.",
|
|
24
43
|
"privacy": "public"
|
|
25
44
|
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "shape",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "ComboboxShape | undefined"
|
|
50
|
+
},
|
|
51
|
+
"description": "The shape attribute.",
|
|
52
|
+
"privacy": "public"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"kind": "field",
|
|
56
|
+
"name": "scale",
|
|
57
|
+
"type": {
|
|
58
|
+
"text": "ComboboxSize | undefined"
|
|
59
|
+
},
|
|
60
|
+
"description": "The size the combobox should have.",
|
|
61
|
+
"privacy": "public"
|
|
62
|
+
},
|
|
26
63
|
{
|
|
27
64
|
"kind": "field",
|
|
28
65
|
"name": "placement",
|
|
@@ -54,6 +91,197 @@ Code in this file were generated using following JSON:
|
|
|
54
91
|
"type": {
|
|
55
92
|
"text": "HTMLElement"
|
|
56
93
|
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "method",
|
|
97
|
+
"name": "validate",
|
|
98
|
+
"return": {
|
|
99
|
+
"type": {
|
|
100
|
+
"text": "void"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"description": "{@inheritDoc (FormAssociated:interface).validate}"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"kind": "field",
|
|
107
|
+
"name": "isAutocompleteInline",
|
|
108
|
+
"type": {
|
|
109
|
+
"text": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"privacy": "private",
|
|
112
|
+
"readonly": true
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "field",
|
|
116
|
+
"name": "isAutocompleteList",
|
|
117
|
+
"type": {
|
|
118
|
+
"text": "boolean"
|
|
119
|
+
},
|
|
120
|
+
"privacy": "private",
|
|
121
|
+
"readonly": true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "field",
|
|
125
|
+
"name": "isAutocompleteBoth",
|
|
126
|
+
"type": {
|
|
127
|
+
"text": "boolean"
|
|
128
|
+
},
|
|
129
|
+
"privacy": "private",
|
|
130
|
+
"readonly": true
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "field",
|
|
134
|
+
"name": "open",
|
|
135
|
+
"type": {
|
|
136
|
+
"text": "boolean"
|
|
137
|
+
},
|
|
138
|
+
"default": "false",
|
|
139
|
+
"description": "The open attribute.",
|
|
140
|
+
"privacy": "public"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "field",
|
|
144
|
+
"name": "options",
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "ListboxOption[]"
|
|
147
|
+
},
|
|
148
|
+
"description": "The list of options.",
|
|
149
|
+
"privacy": "public",
|
|
150
|
+
"inheritedFrom": {
|
|
151
|
+
"name": "Listbox",
|
|
152
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "placeholder",
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "string"
|
|
160
|
+
},
|
|
161
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
162
|
+
"privacy": "public"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "field",
|
|
166
|
+
"name": "value",
|
|
167
|
+
"description": "The value property.",
|
|
168
|
+
"privacy": "public"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"kind": "method",
|
|
172
|
+
"name": "filterOptions",
|
|
173
|
+
"return": {
|
|
174
|
+
"type": {
|
|
175
|
+
"text": "void"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"description": "Filter available options by text value.",
|
|
179
|
+
"privacy": "public"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"kind": "field",
|
|
183
|
+
"name": "proxy",
|
|
184
|
+
"inheritedFrom": {
|
|
185
|
+
"name": "FormAssociatedCombobox",
|
|
186
|
+
"module": "libs/components/src/lib/combobox/combobox.form-associated.ts"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "field",
|
|
191
|
+
"name": "length",
|
|
192
|
+
"type": {
|
|
193
|
+
"text": "number"
|
|
194
|
+
},
|
|
195
|
+
"description": "The number of options.",
|
|
196
|
+
"privacy": "public",
|
|
197
|
+
"readonly": true,
|
|
198
|
+
"inheritedFrom": {
|
|
199
|
+
"name": "Listbox",
|
|
200
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "field",
|
|
205
|
+
"name": "disabled",
|
|
206
|
+
"type": {
|
|
207
|
+
"text": "boolean"
|
|
208
|
+
},
|
|
209
|
+
"description": "The disabled state of the listbox.",
|
|
210
|
+
"privacy": "public",
|
|
211
|
+
"inheritedFrom": {
|
|
212
|
+
"name": "Listbox",
|
|
213
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "field",
|
|
218
|
+
"name": "selectedIndex",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "number"
|
|
221
|
+
},
|
|
222
|
+
"default": "-1",
|
|
223
|
+
"description": "The index of the selected option.",
|
|
224
|
+
"privacy": "public",
|
|
225
|
+
"inheritedFrom": {
|
|
226
|
+
"name": "Listbox",
|
|
227
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "field",
|
|
232
|
+
"name": "selectedOptions",
|
|
233
|
+
"type": {
|
|
234
|
+
"text": "ListboxOption[]"
|
|
235
|
+
},
|
|
236
|
+
"default": "[]",
|
|
237
|
+
"description": "A collection of the selected options.",
|
|
238
|
+
"privacy": "public",
|
|
239
|
+
"inheritedFrom": {
|
|
240
|
+
"name": "Listbox",
|
|
241
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "field",
|
|
246
|
+
"name": "slottedOptionFilter",
|
|
247
|
+
"static": true,
|
|
248
|
+
"description": "A static filter to include only selectable options.",
|
|
249
|
+
"parameters": [
|
|
250
|
+
{
|
|
251
|
+
"description": "element to filter",
|
|
252
|
+
"name": "n"
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"privacy": "public",
|
|
256
|
+
"inheritedFrom": {
|
|
257
|
+
"name": "Listbox",
|
|
258
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"kind": "method",
|
|
263
|
+
"name": "selectFirstOption",
|
|
264
|
+
"return": {
|
|
265
|
+
"type": {
|
|
266
|
+
"text": "void"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"description": "Moves focus to the first selectable option.",
|
|
270
|
+
"privacy": "public",
|
|
271
|
+
"inheritedFrom": {
|
|
272
|
+
"name": "Listbox",
|
|
273
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "method",
|
|
278
|
+
"name": "setSelectedOptions",
|
|
279
|
+
"privacy": "public",
|
|
280
|
+
"description": "Sets an option as selected and gives it focus.",
|
|
281
|
+
"inheritedFrom": {
|
|
282
|
+
"name": "Listbox",
|
|
283
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
284
|
+
}
|
|
57
285
|
}
|
|
58
286
|
],
|
|
59
287
|
"events": [
|
|
@@ -66,6 +294,14 @@ Code in this file were generated using following JSON:
|
|
|
66
294
|
}
|
|
67
295
|
],
|
|
68
296
|
"attributes": [
|
|
297
|
+
{
|
|
298
|
+
"name": "autocomplete",
|
|
299
|
+
"type": {
|
|
300
|
+
"text": "ComboboxAutocomplete | undefined"
|
|
301
|
+
},
|
|
302
|
+
"description": "The autocomplete attribute.",
|
|
303
|
+
"fieldName": "autocomplete"
|
|
304
|
+
},
|
|
69
305
|
{
|
|
70
306
|
"name": "appearance",
|
|
71
307
|
"type": {
|
|
@@ -74,6 +310,22 @@ Code in this file were generated using following JSON:
|
|
|
74
310
|
"description": "The appearance attribute.",
|
|
75
311
|
"fieldName": "appearance"
|
|
76
312
|
},
|
|
313
|
+
{
|
|
314
|
+
"name": "shape",
|
|
315
|
+
"type": {
|
|
316
|
+
"text": "ComboboxShape | undefined"
|
|
317
|
+
},
|
|
318
|
+
"description": "The shape attribute.",
|
|
319
|
+
"fieldName": "shape"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "scale",
|
|
323
|
+
"type": {
|
|
324
|
+
"text": "ComboboxSize | undefined"
|
|
325
|
+
},
|
|
326
|
+
"description": "The size the combobox should have.",
|
|
327
|
+
"fieldName": "scale"
|
|
328
|
+
},
|
|
77
329
|
{
|
|
78
330
|
"name": "placement",
|
|
79
331
|
"type": {
|
|
@@ -90,11 +342,39 @@ Code in this file were generated using following JSON:
|
|
|
90
342
|
"default": "false",
|
|
91
343
|
"description": "Whether the dropdown is using a fixed positioning strategy.",
|
|
92
344
|
"fieldName": "fixedDropdown"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "open",
|
|
348
|
+
"type": {
|
|
349
|
+
"text": "boolean"
|
|
350
|
+
},
|
|
351
|
+
"default": "false",
|
|
352
|
+
"description": "The open attribute.",
|
|
353
|
+
"fieldName": "open"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "placeholder",
|
|
357
|
+
"type": {
|
|
358
|
+
"text": "string"
|
|
359
|
+
},
|
|
360
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
|
|
361
|
+
"fieldName": "placeholder"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": {
|
|
365
|
+
"text": "boolean"
|
|
366
|
+
},
|
|
367
|
+
"description": "The disabled state of the listbox.",
|
|
368
|
+
"fieldName": "disabled",
|
|
369
|
+
"inheritedFrom": {
|
|
370
|
+
"name": "Listbox",
|
|
371
|
+
"module": "libs/components/src/shared/foundation/listbox/listbox.ts"
|
|
372
|
+
}
|
|
93
373
|
}
|
|
94
374
|
],
|
|
95
375
|
"superclass": {
|
|
96
|
-
"name": "
|
|
97
|
-
"
|
|
376
|
+
"name": "FormAssociatedCombobox",
|
|
377
|
+
"module": "/libs/components/src/lib/combobox/combobox.form-associated"
|
|
98
378
|
},
|
|
99
379
|
"vividComponent": {
|
|
100
380
|
"public": true,
|
|
@@ -103,7 +383,9 @@ Code in this file were generated using following JSON:
|
|
|
103
383
|
{
|
|
104
384
|
"name": "modelValue",
|
|
105
385
|
"attributeName": "value",
|
|
106
|
-
"
|
|
386
|
+
"eventNames": [
|
|
387
|
+
"change"
|
|
388
|
+
],
|
|
107
389
|
"valueMapping": "(event.target as HTMLInputElement).value"
|
|
108
390
|
}
|
|
109
391
|
]
|
|
@@ -118,7 +400,7 @@ registerCombobox('vvd3')
|
|
|
118
400
|
const VwcCombobox = wrapper(`vvd3-combobox`, {
|
|
119
401
|
events: [{"name":"change","propName":"onChange"}],
|
|
120
402
|
attributes: [],
|
|
121
|
-
properties: ['appearance', 'placement', 'fixedDropdown', '_popup', '_anchor']
|
|
403
|
+
properties: ['autocomplete', 'filteredOptions', 'appearance', 'shape', 'scale', 'placement', 'fixedDropdown', '_popup', '_anchor', 'open', 'options', 'placeholder', 'value', 'proxy', 'disabled', 'selectedIndex', 'selectedOptions', 'slottedOptionFilter']
|
|
122
404
|
})
|
|
123
405
|
|
|
124
406
|
VwcCombobox.displayName = 'VwcCombobox'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-combobox",
|
|
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,8 +1,25 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcDataGrid
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid
|
|
4
|
+
* @param {boolean} noTabbing - When true the component will not add itself to the tab queue.
|
|
5
|
+
Default is false. **attribute** `no-tabbing`
|
|
6
|
+
* @param {GenerateHeaderOptions} generateHeader - Whether the grid should automatically generate a header row and its type **attribute** `generate-header`
|
|
7
|
+
* @param {string} gridTemplateColumns - String that gets applied to the the css gridTemplateColumns attribute of child rows **attribute** `grid-template-columns`
|
|
8
|
+
* @param {object[]} rowsData - The data being displayed in the grid
|
|
9
|
+
* @param {ColumnDefinition[] | null} columnDefinitions - The column definitions of the grid
|
|
10
|
+
* @param {ViewTemplate} rowItemTemplate - The template to use for the programmatic generation of rows
|
|
11
|
+
* @param {ViewTemplate | undefined} cellItemTemplate - The template used to render cells in generated rows.
|
|
12
|
+
* @param {ViewTemplate | undefined} headerCellItemTemplate - The template used to render header cells in generated rows.
|
|
13
|
+
* @param {number} focusRowIndex - The index of the row that will receive focus the next time the
|
|
14
|
+
grid is focused. This value changes as focus moves to different
|
|
15
|
+
rows within the grid. Changing this value when focus is already
|
|
16
|
+
within the grid moves focus to the specified row.
|
|
17
|
+
* @param {number} focusColumnIndex - The index of the column that will receive focus the next time the
|
|
18
|
+
grid is focused. This value changes as focus moves to different rows
|
|
19
|
+
within the grid. Changing this value when focus is already within
|
|
20
|
+
the grid moves focus to the specified column.
|
|
21
|
+
* @param {string} rowElementTag - Set by the component templates.
|
|
4
22
|
* @param {DataGridSelectionMode | undefined} selectionMode - Indicates the selection mode. **attribute** `selection-mode`
|
|
5
|
-
* @param toggleGeneratedHeader
|
|
6
23
|
*/
|
|
7
24
|
declare const VwcDataGrid: {
|
|
8
25
|
(props: {
|
|
@@ -12,8 +29,18 @@ declare const VwcDataGrid: {
|
|
|
12
29
|
style?: React.CSSProperties | undefined;
|
|
13
30
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
14
31
|
onCellClick?: ((event: SyntheticEvent) => void) | undefined;
|
|
32
|
+
noTabbing?: boolean | undefined;
|
|
33
|
+
generateHeader?: any;
|
|
34
|
+
gridTemplateColumns?: string | undefined;
|
|
35
|
+
rowsData?: any[] | undefined;
|
|
36
|
+
columnDefinitions?: any;
|
|
37
|
+
rowItemTemplate?: any;
|
|
38
|
+
cellItemTemplate?: any;
|
|
39
|
+
headerCellItemTemplate?: any;
|
|
40
|
+
focusRowIndex?: number | undefined;
|
|
41
|
+
focusColumnIndex?: number | undefined;
|
|
42
|
+
rowElementTag?: string | undefined;
|
|
15
43
|
selectionMode?: any;
|
|
16
|
-
toggleGeneratedHeader?: any;
|
|
17
44
|
}): JSX.Element;
|
|
18
45
|
displayName: string;
|
|
19
46
|
};
|