@vonage/vivid-react 3.1.0 → 3.2.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/package.json +1 -1
- package/v3/VwcCheckbox/index.d.ts +12 -2
- package/v3/VwcCheckbox/index.js +1 -1
- package/v3/VwcSlider/index.d.ts +16 -0
- package/v3/VwcSlider/index.js +1 -1
package/VwcBadge/package.json
CHANGED
package/VwcBanner/package.json
CHANGED
package/VwcButton/package.json
CHANGED
package/VwcCalendar/package.json
CHANGED
package/VwcCard/package.json
CHANGED
package/VwcCarousel/package.json
CHANGED
package/VwcCheckbox/package.json
CHANGED
package/VwcChip/package.json
CHANGED
package/VwcChipSet/package.json
CHANGED
package/VwcDataGrid/package.json
CHANGED
package/VwcDropdown/package.json
CHANGED
package/VwcFab/package.json
CHANGED
package/VwcIcon/package.json
CHANGED
package/VwcKeypad/package.json
CHANGED
package/VwcLayout/package.json
CHANGED
package/VwcList/package.json
CHANGED
package/VwcListItem/package.json
CHANGED
package/VwcMenu/package.json
CHANGED
package/VwcNote/package.json
CHANGED
package/VwcPopup/package.json
CHANGED
package/VwcRadio/package.json
CHANGED
package/VwcScrubBar/package.json
CHANGED
package/VwcSelect/package.json
CHANGED
package/VwcSlider/package.json
CHANGED
package/VwcSnackbar/package.json
CHANGED
package/VwcSurface/package.json
CHANGED
package/VwcSwitch/package.json
CHANGED
package/VwcTab/package.json
CHANGED
package/VwcTabBar/package.json
CHANGED
package/VwcTag/package.json
CHANGED
package/VwcText/package.json
CHANGED
package/VwcTextarea/package.json
CHANGED
package/VwcTooltip/package.json
CHANGED
package/package.json
CHANGED
|
@@ -4,8 +4,13 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
4
4
|
* @param {string | null} ariaLabel **attribute** `aria-label`
|
|
5
5
|
* @param {string | null} tabindex **attribute** `tabindex`
|
|
6
6
|
* @param {CheckboxConnotation | undefined} connotation - The connotation the checklist should have. **attribute** `connotation`
|
|
7
|
-
* @param {boolean} checked
|
|
8
7
|
* @param {any} onClick
|
|
8
|
+
* @param {string | undefined} label
|
|
9
|
+
* @param {string | undefined} value
|
|
10
|
+
* @param {boolean | undefined} checked
|
|
11
|
+
* @param {boolean | undefined} indeterminate
|
|
12
|
+
* @param {boolean | undefined} disabled
|
|
13
|
+
* @param {boolean | undefined} readonly
|
|
9
14
|
*/
|
|
10
15
|
declare const VwcCheckbox: {
|
|
11
16
|
(props: {
|
|
@@ -19,8 +24,13 @@ declare const VwcCheckbox: {
|
|
|
19
24
|
ariaLabel?: string | null | undefined;
|
|
20
25
|
tabindex?: string | null | undefined;
|
|
21
26
|
connotation?: any;
|
|
22
|
-
checked?: boolean | undefined;
|
|
23
27
|
onClick?: any;
|
|
28
|
+
label?: string | undefined;
|
|
29
|
+
value?: string | undefined;
|
|
30
|
+
checked?: any;
|
|
31
|
+
indeterminate?: any;
|
|
32
|
+
disabled?: any;
|
|
33
|
+
readonly?: any;
|
|
24
34
|
}): JSX.Element;
|
|
25
35
|
displayName: string;
|
|
26
36
|
};
|
package/v3/VwcCheckbox/index.js
CHANGED
|
@@ -158,7 +158,7 @@ registerCheckbox('vvd3')
|
|
|
158
158
|
const VwcCheckbox = wrapper(`vvd3-checkbox`, {
|
|
159
159
|
events: [{"name":"change","propName":"onChange"},{"name":"input","propName":"onInput"}],
|
|
160
160
|
attributes: [],
|
|
161
|
-
properties: ['ariaLabel', 'tabindex', 'connotation', 'checked', '
|
|
161
|
+
properties: ['ariaLabel', 'tabindex', 'connotation', 'onClick', 'label', 'value', 'checked', 'indeterminate', 'disabled', 'readonly']
|
|
162
162
|
})
|
|
163
163
|
|
|
164
164
|
VwcCheckbox.displayName = 'VwcCheckbox'
|
package/v3/VwcSlider/index.d.ts
CHANGED
|
@@ -6,6 +6,15 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
6
6
|
* @param {boolean} markers - Display markers on/off **attribute** `markers`
|
|
7
7
|
* @param {SliderConnotation | undefined} connotation - slider connotation **attribute** `connotation`
|
|
8
8
|
* @param {(value: string) => string} valueTextFormatter - Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
|
|
9
|
+
* @param {number} min
|
|
10
|
+
* @param {number} max
|
|
11
|
+
* @param {number} step
|
|
12
|
+
* @param {string} orientation
|
|
13
|
+
* @param {boolean} markers **attribute** `markers`
|
|
14
|
+
* @param {string} connotation **attribute** `connotation`
|
|
15
|
+
* @param {boolean} pin
|
|
16
|
+
* @param {boolean} disabled
|
|
17
|
+
* @param {string} value
|
|
9
18
|
*/
|
|
10
19
|
declare const VwcSlider: {
|
|
11
20
|
(props: {
|
|
@@ -20,6 +29,13 @@ declare const VwcSlider: {
|
|
|
20
29
|
markers?: boolean | undefined;
|
|
21
30
|
connotation?: any;
|
|
22
31
|
valueTextFormatter?: any;
|
|
32
|
+
min?: number | undefined;
|
|
33
|
+
max?: number | undefined;
|
|
34
|
+
step?: number | undefined;
|
|
35
|
+
orientation?: string | undefined;
|
|
36
|
+
pin?: boolean | undefined;
|
|
37
|
+
disabled?: boolean | undefined;
|
|
38
|
+
value?: string | undefined;
|
|
23
39
|
}): JSX.Element;
|
|
24
40
|
displayName: string;
|
|
25
41
|
};
|
package/v3/VwcSlider/index.js
CHANGED
|
@@ -132,7 +132,7 @@ registerSlider('vvd3')
|
|
|
132
132
|
const VwcSlider = wrapper(`vvd3-slider`, {
|
|
133
133
|
events: [{"name":"change","propName":"onChange"}],
|
|
134
134
|
attributes: [],
|
|
135
|
-
properties: ['ariaLabel', 'ariaValuetext', 'markers', 'connotation', 'valueTextFormatter']
|
|
135
|
+
properties: ['ariaLabel', 'ariaValuetext', 'markers', 'connotation', 'valueTextFormatter', 'min', 'max', 'step', 'orientation', 'markers', 'connotation', 'pin', 'disabled', 'value']
|
|
136
136
|
})
|
|
137
137
|
|
|
138
138
|
VwcSlider.displayName = 'VwcSlider'
|