@vonage/vivid-react 3.3.0 → 3.4.0
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 +245 -20
- 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 -4
- package/v3/VwcButton/index.js +350 -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 +64 -3
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcCombobox/index.d.ts +26 -0
- package/v3/VwcCombobox/index.js +295 -3
- 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 -25
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +16 -0
- package/v3/VwcDataGridRow/index.js +168 -5
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.js +39 -0
- 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 +39 -0
- 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 +2 -2
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.d.ts +8 -1
- package/v3/VwcDialog/index.js +85 -5
- 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.js +2 -2
- 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 -4
- package/v3/VwcMenuItem/index.js +83 -17
- 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 +18 -1
- 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 +177 -3
- package/v3/VwcRadioGroup/package.json +2 -2
- 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 +205 -3
- 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 +22 -16
- package/v3/VwcSlider/index.js +292 -21
- 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 +66 -3
- 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 +226 -3
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.d.ts +28 -2
- package/v3/VwcTextField/index.js +221 -3
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.js +17 -0
- 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
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* DO NOT EDIT THIS FILE. IT IS GENERATED
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
Code in this file were generated using following JSON:
|
|
6
|
+
{
|
|
7
|
+
"kind": "class",
|
|
8
|
+
"description": "",
|
|
9
|
+
"name": "InlineTimePicker",
|
|
10
|
+
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-time-picker-accent-primary",
|
|
13
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-time-picker-accent-firm",
|
|
17
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-time-picker-accent-faint",
|
|
21
|
+
"default": "var(--vvd-color-neutral-50)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-time-picker-accent-soft",
|
|
25
|
+
"default": "var(--vvd-color-neutral-100)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-time-picker-accent-dim",
|
|
29
|
+
"default": "var(--vvd-color-neutral-200)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-time-picker-accent-pale",
|
|
33
|
+
"default": "var(--vvd-color-neutral-300)"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"members": [
|
|
37
|
+
{
|
|
38
|
+
"kind": "field",
|
|
39
|
+
"name": "value",
|
|
40
|
+
"type": {
|
|
41
|
+
"text": "string | undefined"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "method",
|
|
46
|
+
"name": "valueChanged",
|
|
47
|
+
"parameters": [
|
|
48
|
+
{
|
|
49
|
+
"name": "_",
|
|
50
|
+
"optional": true,
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "string"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "newValue",
|
|
57
|
+
"optional": true,
|
|
58
|
+
"type": {
|
|
59
|
+
"text": "string"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"kind": "field",
|
|
66
|
+
"name": "minutesStep",
|
|
67
|
+
"type": {
|
|
68
|
+
"text": "number"
|
|
69
|
+
},
|
|
70
|
+
"default": "1"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "field",
|
|
74
|
+
"name": "secondsStep",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "number | undefined"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "field",
|
|
81
|
+
"name": "clock",
|
|
82
|
+
"type": {
|
|
83
|
+
"text": "'12h' | '24h'"
|
|
84
|
+
},
|
|
85
|
+
"default": "'24h'"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "field",
|
|
89
|
+
"name": "min",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "string | undefined"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"kind": "field",
|
|
96
|
+
"name": "max",
|
|
97
|
+
"type": {
|
|
98
|
+
"text": "string | undefined"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "method",
|
|
103
|
+
"name": "scrollSelectedOptionsToTop"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"superclass": {
|
|
107
|
+
"name": "VividElement",
|
|
108
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
*/
|
|
112
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
113
|
+
import { registerInlineTimePicker } from '@vonage/vivid'
|
|
114
|
+
|
|
115
|
+
registerInlineTimePicker('vvd3')
|
|
116
|
+
|
|
117
|
+
const VwcInlineTimePicker = wrapper(`vvd3-inline-time-picker`, {
|
|
118
|
+
events: [],
|
|
119
|
+
attributes: [],
|
|
120
|
+
properties: ['value', 'minutesStep', 'secondsStep', 'clock', 'min', 'max']
|
|
121
|
+
})
|
|
122
|
+
|
|
123
|
+
VwcInlineTimePicker.displayName = 'VwcInlineTimePicker'
|
|
124
|
+
|
|
125
|
+
export default VwcInlineTimePicker
|
package/v3/VwcLayout/index.js
CHANGED
|
@@ -103,8 +103,8 @@ Code in this file were generated using following JSON:
|
|
|
103
103
|
}
|
|
104
104
|
],
|
|
105
105
|
"superclass": {
|
|
106
|
-
"name": "
|
|
107
|
-
"
|
|
106
|
+
"name": "VividElement",
|
|
107
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
108
108
|
},
|
|
109
109
|
"vividComponent": {
|
|
110
110
|
"public": true,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-layout",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.2",
|
|
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.16.2"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcListbox/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcListbox
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/listbox
|
|
4
|
-
* @param {
|
|
5
|
-
* @param {
|
|
6
|
-
* @param {
|
|
4
|
+
* @param {ListboxOption[]} options - The list of options.
|
|
5
|
+
* @param {boolean} disabled - The disabled state of the listbox. **attribute** `disabled`
|
|
6
|
+
* @param {number} selectedIndex - The index of the selected option.
|
|
7
|
+
* @param {ListboxOption[]} selectedOptions - A collection of the selected options.
|
|
8
|
+
* @param slottedOptionFilter - A static filter to include only selectable options.
|
|
7
9
|
*/
|
|
8
10
|
declare const VwcListbox: {
|
|
9
11
|
(props: {
|
|
@@ -12,9 +14,11 @@ declare const VwcListbox: {
|
|
|
12
14
|
id?: string | undefined;
|
|
13
15
|
style?: React.CSSProperties | undefined;
|
|
14
16
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
options?: any[] | undefined;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
selectedIndex?: number | undefined;
|
|
20
|
+
selectedOptions?: any[] | undefined;
|
|
21
|
+
slottedOptionFilter?: any;
|
|
18
22
|
}): JSX.Element;
|
|
19
23
|
displayName: string;
|
|
20
24
|
};
|
package/v3/VwcListbox/index.js
CHANGED
|
@@ -7,123 +7,98 @@ Code in this file were generated using following JSON:
|
|
|
7
7
|
"kind": "class",
|
|
8
8
|
"description": "",
|
|
9
9
|
"name": "Listbox",
|
|
10
|
-
"
|
|
11
|
-
{
|
|
12
|
-
"name": "--vvd-listbox-accent-intermediate",
|
|
13
|
-
"default": "var(--vvd-color-neutral-500)"
|
|
14
|
-
},
|
|
10
|
+
"members": [
|
|
15
11
|
{
|
|
16
|
-
"
|
|
17
|
-
"
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "length",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "number"
|
|
16
|
+
},
|
|
17
|
+
"description": "The number of options.",
|
|
18
|
+
"privacy": "public",
|
|
19
|
+
"readonly": true
|
|
18
20
|
},
|
|
19
|
-
{
|
|
20
|
-
"name": "--vvd-listbox-accent-soft",
|
|
21
|
-
"default": "var(--vvd-color-neutral-100)"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"slots": [
|
|
25
|
-
{
|
|
26
|
-
"description": "Default slot.",
|
|
27
|
-
"name": ""
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"members": [
|
|
31
21
|
{
|
|
32
22
|
"kind": "field",
|
|
33
|
-
"name": "
|
|
23
|
+
"name": "options",
|
|
34
24
|
"type": {
|
|
35
|
-
"text": "
|
|
25
|
+
"text": "ListboxOption[]"
|
|
36
26
|
},
|
|
37
|
-
"description": "The
|
|
27
|
+
"description": "The list of options.",
|
|
38
28
|
"privacy": "public"
|
|
39
29
|
},
|
|
40
30
|
{
|
|
41
31
|
"kind": "field",
|
|
42
|
-
"name": "
|
|
32
|
+
"name": "disabled",
|
|
43
33
|
"type": {
|
|
44
|
-
"text": "
|
|
34
|
+
"text": "boolean"
|
|
45
35
|
},
|
|
46
|
-
"description": "The
|
|
36
|
+
"description": "The disabled state of the listbox.",
|
|
47
37
|
"privacy": "public"
|
|
48
38
|
},
|
|
49
39
|
{
|
|
50
|
-
"kind": "
|
|
51
|
-
"name": "
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
40
|
+
"kind": "field",
|
|
41
|
+
"name": "selectedIndex",
|
|
42
|
+
"type": {
|
|
43
|
+
"text": "number"
|
|
44
|
+
},
|
|
45
|
+
"default": "-1",
|
|
46
|
+
"description": "The index of the selected option.",
|
|
47
|
+
"privacy": "public"
|
|
57
48
|
},
|
|
58
49
|
{
|
|
59
50
|
"kind": "field",
|
|
60
|
-
"name": "
|
|
51
|
+
"name": "selectedOptions",
|
|
61
52
|
"type": {
|
|
62
|
-
"text": "
|
|
53
|
+
"text": "ListboxOption[]"
|
|
63
54
|
},
|
|
64
|
-
"
|
|
55
|
+
"default": "[]",
|
|
56
|
+
"description": "A collection of the selected options.",
|
|
65
57
|
"privacy": "public"
|
|
66
58
|
},
|
|
67
59
|
{
|
|
68
|
-
"kind": "
|
|
69
|
-
"name": "
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "slottedOptionFilter",
|
|
62
|
+
"static": true,
|
|
63
|
+
"description": "A static filter to include only selectable options.",
|
|
70
64
|
"parameters": [
|
|
71
65
|
{
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"text": "Element[] | undefined"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "next",
|
|
79
|
-
"type": {
|
|
80
|
-
"text": "Element[]"
|
|
81
|
-
}
|
|
66
|
+
"description": "element to filter",
|
|
67
|
+
"name": "n"
|
|
82
68
|
}
|
|
83
|
-
]
|
|
69
|
+
],
|
|
70
|
+
"privacy": "public"
|
|
84
71
|
},
|
|
85
72
|
{
|
|
86
73
|
"kind": "method",
|
|
87
|
-
"name": "
|
|
74
|
+
"name": "selectFirstOption",
|
|
88
75
|
"return": {
|
|
89
76
|
"type": {
|
|
90
77
|
"text": "void"
|
|
91
78
|
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"attributes": [
|
|
96
|
-
{
|
|
97
|
-
"name": "appearance",
|
|
98
|
-
"type": {
|
|
99
|
-
"text": "LisboxAppearance | undefined"
|
|
100
79
|
},
|
|
101
|
-
"description": "
|
|
102
|
-
"
|
|
80
|
+
"description": "Moves focus to the first selectable option.",
|
|
81
|
+
"privacy": "public"
|
|
103
82
|
},
|
|
104
83
|
{
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
84
|
+
"kind": "method",
|
|
85
|
+
"name": "setSelectedOptions",
|
|
86
|
+
"privacy": "public",
|
|
87
|
+
"description": "Sets an option as selected and gives it focus."
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"attributes": [
|
|
112
91
|
{
|
|
113
|
-
"name": "shape",
|
|
114
92
|
"type": {
|
|
115
|
-
"text": "
|
|
93
|
+
"text": "boolean"
|
|
116
94
|
},
|
|
117
|
-
"description": "The
|
|
118
|
-
"fieldName": "
|
|
95
|
+
"description": "The disabled state of the listbox.",
|
|
96
|
+
"fieldName": "disabled"
|
|
119
97
|
}
|
|
120
98
|
],
|
|
121
99
|
"superclass": {
|
|
122
|
-
"name": "
|
|
123
|
-
"
|
|
124
|
-
},
|
|
125
|
-
"vividComponent": {
|
|
126
|
-
"name": "listbox"
|
|
100
|
+
"name": "VividElement",
|
|
101
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
127
102
|
}
|
|
128
103
|
}
|
|
129
104
|
*/
|
|
@@ -135,7 +110,7 @@ registerListbox('vvd3')
|
|
|
135
110
|
const VwcListbox = wrapper(`vvd3-listbox`, {
|
|
136
111
|
events: [],
|
|
137
112
|
attributes: [],
|
|
138
|
-
properties: ['
|
|
113
|
+
properties: ['options', 'disabled', 'selectedIndex', 'selectedOptions', 'slottedOptionFilter']
|
|
139
114
|
})
|
|
140
115
|
|
|
141
116
|
VwcListbox.displayName = 'VwcListbox'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-listbox",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.2",
|
|
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.16.2"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/v3/VwcMenu/index.d.ts
CHANGED
|
@@ -5,11 +5,10 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
5
5
|
* @param {Placement | undefined} placement - placement of the menu **attribute** `placement`
|
|
6
6
|
* @param {'auto' | 'legacy' | 'off' | undefined} trigger - Controls how the menu opens and closes itself. **attribute** `trigger`
|
|
7
7
|
* @param {boolean} autoDismiss - indicates whether the menu will automatically close when focus moves away from it. **attribute** `auto-dismiss`
|
|
8
|
+
* @param {Strategy | undefined} positionStrategy - The strategy-absolute attribute. **attribute** `position-strategy`
|
|
8
9
|
* @param {boolean} open - indicates whether the menu is open **attribute** `open`
|
|
9
10
|
* @param _onFocusout
|
|
10
11
|
* @param {HTMLElement[] | undefined} actionItemsSlottedContent
|
|
11
|
-
* @param handleFocusOut
|
|
12
|
-
* @param domChildren
|
|
13
12
|
*/
|
|
14
13
|
declare const VwcMenu: {
|
|
15
14
|
(props: {
|
|
@@ -24,11 +23,10 @@ declare const VwcMenu: {
|
|
|
24
23
|
placement?: any;
|
|
25
24
|
trigger?: any;
|
|
26
25
|
autoDismiss?: boolean | undefined;
|
|
26
|
+
positionStrategy?: any;
|
|
27
27
|
open?: boolean | undefined;
|
|
28
28
|
_onFocusout?: any;
|
|
29
29
|
actionItemsSlottedContent?: any;
|
|
30
|
-
handleFocusOut?: any;
|
|
31
|
-
domChildren?: any;
|
|
32
30
|
}): JSX.Element;
|
|
33
31
|
displayName: string;
|
|
34
32
|
};
|
package/v3/VwcMenu/index.js
CHANGED
|
@@ -26,6 +26,132 @@ Code in this file were generated using following JSON:
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"members": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "menuItems",
|
|
32
|
+
"type": {
|
|
33
|
+
"text": "Element[] | undefined"
|
|
34
|
+
},
|
|
35
|
+
"privacy": "private"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"kind": "field",
|
|
39
|
+
"name": "expandedItem",
|
|
40
|
+
"type": {
|
|
41
|
+
"text": "MenuItem | null"
|
|
42
|
+
},
|
|
43
|
+
"privacy": "private",
|
|
44
|
+
"default": "null"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"kind": "field",
|
|
48
|
+
"name": "focusIndex",
|
|
49
|
+
"type": {
|
|
50
|
+
"text": "number"
|
|
51
|
+
},
|
|
52
|
+
"privacy": "private",
|
|
53
|
+
"default": "-1",
|
|
54
|
+
"description": "The index of the focusable element in the items array\ndefaults to -1"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "field",
|
|
58
|
+
"name": "focusableElementRoles",
|
|
59
|
+
"type": {
|
|
60
|
+
"text": "{ [key: string]: string }"
|
|
61
|
+
},
|
|
62
|
+
"privacy": "private",
|
|
63
|
+
"static": true,
|
|
64
|
+
"default": "roleForMenuItem"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"kind": "method",
|
|
68
|
+
"name": "focus",
|
|
69
|
+
"return": {
|
|
70
|
+
"type": {
|
|
71
|
+
"text": "void"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"description": "Moves focus into the menu. If there is a child with the `autofocus` attribute, it will be focused.\nOtherwise, the first focusable child will be focused.",
|
|
75
|
+
"privacy": "public"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "method",
|
|
79
|
+
"name": "collapseExpandedItem",
|
|
80
|
+
"return": {
|
|
81
|
+
"type": {
|
|
82
|
+
"text": "void"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"description": "Collapses any expanded Menu Items.",
|
|
86
|
+
"privacy": "public"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"kind": "field",
|
|
90
|
+
"name": "handleItemFocus",
|
|
91
|
+
"privacy": "private"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"kind": "field",
|
|
95
|
+
"name": "handleExpandedChanged",
|
|
96
|
+
"privacy": "private"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "field",
|
|
100
|
+
"name": "removeItemListeners",
|
|
101
|
+
"privacy": "private"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "field",
|
|
105
|
+
"name": "setItems",
|
|
106
|
+
"privacy": "private"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "method",
|
|
110
|
+
"name": "domChildren",
|
|
111
|
+
"privacy": "private",
|
|
112
|
+
"return": {
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "Element[]"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"description": "get an array of valid DOM children"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"kind": "field",
|
|
121
|
+
"name": "isMenuItemElement",
|
|
122
|
+
"privacy": "private",
|
|
123
|
+
"description": "check if the item is a menu item"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"kind": "field",
|
|
127
|
+
"name": "isFocusableElement",
|
|
128
|
+
"privacy": "private",
|
|
129
|
+
"description": "check if the item is focusable"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "method",
|
|
133
|
+
"name": "setFocus",
|
|
134
|
+
"privacy": "private",
|
|
135
|
+
"return": {
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "void"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"parameters": [
|
|
141
|
+
{
|
|
142
|
+
"name": "focusIndex",
|
|
143
|
+
"type": {
|
|
144
|
+
"text": "number"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "adjustment",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "number"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
29
155
|
{
|
|
30
156
|
"kind": "field",
|
|
31
157
|
"name": "ariaLabel",
|
|
@@ -72,6 +198,16 @@ Code in this file were generated using following JSON:
|
|
|
72
198
|
"description": "indicates whether the menu will automatically close when focus moves away from it.",
|
|
73
199
|
"privacy": "public"
|
|
74
200
|
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "field",
|
|
203
|
+
"name": "positionStrategy",
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "Strategy | undefined"
|
|
206
|
+
},
|
|
207
|
+
"default": "'fixed'",
|
|
208
|
+
"description": "The strategy-absolute attribute.",
|
|
209
|
+
"privacy": "public"
|
|
210
|
+
},
|
|
75
211
|
{
|
|
76
212
|
"kind": "field",
|
|
77
213
|
"name": "open",
|
|
@@ -156,14 +292,6 @@ Code in this file were generated using following JSON:
|
|
|
156
292
|
"type": {
|
|
157
293
|
"text": "HTMLElement[] | undefined"
|
|
158
294
|
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"kind": "field",
|
|
162
|
-
"name": "handleFocusOut"
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"kind": "field",
|
|
166
|
-
"name": "domChildren"
|
|
167
295
|
}
|
|
168
296
|
],
|
|
169
297
|
"events": [
|
|
@@ -216,6 +344,15 @@ Code in this file were generated using following JSON:
|
|
|
216
344
|
"description": "indicates whether the menu will automatically close when focus moves away from it.",
|
|
217
345
|
"fieldName": "autoDismiss"
|
|
218
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"name": "position-strategy",
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "Strategy | undefined"
|
|
351
|
+
},
|
|
352
|
+
"default": "'fixed'",
|
|
353
|
+
"description": "The strategy-absolute attribute.",
|
|
354
|
+
"fieldName": "positionStrategy"
|
|
355
|
+
},
|
|
219
356
|
{
|
|
220
357
|
"type": {
|
|
221
358
|
"text": "boolean"
|
|
@@ -226,8 +363,8 @@ Code in this file were generated using following JSON:
|
|
|
226
363
|
}
|
|
227
364
|
],
|
|
228
365
|
"superclass": {
|
|
229
|
-
"name": "
|
|
230
|
-
"
|
|
366
|
+
"name": "VividElement",
|
|
367
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
231
368
|
},
|
|
232
369
|
"vividComponent": {
|
|
233
370
|
"public": true,
|
|
@@ -243,7 +380,7 @@ registerMenu('vvd3')
|
|
|
243
380
|
const VwcMenu = wrapper(`vvd3-menu`, {
|
|
244
381
|
events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
|
|
245
382
|
attributes: [],
|
|
246
|
-
properties: ['ariaLabel', 'placement', 'trigger', 'autoDismiss', '
|
|
383
|
+
properties: ['ariaLabel', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', '_onFocusout', 'actionItemsSlottedContent']
|
|
247
384
|
})
|
|
248
385
|
|
|
249
386
|
VwcMenu.displayName = 'VwcMenu'
|
package/v3/VwcMenu/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-menu",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.2",
|
|
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.16.2"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcMenuItem
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
|
|
4
|
+
* @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
|
|
5
|
+
* @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
|
|
6
|
+
* @param {MenuItemRole} role - The role of the element. **attribute** `role`
|
|
7
|
+
* @param {boolean} checked - The checked value of the element. **attribute** `checked`
|
|
4
8
|
* @param {string | undefined} text - Indicates the menu item's text. **attribute** `text`
|
|
5
9
|
* @param {string | undefined} textSecondary - Indicates the menu item's secondary text. **attribute** `text-secondary`
|
|
6
10
|
* @param {MenuItemConnotation | undefined} connotation - The connotation the fab should have. **attribute** `connotation`
|
|
7
11
|
* @param {boolean} checkTrailing - Controls the placement of the menu item's checkmark or radio icon. **attribute** `check-trailing`
|
|
8
12
|
* @param {CheckAppearance | undefined} checkedAppearance - Controls the appearance of the check indicator. **attribute** `check-appearance`
|
|
9
13
|
* @param {HTMLElement[] | undefined} trailingMetaSlottedContent
|
|
10
|
-
* @param updateSubmenu
|
|
11
|
-
* @param handleMenuItemKeyDown
|
|
12
14
|
* @param {string | undefined} icon
|
|
13
15
|
*/
|
|
14
16
|
declare const VwcMenuItem: {
|
|
@@ -20,14 +22,16 @@ declare const VwcMenuItem: {
|
|
|
20
22
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
21
23
|
onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
22
24
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
25
|
+
disabled?: boolean | undefined;
|
|
26
|
+
expanded?: boolean | undefined;
|
|
27
|
+
role?: any;
|
|
28
|
+
checked?: boolean | undefined;
|
|
23
29
|
text?: string | undefined;
|
|
24
30
|
textSecondary?: string | undefined;
|
|
25
31
|
connotation?: any;
|
|
26
32
|
checkTrailing?: boolean | undefined;
|
|
27
33
|
checkedAppearance?: any;
|
|
28
34
|
trailingMetaSlottedContent?: any;
|
|
29
|
-
updateSubmenu?: any;
|
|
30
|
-
handleMenuItemKeyDown?: any;
|
|
31
35
|
icon?: string | undefined;
|
|
32
36
|
}): JSX.Element;
|
|
33
37
|
displayName: string;
|