@vonage/vivid-vue 4.21.0 → 4.22.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.
Files changed (130) hide show
  1. package/generated/components/VAccordion.types.d.ts +108 -0
  2. package/generated/components/VAccordionItem.types.d.ts +136 -0
  3. package/generated/components/VAccordionItem.vue2.d.ts +1 -1
  4. package/generated/components/VAccordionItem.vue3.d.ts +1 -1
  5. package/generated/components/VActionGroup.types.d.ts +101 -0
  6. package/generated/components/VAlert.types.d.ts +159 -0
  7. package/generated/components/VAlert.vue2.d.ts +1 -1
  8. package/generated/components/VAlert.vue3.d.ts +1 -1
  9. package/generated/components/VAudioPlayer.types.d.ts +115 -0
  10. package/generated/components/VAvatar.types.d.ts +115 -0
  11. package/generated/components/VAvatar.vue2.d.ts +1 -1
  12. package/generated/components/VAvatar.vue3.d.ts +1 -1
  13. package/generated/components/VBadge.types.d.ts +115 -0
  14. package/generated/components/VBadge.vue2.d.ts +1 -1
  15. package/generated/components/VBadge.vue3.d.ts +1 -1
  16. package/generated/components/VBanner.types.d.ts +101 -0
  17. package/generated/components/VBanner.vue2.d.ts +1 -1
  18. package/generated/components/VBanner.vue3.d.ts +1 -1
  19. package/generated/components/VBreadcrumb.types.d.ts +89 -0
  20. package/generated/components/VBreadcrumb.vue3.d.ts +4 -10
  21. package/generated/components/VBreadcrumbItem.types.d.ts +126 -0
  22. package/generated/components/VButton.types.d.ts +224 -0
  23. package/generated/components/VButton.vue2.d.ts +1 -1
  24. package/generated/components/VButton.vue3.d.ts +1 -1
  25. package/generated/components/VCalendar.types.d.ts +120 -0
  26. package/generated/components/VCalendarEvent.types.d.ts +117 -0
  27. package/generated/components/VCard.types.d.ts +118 -0
  28. package/generated/components/VCard.vue2.d.ts +1 -1
  29. package/generated/components/VCard.vue3.d.ts +1 -1
  30. package/generated/components/VCheckbox.types.d.ts +185 -0
  31. package/generated/components/VCombobox.types.d.ts +200 -0
  32. package/generated/components/VCombobox.vue2.d.ts +1 -1
  33. package/generated/components/VCombobox.vue3.d.ts +1 -1
  34. package/generated/components/VDataGrid.types.d.ts +129 -0
  35. package/generated/components/VDataGridCell.types.d.ts +161 -0
  36. package/generated/components/VDataGridRow.types.d.ts +135 -0
  37. package/generated/components/VDatePicker.types.d.ts +155 -0
  38. package/generated/components/VDateRangePicker.types.d.ts +213 -0
  39. package/generated/components/VDateTimePicker.types.d.ts +183 -0
  40. package/generated/components/VDialPad.types.d.ts +195 -0
  41. package/generated/components/VDialog.types.d.ts +174 -0
  42. package/generated/components/VDialog.vue2.d.ts +1 -1
  43. package/generated/components/VDialog.vue3.d.ts +1 -1
  44. package/generated/components/VDivider.types.d.ts +97 -0
  45. package/generated/components/VEmptyState.types.d.ts +107 -0
  46. package/generated/components/VEmptyState.vue2.d.ts +1 -1
  47. package/generated/components/VEmptyState.vue3.d.ts +1 -1
  48. package/generated/components/VFab.types.d.ts +168 -0
  49. package/generated/components/VFab.vue2.d.ts +1 -1
  50. package/generated/components/VFab.vue3.d.ts +1 -1
  51. package/generated/components/VFilePicker.types.d.ts +172 -0
  52. package/generated/components/VHeader.types.d.ts +97 -0
  53. package/generated/components/VIcon.types.d.ts +100 -0
  54. package/generated/components/VIcon.vue2.d.ts +1 -1
  55. package/generated/components/VIcon.vue3.d.ts +1 -1
  56. package/generated/components/VLayout.types.d.ts +109 -0
  57. package/generated/components/VMenu.types.d.ts +141 -0
  58. package/generated/components/VMenuItem.types.d.ts +171 -0
  59. package/generated/components/VMenuItem.vue2.d.ts +1 -1
  60. package/generated/components/VMenuItem.vue3.d.ts +1 -1
  61. package/generated/components/VNav.types.d.ts +89 -0
  62. package/generated/components/VNav.vue3.d.ts +4 -10
  63. package/generated/components/VNavDisclosure.types.d.ts +122 -0
  64. package/generated/components/VNavDisclosure.vue2.d.ts +1 -1
  65. package/generated/components/VNavDisclosure.vue3.d.ts +1 -1
  66. package/generated/components/VNavItem.types.d.ts +143 -0
  67. package/generated/components/VNavItem.vue2.d.ts +1 -1
  68. package/generated/components/VNavItem.vue3.d.ts +1 -1
  69. package/generated/components/VNote.types.d.ts +100 -0
  70. package/generated/components/VNote.vue2.d.ts +1 -1
  71. package/generated/components/VNote.vue3.d.ts +1 -1
  72. package/generated/components/VNumberField.types.d.ts +219 -0
  73. package/generated/components/VNumberField.vue2.d.ts +1 -1
  74. package/generated/components/VNumberField.vue3.d.ts +1 -1
  75. package/generated/components/VOption.types.d.ts +126 -0
  76. package/generated/components/VOption.vue2.d.ts +16 -1
  77. package/generated/components/VOption.vue3.d.ts +16 -1
  78. package/generated/components/VPagination.types.d.ts +118 -0
  79. package/generated/components/VProgress.types.d.ts +117 -0
  80. package/generated/components/VProgressRing.types.d.ts +107 -0
  81. package/generated/components/VRadio.types.d.ts +153 -0
  82. package/generated/components/VRadioGroup.types.d.ts +140 -0
  83. package/generated/components/VRangeSlider.types.d.ts +238 -0
  84. package/generated/components/VRichTextEditor.types.d.ts +91 -0
  85. package/generated/components/VRichTextEditor.vue2.d.ts +2 -1
  86. package/generated/components/VRichTextEditor.vue3.d.ts +2 -1
  87. package/generated/components/VSearchableSelect.types.d.ts +216 -0
  88. package/generated/components/VSearchableSelect.vue2.d.ts +1 -1
  89. package/generated/components/VSearchableSelect.vue3.d.ts +1 -1
  90. package/generated/components/VSelect.types.d.ts +198 -0
  91. package/generated/components/VSelect.vue2.d.ts +1 -1
  92. package/generated/components/VSelect.vue3.d.ts +1 -1
  93. package/generated/components/VSelectableBox.types.d.ts +127 -0
  94. package/generated/components/VSideDrawer.types.d.ts +147 -0
  95. package/generated/components/VSlider.types.d.ts +180 -0
  96. package/generated/components/VSplitButton.types.d.ts +157 -0
  97. package/generated/components/VSplitButton.vue2.d.ts +1 -1
  98. package/generated/components/VSplitButton.vue3.d.ts +1 -1
  99. package/generated/components/VSwitch.types.d.ts +168 -0
  100. package/generated/components/VTab.types.d.ts +121 -0
  101. package/generated/components/VTab.vue2.d.ts +1 -1
  102. package/generated/components/VTab.vue3.d.ts +1 -1
  103. package/generated/components/VTabPanel.types.d.ts +89 -0
  104. package/generated/components/VTabPanel.vue3.d.ts +4 -10
  105. package/generated/components/VTabs.types.d.ts +131 -0
  106. package/generated/components/VTag.types.d.ts +155 -0
  107. package/generated/components/VTag.vue2.d.ts +1 -1
  108. package/generated/components/VTag.vue3.d.ts +1 -1
  109. package/generated/components/VTagGroup.types.d.ts +89 -0
  110. package/generated/components/VTagGroup.vue3.d.ts +4 -10
  111. package/generated/components/VTextArea.types.d.ts +213 -0
  112. package/generated/components/VTextField.types.d.ts +222 -0
  113. package/generated/components/VTextField.vue2.d.ts +1 -1
  114. package/generated/components/VTextField.vue3.d.ts +1 -1
  115. package/generated/components/VTimePicker.types.d.ts +167 -0
  116. package/generated/components/VToggletip.types.d.ts +109 -0
  117. package/generated/components/VTooltip.types.d.ts +100 -0
  118. package/generated/components/VTreeItem.types.d.ts +139 -0
  119. package/generated/components/VTreeItem.vue2.d.ts +1 -1
  120. package/generated/components/VTreeItem.vue3.d.ts +1 -1
  121. package/generated/components/VTreeView.types.d.ts +94 -0
  122. package/generated/components/VVideoPlayer.types.d.ts +155 -0
  123. package/generated/icons.d.ts +2 -0
  124. package/generated/types.d.ts +337 -0
  125. package/index.cjs +21 -11
  126. package/index.d.ts +1 -0
  127. package/index.js +21 -11
  128. package/package.json +24 -22
  129. package/utils/types.d.ts +7 -0
  130. package/web-types.json +34 -26
