@vonage/vivid-vue 4.24.0 → 4.26.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 (121) hide show
  1. package/generated/components/VAccordionItem.vue3.d.ts +9 -1
  2. package/generated/components/VAlert.vue3.d.ts +1 -1
  3. package/generated/components/VBadge.types.d.ts +4 -0
  4. package/generated/components/VBadge.vue2.d.ts +15 -0
  5. package/generated/components/VBadge.vue3.d.ts +16 -1
  6. package/generated/components/VBanner.vue3.d.ts +1 -1
  7. package/generated/components/VBreadcrumbItem.types.d.ts +8 -12
  8. package/generated/components/VBreadcrumbItem.vue2.d.ts +16 -31
  9. package/generated/components/VBreadcrumbItem.vue3.d.ts +16 -31
  10. package/generated/components/VButton.types.d.ts +10 -14
  11. package/generated/components/VButton.vue2.d.ts +29 -28
  12. package/generated/components/VButton.vue3.d.ts +30 -29
  13. package/generated/components/VCard.types.d.ts +36 -0
  14. package/generated/components/VCard.vue2.d.ts +135 -0
  15. package/generated/components/VCard.vue3.d.ts +135 -0
  16. package/generated/components/VCheckbox.types.d.ts +11 -21
  17. package/generated/components/VCheckbox.vue2.d.ts +31 -42
  18. package/generated/components/VCheckbox.vue3.d.ts +31 -42
  19. package/generated/components/VCombobox.types.d.ts +8 -15
  20. package/generated/components/VCombobox.vue2.d.ts +27 -56
  21. package/generated/components/VCombobox.vue3.d.ts +27 -57
  22. package/generated/components/VDataGridCell.types.d.ts +9 -0
  23. package/generated/components/VDataGridCell.vue2.d.ts +30 -1
  24. package/generated/components/VDataGridCell.vue3.d.ts +33 -2
  25. package/generated/components/VDataGridRow.types.d.ts +4 -0
  26. package/generated/components/VDataGridRow.vue2.d.ts +16 -1
  27. package/generated/components/VDataGridRow.vue3.d.ts +16 -1
  28. package/generated/components/VDatePicker.types.d.ts +10 -4
  29. package/generated/components/VDatePicker.vue2.d.ts +38 -9
  30. package/generated/components/VDatePicker.vue3.d.ts +38 -9
  31. package/generated/components/VDateRangePicker.types.d.ts +9 -3
  32. package/generated/components/VDateRangePicker.vue2.d.ts +36 -7
  33. package/generated/components/VDateRangePicker.vue3.d.ts +36 -7
  34. package/generated/components/VDateTimePicker.types.d.ts +10 -4
  35. package/generated/components/VDateTimePicker.vue2.d.ts +38 -9
  36. package/generated/components/VDateTimePicker.vue3.d.ts +38 -9
  37. package/generated/components/VDialPad.types.d.ts +4 -0
  38. package/generated/components/VDialPad.vue2.d.ts +19 -0
  39. package/generated/components/VDialPad.vue3.d.ts +19 -0
  40. package/generated/components/VDialog.types.d.ts +4 -0
  41. package/generated/components/VDialog.vue2.d.ts +15 -0
  42. package/generated/components/VDialog.vue3.d.ts +15 -0
  43. package/generated/components/VDivider.types.d.ts +1 -1
  44. package/generated/components/VDivider.vue2.d.ts +3 -3
  45. package/generated/components/VDivider.vue3.d.ts +3 -3
  46. package/generated/components/VEmptyState.types.d.ts +0 -3
  47. package/generated/components/VEmptyState.vue2.d.ts +0 -6
  48. package/generated/components/VEmptyState.vue3.d.ts +0 -6
  49. package/generated/components/VFab.types.d.ts +2 -6
  50. package/generated/components/VFab.vue2.d.ts +13 -12
  51. package/generated/components/VFab.vue3.d.ts +14 -13
  52. package/generated/components/VFilePicker.types.d.ts +5 -8
  53. package/generated/components/VFilePicker.vue2.d.ts +19 -16
  54. package/generated/components/VFilePicker.vue3.d.ts +19 -16
  55. package/generated/components/VIcon.types.d.ts +4 -0
  56. package/generated/components/VIcon.vue2.d.ts +15 -0
  57. package/generated/components/VIcon.vue3.d.ts +15 -0
  58. package/generated/components/VMenuItem.types.d.ts +8 -4
  59. package/generated/components/VMenuItem.vue2.d.ts +15 -0
  60. package/generated/components/VMenuItem.vue3.d.ts +17 -2
  61. package/generated/components/VNavDisclosure.types.d.ts +4 -0
  62. package/generated/components/VNavDisclosure.vue2.d.ts +15 -0
  63. package/generated/components/VNavDisclosure.vue3.d.ts +16 -1
  64. package/generated/components/VNavItem.types.d.ts +14 -14
  65. package/generated/components/VNavItem.vue2.d.ts +34 -36
  66. package/generated/components/VNavItem.vue3.d.ts +35 -37
  67. package/generated/components/VNote.vue3.d.ts +1 -1
  68. package/generated/components/VNumberField.types.d.ts +7 -18
  69. package/generated/components/VNumberField.vue2.d.ts +23 -43
  70. package/generated/components/VNumberField.vue3.d.ts +23 -43
  71. package/generated/components/VOption.vue2.d.ts +1 -1
  72. package/generated/components/VOption.vue3.d.ts +2 -2
  73. package/generated/components/VProgressRing.types.d.ts +1 -1
  74. package/generated/components/VProgressRing.vue2.d.ts +3 -3
  75. package/generated/components/VProgressRing.vue3.d.ts +3 -3
  76. package/generated/components/VRadio.types.d.ts +11 -14
  77. package/generated/components/VRadio.vue2.d.ts +40 -29
  78. package/generated/components/VRadio.vue3.d.ts +40 -29
  79. package/generated/components/VRadioGroup.types.d.ts +11 -1
  80. package/generated/components/VRadioGroup.vue2.d.ts +43 -2
  81. package/generated/components/VRadioGroup.vue3.d.ts +47 -2
  82. package/generated/components/VRangeSlider.types.d.ts +2 -6
  83. package/generated/components/VRangeSlider.vue2.d.ts +13 -12
  84. package/generated/components/VRangeSlider.vue3.d.ts +13 -12
  85. package/generated/components/VRichTextEditor.vue2.d.ts +6 -0
  86. package/generated/components/VRichTextEditor.vue3.d.ts +6 -0
  87. package/generated/components/VSearchableSelect.types.d.ts +7 -14
  88. package/generated/components/VSearchableSelect.vue2.d.ts +25 -29
  89. package/generated/components/VSearchableSelect.vue3.d.ts +26 -30
  90. package/generated/components/VSelect.types.d.ts +7 -14
  91. package/generated/components/VSelect.vue2.d.ts +23 -29
  92. package/generated/components/VSelect.vue3.d.ts +24 -30
  93. package/generated/components/VSelectableBox.types.d.ts +0 -3
  94. package/generated/components/VSelectableBox.vue2.d.ts +1 -7
  95. package/generated/components/VSelectableBox.vue3.d.ts +1 -7
  96. package/generated/components/VSlider.types.d.ts +3 -11
  97. package/generated/components/VSlider.vue2.d.ts +15 -22
  98. package/generated/components/VSlider.vue3.d.ts +15 -22
  99. package/generated/components/VSplitButton.vue3.d.ts +1 -1
  100. package/generated/components/VSwitch.types.d.ts +6 -17
  101. package/generated/components/VSwitch.vue2.d.ts +23 -35
  102. package/generated/components/VSwitch.vue3.d.ts +23 -35
  103. package/generated/components/VTab.types.d.ts +1 -2
  104. package/generated/components/VTab.vue2.d.ts +2 -11
  105. package/generated/components/VTab.vue3.d.ts +3 -12
  106. package/generated/components/VTag.vue3.d.ts +1 -1
  107. package/generated/components/VTextArea.types.d.ts +9 -16
  108. package/generated/components/VTextArea.vue2.d.ts +28 -33
  109. package/generated/components/VTextArea.vue3.d.ts +28 -33
  110. package/generated/components/VTextField.types.d.ts +8 -15
  111. package/generated/components/VTextField.vue2.d.ts +26 -31
  112. package/generated/components/VTextField.vue3.d.ts +26 -31
  113. package/generated/components/VTimePicker.types.d.ts +10 -4
  114. package/generated/components/VTimePicker.vue2.d.ts +38 -9
  115. package/generated/components/VTimePicker.vue3.d.ts +38 -9
  116. package/generated/components/VTreeItem.vue3.d.ts +1 -1
  117. package/index.cjs +644 -333
  118. package/index.js +644 -334
  119. package/package.json +2 -2
  120. package/plugin/index.d.ts +8 -2
  121. package/web-types.json +349 -155
