@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
|
@@ -47,6 +47,77 @@ Code in this file were generated using following JSON:
|
|
|
47
47
|
"type": {
|
|
48
48
|
"text": "-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined"
|
|
49
49
|
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"kind": "field",
|
|
53
|
+
"name": "value",
|
|
54
|
+
"type": {
|
|
55
|
+
"text": "number | null"
|
|
56
|
+
},
|
|
57
|
+
"description": "The value of the progress",
|
|
58
|
+
"privacy": "public",
|
|
59
|
+
"inheritedFrom": {
|
|
60
|
+
"name": "BaseProgress",
|
|
61
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"kind": "field",
|
|
66
|
+
"name": "min",
|
|
67
|
+
"type": {
|
|
68
|
+
"text": "number"
|
|
69
|
+
},
|
|
70
|
+
"description": "The minimum value",
|
|
71
|
+
"privacy": "public",
|
|
72
|
+
"inheritedFrom": {
|
|
73
|
+
"name": "BaseProgress",
|
|
74
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "field",
|
|
79
|
+
"name": "max",
|
|
80
|
+
"type": {
|
|
81
|
+
"text": "number"
|
|
82
|
+
},
|
|
83
|
+
"description": "The maximum value",
|
|
84
|
+
"privacy": "public",
|
|
85
|
+
"inheritedFrom": {
|
|
86
|
+
"name": "BaseProgress",
|
|
87
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "method",
|
|
92
|
+
"name": "maxChanged",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"description": "",
|
|
95
|
+
"inheritedFrom": {
|
|
96
|
+
"name": "BaseProgress",
|
|
97
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "field",
|
|
102
|
+
"name": "paused",
|
|
103
|
+
"type": {
|
|
104
|
+
"text": "boolean"
|
|
105
|
+
},
|
|
106
|
+
"description": "Indicates the progress is paused",
|
|
107
|
+
"privacy": "public",
|
|
108
|
+
"inheritedFrom": {
|
|
109
|
+
"name": "BaseProgress",
|
|
110
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "method",
|
|
115
|
+
"name": "updatePercentComplete",
|
|
116
|
+
"privacy": "private",
|
|
117
|
+
"inheritedFrom": {
|
|
118
|
+
"name": "BaseProgress",
|
|
119
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
120
|
+
}
|
|
50
121
|
}
|
|
51
122
|
],
|
|
52
123
|
"attributes": [
|
|
@@ -71,11 +142,22 @@ Code in this file were generated using following JSON:
|
|
|
71
142
|
"text": "-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined"
|
|
72
143
|
},
|
|
73
144
|
"fieldName": "size"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "boolean"
|
|
149
|
+
},
|
|
150
|
+
"description": "The value of the progress",
|
|
151
|
+
"fieldName": "value",
|
|
152
|
+
"inheritedFrom": {
|
|
153
|
+
"name": "BaseProgress",
|
|
154
|
+
"module": "libs/components/src/shared/foundation/progress/base-progress.ts"
|
|
155
|
+
}
|
|
74
156
|
}
|
|
75
157
|
],
|
|
76
158
|
"superclass": {
|
|
77
159
|
"name": "BaseProgress",
|
|
78
|
-
"
|
|
160
|
+
"module": "/libs/components/src/shared/foundation/progress/base-progress"
|
|
79
161
|
},
|
|
80
162
|
"vividComponent": {
|
|
81
163
|
"public": true,
|
|
@@ -91,7 +173,7 @@ registerProgressRing('vvd3')
|
|
|
91
173
|
const VwcProgressRing = wrapper(`vvd3-progress-ring`, {
|
|
92
174
|
events: [],
|
|
93
175
|
attributes: [],
|
|
94
|
-
properties: ['ariaLabel', 'connotation', 'size']
|
|
176
|
+
properties: ['ariaLabel', 'connotation', 'size', 'value', 'min', 'max', 'paused']
|
|
95
177
|
})
|
|
96
178
|
|
|
97
179
|
VwcProgressRing.displayName = 'VwcProgressRing'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress-ring",
|
|
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
|
}
|
package/v3/VwcRadio/index.d.ts
CHANGED
|
@@ -4,6 +4,10 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
4
4
|
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
5
|
* @param {string | undefined} label - Indicates the radio's label. **attribute** `label`
|
|
6
6
|
* @param {RadioConnotation | undefined} connotation - The connotation the radioButton should have. **attribute** `connotation`
|
|
7
|
+
* @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`
|
|
8
|
+
* @param {string} name - The name of the radio. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute for more info. **attribute** `name`
|
|
9
|
+
* @param proxy
|
|
10
|
+
* @param validate
|
|
7
11
|
*/
|
|
8
12
|
declare const VwcRadio: {
|
|
9
13
|
(props: {
|
|
@@ -16,6 +20,10 @@ declare const VwcRadio: {
|
|
|
16
20
|
ariaLabel?: string | null | undefined;
|
|
17
21
|
label?: string | undefined;
|
|
18
22
|
connotation?: any;
|
|
23
|
+
readOnly?: boolean | undefined;
|
|
24
|
+
name?: string | undefined;
|
|
25
|
+
proxy?: any;
|
|
26
|
+
validate?: any;
|
|
19
27
|
}): JSX.Element;
|
|
20
28
|
displayName: string;
|
|
21
29
|
};
|
package/v3/VwcRadio/index.js
CHANGED
|
@@ -83,6 +83,80 @@ Code in this file were generated using following JSON:
|
|
|
83
83
|
},
|
|
84
84
|
"description": "The connotation the radioButton should have.",
|
|
85
85
|
"privacy": "public"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "field",
|
|
89
|
+
"name": "readOnly",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "boolean"
|
|
92
|
+
},
|
|
93
|
+
"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.",
|
|
94
|
+
"privacy": "public"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "field",
|
|
98
|
+
"name": "name",
|
|
99
|
+
"type": {
|
|
100
|
+
"text": "string"
|
|
101
|
+
},
|
|
102
|
+
"description": "The name of the radio. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute for more info."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "method",
|
|
106
|
+
"name": "isInsideRadioGroup",
|
|
107
|
+
"privacy": "private",
|
|
108
|
+
"return": {
|
|
109
|
+
"type": {
|
|
110
|
+
"text": "boolean"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "field",
|
|
116
|
+
"name": "proxy",
|
|
117
|
+
"inheritedFrom": {
|
|
118
|
+
"name": "FormAssociatedRadio",
|
|
119
|
+
"module": "libs/components/src/lib/radio/radio.form-associated.ts"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"kind": "field",
|
|
124
|
+
"name": "#radioSiblings",
|
|
125
|
+
"privacy": "private",
|
|
126
|
+
"type": {
|
|
127
|
+
"text": "_Radio[]"
|
|
128
|
+
},
|
|
129
|
+
"readonly": true,
|
|
130
|
+
"inheritedFrom": {
|
|
131
|
+
"name": "FormAssociatedRadio",
|
|
132
|
+
"module": "libs/components/src/lib/radio/radio.form-associated.ts"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"kind": "field",
|
|
137
|
+
"name": "#validateValueMissingWithSiblings",
|
|
138
|
+
"privacy": "private",
|
|
139
|
+
"inheritedFrom": {
|
|
140
|
+
"name": "FormAssociatedRadio",
|
|
141
|
+
"module": "libs/components/src/lib/radio/radio.form-associated.ts"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "field",
|
|
146
|
+
"name": "#syncSiblingsRequiredValidationStatus",
|
|
147
|
+
"privacy": "private",
|
|
148
|
+
"inheritedFrom": {
|
|
149
|
+
"name": "FormAssociatedRadio",
|
|
150
|
+
"module": "libs/components/src/lib/radio/radio.form-associated.ts"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"kind": "field",
|
|
155
|
+
"name": "validate",
|
|
156
|
+
"inheritedFrom": {
|
|
157
|
+
"name": "FormAssociatedRadio",
|
|
158
|
+
"module": "libs/components/src/lib/radio/radio.form-associated.ts"
|
|
159
|
+
}
|
|
86
160
|
}
|
|
87
161
|
],
|
|
88
162
|
"events": [
|
|
@@ -118,11 +192,27 @@ Code in this file were generated using following JSON:
|
|
|
118
192
|
},
|
|
119
193
|
"description": "The connotation the radioButton should have.",
|
|
120
194
|
"fieldName": "connotation"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "readonly",
|
|
198
|
+
"type": {
|
|
199
|
+
"text": "boolean"
|
|
200
|
+
},
|
|
201
|
+
"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.",
|
|
202
|
+
"fieldName": "readOnly"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "name",
|
|
206
|
+
"type": {
|
|
207
|
+
"text": "string"
|
|
208
|
+
},
|
|
209
|
+
"description": "The name of the radio. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute for more info.",
|
|
210
|
+
"fieldName": "name"
|
|
121
211
|
}
|
|
122
212
|
],
|
|
123
213
|
"superclass": {
|
|
124
|
-
"name": "
|
|
125
|
-
"
|
|
214
|
+
"name": "FormAssociatedRadio",
|
|
215
|
+
"module": "/libs/components/src/lib/radio/radio.form-associated"
|
|
126
216
|
},
|
|
127
217
|
"vividComponent": {
|
|
128
218
|
"public": true,
|
|
@@ -138,7 +228,7 @@ registerRadio('vvd3')
|
|
|
138
228
|
const VwcRadio = wrapper(`vvd3-radio`, {
|
|
139
229
|
events: [{"name":"change","propName":"onChange"}],
|
|
140
230
|
attributes: [],
|
|
141
|
-
properties: ['ariaLabel', 'label', 'connotation']
|
|
231
|
+
properties: ['ariaLabel', 'label', 'connotation', 'readOnly', 'name', 'proxy', 'validate']
|
|
142
232
|
})
|
|
143
233
|
|
|
144
234
|
VwcRadio.displayName = 'VwcRadio'
|
package/v3/VwcRadio/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-radio",
|
|
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
|
}
|
|
@@ -2,6 +2,12 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
2
2
|
/** VwcRadioGroup
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/radio-group
|
|
4
4
|
* @param {string | undefined} label - Indicates the group's label. **attribute** `label`
|
|
5
|
+
* @param {boolean} readOnly - When true, the child radios 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`
|
|
6
|
+
* @param {boolean} disabled - Disables the radio group and child radios. **attribute** `disabled`
|
|
7
|
+
* @param {string} name - The name of the radio group. Setting this value will set the name value
|
|
8
|
+
for all child radio elements. **attribute** `name`
|
|
9
|
+
* @param {string} value - The value of the checked radio **attribute** `value`
|
|
10
|
+
* @param {Orientation | 'horizontal' | 'vertical'} orientation - The orientation of the group **attribute** `orientation`
|
|
5
11
|
*/
|
|
6
12
|
declare const VwcRadioGroup: {
|
|
7
13
|
(props: {
|
|
@@ -12,6 +18,11 @@ declare const VwcRadioGroup: {
|
|
|
12
18
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
13
19
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
14
20
|
label?: string | undefined;
|
|
21
|
+
readOnly?: boolean | undefined;
|
|
22
|
+
disabled?: boolean | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
value?: string | undefined;
|
|
25
|
+
orientation?: any;
|
|
15
26
|
}): JSX.Element;
|
|
16
27
|
displayName: string;
|
|
17
28
|
};
|
|
@@ -22,6 +22,140 @@ Code in this file were generated using following JSON:
|
|
|
22
22
|
},
|
|
23
23
|
"description": "Indicates the group's label.",
|
|
24
24
|
"privacy": "public"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "readOnly",
|
|
29
|
+
"type": {
|
|
30
|
+
"text": "boolean"
|
|
31
|
+
},
|
|
32
|
+
"description": "When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
33
|
+
"privacy": "public"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "disabled",
|
|
38
|
+
"type": {
|
|
39
|
+
"text": "boolean"
|
|
40
|
+
},
|
|
41
|
+
"description": "Disables the radio group and child radios.",
|
|
42
|
+
"privacy": "public"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "field",
|
|
46
|
+
"name": "name",
|
|
47
|
+
"type": {
|
|
48
|
+
"text": "string"
|
|
49
|
+
},
|
|
50
|
+
"description": "The name of the radio group. Setting this value will set the name value\nfor all child radio elements.",
|
|
51
|
+
"privacy": "public"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "method",
|
|
55
|
+
"name": "nameChanged",
|
|
56
|
+
"return": {
|
|
57
|
+
"type": {
|
|
58
|
+
"text": "void"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"kind": "field",
|
|
64
|
+
"name": "value",
|
|
65
|
+
"type": {
|
|
66
|
+
"text": "string"
|
|
67
|
+
},
|
|
68
|
+
"description": "The value of the checked radio",
|
|
69
|
+
"privacy": "public"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"kind": "field",
|
|
73
|
+
"name": "orientation",
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "Orientation | 'horizontal' | 'vertical'"
|
|
76
|
+
},
|
|
77
|
+
"description": "The orientation of the group",
|
|
78
|
+
"privacy": "public"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"kind": "field",
|
|
82
|
+
"name": "#focusableRadioButtons",
|
|
83
|
+
"privacy": "private",
|
|
84
|
+
"readonly": true
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "field",
|
|
88
|
+
"name": "isInsideToolbar",
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "boolean"
|
|
91
|
+
},
|
|
92
|
+
"privacy": "private",
|
|
93
|
+
"readonly": true
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "method",
|
|
97
|
+
"name": "setupRadioButtons",
|
|
98
|
+
"privacy": "private",
|
|
99
|
+
"return": {
|
|
100
|
+
"type": {
|
|
101
|
+
"text": "void"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"kind": "field",
|
|
107
|
+
"name": "radioChangeHandler",
|
|
108
|
+
"privacy": "private"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "field",
|
|
112
|
+
"name": "moveToRadioByIndex",
|
|
113
|
+
"privacy": "private"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "field",
|
|
117
|
+
"name": "moveRightOffGroup",
|
|
118
|
+
"privacy": "private"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "field",
|
|
122
|
+
"name": "moveLeftOffGroup",
|
|
123
|
+
"privacy": "private"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"kind": "method",
|
|
127
|
+
"name": "#setTabRovingTarget",
|
|
128
|
+
"parameters": [
|
|
129
|
+
{
|
|
130
|
+
"name": "radio",
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "Radio"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "method",
|
|
139
|
+
"name": "checkFocusedRadio",
|
|
140
|
+
"privacy": "private",
|
|
141
|
+
"parameters": [
|
|
142
|
+
{
|
|
143
|
+
"name": "target",
|
|
144
|
+
"type": {
|
|
145
|
+
"text": "Radio"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"kind": "field",
|
|
152
|
+
"name": "moveRight",
|
|
153
|
+
"privacy": "private"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "moveLeft",
|
|
158
|
+
"privacy": "private"
|
|
25
159
|
}
|
|
26
160
|
],
|
|
27
161
|
"events": [
|
|
@@ -41,11 +175,51 @@ Code in this file were generated using following JSON:
|
|
|
41
175
|
},
|
|
42
176
|
"description": "Indicates the group's label.",
|
|
43
177
|
"fieldName": "label"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "readonly",
|
|
181
|
+
"type": {
|
|
182
|
+
"text": "boolean"
|
|
183
|
+
},
|
|
184
|
+
"description": "When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
|
|
185
|
+
"fieldName": "readOnly"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "disabled",
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "boolean"
|
|
191
|
+
},
|
|
192
|
+
"description": "Disables the radio group and child radios.",
|
|
193
|
+
"fieldName": "disabled"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "name",
|
|
197
|
+
"type": {
|
|
198
|
+
"text": "string"
|
|
199
|
+
},
|
|
200
|
+
"description": "The name of the radio group. Setting this value will set the name value\nfor all child radio elements.",
|
|
201
|
+
"fieldName": "name"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "value",
|
|
205
|
+
"type": {
|
|
206
|
+
"text": "string"
|
|
207
|
+
},
|
|
208
|
+
"description": "The value of the checked radio",
|
|
209
|
+
"fieldName": "value"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "orientation",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "Orientation | 'horizontal' | 'vertical'"
|
|
215
|
+
},
|
|
216
|
+
"description": "The orientation of the group",
|
|
217
|
+
"fieldName": "orientation"
|
|
44
218
|
}
|
|
45
219
|
],
|
|
46
220
|
"superclass": {
|
|
47
|
-
"name": "
|
|
48
|
-
"
|
|
221
|
+
"name": "VividElement",
|
|
222
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
49
223
|
},
|
|
50
224
|
"vividComponent": {
|
|
51
225
|
"public": true,
|
|
@@ -54,7 +228,9 @@ Code in this file were generated using following JSON:
|
|
|
54
228
|
{
|
|
55
229
|
"name": "modelValue",
|
|
56
230
|
"attributeName": "value",
|
|
57
|
-
"
|
|
231
|
+
"eventNames": [
|
|
232
|
+
"change"
|
|
233
|
+
],
|
|
58
234
|
"valueMapping": "(event.target as HTMLInputElement).value"
|
|
59
235
|
}
|
|
60
236
|
]
|
|
@@ -69,7 +245,7 @@ registerRadioGroup('vvd3')
|
|
|
69
245
|
const VwcRadioGroup = wrapper(`vvd3-radio-group`, {
|
|
70
246
|
events: [{"name":"change","propName":"onChange"}],
|
|
71
247
|
attributes: [],
|
|
72
|
-
properties: ['label']
|
|
248
|
+
properties: ['label', 'readOnly', 'disabled', 'name', 'value', 'orientation']
|
|
73
249
|
})
|
|
74
250
|
|
|
75
251
|
VwcRadioGroup.displayName = 'VwcRadioGroup'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-radio-group",
|
|
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
|
}
|
|
@@ -28,6 +28,7 @@ and don't support IDL attribute binding. **attribute** `current-end`
|
|
|
28
28
|
* @param {string | null} ariaEndLabel - Aria label for the end thumb **attribute** `aria-end-label`
|
|
29
29
|
* @param {boolean} markers - Display markers on/off **attribute** `markers`
|
|
30
30
|
* @param {RangeSliderConnotation | undefined} connotation - The connotation of the component **attribute** `connotation`
|
|
31
|
+
* @param {boolean} pin - Show current values on the thumbs. **attribute** `pin`
|
|
31
32
|
* @param {(value: string) => string} valueTextFormatter - Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
|
|
32
33
|
* @param proxy
|
|
33
34
|
*/
|
|
@@ -58,6 +59,7 @@ declare const VwcRangeSlider: {
|
|
|
58
59
|
ariaEndLabel?: string | null | undefined;
|
|
59
60
|
markers?: boolean | undefined;
|
|
60
61
|
connotation?: any;
|
|
62
|
+
pin?: boolean | undefined;
|
|
61
63
|
valueTextFormatter?: any;
|
|
62
64
|
proxy?: any;
|
|
63
65
|
}): JSX.Element;
|