@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
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcCheckbox
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/checkbox
|
|
4
|
+
* @param {any} onClick
|
|
5
|
+
* @param {string | undefined} label **attribute** `label`
|
|
6
|
+
* @param {string | undefined} value **attribute** `current-value`
|
|
7
|
+
* @param {boolean | undefined} checked **attribute** `current-checked`
|
|
8
|
+
* @param {boolean | undefined} indeterminate **attribute** `indeterminate`
|
|
9
|
+
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
10
|
+
* @param {boolean | undefined} readonly
|
|
4
11
|
* @param {string | null} tabindex **attribute** `tabindex`
|
|
5
12
|
* @param {CheckboxConnotation | undefined} connotation - The connotation the checklist should have. **attribute** `connotation`
|
|
6
13
|
* @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`
|
|
@@ -27,13 +34,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
27
34
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
28
35
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
29
36
|
* @param {string} componentName - Core component name, without prefix
|
|
30
|
-
* @param {any} onClick
|
|
31
|
-
* @param {string | undefined} label **attribute** `label`
|
|
32
|
-
* @param {string | undefined} value **attribute** `current-value`
|
|
33
|
-
* @param {boolean | undefined} checked **attribute** `current-checked`
|
|
34
|
-
* @param {boolean | undefined} indeterminate **attribute** `indeterminate`
|
|
35
|
-
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
36
|
-
* @param {boolean | undefined} readonly
|
|
37
37
|
*/
|
|
38
38
|
declare const VwcCheckbox: {
|
|
39
39
|
(props: {
|
|
@@ -44,30 +44,30 @@ declare const VwcCheckbox: {
|
|
|
44
44
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
45
45
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
46
46
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
47
|
+
onClick?: any;
|
|
48
|
+
label?: string | undefined;
|
|
49
|
+
value?: string | undefined;
|
|
50
|
+
checked?: any;
|
|
51
|
+
indeterminate?: any;
|
|
52
|
+
disabled?: any;
|
|
53
|
+
readonly?: any;
|
|
47
54
|
tabindex?: string | null | undefined;
|
|
48
55
|
connotation?: any;
|
|
49
56
|
readOnly?: boolean | undefined;
|
|
50
|
-
indeterminate?: boolean | undefined;
|
|
51
57
|
_vividAriaBehaviour?: any;
|
|
52
58
|
helperText?: string | undefined;
|
|
53
59
|
errorText?: string | undefined;
|
|
54
60
|
validate?: any;
|
|
55
61
|
successText?: string | undefined;
|
|
56
|
-
label?: string | undefined;
|
|
57
62
|
defaultChecked?: boolean | undefined;
|
|
58
|
-
checked?: boolean | undefined;
|
|
59
63
|
checkedAttribute?: any;
|
|
60
64
|
currentChecked?: any;
|
|
61
|
-
value?: string | undefined;
|
|
62
65
|
currentValue?: any;
|
|
63
66
|
initialValue?: string | undefined;
|
|
64
|
-
disabled?: boolean | undefined;
|
|
65
67
|
name?: string | undefined;
|
|
66
68
|
required?: boolean | undefined;
|
|
67
69
|
VIVID_VERSION?: string | undefined;
|
|
68
70
|
componentName?: string | undefined;
|
|
69
|
-
onClick?: any;
|
|
70
|
-
readonly?: any;
|
|
71
71
|
}): JSX.Element;
|
|
72
72
|
displayName: string;
|
|
73
73
|
};
|
package/v3/VwcCheckbox/index.js
CHANGED
|
@@ -711,7 +711,7 @@ registerCheckbox('vvd3')
|
|
|
711
711
|
const VwcCheckbox = wrapper(`vvd3-checkbox`, {
|
|
712
712
|
events: [{"name":"change","propName":"onChange"},{"name":"input","propName":"onInput"}],
|
|
713
713
|
attributes: [],
|
|
714
|
-
properties: ['
|
|
714
|
+
properties: ['onClick', 'label', 'value', 'checked', 'indeterminate', 'disabled', 'readonly', 'tabindex', 'connotation', 'readOnly', 'indeterminate', '_vividAriaBehaviour', 'helperText', 'errorText', 'validate', 'successText', 'label', 'defaultChecked', 'checked', 'checkedAttribute', 'currentChecked', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
715
715
|
})
|
|
716
716
|
|
|
717
717
|
VwcCheckbox.displayName = 'VwcCheckbox'
|
|
@@ -1,6 +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 **attribute** `aria-selected`
|
|
4
5
|
* @param {DataGridCellTypes} cellType - The type of cell **attribute** `cell-type`
|
|
5
6
|
* @param {string} gridColumn - The column index of the cell.
|
|
6
7
|
This will be applied to the css grid-column-index value
|
|
@@ -25,12 +26,12 @@ declare const VwcDataGridCell: {
|
|
|
25
26
|
onSort?: ((event: SyntheticEvent) => void) | undefined;
|
|
26
27
|
onCellClick?: ((event: SyntheticEvent) => void) | undefined;
|
|
27
28
|
onCellFocused?: ((event: SyntheticEvent) => void) | undefined;
|
|
29
|
+
ariaSelected?: any;
|
|
28
30
|
cellType?: any;
|
|
29
31
|
gridColumn?: string | undefined;
|
|
30
32
|
rowData?: any;
|
|
31
33
|
columnDefinition?: any;
|
|
32
34
|
selected?: boolean | undefined;
|
|
33
|
-
ariaSelected?: string | null | undefined;
|
|
34
35
|
ariaSort?: string | null | undefined;
|
|
35
36
|
sortDirection?: any;
|
|
36
37
|
VIVID_VERSION?: string | undefined;
|
|
@@ -387,7 +387,7 @@ import wrapper from '@vonage/vivid-react-wrapper'
|
|
|
387
387
|
const VwcDataGridCell = wrapper(`vvd3-data-grid-cell`, {
|
|
388
388
|
events: [{"name":"cell-focused","propName":"onCellFocused"},{"name":"cell-click","propName":"onCellClick"},{"name":"sort","propName":"onSort"}],
|
|
389
389
|
attributes: [],
|
|
390
|
-
properties: ['cellType', 'gridColumn', 'rowData', 'columnDefinition', 'selected', 'ariaSelected', 'ariaSort', 'sortDirection', 'VIVID_VERSION', 'componentName']
|
|
390
|
+
properties: ['ariaSelected', 'cellType', 'gridColumn', 'rowData', 'columnDefinition', 'selected', 'ariaSelected', 'ariaSort', 'sortDirection', 'VIVID_VERSION', 'componentName']
|
|
391
391
|
})
|
|
392
392
|
|
|
393
393
|
VwcDataGridCell.displayName = 'VwcDataGridCell'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Single date picker component.
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/date-picker
|
|
4
|
+
* @param {string | undefined} errorText **attribute** `error-text`
|
|
4
5
|
* @param {string} type
|
|
5
6
|
* @param {string} min - The earliest accepted date. **attribute** `min`
|
|
6
7
|
* @param {string} max - The latest accepted date. **attribute** `max`
|
|
@@ -20,7 +21,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
20
21
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
21
22
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
22
23
|
* @param {string} componentName - Core component name, without prefix
|
|
23
|
-
* @param {string | undefined} errorText **attribute** `error-text`
|
|
24
24
|
*/
|
|
25
25
|
declare const VwcDatePicker: {
|
|
26
26
|
(props: {
|
|
@@ -31,13 +31,13 @@ declare const VwcDatePicker: {
|
|
|
31
31
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
32
32
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
33
33
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
34
|
+
errorText?: string | undefined;
|
|
34
35
|
type?: string | undefined;
|
|
35
36
|
min?: string | undefined;
|
|
36
37
|
max?: string | undefined;
|
|
37
38
|
value?: string | undefined;
|
|
38
39
|
readOnly?: boolean | undefined;
|
|
39
40
|
helperText?: string | undefined;
|
|
40
|
-
errorText?: string | undefined;
|
|
41
41
|
validate?: any;
|
|
42
42
|
label?: string | undefined;
|
|
43
43
|
currentValue?: any;
|
|
@@ -669,7 +669,7 @@ registerDatePicker('vvd3')
|
|
|
669
669
|
const VwcDatePicker = wrapper(`vvd3-date-picker`, {
|
|
670
670
|
events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
|
|
671
671
|
attributes: [],
|
|
672
|
-
properties: ['type', 'min', 'max', 'value', 'readOnly', 'helperText', 'errorText', 'validate', 'label', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName'
|
|
672
|
+
properties: ['errorText', 'type', 'min', 'max', 'value', 'readOnly', 'helperText', 'errorText', 'validate', 'label', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
673
673
|
})
|
|
674
674
|
|
|
675
675
|
VwcDatePicker.displayName = 'VwcDatePicker'
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** An empty state element. Used when there is no data to display to the user.
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/empty-state
|
|
4
|
+
* @param {string | undefined} iconDecoration **attribute** `icon-decoration`
|
|
5
|
+
* @param {string | undefined} connotation **attribute** `connotation`
|
|
4
6
|
* @param {EmptyStateConnotation | undefined} connotation - The connotation the empty state should have. **attribute** `connotation`
|
|
5
7
|
* @param {string | undefined} headline - An optional headline for the empty state. **attribute** `headline`
|
|
6
8
|
* @param {string | undefined} icon - Icon for the empty state. **attribute** `icon`
|
|
@@ -8,8 +10,6 @@ import React, { ReactNode } from 'react';
|
|
|
8
10
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
9
11
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
10
12
|
* @param {string} componentName - Core component name, without prefix
|
|
11
|
-
* @param {string | undefined} iconDecoration **attribute** `icon-decoration`
|
|
12
|
-
* @param {string | undefined} connotation **attribute** `connotation`
|
|
13
13
|
*/
|
|
14
14
|
declare const VwcEmptyState: {
|
|
15
15
|
(props: {
|
|
@@ -18,10 +18,10 @@ declare const VwcEmptyState: {
|
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
style?: React.CSSProperties | undefined;
|
|
20
20
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
21
|
-
|
|
21
|
+
iconDecoration?: string | undefined;
|
|
22
|
+
connotation?: string | undefined;
|
|
22
23
|
headline?: string | undefined;
|
|
23
24
|
icon?: string | undefined;
|
|
24
|
-
iconDecoration?: any;
|
|
25
25
|
VIVID_VERSION?: string | undefined;
|
|
26
26
|
componentName?: string | undefined;
|
|
27
27
|
}): JSX.Element;
|
|
@@ -222,7 +222,7 @@ registerEmptyState('vvd3')
|
|
|
222
222
|
const VwcEmptyState = wrapper(`vvd3-empty-state`, {
|
|
223
223
|
events: [],
|
|
224
224
|
attributes: [],
|
|
225
|
-
properties: ['
|
|
225
|
+
properties: ['iconDecoration', 'connotation', 'connotation', 'headline', 'icon', 'iconDecoration', 'VIVID_VERSION', 'componentName']
|
|
226
226
|
})
|
|
227
227
|
|
|
228
228
|
VwcEmptyState.displayName = 'VwcEmptyState'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcMenuItem
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/menu-item
|
|
4
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
4
5
|
* @param {boolean} disabled - The disabled state of the element. **attribute** `disabled`
|
|
5
6
|
* @param {boolean} expanded - The expanded state of the element. **attribute** `expanded`
|
|
6
7
|
* @param {MenuItemRole} role - The role of the element. **attribute** `role`
|
|
@@ -18,7 +19,6 @@ import React, { ReactNode, SyntheticEvent } from 'react';
|
|
|
18
19
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
19
20
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
20
21
|
* @param {string} componentName - Core component name, without prefix
|
|
21
|
-
* @param {string | undefined} icon **attribute** `icon`
|
|
22
22
|
*/
|
|
23
23
|
declare const VwcMenuItem: {
|
|
24
24
|
(props: {
|
|
@@ -29,6 +29,7 @@ declare const VwcMenuItem: {
|
|
|
29
29
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
30
30
|
onExpandedChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
31
31
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
32
|
+
icon?: string | undefined;
|
|
32
33
|
disabled?: boolean | undefined;
|
|
33
34
|
expanded?: boolean | undefined;
|
|
34
35
|
role?: any;
|
|
@@ -41,7 +42,6 @@ declare const VwcMenuItem: {
|
|
|
41
42
|
checkedAppearance?: any;
|
|
42
43
|
trailingMetaSlottedContent?: any;
|
|
43
44
|
_vividAriaBehaviour?: any;
|
|
44
|
-
icon?: string | undefined;
|
|
45
45
|
VIVID_VERSION?: string | undefined;
|
|
46
46
|
componentName?: string | undefined;
|
|
47
47
|
}): JSX.Element;
|
package/v3/VwcMenuItem/index.js
CHANGED
|
@@ -417,7 +417,7 @@ registerMenuItem('vvd3')
|
|
|
417
417
|
const VwcMenuItem = wrapper(`vvd3-menu-item`, {
|
|
418
418
|
events: [{"name":"change","propName":"onChange"},{"name":"expanded-change","propName":"onExpandedChange"}],
|
|
419
419
|
attributes: [],
|
|
420
|
-
properties: ['disabled', 'expanded', 'role', 'controlType', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', '_vividAriaBehaviour', 'icon', 'VIVID_VERSION', 'componentName'
|
|
420
|
+
properties: ['icon', 'disabled', 'expanded', 'role', 'controlType', 'checked', 'text', 'textSecondary', 'connotation', 'checkTrailing', 'checkedAppearance', 'trailingMetaSlottedContent', '_vividAriaBehaviour', 'icon', 'VIVID_VERSION', 'componentName']
|
|
421
421
|
})
|
|
422
422
|
|
|
423
423
|
VwcMenuItem.displayName = 'VwcMenuItem'
|
package/v3/VwcSelect/index.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcSelect
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/select
|
|
4
|
+
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
5
|
+
* @param {string | undefined} errorText **attribute** `error-text`
|
|
6
|
+
* @param {string | undefined} helperText **attribute** `helper-text`
|
|
7
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
8
|
+
* @param {boolean | undefined} iconTrailing **attribute** `icon-trailing`
|
|
9
|
+
* @param {string | undefined} initialValue **attribute** `value`
|
|
10
|
+
* @param {string | undefined} label **attribute** `label`
|
|
11
|
+
* @param {string | undefined} name **attribute** `name`
|
|
12
|
+
* @param {boolean | undefined} required **attribute** `required`
|
|
13
|
+
* @param {string | undefined} successText **attribute** `success-text`
|
|
14
|
+
* @param {string | undefined} value **attribute** `current-value`
|
|
4
15
|
* @param {boolean} multiple - Indicates if the listbox is in multi-selection mode. **attribute** `multiple`
|
|
5
16
|
* @param {boolean} open - The open attribute. **attribute** `open`
|
|
6
17
|
* @param {SelectSize | undefined} scale - The size the select should have. **attribute** `scale`
|
|
@@ -31,17 +42,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
31
42
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
32
43
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
33
44
|
* @param {string} componentName - Core component name, without prefix
|
|
34
|
-
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
35
|
-
* @param {string | undefined} errorText **attribute** `error-text`
|
|
36
|
-
* @param {string | undefined} helperText **attribute** `helper-text`
|
|
37
|
-
* @param {string | undefined} icon **attribute** `icon`
|
|
38
|
-
* @param {boolean | undefined} iconTrailing **attribute** `icon-trailing`
|
|
39
|
-
* @param {string | undefined} initialValue **attribute** `value`
|
|
40
|
-
* @param {string | undefined} label **attribute** `label`
|
|
41
|
-
* @param {string | undefined} name **attribute** `name`
|
|
42
|
-
* @param {boolean | undefined} required **attribute** `required`
|
|
43
|
-
* @param {string | undefined} successText **attribute** `success-text`
|
|
44
|
-
* @param {string | undefined} value **attribute** `current-value`
|
|
45
45
|
*/
|
|
46
46
|
declare const VwcSelect: {
|
|
47
47
|
(props: {
|
|
@@ -52,6 +52,17 @@ declare const VwcSelect: {
|
|
|
52
52
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
53
53
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
54
54
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
55
|
+
disabled?: any;
|
|
56
|
+
errorText?: string | undefined;
|
|
57
|
+
helperText?: string | undefined;
|
|
58
|
+
icon?: string | undefined;
|
|
59
|
+
iconTrailing?: any;
|
|
60
|
+
initialValue?: string | undefined;
|
|
61
|
+
label?: string | undefined;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
required?: any;
|
|
64
|
+
successText?: string | undefined;
|
|
65
|
+
value?: string | undefined;
|
|
55
66
|
multiple?: boolean | undefined;
|
|
56
67
|
open?: boolean | undefined;
|
|
57
68
|
scale?: any;
|
|
@@ -59,20 +70,9 @@ declare const VwcSelect: {
|
|
|
59
70
|
shape?: any;
|
|
60
71
|
fixedDropdown?: boolean | undefined;
|
|
61
72
|
placeholder?: string | undefined;
|
|
62
|
-
helperText?: string | undefined;
|
|
63
|
-
errorText?: string | undefined;
|
|
64
73
|
validate?: any;
|
|
65
|
-
successText?: string | undefined;
|
|
66
|
-
label?: string | undefined;
|
|
67
74
|
_vividAriaBehaviour?: any;
|
|
68
|
-
iconTrailing?: boolean | undefined;
|
|
69
|
-
icon?: string | undefined;
|
|
70
|
-
value?: string | undefined;
|
|
71
75
|
currentValue?: any;
|
|
72
|
-
initialValue?: string | undefined;
|
|
73
|
-
disabled?: boolean | undefined;
|
|
74
|
-
name?: string | undefined;
|
|
75
|
-
required?: boolean | undefined;
|
|
76
76
|
options?: any[] | undefined;
|
|
77
77
|
selectedIndex?: number | undefined;
|
|
78
78
|
selectedOptions?: any[] | undefined;
|
package/v3/VwcSelect/index.js
CHANGED
|
@@ -878,7 +878,7 @@ registerSelect('vvd3')
|
|
|
878
878
|
const VwcSelect = wrapper(`vvd3-select`, {
|
|
879
879
|
events: [{"name":"change","propName":"onChange"},{"name":"input","propName":"onInput"}],
|
|
880
880
|
attributes: [],
|
|
881
|
-
properties: ['
|
|
881
|
+
properties: ['disabled', 'errorText', 'helperText', 'icon', 'iconTrailing', 'initialValue', 'label', 'name', 'required', 'successText', 'value', 'multiple', 'open', 'scale', 'appearance', 'shape', 'fixedDropdown', 'placeholder', 'helperText', 'errorText', 'validate', 'successText', 'label', '_vividAriaBehaviour', 'iconTrailing', 'icon', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'options', 'selectedIndex', 'selectedOptions', 'slottedOptionFilter', 'VIVID_VERSION', 'componentName']
|
|
882
882
|
})
|
|
883
883
|
|
|
884
884
|
VwcSelect.displayName = 'VwcSelect'
|
package/v3/VwcSlider/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcSlider
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/slider
|
|
4
|
+
* @param {number} min **attribute** `min`
|
|
5
|
+
* @param {number} max **attribute** `max`
|
|
6
|
+
* @param {number} step **attribute** `step`
|
|
7
|
+
* @param {string} orientation **attribute** `orientation`
|
|
8
|
+
* @param {boolean} markers **attribute** `markers`
|
|
9
|
+
* @param {string} connotation **attribute** `connotation`
|
|
10
|
+
* @param {boolean} pin **attribute** `pin`
|
|
11
|
+
* @param {boolean} disabled **attribute** `disabled`
|
|
12
|
+
* @param {string} value **attribute** `current-value`
|
|
4
13
|
* @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`
|
|
5
14
|
* @param {number} valueAsNumber - The value property, typed as a number.
|
|
6
15
|
* @param {(value: string) => string} valueTextFormatter - Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
|
|
@@ -23,15 +32,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
23
32
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
24
33
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
25
34
|
* @param {string} componentName - Core component name, without prefix
|
|
26
|
-
* @param {number} min **attribute** `min`
|
|
27
|
-
* @param {number} max **attribute** `max`
|
|
28
|
-
* @param {number} step **attribute** `step`
|
|
29
|
-
* @param {string} orientation **attribute** `orientation`
|
|
30
|
-
* @param {boolean} markers **attribute** `markers`
|
|
31
|
-
* @param {string} connotation **attribute** `connotation`
|
|
32
|
-
* @param {boolean} pin **attribute** `pin`
|
|
33
|
-
* @param {boolean} disabled **attribute** `disabled`
|
|
34
|
-
* @param {string} value **attribute** `current-value`
|
|
35
35
|
*/
|
|
36
36
|
declare const VwcSlider: {
|
|
37
37
|
(props: {
|
|
@@ -41,22 +41,22 @@ declare const VwcSlider: {
|
|
|
41
41
|
style?: React.CSSProperties | undefined;
|
|
42
42
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
43
43
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
44
|
-
readOnly?: boolean | undefined;
|
|
45
|
-
valueAsNumber?: number | undefined;
|
|
46
|
-
valueTextFormatter?: any;
|
|
47
44
|
min?: number | undefined;
|
|
48
45
|
max?: number | undefined;
|
|
49
46
|
step?: number | undefined;
|
|
50
|
-
orientation?:
|
|
51
|
-
mode?: any;
|
|
47
|
+
orientation?: string | undefined;
|
|
52
48
|
markers?: boolean | undefined;
|
|
49
|
+
connotation?: string | undefined;
|
|
53
50
|
pin?: boolean | undefined;
|
|
54
|
-
|
|
55
|
-
_vividAriaBehaviour?: any;
|
|
51
|
+
disabled?: boolean | undefined;
|
|
56
52
|
value?: string | undefined;
|
|
53
|
+
readOnly?: boolean | undefined;
|
|
54
|
+
valueAsNumber?: number | undefined;
|
|
55
|
+
valueTextFormatter?: any;
|
|
56
|
+
mode?: any;
|
|
57
|
+
_vividAriaBehaviour?: any;
|
|
57
58
|
currentValue?: any;
|
|
58
59
|
initialValue?: string | undefined;
|
|
59
|
-
disabled?: boolean | undefined;
|
|
60
60
|
name?: string | undefined;
|
|
61
61
|
required?: boolean | undefined;
|
|
62
62
|
VIVID_VERSION?: string | undefined;
|
package/v3/VwcSlider/index.js
CHANGED
|
@@ -705,7 +705,7 @@ registerSlider('vvd3')
|
|
|
705
705
|
const VwcSlider = wrapper(`vvd3-slider`, {
|
|
706
706
|
events: [{"name":"change","propName":"onChange"}],
|
|
707
707
|
attributes: [],
|
|
708
|
-
properties: ['
|
|
708
|
+
properties: ['min', 'max', 'step', 'orientation', 'markers', 'connotation', 'pin', 'disabled', 'value', 'readOnly', 'valueAsNumber', 'valueTextFormatter', 'min', 'max', 'step', 'orientation', 'mode', 'markers', 'pin', 'connotation', '_vividAriaBehaviour', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
709
709
|
})
|
|
710
710
|
|
|
711
711
|
VwcSlider.displayName = 'VwcSlider'
|
package/v3/VwcSwitch/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** VwcSwitch
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/switch
|
|
4
|
+
* @param {boolean} checked **attribute** `current-checked`
|
|
5
|
+
* @param {boolean} readonly
|
|
6
|
+
* @param {boolean} disabled **attribute** `disabled`
|
|
7
|
+
* @param {string | undefined} value **attribute** `current-value`
|
|
8
|
+
* @param {string | undefined} name **attribute** `name`
|
|
4
9
|
* @param {string | undefined} label - Indicates the switch's label. **attribute** `label`
|
|
5
10
|
* @param {SwitchConnotation | undefined} connotation - Indicates the switch's connotation. **attribute** `connotation`
|
|
6
11
|
* @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`
|
|
@@ -20,11 +25,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
20
25
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
21
26
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
22
27
|
* @param {string} componentName - Core component name, without prefix
|
|
23
|
-
* @param {boolean} checked **attribute** `current-checked`
|
|
24
|
-
* @param {boolean} readonly
|
|
25
|
-
* @param {boolean} disabled **attribute** `disabled`
|
|
26
|
-
* @param {string | undefined} value **attribute** `current-value`
|
|
27
|
-
* @param {string | undefined} name **attribute** `name`
|
|
28
28
|
*/
|
|
29
29
|
declare const VwcSwitch: {
|
|
30
30
|
(props: {
|
|
@@ -35,23 +35,23 @@ declare const VwcSwitch: {
|
|
|
35
35
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
36
36
|
onChange?: ((event: SyntheticEvent) => void) | undefined;
|
|
37
37
|
onClick?: ((event: SyntheticEvent) => void) | undefined;
|
|
38
|
+
checked?: boolean | undefined;
|
|
39
|
+
readonly?: boolean | undefined;
|
|
40
|
+
disabled?: boolean | undefined;
|
|
41
|
+
value?: string | undefined;
|
|
42
|
+
name?: string | undefined;
|
|
38
43
|
label?: string | undefined;
|
|
39
44
|
connotation?: any;
|
|
40
45
|
readOnly?: boolean | undefined;
|
|
41
|
-
checked?: boolean | undefined;
|
|
42
46
|
_vividAriaBehaviour?: any;
|
|
43
47
|
defaultChecked?: boolean | undefined;
|
|
44
48
|
checkedAttribute?: any;
|
|
45
49
|
currentChecked?: any;
|
|
46
|
-
value?: string | undefined;
|
|
47
50
|
currentValue?: any;
|
|
48
51
|
initialValue?: string | undefined;
|
|
49
|
-
disabled?: boolean | undefined;
|
|
50
|
-
name?: string | undefined;
|
|
51
52
|
required?: boolean | undefined;
|
|
52
53
|
VIVID_VERSION?: string | undefined;
|
|
53
54
|
componentName?: string | undefined;
|
|
54
|
-
readonly?: boolean | undefined;
|
|
55
55
|
}): JSX.Element;
|
|
56
56
|
displayName: string;
|
|
57
57
|
};
|
package/v3/VwcSwitch/index.js
CHANGED
|
@@ -563,7 +563,7 @@ registerSwitch('vvd3')
|
|
|
563
563
|
const VwcSwitch = wrapper(`vvd3-switch`, {
|
|
564
564
|
events: [{"name":"change","propName":"onChange"},{"name":"click","propName":"onClick"}],
|
|
565
565
|
attributes: [],
|
|
566
|
-
properties: ['
|
|
566
|
+
properties: ['checked', 'readonly', 'disabled', 'value', 'name', 'label', 'connotation', 'readOnly', 'checked', '_vividAriaBehaviour', 'defaultChecked', 'checkedAttribute', 'currentChecked', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
567
567
|
})
|
|
568
568
|
|
|
569
569
|
VwcSwitch.displayName = 'VwcSwitch'
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import React, { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
/** Base class for text-field
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/text-field
|
|
4
|
+
* @param {string | undefined} icon **attribute** `icon`
|
|
5
|
+
* @param {string | undefined} value **attribute** `current-value`
|
|
6
|
+
* @param {string | undefined} placeholder **attribute** `placeholder`
|
|
7
|
+
* @param {string | undefined} label **attribute** `label`
|
|
8
|
+
* @param {any} onInput
|
|
9
|
+
* @param {number | undefined} charCount **attribute** `char-count`
|
|
10
|
+
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
11
|
+
* @param {string | undefined} errorText **attribute** `error-text`
|
|
12
|
+
* @param {string | undefined} helperText **attribute** `helper-text`
|
|
13
|
+
* @param {boolean | undefined} required **attribute** `required`
|
|
14
|
+
* @param {string | undefined} successText **attribute** `success-text`
|
|
4
15
|
* @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`
|
|
5
16
|
* @param {boolean} autofocus - Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information. **attribute** `autofocus`
|
|
6
17
|
* @param {string} placeholder - Sets the placeholder value of the element, generally used to provide a hint to the user. **attribute** `placeholder`
|
|
@@ -36,17 +47,6 @@ only when the `value` property has not been explicitly set. **attribute** `value
|
|
|
36
47
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
37
48
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
38
49
|
* @param {string} componentName - Core component name, without prefix
|
|
39
|
-
* @param {string | undefined} icon **attribute** `icon`
|
|
40
|
-
* @param {string | undefined} value **attribute** `current-value`
|
|
41
|
-
* @param {string | undefined} placeholder **attribute** `placeholder`
|
|
42
|
-
* @param {string | undefined} label **attribute** `label`
|
|
43
|
-
* @param {any} onInput
|
|
44
|
-
* @param {number | undefined} charCount **attribute** `char-count`
|
|
45
|
-
* @param {boolean | undefined} disabled **attribute** `disabled`
|
|
46
|
-
* @param {string | undefined} errorText **attribute** `error-text`
|
|
47
|
-
* @param {string | undefined} helperText **attribute** `helper-text`
|
|
48
|
-
* @param {boolean | undefined} required **attribute** `required`
|
|
49
|
-
* @param {string | undefined} successText **attribute** `success-text`
|
|
50
50
|
*/
|
|
51
51
|
declare const VwcTextField: {
|
|
52
52
|
(props: {
|
|
@@ -59,9 +59,18 @@ declare const VwcTextField: {
|
|
|
59
59
|
onBlur?: ((event: SyntheticEvent) => void) | undefined;
|
|
60
60
|
onFocus?: ((event: SyntheticEvent) => void) | undefined;
|
|
61
61
|
onInput?: ((event: SyntheticEvent) => void) | undefined;
|
|
62
|
+
icon?: string | undefined;
|
|
63
|
+
value?: string | undefined;
|
|
64
|
+
placeholder?: string | undefined;
|
|
65
|
+
label?: string | undefined;
|
|
66
|
+
charCount?: any;
|
|
67
|
+
disabled?: any;
|
|
68
|
+
errorText?: string | undefined;
|
|
69
|
+
helperText?: string | undefined;
|
|
70
|
+
required?: any;
|
|
71
|
+
successText?: string | undefined;
|
|
62
72
|
readOnly?: boolean | undefined;
|
|
63
73
|
autofocus?: boolean | undefined;
|
|
64
|
-
placeholder?: string | undefined;
|
|
65
74
|
type?: any;
|
|
66
75
|
list?: string | undefined;
|
|
67
76
|
maxlength?: number | undefined;
|
|
@@ -75,19 +84,10 @@ declare const VwcTextField: {
|
|
|
75
84
|
scale?: any;
|
|
76
85
|
inputMode?: string | undefined;
|
|
77
86
|
leadingActionItemsSlottedContent?: any;
|
|
78
|
-
helperText?: string | undefined;
|
|
79
|
-
value?: string | undefined;
|
|
80
|
-
charCount?: boolean | undefined;
|
|
81
|
-
errorText?: string | undefined;
|
|
82
|
-
successText?: string | undefined;
|
|
83
|
-
label?: string | undefined;
|
|
84
|
-
icon?: string | undefined;
|
|
85
87
|
_vividAriaBehaviour?: any;
|
|
86
88
|
currentValue?: any;
|
|
87
89
|
initialValue?: string | undefined;
|
|
88
|
-
disabled?: boolean | undefined;
|
|
89
90
|
name?: string | undefined;
|
|
90
|
-
required?: boolean | undefined;
|
|
91
91
|
VIVID_VERSION?: string | undefined;
|
|
92
92
|
componentName?: string | undefined;
|
|
93
93
|
}): JSX.Element;
|
package/v3/VwcTextField/index.js
CHANGED
|
@@ -884,7 +884,7 @@ registerTextField('vvd3')
|
|
|
884
884
|
const VwcTextField = wrapper(`vvd3-text-field`, {
|
|
885
885
|
events: [{"name":"input","propName":"onInput"},{"name":"focus","propName":"onFocus"},{"name":"change","propName":"onChange"},{"name":"blur","propName":"onBlur"}],
|
|
886
886
|
attributes: [],
|
|
887
|
-
properties: ['
|
|
887
|
+
properties: ['icon', 'value', 'placeholder', 'label', 'onInput', 'charCount', 'disabled', 'errorText', 'helperText', 'required', 'successText', 'readOnly', 'autofocus', 'placeholder', 'type', 'list', 'maxlength', 'minlength', 'pattern', 'size', 'spellcheck', 'appearance', 'shape', 'autoComplete', 'scale', 'inputMode', 'leadingActionItemsSlottedContent', 'helperText', 'value', 'charCount', 'errorText', 'successText', 'label', 'icon', '_vividAriaBehaviour', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
|
|
888
888
|
})
|
|
889
889
|
|
|
890
890
|
VwcTextField.displayName = 'VwcTextField'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcToggletip
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/toggletip
|
|
4
|
+
* @param {string | HTMLElement} anchor **attribute** `anchor`
|
|
4
5
|
* @param {string | undefined} headline - the optional title of the toggletip **attribute** `headline`
|
|
5
6
|
* @param {boolean} alternate - toggle color scheme **attribute** `alternate`
|
|
6
7
|
* @param {Placement | undefined} placement - placement of the toggletip **attribute** `placement`
|
|
@@ -9,7 +10,6 @@ import React, { ReactNode } from 'react';
|
|
|
9
10
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
10
11
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
11
12
|
* @param {string} componentName - Core component name, without prefix
|
|
12
|
-
* @param {string | HTMLElement} anchor **attribute** `anchor`
|
|
13
13
|
*/
|
|
14
14
|
declare const VwcToggletip: {
|
|
15
15
|
(props: {
|
|
@@ -18,11 +18,11 @@ declare const VwcToggletip: {
|
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
style?: React.CSSProperties | undefined;
|
|
20
20
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
21
|
+
anchor?: any;
|
|
21
22
|
headline?: string | undefined;
|
|
22
23
|
alternate?: boolean | undefined;
|
|
23
24
|
placement?: any;
|
|
24
25
|
open?: boolean | undefined;
|
|
25
|
-
anchor?: any;
|
|
26
26
|
VIVID_VERSION?: string | undefined;
|
|
27
27
|
componentName?: string | undefined;
|
|
28
28
|
}): JSX.Element;
|
package/v3/VwcToggletip/index.js
CHANGED
|
@@ -301,7 +301,7 @@ registerToggletip('vvd3')
|
|
|
301
301
|
const VwcToggletip = wrapper(`vvd3-toggletip`, {
|
|
302
302
|
events: [],
|
|
303
303
|
attributes: [],
|
|
304
|
-
properties: ['headline', 'alternate', 'placement', 'open', 'anchor', 'VIVID_VERSION', 'componentName'
|
|
304
|
+
properties: ['anchor', 'headline', 'alternate', 'placement', 'open', 'anchor', 'VIVID_VERSION', 'componentName']
|
|
305
305
|
})
|
|
306
306
|
|
|
307
307
|
VwcToggletip.displayName = 'VwcToggletip'
|
package/v3/VwcTooltip/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
/** VwcTooltip
|
|
3
3
|
* For more info on this Vivid element please visit https://vivid.deno.dev/components/tooltip
|
|
4
|
+
* @param {string | HTMLElement} anchor **attribute** `anchor`
|
|
4
5
|
* @param {string | undefined} text - the text of the tooltip
|
|
5
6
|
accepts string **attribute** `text`
|
|
6
7
|
* @param {Placement | undefined} placement **attribute** `placement`
|
|
@@ -9,7 +10,6 @@ accepts string **attribute** `text`
|
|
|
9
10
|
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
|
|
10
11
|
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
|
|
11
12
|
* @param {string} componentName - Core component name, without prefix
|
|
12
|
-
* @param {string | HTMLElement} anchor **attribute** `anchor`
|
|
13
13
|
*/
|
|
14
14
|
declare const VwcTooltip: {
|
|
15
15
|
(props: {
|
|
@@ -18,10 +18,10 @@ declare const VwcTooltip: {
|
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
style?: React.CSSProperties | undefined;
|
|
20
20
|
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
|
|
21
|
+
anchor?: any;
|
|
21
22
|
text?: string | undefined;
|
|
22
23
|
placement?: any;
|
|
23
24
|
open?: boolean | undefined;
|
|
24
|
-
anchor?: any;
|
|
25
25
|
VIVID_VERSION?: string | undefined;
|
|
26
26
|
componentName?: string | undefined;
|
|
27
27
|
}): JSX.Element;
|
package/v3/VwcTooltip/index.js
CHANGED
|
@@ -222,7 +222,7 @@ registerTooltip('vvd3')
|
|
|
222
222
|
const VwcTooltip = wrapper(`vvd3-tooltip`, {
|
|
223
223
|
events: [],
|
|
224
224
|
attributes: [],
|
|
225
|
-
properties: ['text', 'placement', 'open', 'anchor', 'VIVID_VERSION', 'componentName'
|
|
225
|
+
properties: ['anchor', 'text', 'placement', 'open', 'anchor', 'VIVID_VERSION', 'componentName']
|
|
226
226
|
})
|
|
227
227
|
|
|
228
228
|
VwcTooltip.displayName = 'VwcTooltip'
|