@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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-progress-ring",
|
|
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
|
}
|
|
@@ -44,6 +44,15 @@ Code in this file were generated using following JSON:
|
|
|
44
44
|
"name": "#handleChangeEvent",
|
|
45
45
|
"privacy": "private"
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "field",
|
|
49
|
+
"name": "#vwcPrefix",
|
|
50
|
+
"privacy": "private",
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "string"
|
|
53
|
+
},
|
|
54
|
+
"default": "'vwc'"
|
|
55
|
+
},
|
|
47
56
|
{
|
|
48
57
|
"kind": "method",
|
|
49
58
|
"name": "init",
|
|
@@ -53,6 +62,10 @@ Code in this file were generated using following JSON:
|
|
|
53
62
|
"type": {
|
|
54
63
|
"text": "HTMLElement"
|
|
55
64
|
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "vwcPrefix",
|
|
68
|
+
"default": "'vwc'"
|
|
56
69
|
}
|
|
57
70
|
]
|
|
58
71
|
},
|
|
@@ -204,7 +217,7 @@ Code in this file were generated using following JSON:
|
|
|
204
217
|
},
|
|
205
218
|
"parameters": [
|
|
206
219
|
{
|
|
207
|
-
"name": "{\n\t\tfile,\n\t\tposition,\n\t\talt,\n\t}",
|
|
220
|
+
"name": "{\n\t\tfile,\n\t\tposition,\n\t\talt,\n\t\terror,\n\t}",
|
|
208
221
|
"type": {
|
|
209
222
|
"text": "RichTextEditorInlineImageProps"
|
|
210
223
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-prose-mirror-facade",
|
|
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
|
}
|
package/v3/VwcRadio/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcRadio
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/radio
|
|
4
|
-
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
4
|
* @param {RadioConnotation | undefined} connotation - The connotation the radioButton should have. **attribute** `connotation`
|
|
6
5
|
* @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`
|
|
7
6
|
* @param {boolean} checked - The current checkedness of the element. **attribute** `current-checked`
|
|
@@ -32,7 +31,6 @@ declare const VwcRadio: {
|
|
|
32
31
|
style?: React.CSSProperties | undefined;
|
|
33
32
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
34
33
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
35
|
-
ariaLabel?: string | null | undefined;
|
|
36
34
|
connotation?: any;
|
|
37
35
|
readOnly?: boolean | undefined;
|
|
38
36
|
checked?: boolean | undefined;
|
package/v3/VwcRadio/index.js
CHANGED
|
@@ -58,14 +58,6 @@ Code in this file were generated using following JSON:
|
|
|
58
58
|
}
|
|
59
59
|
],
|
|
60
60
|
"members": [
|
|
61
|
-
{
|
|
62
|
-
"kind": "field",
|
|
63
|
-
"name": "ariaLabel",
|
|
64
|
-
"type": {
|
|
65
|
-
"text": "string | null"
|
|
66
|
-
},
|
|
67
|
-
"default": "null"
|
|
68
|
-
},
|
|
69
61
|
{
|
|
70
62
|
"kind": "field",
|
|
71
63
|
"name": "connotation",
|
|
@@ -465,14 +457,6 @@ Code in this file were generated using following JSON:
|
|
|
465
457
|
}
|
|
466
458
|
],
|
|
467
459
|
"attributes": [
|
|
468
|
-
{
|
|
469
|
-
"name": "aria-label",
|
|
470
|
-
"type": {
|
|
471
|
-
"text": "string | null"
|
|
472
|
-
},
|
|
473
|
-
"default": "null",
|
|
474
|
-
"fieldName": "ariaLabel"
|
|
475
|
-
},
|
|
476
460
|
{
|
|
477
461
|
"name": "connotation",
|
|
478
462
|
"type": {
|
|
@@ -622,6 +606,43 @@ Code in this file were generated using following JSON:
|
|
|
622
606
|
"vividComponent": {
|
|
623
607
|
"public": true,
|
|
624
608
|
"name": "radio"
|
|
609
|
+
},
|
|
610
|
+
"vividTesting": {
|
|
611
|
+
"selectors": [],
|
|
612
|
+
"actions": [
|
|
613
|
+
{
|
|
614
|
+
"name": "check",
|
|
615
|
+
"args": [
|
|
616
|
+
"click",
|
|
617
|
+
"#control"
|
|
618
|
+
]
|
|
619
|
+
}
|
|
620
|
+
],
|
|
621
|
+
"queries": [
|
|
622
|
+
{
|
|
623
|
+
"name": "checked",
|
|
624
|
+
"args": [
|
|
625
|
+
"checked",
|
|
626
|
+
"true"
|
|
627
|
+
]
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"name": "unchecked",
|
|
631
|
+
"args": [
|
|
632
|
+
"checked",
|
|
633
|
+
"false"
|
|
634
|
+
]
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"refs": [
|
|
638
|
+
{
|
|
639
|
+
"name": "control",
|
|
640
|
+
"args": [
|
|
641
|
+
"shadow",
|
|
642
|
+
".control"
|
|
643
|
+
]
|
|
644
|
+
}
|
|
645
|
+
]
|
|
625
646
|
}
|
|
626
647
|
}
|
|
627
648
|
*/
|
|
@@ -633,7 +654,7 @@ registerRadio('vvd3')
|
|
|
633
654
|
const VwcRadio = wrapper(`vvd3-radio`, {
|
|
634
655
|
events: [{"name":"change","propName":"onChange"}],
|
|
635
656
|
attributes: [],
|
|
636
|
-
properties: ['
|
|
657
|
+
properties: ['connotation', 'readOnly', 'checked', 'dirtyChecked', 'errorText', 'validate', 'label', 'defaultChecked', 'checkedAttribute', 'currentChecked', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
637
658
|
})
|
|
638
659
|
|
|
639
660
|
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": "
|
|
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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-radio-group",
|
|
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
|
}
|
|
@@ -866,6 +866,81 @@ Code in this file were generated using following JSON:
|
|
|
866
866
|
"input:end"
|
|
867
867
|
],
|
|
868
868
|
"valueMapping": "event.currentTarget.end"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "startAsNumber",
|
|
872
|
+
"propName": "startAsNumber",
|
|
873
|
+
"eventNames": [
|
|
874
|
+
"input:start"
|
|
875
|
+
],
|
|
876
|
+
"valueMapping": "event.currentTarget.startAsNumber"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "endAsNumber",
|
|
880
|
+
"propName": "endAsNumber",
|
|
881
|
+
"eventNames": [
|
|
882
|
+
"input:end"
|
|
883
|
+
],
|
|
884
|
+
"valueMapping": "event.currentTarget.endAsNumber"
|
|
885
|
+
}
|
|
886
|
+
]
|
|
887
|
+
},
|
|
888
|
+
"vividTesting": {
|
|
889
|
+
"selectors": [
|
|
890
|
+
{
|
|
891
|
+
"name": "byLabel",
|
|
892
|
+
"args": [
|
|
893
|
+
"byLabel"
|
|
894
|
+
]
|
|
895
|
+
}
|
|
896
|
+
],
|
|
897
|
+
"actions": [
|
|
898
|
+
{
|
|
899
|
+
"name": "slideStartTo",
|
|
900
|
+
"args": [
|
|
901
|
+
"slideTo",
|
|
902
|
+
"#track",
|
|
903
|
+
"#startThumb"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "slideEndTo",
|
|
908
|
+
"args": [
|
|
909
|
+
"slideTo",
|
|
910
|
+
"#track",
|
|
911
|
+
"#endThumb"
|
|
912
|
+
]
|
|
913
|
+
}
|
|
914
|
+
],
|
|
915
|
+
"queries": [
|
|
916
|
+
{
|
|
917
|
+
"name": "range",
|
|
918
|
+
"args": [
|
|
919
|
+
"rangeAsNumber"
|
|
920
|
+
]
|
|
921
|
+
}
|
|
922
|
+
],
|
|
923
|
+
"refs": [
|
|
924
|
+
{
|
|
925
|
+
"name": "track",
|
|
926
|
+
"args": [
|
|
927
|
+
"shadow",
|
|
928
|
+
".control"
|
|
929
|
+
]
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "startThumb",
|
|
933
|
+
"args": [
|
|
934
|
+
"shadow",
|
|
935
|
+
"#start-thumb"
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "endThumb",
|
|
940
|
+
"args": [
|
|
941
|
+
"shadow",
|
|
942
|
+
"#end-thumb"
|
|
943
|
+
]
|
|
869
944
|
}
|
|
870
945
|
]
|
|
871
946
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-range-slider",
|
|
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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-rich-text-editor",
|
|
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
|
}
|
|
@@ -20,6 +20,9 @@ only when the `values` property has not been explicitly set.
|
|
|
20
20
|
* @param {boolean} loading - Whether the component is in a loading state. **attribute** `loading`
|
|
21
21
|
* @param {boolean} clearable - Adds a clear button to the input field that clears the selected values. **attribute** `clearable`
|
|
22
22
|
* @param {number | null} maxSelected **attribute** `max-selected`
|
|
23
|
+
* @param {boolean} enableSelectAll - Adds a "Select All" option at the top of the options list. **attribute** `enable-select-all`
|
|
24
|
+
* @param {string | undefined} selectAllText - Overrides the default "Select All" text **attribute** `select-all-text`
|
|
25
|
+
* @param {string | undefined} deselectAllText - Overrides the default "Deselect All" text **attribute** `deselect-all-text`
|
|
23
26
|
* @param setFormValue
|
|
24
27
|
* @param {string | undefined} helperText - Provides additional information to help the user enter the correct information.
|
|
25
28
|
To add HTML to the helper text, use the helper-text slot instead. **attribute** `helper-text`
|
|
@@ -66,6 +69,9 @@ declare const VwcSearchableSelect: {
|
|
|
66
69
|
loading?: boolean | undefined;
|
|
67
70
|
clearable?: boolean | undefined;
|
|
68
71
|
maxSelected?: number | undefined;
|
|
72
|
+
enableSelectAll?: boolean | undefined;
|
|
73
|
+
selectAllText?: string | undefined;
|
|
74
|
+
deselectAllText?: string | undefined;
|
|
69
75
|
setFormValue?: any;
|
|
70
76
|
helperText?: string | undefined;
|
|
71
77
|
errorText?: string | undefined;
|
|
@@ -427,6 +427,34 @@ Code in this file were generated using following JSON:
|
|
|
427
427
|
"kind": "method",
|
|
428
428
|
"name": "#updateSelectionLimit"
|
|
429
429
|
},
|
|
430
|
+
{
|
|
431
|
+
"kind": "field",
|
|
432
|
+
"name": "enableSelectAll",
|
|
433
|
+
"type": {
|
|
434
|
+
"text": "boolean"
|
|
435
|
+
},
|
|
436
|
+
"default": "false",
|
|
437
|
+
"description": "Adds a \"Select All\" option at the top of the options list.",
|
|
438
|
+
"privacy": "public"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"kind": "field",
|
|
442
|
+
"name": "selectAllText",
|
|
443
|
+
"type": {
|
|
444
|
+
"text": "string | undefined"
|
|
445
|
+
},
|
|
446
|
+
"description": "Overrides the default \"Select All\" text",
|
|
447
|
+
"privacy": "public"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "field",
|
|
451
|
+
"name": "deselectAllText",
|
|
452
|
+
"type": {
|
|
453
|
+
"text": "string | undefined"
|
|
454
|
+
},
|
|
455
|
+
"description": "Overrides the default \"Deselect All\" text",
|
|
456
|
+
"privacy": "public"
|
|
457
|
+
},
|
|
430
458
|
{
|
|
431
459
|
"kind": "method",
|
|
432
460
|
"name": "#determineInitialValues"
|
|
@@ -903,6 +931,31 @@ Code in this file were generated using following JSON:
|
|
|
903
931
|
"default": "null",
|
|
904
932
|
"fieldName": "maxSelected"
|
|
905
933
|
},
|
|
934
|
+
{
|
|
935
|
+
"name": "enable-select-all",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "boolean"
|
|
938
|
+
},
|
|
939
|
+
"default": "false",
|
|
940
|
+
"description": "Adds a \"Select All\" option at the top of the options list.",
|
|
941
|
+
"fieldName": "enableSelectAll"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "select-all-text",
|
|
945
|
+
"type": {
|
|
946
|
+
"text": "string | undefined"
|
|
947
|
+
},
|
|
948
|
+
"description": "Overrides the default \"Select All\" text",
|
|
949
|
+
"fieldName": "selectAllText"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"name": "deselect-all-text",
|
|
953
|
+
"type": {
|
|
954
|
+
"text": "string | undefined"
|
|
955
|
+
},
|
|
956
|
+
"description": "Overrides the default \"Deselect All\" text",
|
|
957
|
+
"fieldName": "deselectAllText"
|
|
958
|
+
},
|
|
906
959
|
{
|
|
907
960
|
"name": "helper-text",
|
|
908
961
|
"type": {
|
|
@@ -1040,6 +1093,10 @@ Code in this file were generated using following JSON:
|
|
|
1040
1093
|
}
|
|
1041
1094
|
],
|
|
1042
1095
|
"mixins": [
|
|
1096
|
+
{
|
|
1097
|
+
"name": "WithContextualHelp",
|
|
1098
|
+
"module": "/src/shared/patterns"
|
|
1099
|
+
},
|
|
1043
1100
|
{
|
|
1044
1101
|
"name": "WithFeedback",
|
|
1045
1102
|
"module": "/src/shared/feedback/mixins"
|
|
@@ -1098,6 +1155,38 @@ Code in this file were generated using following JSON:
|
|
|
1098
1155
|
"valueMapping": "event.currentTarget.values"
|
|
1099
1156
|
}
|
|
1100
1157
|
]
|
|
1158
|
+
},
|
|
1159
|
+
"vividTesting": {
|
|
1160
|
+
"selectors": [],
|
|
1161
|
+
"actions": [
|
|
1162
|
+
{
|
|
1163
|
+
"name": "selectOptionByValue",
|
|
1164
|
+
"args": [
|
|
1165
|
+
"selectOptionByValue"
|
|
1166
|
+
]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "selectOptionByText",
|
|
1170
|
+
"args": [
|
|
1171
|
+
"selectOptionByText"
|
|
1172
|
+
]
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"queries": [
|
|
1176
|
+
{
|
|
1177
|
+
"name": "values",
|
|
1178
|
+
"args": [
|
|
1179
|
+
"values"
|
|
1180
|
+
]
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"name": "selectedOptions",
|
|
1184
|
+
"args": [
|
|
1185
|
+
"selectedOptionsText"
|
|
1186
|
+
]
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1189
|
+
"refs": []
|
|
1101
1190
|
}
|
|
1102
1191
|
}
|
|
1103
1192
|
*/
|
|
@@ -1109,7 +1198,7 @@ registerSearchableSelect('vvd3')
|
|
|
1109
1198
|
const VwcSearchableSelect = wrapper(`vvd3-searchable-select`, {
|
|
1110
1199
|
events: [{"name":"change","propName":"onChange"},{"name":"search-text-change","propName":"onSearchTextChange"},{"name":"input","propName":"onInput"}],
|
|
1111
1200
|
attributes: [],
|
|
1112
|
-
properties: ['appearance', 'shape', 'fixedDropdown', 'placeholder', 'open', 'multiple', 'externalTags', 'maxLines', 'values', 'initialValues', 'selectedIndex', 'optionFilter', 'loading', 'clearable', 'maxSelected', 'setFormValue', 'helperText', 'errorText', 'validate', 'successText', 'label', '_vividAriaBehaviour', 'iconTrailing', 'icon', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
1201
|
+
properties: ['appearance', 'shape', 'fixedDropdown', 'placeholder', 'open', 'multiple', 'externalTags', 'maxLines', 'values', 'initialValues', 'selectedIndex', 'optionFilter', 'loading', 'clearable', 'maxSelected', 'enableSelectAll', 'selectAllText', 'deselectAllText', 'setFormValue', 'helperText', 'errorText', 'validate', 'successText', 'label', '_vividAriaBehaviour', 'iconTrailing', 'icon', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
1113
1202
|
})
|
|
1114
1203
|
|
|
1115
1204
|
VwcSearchableSelect.displayName = 'VwcSearchableSelect'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-searchable-select",
|
|
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
|
}
|
package/v3/VwcSelect/index.js
CHANGED
|
@@ -145,11 +145,53 @@ Code in this file were generated using following JSON:
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
"kind": "method",
|
|
148
|
-
"name": "
|
|
148
|
+
"name": "_newDefaultSelectedIndex",
|
|
149
|
+
"privacy": "protected",
|
|
149
150
|
"return": {
|
|
150
151
|
"type": {
|
|
151
|
-
"text": "
|
|
152
|
+
"text": "number | null"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"parameters": [
|
|
156
|
+
{
|
|
157
|
+
"name": "prev",
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "ListboxOption[]"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "next",
|
|
164
|
+
"type": {
|
|
165
|
+
"text": "ListboxOption[]"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "currentSelectIndex",
|
|
170
|
+
"type": {
|
|
171
|
+
"text": "number"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"inheritedFrom": {
|
|
176
|
+
"name": "Listbox",
|
|
177
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"kind": "method",
|
|
182
|
+
"name": "_isDefaultSelected",
|
|
183
|
+
"privacy": "protected",
|
|
184
|
+
"parameters": [
|
|
185
|
+
{
|
|
186
|
+
"name": "option",
|
|
187
|
+
"type": {
|
|
188
|
+
"text": "ListboxOption"
|
|
189
|
+
}
|
|
152
190
|
}
|
|
191
|
+
],
|
|
192
|
+
"inheritedFrom": {
|
|
193
|
+
"name": "Listbox",
|
|
194
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
153
195
|
}
|
|
154
196
|
},
|
|
155
197
|
{
|
|
@@ -566,6 +608,45 @@ Code in this file were generated using following JSON:
|
|
|
566
608
|
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
567
609
|
}
|
|
568
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"kind": "method",
|
|
613
|
+
"name": "getNextSelectableIndex",
|
|
614
|
+
"privacy": "protected",
|
|
615
|
+
"parameters": [
|
|
616
|
+
{
|
|
617
|
+
"name": "fromIndex",
|
|
618
|
+
"type": {
|
|
619
|
+
"text": "number"
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
],
|
|
623
|
+
"inheritedFrom": {
|
|
624
|
+
"name": "Listbox",
|
|
625
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"kind": "method",
|
|
630
|
+
"name": "_validSelectedIndex",
|
|
631
|
+
"privacy": "protected",
|
|
632
|
+
"return": {
|
|
633
|
+
"type": {
|
|
634
|
+
"text": "number"
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
"parameters": [
|
|
638
|
+
{
|
|
639
|
+
"name": "index",
|
|
640
|
+
"type": {
|
|
641
|
+
"text": "number"
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
"inheritedFrom": {
|
|
646
|
+
"name": "Listbox",
|
|
647
|
+
"module": "src/shared/foundation/listbox/listbox.ts"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
569
650
|
{
|
|
570
651
|
"kind": "method",
|
|
571
652
|
"name": "selectFirstOption",
|
|
@@ -825,6 +906,10 @@ Code in this file were generated using following JSON:
|
|
|
825
906
|
"name": "WithLightDOMFeedback",
|
|
826
907
|
"module": "/src/shared/feedback/mixins"
|
|
827
908
|
},
|
|
909
|
+
{
|
|
910
|
+
"name": "WithContextualHelp",
|
|
911
|
+
"module": "/src/shared/patterns"
|
|
912
|
+
},
|
|
828
913
|
{
|
|
829
914
|
"name": "WithErrorText",
|
|
830
915
|
"module": "/src/shared/patterns"
|
|
@@ -867,6 +952,25 @@ Code in this file were generated using following JSON:
|
|
|
867
952
|
"valueMapping": "event.currentTarget.value"
|
|
868
953
|
}
|
|
869
954
|
]
|
|
955
|
+
},
|
|
956
|
+
"vividTesting": {
|
|
957
|
+
"selectors": [],
|
|
958
|
+
"actions": [
|
|
959
|
+
{
|
|
960
|
+
"name": "selectOptionByValue",
|
|
961
|
+
"args": [
|
|
962
|
+
"selectOptionByValue"
|
|
963
|
+
]
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "selectOptionByText",
|
|
967
|
+
"args": [
|
|
968
|
+
"selectOptionByText"
|
|
969
|
+
]
|
|
970
|
+
}
|
|
971
|
+
],
|
|
972
|
+
"queries": [],
|
|
973
|
+
"refs": []
|
|
870
974
|
}
|
|
871
975
|
}
|
|
872
976
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid-react-vvd3-select",
|
|
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
|
}
|
|
@@ -2,10 +2,10 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
2
2
|
/** VwcSelectableBox
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/selectable-box
|
|
4
4
|
* @param {boolean} checked - Controls the checked state of the box **attribute** `checked`
|
|
5
|
-
* @param {boolean} clickable **attribute** `clickable`
|
|
6
5
|
* @param {boolean} clickableBox - Makes the entire selectable box clickable **attribute** `clickable-box`
|
|
7
6
|
* @param {SelectableBoxConnotation | undefined} connotation - The connotation the selectable box should have. **attribute** `connotation`
|
|
8
7
|
* @param {SelectableBoxControlType | undefined} controlType - The type of control the box should have: checkbox or radio. **attribute** `control-type`
|
|
8
|
+
* @param {SelectableBoxControlPlacement} controlPlacement - Defines where the control (checkbox or radio) should be located. **attribute** `control-placement`
|
|
9
9
|
* @param {boolean} tight - Removes the padding around the box's slot content **attribute** `tight`
|
|
10
10
|
* @param {'delegate'} _vividAriaBehaviour
|
|
11
11
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
@@ -21,10 +21,10 @@ declare const VwcSelectableBox: {
|
|
|
21
21
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
22
22
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
23
23
|
checked?: boolean | undefined;
|
|
24
|
-
clickable?: boolean | undefined;
|
|
25
24
|
clickableBox?: boolean | undefined;
|
|
26
25
|
connotation?: any;
|
|
27
26
|
controlType?: any;
|
|
27
|
+
controlPlacement?: any;
|
|
28
28
|
tight?: boolean | undefined;
|
|
29
29
|
_vividAriaBehaviour?: any;
|
|
30
30
|
VIVID_VERSION?: string | undefined;
|