@@ -16,7 +16,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
16
16
  default: undefined;
17
17
  };
18
18
  /**
19
- * The initial value of the form. This value sets the `value` property
19
+ * The default value of the element. This value sets the `value` property
20
20
  * only when the `value` property has not been explicitly set.
21
21
  */
22
22
  initialValue: {
@@ -94,22 +94,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
94
94
  default: undefined;
95
95
  };
96
96
  /**
97
- * The current value of the element. This property serves as a mechanism
98
- * to set the `value` property through both property assignment and the
99
- * .setAttribute() method. This is useful for setting the field's value
100
- * in UI libraries that bind data through the .setAttribute() API
101
- * and don't support IDL attribute binding.
97
+ * The current value of the element.
102
98
  */
103
99
  value: {
104
100
  type: PropType<string>;
105
101
  default: undefined;
106
102
  };
107
103
  /**
108
- * The current value of the element. This property serves as a mechanism
109
- * to set the `value` property through both property assignment and the
110
- * .setAttribute() method. This is useful for setting the field's value
111
- * in UI libraries that bind data through the .setAttribute() API
112
- * and don't support IDL attribute binding.
104
+ * The current value of the element.
113
105
  */
114
106
  modelValue: {
115
107
  type: PropType<string>;
@@ -119,6 +111,10 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
119
111
  componentName: import("vue").Ref<string>;
120
112
  element: import("vue").Ref<VwcSliderElement | null>;
121
113
  }, import("vue").Data, {}, {
114
+ /**
115
+ * Return the current validity of the element.
116
+ */
117
+ checkValidity(): boolean;
122
118
  /**
123
119
  * Decrement the value by the step
124
120
  */
@@ -127,6 +123,11 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
127
123
  * Increment the value by the step
128
124
  */
129
125
  increment(): void;
126
+ /**
127
+ * Return the current validity of the element.
128
+ * If false, fires an invalid event at the element.
129
+ */
130
+ reportValidity(): boolean;
130
131
  /**
131
132
  * Places the thumb based on the current value
132
133
  */
@@ -147,7 +148,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
147
148
  default: undefined;
148
149
  };
