@vonage/vivid-react 3.5.0 → 3.5.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/package.json +1 -1
- package/v3/VwcButton/index.d.ts +8 -8
- package/v3/VwcButton/index.js +1 -1
- package/v3/VwcCheckbox/index.d.ts +14 -14
- package/v3/VwcCheckbox/index.js +1 -1
- package/v3/VwcDataGridCell/index.d.ts +2 -1
- package/v3/VwcDataGridCell/index.js +1 -1
- package/v3/VwcDatePicker/index.d.ts +2 -2
- package/v3/VwcDatePicker/index.js +1 -1
- package/v3/VwcEmptyState/index.d.ts +4 -4
- package/v3/VwcEmptyState/index.js +1 -1
- package/v3/VwcMenuItem/index.d.ts +2 -2
- package/v3/VwcMenuItem/index.js +1 -1
- package/v3/VwcSelect/index.d.ts +22 -22
- package/v3/VwcSelect/index.js +1 -1
- package/v3/VwcSlider/index.d.ts +17 -17
- package/v3/VwcSlider/index.js +1 -1
- package/v3/VwcSwitch/index.d.ts +10 -10
- package/v3/VwcSwitch/index.js +1 -1
- package/v3/VwcTextField/index.d.ts +21 -21
- package/v3/VwcTextField/index.js +1 -1
- package/v3/VwcToggletip/index.d.ts +2 -2
- package/v3/VwcToggletip/index.js +1 -1
- package/v3/VwcTooltip/index.d.ts +2 -2
- package/v3/VwcTooltip/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
package/v3/VwcButton/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcButton
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/button
|
|
4
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
5
|
+
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
6
|
+
* @param {string | undefined} type **attribute** `type`
|
|
7
|
+
* @param {boolean | undefined} icon-trailing
|
|
4
8
|
* @param {string} title - Specifies extra information about the button. This information is typically used by browsers to display a tooltip. **attribute** `title`
|
|
5
9
|
* @param {ButtonConnotation | undefined} connotation - The connotation the button should have. **attribute** `connotation`
|
|
6
10
|
* @param {ButtonShape | undefined} shape - The shape the button should have. **attribute** `shape`
|
|
@@ -40,10 +44,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
40
44
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
41
45
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
42
46
|
* @param {string} componentName - Core component name, without prefix
|
|
43
|
-
* @param {string | undefined} icon **attribute** `icon`
|
|
44
|
-
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
45
|
-
* @param {string | undefined} type **attribute** `type`
|
|
46
|
-
* @param {boolean | undefined} icon-trailing
|
|
47
47
|
*/
|
|
48
48
|
declare const VwcButton: {
|
|
49
49
|
(props: {
|
|
@@ -53,6 +53,10 @@ declare const VwcButton: {
|
|
|
53
53
|
style?: React.CSSProperties | undefined;
|
|
54
54
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
55
55
|
onClick?: ((event: SyntheticEvent) => void) | undefined;
|
|
56
|
+
icon?: string | undefined;
|
|
57
|
+
disabled?: any;
|
|
58
|
+
type?: string | undefined;
|
|
59
|
+
"icon-trailing"?: any;
|
|
56
60
|
title?: string | undefined;
|
|
57
61
|
connotation?: any;
|
|
58
62
|
shape?: any;
|
|
@@ -64,7 +68,6 @@ declare const VwcButton: {
|
|
|
64
68
|
active?: boolean | undefined;
|
|
65
69
|
label?: string | undefined;
|
|
66
70
|
iconTrailing?: boolean | undefined;
|
|
67
|
-
icon?: string | undefined;
|
|
68
71
|
download?: string | undefined;
|
|
69
72
|
href?: string | undefined;
|
|
70
73
|
hreflang?: string | undefined;
|
|
@@ -72,7 +75,6 @@ declare const VwcButton: {
|
|
|
72
75
|
referrerpolicy?: string | undefined;
|
|
73
76
|
rel?: string | undefined;
|
|
74
77
|
target?: any;
|
|
75
|
-
type?: any;
|
|
76
78
|
control?: any;
|
|
77
79
|
_vividAriaBehaviour?: any;
|
|
78
80
|
autofocus?: boolean | undefined;
|
|
@@ -85,12 +87,10 @@ declare const VwcButton: {
|
|
|
85
87
|
value?: string | undefined;
|
|
86
88
|
currentValue?: any;
|
|
87
89
|
initialValue?: string | undefined;
|
|
88
|
-
disabled?: boolean | undefined;
|
|
89
90
|
name?: string | undefined;
|
|
90
91
|
required?: boolean | undefined;
|
|
91
92
|
VIVID_VERSION?: string | undefined;
|
|
92
93
|
componentName?: string | undefined;
|
|
93
|
-
"icon-trailing"?: any;
|
|
94
94
|
}): JSX.Element;
|
|
95
95
|
displayName: string;
|
|
96
96
|
};
|
package/v3/VwcButton/index.js
CHANGED
|
@@ -1257,7 +1257,7 @@ registerButton('vvd3')
|
|
|
1257
1257
|
const VwcButton = wrapper(`vvd3-button`, {
|
|
1258
1258
|
events: [{"name":"click","propName":"onClick"}],
|
|
1259
1259
|
attributes: [],
|
|
1260
|
-
properties: ['title', 'connotation', 'shape', 'appearance', 'size', 'stacked', 'pending', 'dropdownIndicator', 'active', 'label', 'iconTrailing', 'icon', 'download', 'href', 'hreflang', 'ping', 'referrerpolicy', 'rel', 'target', 'type', 'control', '_vividAriaBehaviour', 'autofocus', 'formId', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName'
|
|
1260
|
+
properties: ['icon', 'disabled', 'type', 'icon-trailing', 'title', 'connotation', 'shape', 'appearance', 'size', 'stacked', 'pending', 'dropdownIndicator', 'active', 'label', 'iconTrailing', 'icon', 'download', 'href', 'hreflang', 'ping', 'referrerpolicy', 'rel', 'target', 'type', 'control', '_vividAriaBehaviour', 'autofocus', 'formId', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
1261
1261
|
})
|
|
1262
1262
|
|
|
1263
1263
|
VwcButton.displayName = 'VwcButton'
|