@@ -0,0 +1,117 @@
1
+ import type { VwcProgressElement } from '@vonage/vivid';
2
+ export interface VProgressEvents {
3
+ /**
4
+ * Fires when the element loses focus.
5
+ */
6
+ blur: FocusEvent & {
7
+ /**
8
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
9
+ */
10
+ target: VwcProgressElement;
11
+ currentTarget: VwcProgressElement;
12
+ };
13
+ /**
14
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
15
+ */
16
+ click: MouseEvent & {
17
+ /**
18
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
19
+ */
20
+ target: VwcProgressElement;
21
+ currentTarget: VwcProgressElement;
22
+ };
23
+ /**
24
+ * Fires when the element receives focus.
25
+ */
26
+ focus: FocusEvent & {
27
+ /**
28
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
29
+ */
30
+ target: VwcProgressElement;
31
+ currentTarget: VwcProgressElement;
32
+ };
33
+ /**
34
+ * Fires when the value of an element has been changed.
35
+ */
36
+ input: Event & {
37
+ /**
38
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
39
+ */
40
+ target: VwcProgressElement;
41
+ currentTarget: VwcProgressElement;
42
+ };
43
+ /**
44
+ * Fires when a key is pressed.
45
+ */
46
+ keydown: KeyboardEvent & {
47
+ /**
48
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
49
+ */
50
+ target: VwcProgressElement;
51
+ currentTarget: VwcProgressElement;
52
+ };
53
+ /**
54
+ * Fires when a key is released.
55
+ */
56
+ keyup: KeyboardEvent & {
57
+ /**
58
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
59
+ */
60
+ target: VwcProgressElement;
61
+ currentTarget: VwcProgressElement;
62
+ };
63
+ }
64
+ export interface VProgressProps {
65
+ /**
66
+ * Indicates the progress' connotation.
67
+ */
68
+ connotation?: 'accent' | 'success' | 'alert' | 'cta' | 'pacific';
69
+ /**
70
+ * The maximum value
71
+ */
72
+ max?: number;
73
+ /**
74
+ * The minimum value
75
+ */
76
+ min?: number;
77
+ /**
78
+ * Indicates the progress is paused
79
+ */
80
+ paused?: boolean;
81
+ /**
82
+ * Indicates the progress' reverse status.
83
+ */
84
+ reverse?: boolean;
85
+ /**
86
+ * Indicates the progress' shape.
87
+ */
88
+ shape?: 'rounded' | 'sharp';
89
+ /**
90
+ * The value of the progress
91
+ */
92
+ value?: number;
93
+ /**
94
+ * Fires when the element loses focus.
95
+ */
96
+ onBlur?: (event: VProgressEvents['blur']) => void;
97
+ /**
98
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
99
+ */
100
+ onClick?: (event: VProgressEvents['click']) => void;
101
+ /**
102
+ * Fires when the element receives focus.
103
+ */
104
+ onFocus?: (event: VProgressEvents['focus']) => void;
105
+ /**
106
+ * Fires when the value of an element has been changed.
107
+ */
108
+ onInput?: (event: VProgressEvents['input']) => void;
109
+ /**
110
+ * Fires when a key is pressed.
111
+ */
112
+ onKeydown?: (event: VProgressEvents['keydown']) => void;
113
+ /**
114
+ * Fires when a key is released.
115
+ */
116
+ onKeyup?: (event: VProgressEvents['keyup']) => void;
117
+ }
@@ -0,0 +1,107 @@
1
+ import type { VwcProgressRingElement } from '@vonage/vivid';
2
+ export interface VProgressRingEvents {
3
+ /**
4
+ * Fires when the element loses focus.
5
+ */
6
+ blur: FocusEvent & {
7
+ /**
8
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
9
+ */
10
+ target: VwcProgressRingElement;
11
+ currentTarget: VwcProgressRingElement;
12
+ };
13
+ /**
14
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
15
+ */
16
+ click: MouseEvent & {
17
+ /**
18
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
19
+ */
20
+ target: VwcProgressRingElement;
21
+ currentTarget: VwcProgressRingElement;
22
+ };
23
+ /**
24
+ * Fires when the element receives focus.
25
+ */
26
+ focus: FocusEvent & {
27
+ /**
28
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
29
+ */
30
+ target: VwcProgressRingElement;
31
+ currentTarget: VwcProgressRingElement;
32
+ };
33
+ /**
34
+ * Fires when the value of an element has been changed.
35
+ */
36
+ input: Event & {
37
+ /**
38
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
39
+ */
40
+ target: VwcProgressRingElement;
41
+ currentTarget: VwcProgressRingElement;
42
+ };
43
+ /**
44
+ * Fires when a key is pressed.
45
+ */
46
+ keydown: KeyboardEvent & {
47
+ /**
48
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
49
+ */
50
+ target: VwcProgressRingElement;
51
+ currentTarget: VwcProgressRingElement;
52
+ };
53
+ /**
54
+ * Fires when a key is released.
55
+ */
56
+ keyup: KeyboardEvent & {
57
+ /**
58
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
59
+ */
60
+ target: VwcProgressRingElement;
61
+ currentTarget: VwcProgressRingElement;
62
+ };
63
+ }
64
+ export interface VProgressRingProps {
65
+ connotation?: 'accent' | 'success' | 'alert' | 'cta';
66
+ /**
67
+ * The maximum value
68
+ */
69
+ max?: number;
70
+ /**
71
+ * The minimum value
72
+ */
73
+ min?: number;
74
+ /**
75
+ * Indicates the progress is paused
76
+ */
77
+ paused?: boolean;
78
+ size?: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5;
79
+ /**
80
+ * The value of the progress
81
+ */
82
+ value?: boolean;
83
+ /**
84
+ * Fires when the element loses focus.
85
+ */
86
+ onBlur?: (event: VProgressRingEvents['blur']) => void;
87
+ /**
88
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
89
+ */
90
+ onClick?: (event: VProgressRingEvents['click']) => void;
91
+ /**
92
+ * Fires when the element receives focus.
93
+ */
94
+ onFocus?: (event: VProgressRingEvents['focus']) => void;
95
+ /**
96
+ * Fires when the value of an element has been changed.
97
+ */
98
+ onInput?: (event: VProgressRingEvents['input']) => void;
99
+ /**
100
+ * Fires when a key is pressed.
101
+ */
102
+ onKeydown?: (event: VProgressRingEvents['keydown']) => void;
103
+ /**
104
+ * Fires when a key is released.
105
+ */
106
+ onKeyup?: (event: VProgressRingEvents['keyup']) => void;
107
+ }
@@ -0,0 +1,153 @@
1
+ import type { VwcRadioElement } from '@vonage/vivid';
2
+ export interface VRadioEvents {
3
+ /**
4
+ * Fires when the element loses focus.
5
+ */
6
+ blur: FocusEvent & {
7
+ /**
8
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
9
+ */
10
+ target: VwcRadioElement;
11
+ currentTarget: VwcRadioElement;
12
+ };
13
+ /**
14
+ * Fires a custom 'change' event when the value changes
15
+ */
16
+ change: CustomEvent<undefined> & {
17
+ /**
18
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
19
+ */
20
+ target: VwcRadioElement;
21
+ currentTarget: VwcRadioElement;
22
+ };
23
+ /**
24
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
25
+ */
26
+ click: MouseEvent & {
27
+ /**
28
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
29
+ */
30
+ target: VwcRadioElement;
31
+ currentTarget: VwcRadioElement;
32
+ };
33
+ /**
34
+ * Fires when the element receives focus.
35
+ */
36
+ focus: FocusEvent & {
37
+ /**
38
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
39
+ */
40
+ target: VwcRadioElement;
41
+ currentTarget: VwcRadioElement;
42
+ };
43
+ /**
44
+ * Fires when the value of an element has been changed.
45
+ */
46
+ input: Event & {
47
+ /**
48
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
49
+ */
50
+ target: VwcRadioElement;
51
+ currentTarget: VwcRadioElement;
52
+ };
53
+ /**
54
+ * Fires when a key is pressed.
55
+ */
56
+ keydown: KeyboardEvent & {
57
+ /**
58
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
59
+ */
60
+ target: VwcRadioElement;
61
+ currentTarget: VwcRadioElement;
62
+ };
63
+ /**
64
+ * Fires when a key is released.
65
+ */
66
+ keyup: KeyboardEvent & {
67
+ /**
68
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
69
+ */
70
+ target: VwcRadioElement;
71
+ currentTarget: VwcRadioElement;
72
+ };
73
+ }
74
+ export interface VRadioProps {
75
+ ariaLabel?: string;
76
+ /**
77
+ * The current checkedness of the element. This property serves as a mechanism
78
+ * to set the `checked` property through both property assignment and the
79
+ * .setAttribute() method. This is useful for setting the field's checkedness
80
+ * in UI libraries that bind data through the .setAttribute() API
81
+ * and don't support IDL attribute binding.
82
+ */
83
+ checked?: boolean;
84
+ /**
85
+ * The connotation the radioButton should have.
86
+ */
87
+ connotation?: 'accent' | 'cta';
88
+ /**
89
+ * Provides the default checkedness of the input element
90
+ */
91
+ defaultChecked?: boolean;
92
+ /**
93
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
94
+ */
95
+ disabled?: boolean;
96
+ /**
97
+ * The initial value of the form. This value sets the `value` property
98
+ * only when the `value` property has not been explicitly set.
99
+ */
100
+ initialValue?: string;
101
+ /**
102
+ * Indicates the radio's label.
103
+ */
104
+ label?: string;
105
+ /**
106
+ * The name of the radio. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute for more info.
107
+ */
108
+ name?: string;
109
+ /**
110
+ * 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.
111
+ */
112
+ readonly?: boolean;
113
+ /**
114
+ * Require the field to be completed prior to form submission.
115
+ */
116
+ required?: boolean;
117
+ /**
118
+ * The current value of the element. This property serves as a mechanism
119
+ * to set the `value` property through both property assignment and the
120
+ * .setAttribute() method. This is useful for setting the field's value
121
+ * in UI libraries that bind data through the .setAttribute() API
122
+ * and don't support IDL attribute binding.
123
+ */
124
+ value?: string;
125
+ /**
126
+ * Fires when the element loses focus.
127
+ */
128
+ onBlur?: (event: VRadioEvents['blur']) => void;
129
+ /**
130
+ * Fires a custom 'change' event when the value changes
131
+ */
132
+ onChange?: (event: VRadioEvents['change']) => void;
133
+ /**
134
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
135
+ */
136
+ onClick?: (event: VRadioEvents['click']) => void;
137
+ /**
138
+ * Fires when the element receives focus.
139
+ */
140
+ onFocus?: (event: VRadioEvents['focus']) => void;
141
+ /**
142
+ * Fires when the value of an element has been changed.
143
+ */
144
+ onInput?: (event: VRadioEvents['input']) => void;
145
+ /**
146
+ * Fires when a key is pressed.
147
+ */
148
+ onKeydown?: (event: VRadioEvents['keydown']) => void;
149
+ /**
150
+ * Fires when a key is released.
151
+ */
152
+ onKeyup?: (event: VRadioEvents['keyup']) => void;
153
+ }
@@ -0,0 +1,140 @@
1
+ import type { VwcRadioGroupElement } from '@vonage/vivid';
2
+ export interface VRadioGroupEvents {
3
+ /**
4
+ * Fires when the element loses focus.
5
+ */
6
+ blur: FocusEvent & {
7
+ /**
8
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
9
+ */
10
+ target: VwcRadioGroupElement;
11
+ currentTarget: VwcRadioGroupElement;
12
+ };
13
+ /**
14
+ * Fires a custom 'change' event when the value changes
15
+ */
16
+ change: CustomEvent<undefined> & {
17
+ /**
18
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
19
+ */
20
+ target: VwcRadioGroupElement;
21
+ currentTarget: VwcRadioGroupElement;
22
+ };
23
+ /**
24
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
25
+ */
26
+ click: MouseEvent & {
27
+ /**
28
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
29
+ */
30
+ target: VwcRadioGroupElement;
31
+ currentTarget: VwcRadioGroupElement;
32
+ };
33
+ /**
34
+ * Fires when the element receives focus.
35
+ */
36
+ focus: FocusEvent & {
37
+ /**
38
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
39
+ */
40
+ target: VwcRadioGroupElement;
41
+ currentTarget: VwcRadioGroupElement;
42
+ };
43
+ /**
44
+ * Fires when the value of an element has been changed.
45
+ */
46
+ input: Event & {
47
+ /**
48
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
49
+ */
50
+ target: VwcRadioGroupElement;
51
+ currentTarget: VwcRadioGroupElement;
52
+ };
53
+ /**
54
+ * Fires when a key is pressed.
55
+ */
56
+ keydown: KeyboardEvent & {
57
+ /**
58
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
59
+ */
60
+ target: VwcRadioGroupElement;
61
+ currentTarget: VwcRadioGroupElement;
62
+ };
63
+ /**
64
+ * Fires when a key is released.
65
+ */
66
+ keyup: KeyboardEvent & {
67
+ /**
68
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
69
+ */
70
+ target: VwcRadioGroupElement;
71
+ currentTarget: VwcRadioGroupElement;
72
+ };
73
+ /**
74
+ * Fires when the modelValue value changes
75
+ */
76
+ 'update:modelValue': string;
77
+ }
78
+ export interface VRadioGroupProps {
79
+ /**
80
+ * Disables the radio group and child radios.
81
+ */
82
+ disabled?: boolean;
83
+ /**
84
+ * Indicates the group's label.
85
+ */
86
+ label?: string;
87
+ /**
88
+ * The name of the radio group. Setting this value will set the name value
89
+ * for all child radio elements.
90
+ */
91
+ name?: string;
92
+ /**
93
+ * The orientation of the group
94
+ */
95
+ orientation?: 'horizontal' | 'vertical' | 'horizontal' | 'vertical';
96
+ /**
97
+ * When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
98
+ */
99
+ readonly?: boolean;
100
+ /**
101
+ * The value of the checked radio
102
+ */
103
+ value?: string;
104
+ /**
105
+ * The value of the checked radio
106
+ */
107
+ modelValue?: string;
108
+ /**
109
+ * Fires when the element loses focus.
110
+ */
111
+ onBlur?: (event: VRadioGroupEvents['blur']) => void;
112
+ /**
113
+ * Fires a custom 'change' event when the value changes
114
+ */
115
+ onChange?: (event: VRadioGroupEvents['change']) => void;
116
+ /**
117
+ * Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
118
+ */
119
+ onClick?: (event: VRadioGroupEvents['click']) => void;
120
+ /**
121
+ * Fires when the element receives focus.
122
+ */
123
+ onFocus?: (event: VRadioGroupEvents['focus']) => void;
124
+ /**
125
+ * Fires when the value of an element has been changed.
126
+ */
127
+ onInput?: (event: VRadioGroupEvents['input']) => void;
128
+ /**
129
+ * Fires when a key is pressed.
130
+ */
131
+ onKeydown?: (event: VRadioGroupEvents['keydown']) => void;
132
+ /**
133
+ * Fires when a key is released.
134
+ */
135
+ onKeyup?: (event: VRadioGroupEvents['keyup']) => void;
136
+ /**
137
+ * Fires when the modelValue value changes
138
+ */
139
+ 'onUpdate:modelValue'?: (event: VRadioGroupEvents['update:modelValue']) => void;
140
+ }