149
150
  /**
150
- * The initial value of the form. This value sets the `value` property
151
+ * The default value of the element. This value sets the `value` property
151
152
  * only when the `value` property has not been explicitly set.
152
153
  */
153
154
  initialValue: {
@@ -225,22 +226,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
225
226
  default: undefined;
226
227
  };
227
228
  /**
228
- * The current value of the element. This property serves as a mechanism
229
- * to set the `value` property through both property assignment and the
230
- * .setAttribute() method. This is useful for setting the field's value
231
- * in UI libraries that bind data through the .setAttribute() API
232
- * and don't support IDL attribute binding.
229
+ * The current value of the element.
233
230
  */
234
231
  value: {
235
232
  type: PropType<string>;
236
233
  default: undefined;
237
234
  };
238
235
  /**
239
- * The current value of the element. This property serves as a mechanism
240
- * to set the `value` property through both property assignment and the
241
- * .setAttribute() method. This is useful for setting the field's value
242
- * in UI libraries that bind data through the .setAttribute() API
243
- * and don't support IDL attribute binding.
236
+ * The current value of the element.
244
237
  */
245
238
  modelValue: {
246
239
  type: PropType<string>;
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
17
17
  default: undefined;
18
18
  };
19
19
  /**
20
- * The initial value of the form. This value sets the `value` property
20
+ * The default value of the element. This value sets the `value` property
21
21
  * only when the `value` property has not been explicitly set.
22
22
  */
