@vonage/vivid-react 3.5.1 → 4.0.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 +58 -9
- package/v3/VwcAccordion/package.json +2 -2
- package/v3/VwcAccordionItem/index.d.ts +2 -0
- package/v3/VwcAccordionItem/index.js +85 -1
- package/v3/VwcAccordionItem/package.json +2 -2
- package/v3/VwcActionGroup/package.json +2 -2
- package/v3/VwcAlert/index.js +28 -0
- package/v3/VwcAlert/package.json +2 -2
- package/v3/VwcAudioPlayer/index.d.ts +2 -0
- package/v3/VwcAudioPlayer/index.js +106 -13
- package/v3/VwcAudioPlayer/package.json +2 -2
- package/v3/VwcAvatar/package.json +2 -2
- package/v3/VwcBadge/package.json +2 -2
- package/v3/VwcBanner/index.js +29 -0
- package/v3/VwcBanner/package.json +2 -2
- package/v3/VwcBaseProgress/package.json +2 -2
- package/v3/VwcBreadcrumb/package.json +2 -2
- package/v3/VwcBreadcrumbItem/package.json +2 -2
- package/v3/VwcButton/index.js +42 -0
- package/v3/VwcButton/package.json +2 -2
- package/v3/VwcCalendar/package.json +2 -2
- package/v3/VwcCalendarEvent/package.json +2 -2
- package/v3/VwcCard/index.js +13 -0
- package/v3/VwcCard/package.json +2 -2
- package/v3/VwcCheckbox/index.js +51 -4
- package/v3/VwcCheckbox/package.json +2 -2
- package/v3/VwcColorPicker/index.d.ts +61 -0
- package/v3/VwcColorPicker/index.js +651 -0
- package/v3/VwcColorPicker/package.json +11 -0
- package/v3/VwcCombobox/index.js +138 -0
- package/v3/VwcCombobox/package.json +2 -2
- package/v3/VwcContextualHelp/index.d.ts +22 -0
- package/v3/VwcContextualHelp/index.js +130 -0
- package/v3/VwcContextualHelp/package.json +11 -0
- package/v3/VwcDataGrid/index.d.ts +2 -0
- package/v3/VwcDataGrid/index.js +26 -10
- package/v3/VwcDataGrid/package.json +2 -2
- package/v3/VwcDataGridCell/index.d.ts +5 -3
- package/v3/VwcDataGridCell/index.js +17 -25
- package/v3/VwcDataGridCell/package.json +2 -2
- package/v3/VwcDataGridRow/index.d.ts +3 -1
- package/v3/VwcDataGridRow/index.js +21 -21
- package/v3/VwcDataGridRow/package.json +2 -2
- package/v3/VwcDatePicker/index.js +14 -1
- package/v3/VwcDatePicker/package.json +2 -2
- package/v3/VwcDateRangePicker/index.js +21 -1
- package/v3/VwcDateRangePicker/package.json +2 -2
- package/v3/VwcDateTimePicker/index.js +15 -2
- package/v3/VwcDateTimePicker/package.json +2 -2
- package/v3/VwcDelegateAriaBehavior/index.js +5 -58
- package/v3/VwcDelegateAriaBehavior/package.json +2 -2
- package/v3/VwcDialPad/index.d.ts +6 -0
- package/v3/VwcDialPad/index.js +27 -3
- package/v3/VwcDialPad/package.json +2 -2
- package/v3/VwcDialog/index.js +50 -0
- package/v3/VwcDialog/package.json +2 -2
- package/v3/VwcDivider/index.d.ts +4 -2
- package/v3/VwcDivider/index.js +34 -15
- package/v3/VwcDivider/package.json +2 -2
- package/v3/VwcElevation/package.json +2 -2
- package/v3/VwcEmptyState/index.js +28 -0
- package/v3/VwcEmptyState/package.json +2 -2
- package/v3/VwcFab/index.js +42 -0
- package/v3/VwcFab/package.json +2 -2
- package/v3/VwcFeedbackMessage/index.d.ts +0 -2
- package/v3/VwcFeedbackMessage/index.js +1 -13
- package/v3/VwcFeedbackMessage/package.json +2 -2
- package/v3/VwcFilePicker/index.d.ts +5 -7
- package/v3/VwcFilePicker/index.js +55 -290
- package/v3/VwcFilePicker/package.json +2 -2
- package/v3/VwcHeader/package.json +2 -2
- package/v3/VwcHostSemanticsBehavior/index.js +11 -27
- package/v3/VwcHostSemanticsBehavior/package.json +2 -2
- package/v3/VwcIcon/index.js +22 -0
- package/v3/VwcIcon/package.json +2 -2
- package/v3/VwcImagePlaceholder/index.d.ts +28 -0
- package/v3/VwcImagePlaceholder/index.js +116 -0
- package/v3/VwcImagePlaceholder/package.json +11 -0
- package/v3/VwcInlineTimePicker/index.d.ts +0 -2
- package/v3/VwcInlineTimePicker/index.js +1 -13
- package/v3/VwcInlineTimePicker/package.json +2 -2
- package/v3/VwcLayout/package.json +2 -2
- package/v3/VwcListbox/index.js +74 -0
- package/v3/VwcListbox/package.json +2 -2
- package/v3/VwcMenu/index.d.ts +2 -0
- package/v3/VwcMenu/index.js +48 -1
- package/v3/VwcMenu/package.json +2 -2
- package/v3/VwcMenuItem/index.d.ts +1 -1
- package/v3/VwcMenuItem/index.js +50 -8
- package/v3/VwcMenuItem/package.json +2 -2
- package/v3/{VwcMenuBar → VwcMenubar}/index.d.ts +4 -4
- package/v3/{VwcMenuBar → VwcMenubar}/index.js +4 -6
- package/v3/{VwcMenuBar → VwcMenubar}/package.json +3 -3
- package/v3/VwcNav/package.json +2 -2
- package/v3/VwcNavDisclosure/index.js +65 -0
- package/v3/VwcNavDisclosure/package.json +2 -2
- package/v3/VwcNavItem/index.js +44 -0
- package/v3/VwcNavItem/package.json +2 -2
- package/v3/VwcNote/package.json +2 -2
- package/v3/VwcNumberField/index.js +68 -0
- package/v3/VwcNumberField/package.json +2 -2
- package/v3/VwcOption/index.d.ts +9 -9
- package/v3/VwcOption/index.js +62 -44
- package/v3/VwcOption/package.json +2 -2
- package/v3/VwcOptionTag/package.json +2 -2
- package/v3/VwcPagination/index.js +66 -1
- package/v3/VwcPagination/package.json +2 -2
- package/v3/VwcPickerField/index.d.ts +0 -2
- package/v3/VwcPickerField/index.js +41 -14
- package/v3/VwcPickerField/package.json +2 -2
- package/v3/VwcPopup/package.json +2 -2
- package/v3/VwcProgress/package.json +2 -2
- package/v3/VwcProgressRing/package.json +2 -2
- package/v3/VwcProseMirrorFacade/index.js +14 -1
- package/v3/VwcProseMirrorFacade/package.json +2 -2
- package/v3/VwcRadio/index.d.ts +0 -2
- package/v3/VwcRadio/index.js +38 -17
- package/v3/VwcRadio/package.json +2 -2
- package/v3/VwcRadioGroup/package.json +2 -2
- package/v3/VwcRangeSlider/index.js +75 -0
- package/v3/VwcRangeSlider/package.json +2 -2
- package/v3/VwcRichTextEditor/package.json +2 -2
- package/v3/VwcSearchableSelect/index.d.ts +6 -0
- package/v3/VwcSearchableSelect/index.js +90 -1
- package/v3/VwcSearchableSelect/package.json +2 -2
- package/v3/VwcSelect/index.js +106 -2
- package/v3/VwcSelect/package.json +2 -2
- package/v3/VwcSelectableBox/index.d.ts +2 -2
- package/v3/VwcSelectableBox/index.js +65 -19
- package/v3/VwcSelectableBox/package.json +2 -2
- package/v3/VwcSideDrawer/package.json +2 -2
- package/v3/VwcSimpleColorPicker/index.d.ts +48 -0
- package/v3/VwcSimpleColorPicker/index.js +500 -0
- package/v3/VwcSimpleColorPicker/package.json +11 -0
- package/v3/VwcSlider/index.js +52 -0
- package/v3/VwcSlider/package.json +2 -2
- package/v3/VwcSplitButton/index.js +89 -0
- package/v3/VwcSplitButton/package.json +2 -2
- package/v3/VwcSwitch/index.js +51 -0
- package/v3/VwcSwitch/package.json +2 -2
- package/v3/VwcTab/index.js +44 -0
- package/v3/VwcTab/package.json +2 -2
- package/v3/VwcTabPanel/package.json +2 -2
- package/v3/VwcTabs/index.js +4 -0
- package/v3/VwcTabs/package.json +2 -2
- package/v3/VwcTag/index.js +114 -4
- package/v3/VwcTag/package.json +2 -2
- package/v3/VwcTagGroup/package.json +2 -2
- package/v3/VwcTextArea/index.js +33 -0
- package/v3/VwcTextArea/package.json +2 -2
- package/v3/VwcTextField/index.js +40 -0
- package/v3/VwcTextField/package.json +2 -2
- package/v3/VwcTimePicker/index.js +15 -2
- package/v3/VwcTimePicker/package.json +2 -2
- package/v3/VwcToggletip/index.js +35 -3
- package/v3/VwcToggletip/package.json +2 -2
- package/v3/VwcTooltip/index.js +32 -0
- package/v3/VwcTooltip/package.json +2 -2
- package/v3/VwcTreeItem/package.json +2 -2
- package/v3/VwcTreeView/package.json +2 -2
- package/v3/VwcVideoPlayer/package.json +2 -2
- package/v3/VwcVisuallyHidden/package.json +2 -2
- package/v3/VwcVividElement/index.d.ts +0 -2
- package/v3/VwcVividElement/index.js +36 -13
- package/v3/VwcVividElement/package.json +2 -2
- package/v3/VwcVividFoundationButton/package.json +2 -2
- package/v3/VwcVvdHexInput/index.d.ts +16 -0
- package/v3/VwcVvdHexInput/index.js +43 -0
- package/v3/VwcVvdHexInput/package.json +11 -0
- package/v3/VwcVvdHexPicker/index.d.ts +16 -0
- package/v3/VwcVvdHexPicker/index.js +43 -0
- package/v3/VwcVvdHexPicker/package.json +11 -0
package/v3/VwcCombobox/index.js
CHANGED
|
@@ -188,6 +188,28 @@ Code in this file were generated using following JSON:
|
|
|
188
188
|
"description": "Filter available options by text value.",
|
|
189
189
|
"privacy": "public"
|
|
190
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "method",
|
|
193
|
+
"name": "_isDefaultSelected",
|
|
194
|
+
"privacy": "protected",
|
|
195
|
+
"parameters": [
|
|
196
|
+
{
|
|
197
|
+
"name": "option",
|
|
198
|
+
"type": {
|
|
199
|
+
"text": "ListboxOption"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"return": {
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "boolean"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"inheritedFrom": {
|
|
209
|
+
"name": "Listbox",
|
|
210
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
191
213
|
{
|
|
192
214
|
"kind": "field",
|
|
193
215
|
"name": "helperText",
|
|
@@ -533,6 +555,45 @@ Code in this file were generated using following JSON:
|
|
|
533
555
|
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
534
556
|
}
|
|
535
557
|
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "method",
|
|
560
|
+
"name": "getNextSelectableIndex",
|
|
561
|
+
"privacy": "protected",
|
|
562
|
+
"parameters": [
|
|
563
|
+
{
|
|
564
|
+
"name": "fromIndex",
|
|
565
|
+
"type": {
|
|
566
|
+
"text": "number"
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"inheritedFrom": {
|
|
571
|
+
"name": "Listbox",
|
|
572
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"kind": "method",
|
|
577
|
+
"name": "_validSelectedIndex",
|
|
578
|
+
"privacy": "protected",
|
|
579
|
+
"return": {
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "number"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"parameters": [
|
|
585
|
+
{
|
|
586
|
+
"name": "index",
|
|
587
|
+
"type": {
|
|
588
|
+
"text": "number"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"inheritedFrom": {
|
|
593
|
+
"name": "Listbox",
|
|
594
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
536
597
|
{
|
|
537
598
|
"kind": "method",
|
|
538
599
|
"name": "selectFirstOption",
|
|
@@ -548,6 +609,40 @@ Code in this file were generated using following JSON:
|
|
|
548
609
|
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
549
610
|
}
|
|
550
611
|
},
|
|
612
|
+
{
|
|
613
|
+
"kind": "method",
|
|
614
|
+
"name": "_newDefaultSelectedIndex",
|
|
615
|
+
"privacy": "protected",
|
|
616
|
+
"return": {
|
|
617
|
+
"type": {
|
|
618
|
+
"text": "number | null"
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
"parameters": [
|
|
622
|
+
{
|
|
623
|
+
"name": "prev",
|
|
624
|
+
"type": {
|
|
625
|
+
"text": "ListboxOption[]"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "next",
|
|
630
|
+
"type": {
|
|
631
|
+
"text": "ListboxOption[]"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "currentSelectedIndex",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "number"
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
"inheritedFrom": {
|
|
642
|
+
"name": "Listbox",
|
|
643
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
551
646
|
{
|
|
552
647
|
"kind": "method",
|
|
553
648
|
"name": "setSelectedOptions",
|
|
@@ -786,6 +881,10 @@ Code in this file were generated using following JSON:
|
|
|
786
881
|
}
|
|
787
882
|
],
|
|
788
883
|
"mixins": [
|
|
884
|
+
{
|
|
885
|
+
"name": "WithContextualHelp",
|
|
886
|
+
"module": "/src/shared/patterns"
|
|
887
|
+
},
|
|
789
888
|
{
|
|
790
889
|
"name": "WithFeedback",
|
|
791
890
|
"module": "/src/shared/feedback/mixins"
|
|
@@ -828,6 +927,45 @@ Code in this file were generated using following JSON:
|
|
|
828
927
|
"valueMapping": "event.currentTarget.value"
|
|
829
928
|
}
|
|
830
929
|
]
|
|
930
|
+
},
|
|
931
|
+
"vividTesting": {
|
|
932
|
+
"selectors": [],
|
|
933
|
+
"actions": [
|
|
934
|
+
{
|
|
935
|
+
"name": "fill",
|
|
936
|
+
"args": [
|
|
937
|
+
"comboboxFill"
|
|
938
|
+
]
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "clear",
|
|
942
|
+
"args": [
|
|
943
|
+
"comboboxClear"
|
|
944
|
+
]
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"name": "selectOptionByText",
|
|
948
|
+
"args": [
|
|
949
|
+
"selectOptionByText"
|
|
950
|
+
]
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "selectOptionByValue",
|
|
954
|
+
"args": [
|
|
955
|
+
"selectOptionByValue"
|
|
956
|
+
]
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"queries": [],
|
|
960
|
+
"refs": [
|
|
961
|
+
{
|
|
962
|
+
"name": "control",
|
|
963
|
+
"args": [
|
|
964
|
+
"shadow",
|
|
965
|
+
"input.control"
|
|
966
|
+
]
|
|
967
|
+
}
|
|
968
|
+
]
|
|
831
969
|
}
|
|
832
970
|
}
|
|
833
971
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-combobox",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.0",
|
|
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": "
|
|
9
|
+
"@vonage/vivid": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
/** VwcContextualHelp
|
|
3
|
+
* For more info on this Vivid element please visit https://vivid.deno.dev/components/contextual-help
|
|
4
|
+
* @param {Placement | undefined} placement - Placement of the toggletip **attribute** `placement`
|
|
5
|
+
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
6
|
+
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
7
|
+
* @param {string} componentName - Core component name, without prefix
|
|
8
|
+
*/
|
|
9
|
+
declare const VwcContextualHelp: {
|
|
10
|
+
(props: {
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
slot?: string | undefined;
|
|
13
|
+
id?: string | undefined;
|
|
14
|
+
style?: React.CSSProperties | undefined;
|
|
15
|
+
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
16
|
+
placement?: any;
|
|
17
|
+
VIVID_VERSION?: string | undefined;
|
|
18
|
+
componentName?: string | undefined;
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default VwcContextualHelp;
|
|
@@ -0,0 +1,130 @@
|
|
|
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": "ContextualHelp",
|
|
10
|
+
"cssProperties": [
|
|
11
|
+
{
|
|
12
|
+
"name": "--vvd-button-accent-primary",
|
|
13
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--vvd-button-accent-primary-text",
|
|
17
|
+
"default": "var(--vvd-color-canvas)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "--vvd-button-accent-primary-increment",
|
|
21
|
+
"default": "var(--vvd-color-neutral-800)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "--vvd-button-accent-contrast",
|
|
25
|
+
"default": "var(--vvd-color-neutral-800)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--vvd-button-accent-fierce",
|
|
29
|
+
"default": "var(--vvd-color-neutral-700)"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "--vvd-button-accent-firm",
|
|
33
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--vvd-button-accent-soft",
|
|
37
|
+
"default": "var(--vvd-color-neutral-100)"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--vvd-button-accent-faint",
|
|
41
|
+
"default": "var(--vvd-color-neutral-50)"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "--vvd-button-accent-fierce-primary",
|
|
45
|
+
"default": "var(--vvd-color-canvas-text)"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"slots": [
|
|
49
|
+
{
|
|
50
|
+
"description": "Default slot.",
|
|
51
|
+
"name": ""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"description": "Custom icon slot (optional).",
|
|
55
|
+
"name": "icon"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"members": [
|
|
59
|
+
{
|
|
60
|
+
"kind": "field",
|
|
61
|
+
"name": "placement",
|
|
62
|
+
"type": {
|
|
63
|
+
"text": "Placement | undefined"
|
|
64
|
+
},
|
|
65
|
+
"default": "'right'",
|
|
66
|
+
"description": "Placement of the toggletip",
|
|
67
|
+
"privacy": "public"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"kind": "field",
|
|
71
|
+
"name": "VIVID_VERSION",
|
|
72
|
+
"static": true,
|
|
73
|
+
"default": "__PACKAGE_VERSION__",
|
|
74
|
+
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "string"
|
|
77
|
+
},
|
|
78
|
+
"inheritedFrom": {
|
|
79
|
+
"name": "VividElement",
|
|
80
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"kind": "field",
|
|
85
|
+
"name": "componentName",
|
|
86
|
+
"type": {
|
|
87
|
+
"text": "string"
|
|
88
|
+
},
|
|
89
|
+
"static": true,
|
|
90
|
+
"description": "Core component name, without prefix",
|
|
91
|
+
"inheritedFrom": {
|
|
92
|
+
"name": "VividElement",
|
|
93
|
+
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"attributes": [
|
|
98
|
+
{
|
|
99
|
+
"name": "placement",
|
|
100
|
+
"type": {
|
|
101
|
+
"text": "Placement | undefined"
|
|
102
|
+
},
|
|
103
|
+
"default": "'right'",
|
|
104
|
+
"description": "Placement of the toggletip",
|
|
105
|
+
"fieldName": "placement"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"superclass": {
|
|
109
|
+
"name": "VividElement",
|
|
110
|
+
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
111
|
+
},
|
|
112
|
+
"vividComponent": {
|
|
113
|
+
"name": "contextual-help"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
*/
|
|
117
|
+
import wrapper from '@vonage/vivid-react-wrapper'
|
|
118
|
+
import { registerContextualHelp } from '@vonage/vivid'
|
|
119
|
+
|
|
120
|
+
registerContextualHelp('vvd3')
|
|
121
|
+
|
|
122
|
+
const VwcContextualHelp = wrapper(`vvd3-contextual-help`, {
|
|
123
|
+
events: [],
|
|
124
|
+
attributes: [],
|
|
125
|
+
properties: ['placement', 'VIVID_VERSION', 'componentName']
|
|
126
|
+
})
|
|
127
|
+
|
|
128
|
+
VwcContextualHelp.displayName = 'VwcContextualHelp'
|
|
129
|
+
|
|
130
|
+
export default VwcContextualHelp
|
|
@@ -18,6 +18,7 @@ within the grid moves focus to the specified row.
|
|
|
18
18
|
grid is focused. This value changes as focus moves to different rows
|
|
19
19
|
within the grid. Changing this value when focus is already within
|
|
20
20
|
the grid moves focus to the specified column.
|
|
21
|
+
* @param {number | undefined} fixedColumns - Number of columns to be fixed when scrolling horizontally **attribute** `fixed-columns`
|
|
21
22
|
* @param {string} rowElementTag - Set by the component templates.
|
|
22
23
|
* @param {DataGridSelectionMode | undefined} selectionMode - Indicates the selection mode. **attribute** `selection-mode`
|
|
23
24
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
@@ -42,6 +43,7 @@ declare const VwcDataGrid: {
|
|
|
42
43
|
headerCellItemTemplate?: any;
|
|
43
44
|
focusRowIndex?: number | undefined;
|
|
44
45
|
focusColumnIndex?: number | undefined;
|
|
46
|
+
fixedColumns?: any;
|
|
45
47
|
rowElementTag?: string | undefined;
|
|
46
48
|
selectionMode?: any;
|
|
47
49
|
VIVID_VERSION?: string | undefined;
|
package/v3/VwcDataGrid/index.js
CHANGED
|
@@ -135,26 +135,26 @@ Code in this file were generated using following JSON:
|
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"kind": "field",
|
|
138
|
-
"name": "
|
|
138
|
+
"name": "fixedColumns",
|
|
139
139
|
"type": {
|
|
140
|
-
"text": "
|
|
140
|
+
"text": "number | undefined"
|
|
141
141
|
},
|
|
142
|
-
"description": "
|
|
142
|
+
"description": "Number of columns to be fixed when scrolling horizontally",
|
|
143
|
+
"privacy": "public"
|
|
143
144
|
},
|
|
144
145
|
{
|
|
145
146
|
"kind": "field",
|
|
146
|
-
"name": "
|
|
147
|
+
"name": "rowElementTag",
|
|
147
148
|
"type": {
|
|
148
|
-
"text": "
|
|
149
|
+
"text": "string"
|
|
149
150
|
},
|
|
150
|
-
"
|
|
151
|
-
"default": "null"
|
|
151
|
+
"description": "Set by the component templates."
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
"kind": "field",
|
|
155
|
-
"name": "
|
|
155
|
+
"name": "behaviorOrchestrator",
|
|
156
156
|
"type": {
|
|
157
|
-
"text": "
|
|
157
|
+
"text": "ViewBehaviorOrchestrator | null"
|
|
158
158
|
},
|
|
159
159
|
"privacy": "private",
|
|
160
160
|
"default": "null"
|
|
@@ -186,6 +186,14 @@ Code in this file were generated using following JSON:
|
|
|
186
186
|
"privacy": "private",
|
|
187
187
|
"default": "false"
|
|
188
188
|
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "field",
|
|
191
|
+
"name": "resizeObserver",
|
|
192
|
+
"type": {
|
|
193
|
+
"text": "ResizeObserver | undefined"
|
|
194
|
+
},
|
|
195
|
+
"privacy": "private"
|
|
196
|
+
},
|
|
189
197
|
{
|
|
190
198
|
"kind": "field",
|
|
191
199
|
"name": "observer",
|
|
@@ -415,6 +423,14 @@ Code in this file were generated using following JSON:
|
|
|
415
423
|
"description": "String that gets applied to the css gridTemplateColumns attribute of child rows",
|
|
416
424
|
"fieldName": "gridTemplateColumns"
|
|
417
425
|
},
|
|
426
|
+
{
|
|
427
|
+
"name": "fixed-columns",
|
|
428
|
+
"type": {
|
|
429
|
+
"text": "number | undefined"
|
|
430
|
+
},
|
|
431
|
+
"description": "Number of columns to be fixed when scrolling horizontally",
|
|
432
|
+
"fieldName": "fixedColumns"
|
|
433
|
+
},
|
|
418
434
|
{
|
|
419
435
|
"name": "selection-mode",
|
|
420
436
|
"type": {
|
|
@@ -442,7 +458,7 @@ registerDataGrid('vvd3')
|
|
|
442
458
|
const VwcDataGrid = wrapper(`vvd3-data-grid`, {
|
|
443
459
|
events: [{"name":"cell-click","propName":"onCellClick"}],
|
|
444
460
|
attributes: [],
|
|
445
|
-
properties: ['noTabbing', 'generateHeader', 'gridTemplateColumns', 'rowsData', 'columnDefinitions', 'rowItemTemplate', 'cellItemTemplate', 'headerCellItemTemplate', 'focusRowIndex', 'focusColumnIndex', 'rowElementTag', 'selectionMode', 'VIVID_VERSION', 'componentName']
|
|
461
|
+
properties: ['noTabbing', 'generateHeader', 'gridTemplateColumns', 'rowsData', 'columnDefinitions', 'rowItemTemplate', 'cellItemTemplate', 'headerCellItemTemplate', 'focusRowIndex', 'focusColumnIndex', 'fixedColumns', 'rowElementTag', 'selectionMode', 'VIVID_VERSION', 'componentName']
|
|
446
462
|
})
|
|
447
463
|
|
|
448
464
|
VwcDataGrid.displayName = 'VwcDataGrid'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-data-grid",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.0",
|
|
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": "
|
|
9
|
+
"@vonage/vivid": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcDataGridCell
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid-cell
|
|
4
|
-
* @param {boolean | undefined} ariaSelected
|
|
4
|
+
* @param {boolean | undefined} ariaSelected
|
|
5
5
|
* @param {DataGridCellTypes} cellType - The type of cell **attribute** `cell-type`
|
|
6
6
|
* @param {string} gridColumn - The column index of the cell.
|
|
7
7
|
This will be applied to the css grid-column-index value
|
|
@@ -9,9 +9,10 @@ applied to the cell **attribute** `grid-column`
|
|
|
9
9
|
* @param {object | null} rowData - The base data for the parent row
|
|
10
10
|
* @param {ColumnDefinitionExtended | null} columnDefinition - The base data for the column
|
|
11
11
|
* @param {boolean} selected - Reflects selected state of the row **attribute** `selected`
|
|
12
|
-
* @param {string | null} ariaSelected - Indicates the selected status.
|
|
13
|
-
* @param {string | null} ariaSort - Indicates the sort status.
|
|
12
|
+
* @param {string | null} ariaSelected - Indicates the selected status.
|
|
13
|
+
* @param {string | null} ariaSort - Indicates the sort status.
|
|
14
14
|
* @param {DataGridCellSortStates | undefined} sortDirection - Sets the sorting direction. **attribute** `sort-direction`
|
|
15
|
+
* @param {'host'} _vividAriaBehaviour
|
|
15
16
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
16
17
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
17
18
|
* @param {string} componentName - Core component name, without prefix
|
|
@@ -34,6 +35,7 @@ declare const VwcDataGridCell: {
|
|
|
34
35
|
selected?: boolean | undefined;
|
|
35
36
|
ariaSort?: string | null | undefined;
|
|
36
37
|
sortDirection?: any;
|
|
38
|
+
_vividAriaBehaviour?: any;
|
|
37
39
|
VIVID_VERSION?: string | undefined;
|
|
38
40
|
componentName?: string | undefined;
|
|
39
41
|
}): JSX.Element;
|
|
@@ -212,12 +212,6 @@ Code in this file were generated using following JSON:
|
|
|
212
212
|
"name": "updateCellStyle",
|
|
213
213
|
"privacy": "private"
|
|
214
214
|
},
|
|
215
|
-
{
|
|
216
|
-
"kind": "method",
|
|
217
|
-
"name": "calculateAriaSelectedValue",
|
|
218
|
-
"privacy": "private",
|
|
219
|
-
"description": ""
|
|
220
|
-
},
|
|
221
215
|
{
|
|
222
216
|
"kind": "field",
|
|
223
217
|
"name": "selected",
|
|
@@ -261,6 +255,18 @@ Code in this file were generated using following JSON:
|
|
|
261
255
|
"kind": "method",
|
|
262
256
|
"name": "#getColumnDataKey"
|
|
263
257
|
},
|
|
258
|
+
{
|
|
259
|
+
"kind": "field",
|
|
260
|
+
"name": "_vividAriaBehaviour",
|
|
261
|
+
"default": "'host'",
|
|
262
|
+
"type": {
|
|
263
|
+
"text": "'host'"
|
|
264
|
+
},
|
|
265
|
+
"inheritedFrom": {
|
|
266
|
+
"name": "HostSemantics",
|
|
267
|
+
"module": "src/shared/aria/host-semantics.ts"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
264
270
|
{
|
|
265
271
|
"kind": "field",
|
|
266
272
|
"name": "VIVID_VERSION",
|
|
@@ -338,24 +344,6 @@ Code in this file were generated using following JSON:
|
|
|
338
344
|
"description": "Reflects selected state of the row",
|
|
339
345
|
"fieldName": "selected"
|
|
340
346
|
},
|
|
341
|
-
{
|
|
342
|
-
"name": "aria-selected",
|
|
343
|
-
"type": {
|
|
344
|
-
"text": "string | null"
|
|
345
|
-
},
|
|
346
|
-
"default": "null",
|
|
347
|
-
"description": "Indicates the selected status.",
|
|
348
|
-
"fieldName": "ariaSelected"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"name": "aria-sort",
|
|
352
|
-
"type": {
|
|
353
|
-
"text": "string | null"
|
|
354
|
-
},
|
|
355
|
-
"default": "null",
|
|
356
|
-
"description": "Indicates the sort status.",
|
|
357
|
-
"fieldName": "ariaSort"
|
|
358
|
-
},
|
|
359
347
|
{
|
|
360
348
|
"name": "sort-direction",
|
|
361
349
|
"type": {
|
|
@@ -369,6 +357,10 @@ Code in this file were generated using following JSON:
|
|
|
369
357
|
{
|
|
370
358
|
"name": "Localized",
|
|
371
359
|
"module": "/src/shared/patterns"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "HostSemantics",
|
|
363
|
+
"module": "/src/shared/aria/host-semantics"
|
|
372
364
|
}
|
|
373
365
|
],
|
|
374
366
|
"superclass": {
|
|
@@ -387,7 +379,7 @@ import wrapper from '@vonage/vivid-react-wrapper'
|
|
|
387
379
|
const VwcDataGridCell = wrapper(`vvd3-data-grid-cell`, {
|
|
388
380
|
events: [{"name":"cell-focused","propName":"onCellFocused"},{"name":"cell-click","propName":"onCellClick"},{"name":"sort","propName":"onSort"}],
|
|
389
381
|
attributes: [],
|
|
390
|
-
properties: ['ariaSelected', 'cellType', 'gridColumn', 'rowData', 'columnDefinition', 'selected', 'ariaSelected', 'ariaSort', 'sortDirection', 'VIVID_VERSION', 'componentName']
|
|
382
|
+
properties: ['ariaSelected', 'cellType', 'gridColumn', 'rowData', 'columnDefinition', 'selected', 'ariaSelected', 'ariaSort', 'sortDirection', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
|
|
391
383
|
})
|
|
392
384
|
|
|
393
385
|
VwcDataGridCell.displayName = 'VwcDataGridCell'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-data-grid-cell",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.5.0",
|
|
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": "
|
|
9
|
+
"@vonage/vivid": "5.5.0"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -10,8 +10,9 @@ x **attribute** `grid-template-columns`
|
|
|
10
10
|
* @param {ViewTemplate | undefined} headerCellItemTemplate - The template used to render header cells in generated rows.
|
|
11
11
|
* @param {number} rowIndex - The index of the row in the parent grid.
|
|
12
12
|
This is typically set programmatically by the parent grid.
|
|
13
|
-
* @param {string | null} ariaSelected - Indicates the selected status.
|
|
13
|
+
* @param {string | null} ariaSelected - Indicates the selected status.
|
|
14
14
|
* @param {boolean | undefined} selected - Reflects selected state of the row **attribute** `selected`
|
|
15
|
+
* @param {'host'} _vividAriaBehaviour
|
|
15
16
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
16
17
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
17
18
|
* @param {string} componentName - Core component name, without prefix
|
|
@@ -34,6 +35,7 @@ declare const VwcDataGridRow: {
|
|
|
34
35
|
rowIndex?: number | undefined;
|
|
35
36
|
ariaSelected?: string | null | undefined;
|
|
36
37
|
selected?: any;
|
|
38
|
+
_vividAriaBehaviour?: any;
|
|
37
39
|
VIVID_VERSION?: string | undefined;
|
|
38
40
|
componentName?: string | undefined;
|
|
39
41
|
}): JSX.Element;
|
|
@@ -147,18 +147,9 @@ Code in this file were generated using following JSON:
|
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
"kind": "field",
|
|
150
|
-
"name": "
|
|
150
|
+
"name": "behaviorOrchestrator",
|
|
151
151
|
"type": {
|
|
152
|
-
"text": "
|
|
153
|
-
},
|
|
154
|
-
"privacy": "private",
|
|
155
|
-
"default": "null"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"kind": "field",
|
|
159
|
-
"name": "cellsPlaceholder",
|
|
160
|
-
"type": {
|
|
161
|
-
"text": "Node | null"
|
|
152
|
+
"text": "ViewBehaviorOrchestrator | null"
|
|
162
153
|
},
|
|
163
154
|
"privacy": "private",
|
|
164
155
|
"default": "null"
|
|
@@ -249,6 +240,18 @@ Code in this file were generated using following JSON:
|
|
|
249
240
|
"description": "Reflects selected state of the row",
|
|
250
241
|
"privacy": "public"
|
|
251
242
|
},
|
|
243
|
+
{
|
|
244
|
+
"kind": "field",
|
|
245
|
+
"name": "_vividAriaBehaviour",
|
|
246
|
+
"default": "'host'",
|
|
247
|
+
"type": {
|
|
248
|
+
"text": "'host'"
|
|
249
|
+
},
|
|
250
|
+
"inheritedFrom": {
|
|
251
|
+
"name": "HostSemantics",
|
|
252
|
+
"module": "src/shared/aria/host-semantics.ts"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
252
255
|
{
|
|
253
256
|
"kind": "field",
|
|
254
257
|
"name": "VIVID_VERSION",
|
|
@@ -310,15 +313,6 @@ Code in this file were generated using following JSON:
|
|
|
310
313
|
"description": "The type of row",
|
|
311
314
|
"fieldName": "rowType"
|
|
312
315
|
},
|
|
313
|
-
{
|
|
314
|
-
"name": "aria-selected",
|
|
315
|
-
"type": {
|
|
316
|
-
"text": "string | null"
|
|
317
|
-
},
|
|
318
|
-
"default": "null",
|
|
319
|
-
"description": "Indicates the selected status.",
|
|
320
|
-
"fieldName": "ariaSelected"
|
|
321
|
-
},
|
|
322
316
|
{
|
|
323
317
|
"name": "selected",
|
|
324
318
|
"type": {
|
|
@@ -329,6 +323,12 @@ Code in this file were generated using following JSON:
|
|
|
329
323
|
"fieldName": "selected"
|
|
330
324
|
}
|
|
331
325
|
],
|
|
326
|
+
"mixins": [
|
|
327
|
+
{
|
|
328
|
+
"name": "HostSemantics",
|
|
329
|
+
"module": "/src/shared/aria/host-semantics"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
332
|
"superclass": {
|
|
333
333
|
"name": "VividElement",
|
|
334
334
|
"module": "/src/shared/foundation/vivid-element/vivid-element"
|
|
@@ -345,7 +345,7 @@ import wrapper from '@vonage/vivid-react-wrapper'
|
|
|
345
345
|
const VwcDataGridRow = wrapper(`vvd3-data-grid-row`, {
|
|
346
346
|
events: [{"name":"row-focused","propName":"onRowFocused"},{"name":"cell-click","propName":"onCellClick"}],
|
|
347
347
|
attributes: [],
|
|
348
|
-
properties: ['gridTemplateColumns', 'rowType', 'rowData', 'columnDefinitions', 'cellItemTemplate', 'headerCellItemTemplate', 'rowIndex', 'ariaSelected', 'selected', 'VIVID_VERSION', 'componentName']
|
|
348
|
+
properties: ['gridTemplateColumns', 'rowType', 'rowData', 'columnDefinitions', 'cellItemTemplate', 'headerCellItemTemplate', 'rowIndex', 'ariaSelected', 'selected', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName']
|
|
349
349
|
})
|
|
350
350
|
|
|
351
351
|
VwcDataGridRow.displayName = 'VwcDataGridRow'
|