@vonage/vivid-react 3.3.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 +255 -30
- 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 +22 -3
- 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 +283 -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 -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 +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,352 @@
|
|
|
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": "Some states and properties are applicable to all host language elements regardless of whether a role is applied.\nThe following global states and properties are supported by all roles and by all base markup elements.\nhttps://www.w3.org/TR/wai-aria-1.1/#global_states\n\nThis is intended to be used as a mixin. Be sure you extend FASTElement.",
|
|
9
|
+
"name": "ARIAGlobalStatesAndProperties",
|
|
10
|
+
"members": [
|
|
11
|
+
{
|
|
12
|
+
"kind": "field",
|
|
13
|
+
"name": "ariaAtomic",
|
|
14
|
+
"type": {
|
|
15
|
+
"text": "'true' | 'false' | string | null"
|
|
16
|
+
},
|
|
17
|
+
"description": "Indicates whether assistive technologies will present all, or only parts of,\nthe changed region based on the change notifications defined by the aria-relevant attribute.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-atomic",
|
|
18
|
+
"privacy": "public"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "field",
|
|
22
|
+
"name": "ariaBusy",
|
|
23
|
+
"type": {
|
|
24
|
+
"text": "'true' | 'false' | string | null"
|
|
25
|
+
},
|
|
26
|
+
"description": "Indicates an element is being modified and that assistive technologies MAY want to wait\nuntil the modifications are complete before exposing them to the user.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-busy",
|
|
27
|
+
"privacy": "public"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "ariaControls",
|
|
32
|
+
"type": {
|
|
33
|
+
"text": "string | null"
|
|
34
|
+
},
|
|
35
|
+
"description": "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-controls",
|
|
36
|
+
"privacy": "public"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"kind": "field",
|
|
40
|
+
"name": "ariaCurrent",
|
|
41
|
+
"type": {
|
|
42
|
+
"text": "| 'page'\n\t\t| 'step'\n\t\t| 'location'\n\t\t| 'date'\n\t\t| 'time'\n\t\t| 'true'\n\t\t| 'false'\n\t\t| string\n\t\t| null"
|
|
43
|
+
},
|
|
44
|
+
"description": "Indicates the element that represents the current item within a container or set of related elements.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-current",
|
|
45
|
+
"privacy": "public"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "field",
|
|
49
|
+
"name": "ariaDescribedby",
|
|
50
|
+
"type": {
|
|
51
|
+
"text": "string | null"
|
|
52
|
+
},
|
|
53
|
+
"description": "Identifies the element (or elements) that describes the object.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-describedby",
|
|
54
|
+
"privacy": "public"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "field",
|
|
58
|
+
"name": "ariaDetails",
|
|
59
|
+
"type": {
|
|
60
|
+
"text": "string | null"
|
|
61
|
+
},
|
|
62
|
+
"description": "Identifies the element that provides a detailed, extended description for the object.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-details",
|
|
63
|
+
"privacy": "public"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"kind": "field",
|
|
67
|
+
"name": "ariaDisabled",
|
|
68
|
+
"type": {
|
|
69
|
+
"text": "'true' | 'false' | string | null"
|
|
70
|
+
},
|
|
71
|
+
"description": "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-disabled",
|
|
72
|
+
"privacy": "public"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"kind": "field",
|
|
76
|
+
"name": "ariaErrormessage",
|
|
77
|
+
"type": {
|
|
78
|
+
"text": "string | null"
|
|
79
|
+
},
|
|
80
|
+
"description": "Identifies the element that provides an error message for the object.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-errormessage",
|
|
81
|
+
"privacy": "public"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "field",
|
|
85
|
+
"name": "ariaFlowto",
|
|
86
|
+
"type": {
|
|
87
|
+
"text": "string | null"
|
|
88
|
+
},
|
|
89
|
+
"description": "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-flowto",
|
|
90
|
+
"privacy": "public"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "field",
|
|
94
|
+
"name": "ariaHaspopup",
|
|
95
|
+
"type": {
|
|
96
|
+
"text": "| 'false'\n\t\t| 'true'\n\t\t| 'menu'\n\t\t| 'listbox'\n\t\t| 'tree'\n\t\t| 'grid'\n\t\t| 'dialog'\n\t\t| string\n\t\t| null"
|
|
97
|
+
},
|
|
98
|
+
"description": "Indicates the availability and type of interactive popup element,\nsuch as menu or dialog, that can be triggered by an element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-haspopup",
|
|
99
|
+
"privacy": "public"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "ariaHidden",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "'false' | 'true' | string | null"
|
|
106
|
+
},
|
|
107
|
+
"description": "Indicates whether the element is exposed to an accessibility API\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-hidden",
|
|
108
|
+
"privacy": "public"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "field",
|
|
112
|
+
"name": "ariaInvalid",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "'false' | 'true' | 'grammar' | 'spelling' | string | null"
|
|
115
|
+
},
|
|
116
|
+
"description": "Indicates the entered value does not conform to the format expected by the application.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-invalid",
|
|
117
|
+
"privacy": "public"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"kind": "field",
|
|
121
|
+
"name": "ariaKeyshortcuts",
|
|
122
|
+
"type": {
|
|
123
|
+
"text": "string | null"
|
|
124
|
+
},
|
|
125
|
+
"description": "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts",
|
|
126
|
+
"privacy": "public"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "field",
|
|
130
|
+
"name": "ariaLabel",
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "string | null"
|
|
133
|
+
},
|
|
134
|
+
"description": "Defines a string value that labels the current element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-label",
|
|
135
|
+
"privacy": "public"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "field",
|
|
139
|
+
"name": "ariaLabelledby",
|
|
140
|
+
"type": {
|
|
141
|
+
"text": "string | null"
|
|
142
|
+
},
|
|
143
|
+
"description": "Identifies the element (or elements) that labels the current element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-labelledby",
|
|
144
|
+
"privacy": "public"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "field",
|
|
148
|
+
"name": "ariaLive",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "'assertive' | 'off' | 'polite' | string | null"
|
|
151
|
+
},
|
|
152
|
+
"description": "Indicates that an element will be updated, and describes the types of updates the user agents,\nassistive technologies, and user can expect from the live region.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-live",
|
|
153
|
+
"privacy": "public"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "ariaOwns",
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "string | null"
|
|
160
|
+
},
|
|
161
|
+
"description": "Identifies an element (or elements) in order to define a visual,\nfunctional, or contextual parent/child relationship between DOM elements\nwhere the DOM hierarchy cannot be used to represent the relationship.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-owns",
|
|
162
|
+
"privacy": "public"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "field",
|
|
166
|
+
"name": "ariaRelevant",
|
|
167
|
+
"type": {
|
|
168
|
+
"text": "| 'additions'\n\t\t| 'additions text'\n\t\t| 'all'\n\t\t| 'removals'\n\t\t| 'text'\n\t\t| string\n\t\t| null"
|
|
169
|
+
},
|
|
170
|
+
"description": "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-relevant",
|
|
171
|
+
"privacy": "public"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "field",
|
|
175
|
+
"name": "ariaRoledescription",
|
|
176
|
+
"type": {
|
|
177
|
+
"text": "string | null"
|
|
178
|
+
},
|
|
179
|
+
"description": "Defines a human-readable, author-localized description for the role of an element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-roledescription",
|
|
180
|
+
"privacy": "public"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"attributes": [
|
|
184
|
+
{
|
|
185
|
+
"name": "aria-atomic",
|
|
186
|
+
"type": {
|
|
187
|
+
"text": "'true' | 'false' | string | null"
|
|
188
|
+
},
|
|
189
|
+
"description": "Indicates whether assistive technologies will present all, or only parts of,\nthe changed region based on the change notifications defined by the aria-relevant attribute.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-atomic",
|
|
190
|
+
"fieldName": "ariaAtomic"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "aria-busy",
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "'true' | 'false' | string | null"
|
|
196
|
+
},
|
|
197
|
+
"description": "Indicates an element is being modified and that assistive technologies MAY want to wait\nuntil the modifications are complete before exposing them to the user.\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-busy",
|
|
198
|
+
"fieldName": "ariaBusy"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "aria-controls",
|
|
202
|
+
"type": {
|
|
203
|
+
"text": "string | null"
|
|
204
|
+
},
|
|
205
|
+
"description": "Identifies the element (or elements) whose contents or presence are controlled by the current element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-controls",
|
|
206
|
+
"fieldName": "ariaControls"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "aria-current",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "| 'page'\n\t\t| 'step'\n\t\t| 'location'\n\t\t| 'date'\n\t\t| 'time'\n\t\t| 'true'\n\t\t| 'false'\n\t\t| string\n\t\t| null"
|
|
212
|
+
},
|
|
213
|
+
"description": "Indicates the element that represents the current item within a container or set of related elements.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-current",
|
|
214
|
+
"fieldName": "ariaCurrent"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "aria-describedby",
|
|
218
|
+
"type": {
|
|
219
|
+
"text": "string | null"
|
|
220
|
+
},
|
|
221
|
+
"description": "Identifies the element (or elements) that describes the object.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-describedby",
|
|
222
|
+
"fieldName": "ariaDescribedby"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "aria-details",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "string | null"
|
|
228
|
+
},
|
|
229
|
+
"description": "Identifies the element that provides a detailed, extended description for the object.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-details",
|
|
230
|
+
"fieldName": "ariaDetails"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "aria-disabled",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "'true' | 'false' | string | null"
|
|
236
|
+
},
|
|
237
|
+
"description": "Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-disabled",
|
|
238
|
+
"fieldName": "ariaDisabled"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "aria-errormessage",
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "string | null"
|
|
244
|
+
},
|
|
245
|
+
"description": "Identifies the element that provides an error message for the object.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-errormessage",
|
|
246
|
+
"fieldName": "ariaErrormessage"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "aria-flowto",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "string | null"
|
|
252
|
+
},
|
|
253
|
+
"description": "Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-flowto",
|
|
254
|
+
"fieldName": "ariaFlowto"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "aria-haspopup",
|
|
258
|
+
"type": {
|
|
259
|
+
"text": "| 'false'\n\t\t| 'true'\n\t\t| 'menu'\n\t\t| 'listbox'\n\t\t| 'tree'\n\t\t| 'grid'\n\t\t| 'dialog'\n\t\t| string\n\t\t| null"
|
|
260
|
+
},
|
|
261
|
+
"description": "Indicates the availability and type of interactive popup element,\nsuch as menu or dialog, that can be triggered by an element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-haspopup",
|
|
262
|
+
"fieldName": "ariaHaspopup"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "aria-hidden",
|
|
266
|
+
"type": {
|
|
267
|
+
"text": "'false' | 'true' | string | null"
|
|
268
|
+
},
|
|
269
|
+
"description": "Indicates whether the element is exposed to an accessibility API\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-hidden",
|
|
270
|
+
"fieldName": "ariaHidden"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "aria-invalid",
|
|
274
|
+
"type": {
|
|
275
|
+
"text": "'false' | 'true' | 'grammar' | 'spelling' | string | null"
|
|
276
|
+
},
|
|
277
|
+
"description": "Indicates the entered value does not conform to the format expected by the application.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-invalid",
|
|
278
|
+
"fieldName": "ariaInvalid"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "aria-keyshortcuts",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "string | null"
|
|
284
|
+
},
|
|
285
|
+
"description": "Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-keyshortcuts",
|
|
286
|
+
"fieldName": "ariaKeyshortcuts"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "aria-label",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "string | null"
|
|
292
|
+
},
|
|
293
|
+
"description": "Defines a string value that labels the current element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-label",
|
|
294
|
+
"fieldName": "ariaLabel"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "aria-labelledby",
|
|
298
|
+
"type": {
|
|
299
|
+
"text": "string | null"
|
|
300
|
+
},
|
|
301
|
+
"description": "Identifies the element (or elements) that labels the current element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-labelledby",
|
|
302
|
+
"fieldName": "ariaLabelledby"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "aria-live",
|
|
306
|
+
"type": {
|
|
307
|
+
"text": "'assertive' | 'off' | 'polite' | string | null"
|
|
308
|
+
},
|
|
309
|
+
"description": "Indicates that an element will be updated, and describes the types of updates the user agents,\nassistive technologies, and user can expect from the live region.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-live",
|
|
310
|
+
"fieldName": "ariaLive"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "aria-owns",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "string | null"
|
|
316
|
+
},
|
|
317
|
+
"description": "Identifies an element (or elements) in order to define a visual,\nfunctional, or contextual parent/child relationship between DOM elements\nwhere the DOM hierarchy cannot be used to represent the relationship.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-owns",
|
|
318
|
+
"fieldName": "ariaOwns"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "aria-relevant",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "| 'additions'\n\t\t| 'additions text'\n\t\t| 'all'\n\t\t| 'removals'\n\t\t| 'text'\n\t\t| string\n\t\t| null"
|
|
324
|
+
},
|
|
325
|
+
"description": "Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-relevant",
|
|
326
|
+
"fieldName": "ariaRelevant"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "aria-roledescription",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "string | null"
|
|
332
|
+
},
|
|
333
|
+
"description": "Defines a human-readable, author-localized description for the role of an element.\n\nhttps://www.w3.org/TR/wai-aria-1.1/#aria-roledescription",
|
|
334
|
+
"fieldName": "ariaRoledescription"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
*/
|
|
339
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
340
|
+
import { registerARIAGlobalStatesAndProperties } from '@vonage/vivid'
|
|
341
|
+
|
|
342
|
+
registerARIAGlobalStatesAndProperties('vvd3')
|
|
343
|
+
|
|
344
|
+
const VwcARIAGlobalStatesAndProperties = wrapper(`vvd3-a-riaglobal-states-and-properties`, {
|
|
345
|
+
events: [],
|
|
346
|
+
attributes: [],
|
|
347
|
+
properties: ['ariaAtomic', 'ariaBusy', 'ariaControls', 'ariaCurrent', 'ariaDescribedby', 'ariaDetails', 'ariaDisabled', 'ariaErrormessage', 'ariaFlowto', 'ariaHaspopup', 'ariaHidden', 'ariaInvalid', 'ariaKeyshortcuts', 'ariaLabel', 'ariaLabelledby', 'ariaLive', 'ariaOwns', 'ariaRelevant', 'ariaRoledescription']
|
|
348
|
+
})
|
|
349
|
+
|
|
350
|
+
VwcARIAGlobalStatesAndProperties.displayName = 'VwcARIAGlobalStatesAndProperties'
|
|
351
|
+
|
|
352
|
+
export default VwcARIAGlobalStatesAndProperties
|
|
@@ -2,7 +2,10 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
2
2
|
/** VwcAccordion
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/accordion
|
|
4
4
|
* @param {AccordionExpandMode} expandmode - Controls the expand mode of the Accordion, either allowing
|
|
5
|
-
single or multiple item expansion.
|
|
5
|
+
single or multiple item expansion. **attribute** `expand-mode`
|
|
6
|
+
* @param {string | null} activeid
|
|
7
|
+
* @param {number} activeItemIndex
|
|
8
|
+
* @param {Array<string | null>} accordionIds
|
|
6
9
|
*/
|
|
7
10
|
declare const VwcAccordion: {
|
|
8
11
|
(props: {
|
|
@@ -13,6 +16,9 @@ declare const VwcAccordion: {
|
|
|
13
16
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
14
17
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
15
18
|
expandmode?: any;
|
|
19
|
+
activeid?: string | null | undefined;
|
|
20
|
+
activeItemIndex?: number | undefined;
|
|
21
|
+
accordionIds?: any;
|
|
16
22
|
}): JSX.Element;
|
|
17
23
|
displayName: string;
|
|
18
24
|
};
|
package/v3/VwcAccordion/index.js
CHANGED
|
@@ -23,6 +23,135 @@ Code in this file were generated using following JSON:
|
|
|
23
23
|
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
24
24
|
"privacy": "public"
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "field",
|
|
28
|
+
"name": "activeid",
|
|
29
|
+
"type": {
|
|
30
|
+
"text": "string | null"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"kind": "field",
|
|
35
|
+
"name": "activeItemIndex",
|
|
36
|
+
"type": {
|
|
37
|
+
"text": "number"
|
|
38
|
+
},
|
|
39
|
+
"default": "0"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"kind": "field",
|
|
43
|
+
"name": "accordionIds",
|
|
44
|
+
"type": {
|
|
45
|
+
"text": "Array<string | null>"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "field",
|
|
50
|
+
"name": "change",
|
|
51
|
+
"privacy": "private"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"kind": "method",
|
|
55
|
+
"name": "findExpandedItem",
|
|
56
|
+
"privacy": "private",
|
|
57
|
+
"return": {
|
|
58
|
+
"type": {
|
|
59
|
+
"text": "AccordionItem | null"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "field",
|
|
65
|
+
"name": "setItems",
|
|
66
|
+
"privacy": "private"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"kind": "method",
|
|
70
|
+
"name": "resetItems",
|
|
71
|
+
"privacy": "private",
|
|
72
|
+
"return": {
|
|
73
|
+
"type": {
|
|
74
|
+
"text": "void"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"kind": "field",
|
|
80
|
+
"name": "removeItemListeners",
|
|
81
|
+
"privacy": "private"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "field",
|
|
85
|
+
"name": "activeItemChange",
|
|
86
|
+
"privacy": "private"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"kind": "method",
|
|
90
|
+
"name": "getItemIds",
|
|
91
|
+
"privacy": "private",
|
|
92
|
+
"return": {
|
|
93
|
+
"type": {
|
|
94
|
+
"text": "Array<string | null>"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "method",
|
|
100
|
+
"name": "isSingleExpandMode",
|
|
101
|
+
"privacy": "private",
|
|
102
|
+
"return": {
|
|
103
|
+
"type": {
|
|
104
|
+
"text": "boolean"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "field",
|
|
110
|
+
"name": "handleItemKeyDown",
|
|
111
|
+
"privacy": "private"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "method",
|
|
115
|
+
"name": "adjust",
|
|
116
|
+
"privacy": "private",
|
|
117
|
+
"return": {
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "void"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"parameters": [
|
|
123
|
+
{
|
|
124
|
+
"name": "item",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "AccordionItem"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "adjustment",
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "number"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "method",
|
|
139
|
+
"name": "focusItem",
|
|
140
|
+
"privacy": "private",
|
|
141
|
+
"return": {
|
|
142
|
+
"type": {
|
|
143
|
+
"text": "void"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"parameters": [
|
|
147
|
+
{
|
|
148
|
+
"name": "index",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "number"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
26
155
|
{
|
|
27
156
|
"kind": "method",
|
|
28
157
|
"name": "closeAll",
|
|
@@ -42,9 +171,19 @@ Code in this file were generated using following JSON:
|
|
|
42
171
|
"name": "change"
|
|
43
172
|
}
|
|
44
173
|
],
|
|
174
|
+
"attributes": [
|
|
175
|
+
{
|
|
176
|
+
"name": "expand-mode",
|
|
177
|
+
"type": {
|
|
178
|
+
"text": "AccordionExpandMode"
|
|
179
|
+
},
|
|
180
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
181
|
+
"fieldName": "expandmode"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
45
184
|
"superclass": {
|
|
46
|
-
"name": "
|
|
47
|
-
"
|
|
185
|
+
"name": "VividElement",
|
|
186
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
48
187
|
},
|
|
49
188
|
"vividComponent": {
|
|
50
189
|
"public": true,
|
|
@@ -60,7 +199,7 @@ registerAccordion('vvd3')
|
|
|
60
199
|
const VwcAccordion = wrapper(`vvd3-accordion`, {
|
|
61
200
|
events: [{"name":"change","propName":"onChange"}],
|
|
62
201
|
attributes: [],
|
|
63
|
-
properties: ['expandmode']
|
|
202
|
+
properties: ['expandmode', 'activeid', 'activeItemIndex', 'accordionIds']
|
|
64
203
|
})
|
|
65
204
|
|
|
66
205
|
VwcAccordion.displayName = 'VwcAccordion'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-accordion",
|
|
3
|
-
"version": "4.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.4
|
|
9
|
+
"@vonage/vivid": "4.14.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcAccordionItem
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/accordion-item
|
|
4
|
+
* @param {1 | 2 | 3 | 4 | 5 | 6} headinglevel - Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the
|
|
5
|
+
heading element. **attribute** `heading-level`
|
|
6
|
+
* @param {boolean} expanded - Expands or collapses the item. **attribute** `expanded`
|
|
7
|
+
* @param {string} id - The item ID **attribute** `id`
|
|
4
8
|
* @param {string | undefined} heading **attribute** `heading`
|
|
5
9
|
* @param {boolean} noIndicator - Indicates whether the accordion-item has indicator **attribute** `no-indicator`
|
|
6
10
|
* @param {string | undefined} meta **attribute** `meta`
|
|
@@ -14,6 +18,8 @@ declare const VwcAccordionItem: {
|
|
|
14
18
|
style?: React.CSSProperties | undefined;
|
|
15
19
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
20
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
21
|
+
headinglevel?: any;
|
|
22
|
+
expanded?: boolean | undefined;
|
|
17
23
|
heading?: string | undefined;
|
|
18
24
|
noIndicator?: boolean | undefined;
|
|
19
25
|
meta?: string | undefined;
|
|
@@ -32,6 +32,35 @@ Code in this file were generated using following JSON:
|
|
|
32
32
|
}
|
|
33
33
|
],
|
|
34
34
|
"members": [
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "headinglevel",
|
|
38
|
+
"type": {
|
|
39
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
40
|
+
},
|
|
41
|
+
"default": "2",
|
|
42
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
43
|
+
"privacy": "public"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "expanded",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "boolean"
|
|
50
|
+
},
|
|
51
|
+
"default": "false",
|
|
52
|
+
"description": "Expands or collapses the item.",
|
|
53
|
+
"privacy": "public"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"kind": "field",
|
|
57
|
+
"name": "id",
|
|
58
|
+
"type": {
|
|
59
|
+
"text": "string"
|
|
60
|
+
},
|
|
61
|
+
"description": "The item ID",
|
|
62
|
+
"privacy": "public"
|
|
63
|
+
},
|
|
35
64
|
{
|
|
36
65
|
"kind": "field",
|
|
37
66
|
"name": "heading",
|
|
@@ -68,6 +97,11 @@ Code in this file were generated using following JSON:
|
|
|
68
97
|
},
|
|
69
98
|
"description": "The size the accordion-item should have.",
|
|
70
99
|
"privacy": "public"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "change",
|
|
104
|
+
"privacy": "private"
|
|
71
105
|
}
|
|
72
106
|
],
|
|
73
107
|
"events": [
|
|
@@ -80,6 +114,31 @@ Code in this file were generated using following JSON:
|
|
|
80
114
|
}
|
|
81
115
|
],
|
|
82
116
|
"attributes": [
|
|
117
|
+
{
|
|
118
|
+
"name": "heading-level",
|
|
119
|
+
"type": {
|
|
120
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
121
|
+
},
|
|
122
|
+
"default": "2",
|
|
123
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
124
|
+
"fieldName": "headinglevel"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "boolean"
|
|
129
|
+
},
|
|
130
|
+
"default": "false",
|
|
131
|
+
"description": "Expands or collapses the item.",
|
|
132
|
+
"fieldName": "expanded"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "id",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "string"
|
|
138
|
+
},
|
|
139
|
+
"description": "The item ID",
|
|
140
|
+
"fieldName": "id"
|
|
141
|
+
},
|
|
83
142
|
{
|
|
84
143
|
"name": "heading",
|
|
85
144
|
"type": {
|
|
@@ -113,8 +172,8 @@ Code in this file were generated using following JSON:
|
|
|
113
172
|
}
|
|
114
173
|
],
|
|
115
174
|
"superclass": {
|
|
116
|
-
"name": "
|
|
117
|
-
"
|
|
175
|
+
"name": "VividElement",
|
|
176
|
+
"module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
|
|
118
177
|
},
|
|
119
178
|
"vividComponent": {
|
|
120
179
|
"public": true,
|
|
@@ -130,7 +189,7 @@ registerAccordionItem('vvd3')
|
|
|
130
189
|
const VwcAccordionItem = wrapper(`vvd3-accordion-item`, {
|
|
131
190
|
events: [{"name":"change","propName":"onChange"}],
|
|
132
191
|
attributes: [],
|
|
133
|
-
properties: ['heading', 'noIndicator', 'meta', 'size']
|
|
192
|
+
properties: ['headinglevel', 'expanded', 'id', 'heading', 'noIndicator', 'meta', 'size']
|
|
134
193
|
})
|
|
135
194
|
|
|
136
195
|
VwcAccordionItem.displayName = 'VwcAccordionItem'
|