23
23
  initialValue: {
@@ -95,22 +95,14 @@ declare const _default: import("vue").DefineComponent<{
95
95
  default: undefined;
96
96
  };
97
97
  /**
98
- * The current value of the element. This property serves as a mechanism
99
- * to set the `value` property through both property assignment and the
100
- * .setAttribute() method. This is useful for setting the field's value
101
- * in UI libraries that bind data through the .setAttribute() API
102
- * and don't support IDL attribute binding.
98
+ * The current value of the element.
103
99
  */
104
100
  value: {
105
101
  type: PropType<string>;
106
102
  default: undefined;
107
103
  };
108
104
  /**
109
- * The current value of the element. This property serves as a mechanism
110
- * to set the `value` property through both property assignment and the
111
- * .setAttribute() method. This is useful for setting the field's value
112
- * in UI libraries that bind data through the .setAttribute() API
113
- * and don't support IDL attribute binding.
105
+ * The current value of the element.
114
106
  */
115
107
  modelValue: {
116
108
  type: PropType<string>;
@@ -120,6 +112,10 @@ declare const _default: import("vue").DefineComponent<{
120
112
  componentName: import("vue").Ref<string>;
121
113
  element: import("vue").Ref<VwcSliderElement | null>;
122
114
  }, unknown, {}, {
115
+ /**
116
+ * Return the current validity of the element.
117
+ */
118
+ checkValidity(): boolean;
123
119
  /**
124
120
  * Decrement the value by the step
125
121
  */
@@ -128,6 +124,11 @@ declare const _default: import("vue").DefineComponent<{
128
124
  * Increment the value by the step
129
125
  */
130
126
  increment(): void;
127
+ /**
128
+ * Return the current validity of the element.
129
+ * If false, fires an invalid event at the element.
130
+ */
131
+ reportValidity(): boolean;
131
132
  /**
132
133
  * Places the thumb based on the current value
133
134
  */
@@ -231,7 +232,7 @@ declare const _default: import("vue").DefineComponent<{
231
232
  default: undefined;
232
233
  };
233
234
  /**
234
- * The initial value of the form. This value sets the `value` property
235
+ * The default value of the element. This value sets the `value` property
235
236
  * only when the `value` property has not been explicitly set.
236
237
  */
237
238
  initialValue: {
@@ -309,22 +310,14 @@ declare const _default: import("vue").DefineComponent<{
309
310
  default: undefined;
310
311
  };
311
312
  /**
312
- * The current value of the element. This property serves as a mechanism
313
- * to set the `value` property through both property assignment and the
314
- * .setAttribute() method. This is useful for setting the field's value
315
- * in UI libraries that bind data through the .setAttribute() API
316
- * and don't support IDL attribute binding.
313
+ * The current value of the element.
317
314
  */
318
315
  value: {
319
316
  type: PropType<string>;
320
317
  default: undefined;
321
318
  };
322
319
  /**
323
- * The current value of the element. This property serves as a mechanism
324
- * to set the `value` property through both property assignment and the
325
- * .setAttribute() method. This is useful for setting the field's value
326
- * in UI libraries that bind data through the .setAttribute() API
327
- * and don't support IDL attribute binding.
320
+ * The current value of the element.
328
321
  */
329
322
  modelValue: {
330
323
  type: PropType<string>;
@@ -301,7 +301,7 @@ declare const _default: import("vue").DefineComponent<{
301
301
  */
302
302
  default: Record<string, never>;
303
303
  /**
304
- * Add an icon to the component.
304
+ * The preferred way to add an icon to the component.
305
305
  */
306
306
  icon: Record<string, never>;
307
307
  }>>;
@@ -77,19 +77,11 @@ export interface VSwitchEvents {
77
77
  }
78
78
  export interface VSwitchProps {
79
79
  /**
80
- * The current checkedness of the element. This property serves as a mechanism
81
- * to set the `checked` property through both property assignment and the
82
- * .setAttribute() method. This is useful for setting the field's checkedness
83
- * in UI libraries that bind data through the .setAttribute() API
84
- * and don't support IDL attribute binding.
80
+ * The current checkedness of the element.
85
81
  */
86
82
  checked?: boolean;
87
83
  /**
88
- * The current checkedness of the element. This property serves as a mechanism
89
- * to set the `checked` property through both property assignment and the
90
- * .setAttribute() method. This is useful for setting the field's checkedness
91
- * in UI libraries that bind data through the .setAttribute() API
92
- * and don't support IDL attribute binding.
84
+ * The current checkedness of the element.
93
85
  */
94
86
  modelValue?: boolean;
95
87
  /**
@@ -97,7 +89,8 @@ export interface VSwitchProps {
97
89
  */
98
90
  connotation?: 'accent' | 'alert' | 'announcement' | 'success' | 'cta';
99
91
  /**
100
- * Provides the default checkedness of the input element
92
+ * The default checkedness of the element. This value sets the `checked` property
93
+ * only when the `checked` property has not been explicitly set.
101
94
  */
102
95
  defaultChecked?: boolean;
103
96
  /**
@@ -105,7 +98,7 @@ export interface VSwitchProps {
105
98
  */
106
99
  disabled?: boolean;
107
100
  /**
108
- * The initial value of the form. This value sets the `value` property
101
+ * The default value of the element. This value sets the `value` property
109
102
  * only when the `value` property has not been explicitly set.
110
103
  */
111
104
  initialValue?: string;
@@ -126,11 +119,7 @@ export interface VSwitchProps {
126
119
  */
127
120
  required?: boolean;
128
121
  /**
129
- * The current value of the element. This property serves as a mechanism
130
- * to set the `value` property through both property assignment and the
131
- * .setAttribute() method. This is useful for setting the field's value
132
- * in UI libraries that bind data through the .setAttribute() API
133
- * and don't support IDL attribute binding.
122
+ * The current value of the element.
134
123
  */
135
124
  value?: string;
136
125
  /**
@@ -2,22 +2,14 @@ import { PropType } from 'vue';
2
2
  import type { VwcSwitchElement } from '@vonage/vivid';
3
3
  declare const _default: import("vue/types/v3-define-component").DefineComponent<{
4
4
  /**
5
- * The current checkedness of the element. This property serves as a mechanism
6
- * to set the `checked` property through both property assignment and the
7
- * .setAttribute() method. This is useful for setting the field's checkedness
8
- * in UI libraries that bind data through the .setAttribute() API
9
- * and don't support IDL attribute binding.
5
+ * The current checkedness of the element.
10
6
  */
11
7
  checked: {
12
8
  type: PropType<boolean>;
13
9
  default: undefined;
14
10
  };
15
11
  /**
16
- * The current checkedness of the element. This property serves as a mechanism
17
- * to set the `checked` property through both property assignment and the
18
- * .setAttribute() method. This is useful for setting the field's checkedness
19
- * in UI libraries that bind data through the .setAttribute() API
20
- * and don't support IDL attribute binding.
12
+ * The current checkedness of the element.
21
13
  */
22
14
  modelValue: {
23
15
  type: PropType<boolean>;
@@ -31,7 +23,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
31
23
  default: undefined;
32
24
  };
33
25
  /**
34
- * Provides the default checkedness of the input element
26
+ * The default checkedness of the element. This value sets the `checked` property
27
+ * only when the `checked` property has not been explicitly set.
35
28
  */
36
29
  defaultChecked: {
37
30
  type: PropType<boolean>;
@@ -45,7 +38,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
45
38
  default: undefined;
46
39
  };
47
40
  /**
48
- * The initial value of the form. This value sets the `value` property
41
+ * The default value of the element. This value sets the `value` property
49
42
  * only when the `value` property has not been explicitly set.
50
43
  */
51
44
  initialValue: {
@@ -81,11 +74,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
81
74
  default: undefined;
82
75
  };
83
76
  /**
84
- * The current value of the element. This property serves as a mechanism
85
- * to set the `value` property through both property assignment and the
86
- * .setAttribute() method. This is useful for setting the field's value
87
- * in UI libraries that bind data through the .setAttribute() API
88
- * and don't support IDL attribute binding.
77
+ * The current value of the element.
89
78
  */
90
79
  value: {
91
80
  type: PropType<string>;
@@ -94,24 +83,26 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
94
83
  }, {
95
84
  componentName: import("vue").Ref<string>;
96
85
  element: import("vue").Ref<VwcSwitchElement | null>;
97
- }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "input" | "keydown" | "keyup" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
86
+ }, import("vue").Data, {}, {
98
87
  /**
99
- * The current checkedness of the element. This property serves as a mechanism
100
- * to set the `checked` property through both property assignment and the
101
- * .setAttribute() method. This is useful for setting the field's checkedness
102
- * in UI libraries that bind data through the .setAttribute() API
103
- * and don't support IDL attribute binding.
88
+ * Return the current validity of the element.
89
+ */
90
+ checkValidity(): boolean;
91
+ /**
92
+ * Return the current validity of the element.
93
+ * If false, fires an invalid event at the element.
94
+ */
95
+ reportValidity(): boolean;
96
+ }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "input" | "keydown" | "keyup" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
97
+ /**
98
+ * The current checkedness of the element.
104
99
  */
105
100
  checked: {
106
101
  type: PropType<boolean>;
107
102
  default: undefined;
108
103
  };
109
104
  /**
110
- * The current checkedness of the element. This property serves as a mechanism
111
- * to set the `checked` property through both property assignment and the
112
- * .setAttribute() method. This is useful for setting the field's checkedness
113
- * in UI libraries that bind data through the .setAttribute() API
114
- * and don't support IDL attribute binding.
105
+ * The current checkedness of the element.
115
106
  */
116
107
  modelValue: {
117
108
  type: PropType<boolean>;
@@ -125,7 +116,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
125
116
  default: undefined;
126
117
  };
127
118
  /**
128
- * Provides the default checkedness of the input element
119
+ * The default checkedness of the element. This value sets the `checked` property
120
+ * only when the `checked` property has not been explicitly set.
129
121
  */
130
122
  defaultChecked: {
131
123
  type: PropType<boolean>;
@@ -139,7 +131,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
139
131
  default: undefined;
140
132
  };
141
133
  /**
142
- * The initial value of the form. This value sets the `value` property
134
+ * The default value of the element. This value sets the `value` property
143
135
  * only when the `value` property has not been explicitly set.
144
136
  */
145
137
  initialValue: {
@@ -175,11 +167,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
175
167
  default: undefined;
176
168
  };
177
169
  /**
178
- * The current value of the element. This property serves as a mechanism
179
- * to set the `value` property through both property assignment and the
180
- * .setAttribute() method. This is useful for setting the field's value
181
- * in UI libraries that bind data through the .setAttribute() API
182
- * and don't support IDL attribute binding.
170
+ * The current value of the element.
183
171
  */
184
172
  value: {
185
173
  type: PropType<string>;
@@ -3,22 +3,14 @@ import type { VwcSwitchElement } from '@vonage/vivid';
3
3
  import type { SlotsType } from 'vue';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /**
6
- * The current checkedness of the element. This property serves as a mechanism
7
- * to set the `checked` property through both property assignment and the
8
- * .setAttribute() method. This is useful for setting the field's checkedness
9
- * in UI libraries that bind data through the .setAttribute() API
10
- * and don't support IDL attribute binding.
6
+ * The current checkedness of the element.
11
7
  */
12
8
  checked: {
13
9
  type: PropType<boolean>;
14
10
  default: undefined;
15
11
  };
16
12
  /**
17
- * The current checkedness of the element. This property serves as a mechanism
18
- * to set the `checked` property through both property assignment and the
19
- * .setAttribute() method. This is useful for setting the field's checkedness
20
- * in UI libraries that bind data through the .setAttribute() API
21
- * and don't support IDL attribute binding.
13
+ * The current checkedness of the element.
22
14
  */
23
15
  modelValue: {
24
16
  type: PropType<boolean>;
@@ -32,7 +24,8 @@ declare const _default: import("vue").DefineComponent<{
32
24
  default: undefined;
33
25
  };
34
26
  /**
35
- * Provides the default checkedness of the input element
27
+ * The default checkedness of the element. This value sets the `checked` property
28
+ * only when the `checked` property has not been explicitly set.
36
29
  */
37
30
  defaultChecked: {
38
31
  type: PropType<boolean>;
@@ -46,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
46
39
  default: undefined;
47
40
  };
48
41
  /**
49
- * The initial value of the form. This value sets the `value` property
42
+ * The default value of the element. This value sets the `value` property
50
43
  * only when the `value` property has not been explicitly set.
51
44
  */
52
45
  initialValue: {
@@ -82,11 +75,7 @@ declare const _default: import("vue").DefineComponent<{
82
75
  default: undefined;
83
76
  };
84
77
  /**
85
- * The current value of the element. This property serves as a mechanism
86
- * to set the `value` property through both property assignment and the
87
- * .setAttribute() method. This is useful for setting the field's value
88
- * in UI libraries that bind data through the .setAttribute() API
89
- * and don't support IDL attribute binding.
78
+ * The current value of the element.
90
79
  */
91
80
  value: {
92
81
  type: PropType<string>;
@@ -95,7 +84,17 @@ declare const _default: import("vue").DefineComponent<{
95
84
  }, {
96
85
  componentName: import("vue").Ref<string>;
97
86
  element: import("vue").Ref<VwcSwitchElement | null>;
98
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
87
+ }, unknown, {}, {
88
+ /**
89
+ * Return the current validity of the element.
90
+ */
91
+ checkValidity(): boolean;
92
+ /**
93
+ * Return the current validity of the element.
94
+ * If false, fires an invalid event at the element.
95
+ */
96
+ reportValidity(): boolean;
97
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
99
98
  /**
100
99
  * Fires when the element loses focus.
101
100
  * @type {FocusEvent}
@@ -180,22 +179,14 @@ declare const _default: import("vue").DefineComponent<{
180
179
  "update:modelValue"(event: boolean): true;
181
180
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
182
181
  /**
183
- * The current checkedness of the element. This property serves as a mechanism
184
- * to set the `checked` property through both property assignment and the
185
- * .setAttribute() method. This is useful for setting the field's checkedness
186
- * in UI libraries that bind data through the .setAttribute() API
187
- * and don't support IDL attribute binding.
182
+ * The current checkedness of the element.
188
183
  */
189
184
  checked: {
190
185
  type: PropType<boolean>;
191
186
  default: undefined;
192
187
  };
193
188
  /**
194
- * The current checkedness of the element. This property serves as a mechanism
195
- * to set the `checked` property through both property assignment and the
196
- * .setAttribute() method. This is useful for setting the field's checkedness
197
- * in UI libraries that bind data through the .setAttribute() API
198
- * and don't support IDL attribute binding.
189
+ * The current checkedness of the element.
199
190
  */
200
191
  modelValue: {
201
192
  type: PropType<boolean>;
@@ -209,7 +200,8 @@ declare const _default: import("vue").DefineComponent<{
209
200
  default: undefined;
210
201
  };
211
202
  /**
212
- * Provides the default checkedness of the input element
203
+ * The default checkedness of the element. This value sets the `checked` property
204
+ * only when the `checked` property has not been explicitly set.
213
205
  */
214
206
  defaultChecked: {
215
207
  type: PropType<boolean>;
@@ -223,7 +215,7 @@ declare const _default: import("vue").DefineComponent<{
223
215
  default: undefined;
224
216
  };
225
217
  /**
226
- * The initial value of the form. This value sets the `value` property
218
+ * The default value of the element. This value sets the `value` property
227
219
  * only when the `value` property has not been explicitly set.
228
220
  */
229
221
  initialValue: {
@@ -259,11 +251,7 @@ declare const _default: import("vue").DefineComponent<{
259
251
  default: undefined;
260
252
  };
261
253
  /**
262
- * The current value of the element. This property serves as a mechanism
263
- * to set the `value` property through both property assignment and the
264
- * .setAttribute() method. This is useful for setting the field's value
265
- * in UI libraries that bind data through the .setAttribute() API
266
- * and don't support IDL attribute binding.
254
+ * The current value of the element.
267
255
  */
268
256
  value: {
269
257
  type: PropType<string>;
@@ -63,7 +63,6 @@ export interface VTabEvents {
63
63
  };
64
64
  }
65
65
  export interface VTabProps {
66
- ariaSelected?: string;
67
66
  /**
68
67
  * The connotation the tab should have.
69
68
  */
@@ -86,7 +85,7 @@ export interface VTabProps {
86
85
  */
87
86
  label?: string;
88
87
  /**
89
- * Indicates the tab's label.
88
+ * Adds a close button
90
89
  */
91
90
  removable?: boolean;
92
91
  /**
@@ -2,10 +2,6 @@ import { PropType } from 'vue';
2
2
  import { IconId } from '../icons';
3
3
  import type { VwcTabElement } from '@vonage/vivid';
4
4
  declare const _default: import("vue/types/v3-define-component").DefineComponent<{
5
- ariaSelected: {
6
- type: PropType<string>;
7
- default: undefined;
8
- };
9
5
  /**
10
6
  * The connotation the tab should have.
11
7
  */
@@ -43,7 +39,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
43
39
  default: undefined;
44
40
  };
45
41
  /**
46
- * Indicates the tab's label.
42
+ * Adds a close button
47
43
  */
48
44
  removable: {
49
45
  type: PropType<boolean>;
@@ -67,10 +63,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
67
63
  _handleCloseClick(e: Event): unknown;
68
64
  _onKeyDown(e: KeyboardEvent): unknown;
69
65
  }, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "click" | "focus" | "input" | "keydown" | "keyup")[], string, Readonly<import("vue").ExtractPropTypes<{
70
- ariaSelected: {
71
- type: PropType<string>;
72
- default: undefined;
73
- };
74
66
  /**
75
67
  * The connotation the tab should have.
76
68
  */
@@ -108,7 +100,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
108
100
  default: undefined;
109
101
  };
110
102
  /**
111
- * Indicates the tab's label.
103
+ * Adds a close button
112
104
  */
113
105
  removable: {
114
106
  type: PropType<boolean>;
@@ -133,7 +125,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
133
125
  removable: boolean;
134
126
  disabled: boolean;
135
127
  label: string;
136
- ariaSelected: string;
137
128
  tabIndex: number;
138
129
  }>;
139
130
  export default _default;
@@ -3,10 +3,6 @@ import { IconId } from '../icons';
3
3
  import type { VwcTabElement } from '@vonage/vivid';
4
4
  import type { SlotsType } from 'vue';
5
5
  declare const _default: import("vue").DefineComponent<{
6
- ariaSelected: {
7
- type: PropType<string>;
8
- default: undefined;
9
- };
10
6
  /**
11
7
  * The connotation the tab should have.
12
8
  */
@@ -44,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
44
40
  default: undefined;
45
41
  };
46
42
  /**
47
- * Indicates the tab's label.
43
+ * Adds a close button
48
44
  */
49
45
  removable: {
50
46
  type: PropType<boolean>;
@@ -135,10 +131,6 @@ declare const _default: import("vue").DefineComponent<{
135
131
  currentTarget: VwcTabElement;
136
132
  }): true;
137
133
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
138
- ariaSelected: {
139
- type: PropType<string>;
140
- default: undefined;
141
- };
142
134
  /**
143
135
  * The connotation the tab should have.
144
136
  */
@@ -176,7 +168,7 @@ declare const _default: import("vue").DefineComponent<{
176
168
  default: undefined;
177
169
  };
178
170
  /**
179
- * Indicates the tab's label.
171
+ * Adds a close button
180
172
  */
181
173
  removable: {
182
174
  type: PropType<boolean>;
@@ -244,11 +236,10 @@ declare const _default: import("vue").DefineComponent<{
244
236
  removable: boolean;
245
237
  disabled: boolean;
246
238
  label: string;
247
- ariaSelected: string;
248
239
  tabIndex: number;
249
240
  }, SlotsType<{
250
241
  /**
251
- * Slot to add an icon to tab.
242
+ * The preferred way to add an icon to the component.
252
243
  */
253
244
  icon: Record<string, never>;
254
245
  }>>;
@@ -297,7 +297,7 @@ declare const _default: import("vue").DefineComponent<{
297
297
  selectable: boolean;
298
298
  }, SlotsType<{
299
299
  /**
300
- * Add an icon to the component.
300
+ * The preferred way to add an icon to the component.
301
301
  */
302
302
  icon: Record<string, never>;
303
303
  }>>;