@vonage/vivid-react 2.10.98 → 3.0.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 (208) hide show
  1. package/VwcAccordion/package.json +1 -1
  2. package/VwcActionGroup/package.json +1 -1
  3. package/VwcBadge/package.json +1 -1
  4. package/VwcBanner/package.json +1 -1
  5. package/VwcButton/package.json +1 -1
  6. package/VwcButtonToggleGroup/package.json +1 -1
  7. package/VwcCalendar/package.json +1 -1
  8. package/VwcCalendarEvent/package.json +1 -1
  9. package/VwcCard/package.json +1 -1
  10. package/VwcCarousel/package.json +1 -1
  11. package/VwcCarouselItem/package.json +1 -1
  12. package/VwcCheckListItem/package.json +1 -1
  13. package/VwcCheckbox/package.json +1 -1
  14. package/VwcChip/package.json +1 -1
  15. package/VwcChipSet/package.json +1 -1
  16. package/VwcCircularProgress/package.json +1 -1
  17. package/VwcDataGrid/package.json +1 -1
  18. package/VwcDataGridColumn/package.json +1 -1
  19. package/VwcDatepicker/package.json +1 -1
  20. package/VwcDropdown/package.json +1 -1
  21. package/VwcElevation/package.json +1 -1
  22. package/VwcEmptyState/package.json +1 -1
  23. package/VwcExpansionPanel/package.json +1 -1
  24. package/VwcFab/package.json +1 -1
  25. package/VwcFilePicker/package.json +1 -1
  26. package/VwcFormfield/package.json +1 -1
  27. package/VwcHelperMessage/package.json +1 -1
  28. package/VwcIcon/package.json +1 -1
  29. package/VwcIconButton/package.json +1 -1
  30. package/VwcIconButtonToggle/package.json +1 -1
  31. package/VwcKeypad/package.json +1 -1
  32. package/VwcLayout/package.json +1 -1
  33. package/VwcLinearProgress/package.json +1 -1
  34. package/VwcList/package.json +1 -1
  35. package/VwcListExpansionPanel/package.json +1 -1
  36. package/VwcListItem/package.json +1 -1
  37. package/VwcMenu/package.json +1 -1
  38. package/VwcNotchedOutline/package.json +1 -1
  39. package/VwcNote/package.json +1 -1
  40. package/VwcPagination/package.json +1 -1
  41. package/VwcPopup/package.json +1 -1
  42. package/VwcRadio/package.json +1 -1
  43. package/VwcRadioListItem/package.json +1 -1
  44. package/VwcSchemeSelect/package.json +1 -1
  45. package/VwcScrubBar/package.json +1 -1
  46. package/VwcSelect/package.json +1 -1
  47. package/VwcSlider/package.json +1 -1
  48. package/VwcSnackbar/package.json +1 -1
  49. package/VwcSurface/package.json +1 -1
  50. package/VwcSwitch/package.json +1 -1
  51. package/VwcTab/package.json +1 -1
  52. package/VwcTabBar/package.json +1 -1
  53. package/VwcTag/package.json +1 -1
  54. package/VwcText/package.json +1 -1
  55. package/VwcTextarea/package.json +1 -1
  56. package/VwcTextfield/package.json +1 -1
  57. package/VwcThemeSwitch/package.json +1 -1
  58. package/VwcTooltip/package.json +1 -1
  59. package/VwcTopAppBar/package.json +1 -1
  60. package/VwcTopAppBarFixed/package.json +1 -1
  61. package/index.js +5 -38
  62. package/package.json +2 -2
  63. package/types/index.d.ts +43 -3
  64. package/v3/VwcAccordion/index.js +9 -0
  65. package/v3/VwcAccordion/package.json +2 -2
  66. package/v3/VwcAccordionItem/index.d.ts +2 -1
  67. package/v3/VwcAccordionItem/index.js +14 -5
  68. package/v3/VwcAccordionItem/package.json +2 -2
  69. package/v3/VwcActionGroup/package.json +2 -2
  70. package/v3/VwcAlert/index.js +14 -0
  71. package/v3/VwcAlert/package.json +2 -2
  72. package/v3/VwcAppearanceUi/index.js +28 -0
  73. package/v3/VwcAppearanceUi/package.json +2 -2
  74. package/v3/VwcAudioPlayer/index.d.ts +18 -0
  75. package/v3/VwcAudioPlayer/index.js +167 -1
  76. package/v3/VwcAudioPlayer/package.json +2 -2
  77. package/v3/VwcAvatar/package.json +2 -2
  78. package/v3/VwcBadge/index.js +32 -0
  79. package/v3/VwcBadge/package.json +2 -2
  80. package/v3/VwcBanner/index.d.ts +2 -2
  81. package/v3/VwcBanner/index.js +2 -2
  82. package/v3/VwcBanner/package.json +2 -2
  83. package/v3/VwcBreadcrumb/package.json +2 -2
  84. package/v3/VwcBreadcrumbItem/package.json +2 -2
  85. package/v3/VwcButton/index.js +52 -0
  86. package/v3/VwcButton/package.json +2 -2
  87. package/v3/VwcCalendar/package.json +2 -2
  88. package/v3/VwcCalendarEvent/package.json +2 -2
  89. package/v3/VwcCard/package.json +2 -2
  90. package/v3/VwcCheckbox/index.d.ts +1 -1
  91. package/v3/VwcCheckbox/index.js +12 -2
  92. package/v3/VwcCheckbox/package.json +2 -2
  93. package/v3/VwcCombobox/index.d.ts +4 -0
  94. package/v3/VwcCombobox/index.js +47 -16
  95. package/v3/VwcCombobox/package.json +2 -2
  96. package/v3/VwcDataGrid/index.js +3 -0
  97. package/v3/VwcDataGrid/package.json +2 -2
  98. package/v3/VwcDataGridCell/index.d.ts +1 -0
  99. package/v3/VwcDataGridCell/index.js +14 -1
  100. package/v3/VwcDataGridCell/package.json +2 -2
  101. package/v3/VwcDataGridRow/index.d.ts +1 -0
  102. package/v3/VwcDataGridRow/index.js +11 -1
  103. package/v3/VwcDataGridRow/package.json +2 -2
  104. package/v3/VwcDatePicker/index.d.ts +2 -2
  105. package/v3/VwcDatePicker/index.js +27 -10
  106. package/v3/VwcDatePicker/package.json +2 -2
  107. package/v3/VwcDatePickerBase/index.js +4 -1
  108. package/v3/VwcDatePickerBase/package.json +2 -2
  109. package/v3/VwcDateRangePicker/index.d.ts +2 -1
  110. package/v3/VwcDateRangePicker/index.js +27 -4
  111. package/v3/VwcDateRangePicker/package.json +2 -2
  112. package/v3/VwcDialPad/index.d.ts +27 -0
  113. package/v3/VwcDialPad/index.js +97 -3
  114. package/v3/VwcDialPad/package.json +2 -2
  115. package/v3/VwcDialog/index.js +4 -1
  116. package/v3/VwcDialog/package.json +2 -2
  117. package/v3/VwcDivider/package.json +2 -2
  118. package/v3/VwcElevation/package.json +2 -2
  119. package/v3/VwcEmptyState/package.json +2 -2
  120. package/v3/VwcFab/index.js +24 -0
  121. package/v3/VwcFab/package.json +2 -2
  122. package/v3/VwcFilePicker/index.js +15 -0
  123. package/v3/VwcFilePicker/package.json +2 -2
  124. package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
  125. package/v3/VwcFormAssociatedNumberField/index.d.ts +17 -0
  126. package/v3/VwcFormAssociatedNumberField/index.js +41 -0
  127. package/v3/VwcFormAssociatedNumberField/package.json +11 -0
  128. package/v3/VwcFormAssociatedRangeSlider/package.json +2 -2
  129. package/v3/VwcFormAssociatedTimePicker/package.json +2 -2
  130. package/v3/VwcHeader/package.json +2 -2
  131. package/v3/VwcIcon/index.d.ts +12 -1
  132. package/v3/VwcIcon/index.js +2 -3
  133. package/v3/VwcIcon/package.json +2 -2
  134. package/v3/VwcLayout/package.json +2 -2
  135. package/v3/VwcListbox/package.json +2 -2
  136. package/v3/VwcMenu/index.d.ts +7 -2
  137. package/v3/VwcMenu/index.js +41 -35
  138. package/v3/VwcMenu/package.json +2 -2
  139. package/v3/VwcMenuItem/index.d.ts +1 -0
  140. package/v3/VwcMenuItem/index.js +17 -1
  141. package/v3/VwcMenuItem/package.json +2 -2
  142. package/v3/VwcNav/package.json +2 -2
  143. package/v3/VwcNavDisclosure/index.d.ts +4 -0
  144. package/v3/VwcNavDisclosure/index.js +90 -1
  145. package/v3/VwcNavDisclosure/package.json +2 -2
  146. package/v3/VwcNavItem/index.js +52 -0
  147. package/v3/VwcNavItem/package.json +2 -2
  148. package/v3/VwcNote/index.js +12 -0
  149. package/v3/VwcNote/package.json +2 -2
  150. package/v3/VwcNumberField/index.d.ts +25 -1
  151. package/v3/VwcNumberField/index.js +286 -23
  152. package/v3/VwcNumberField/package.json +2 -2
  153. package/v3/VwcOption/package.json +2 -2
  154. package/v3/VwcPagination/index.js +3 -0
  155. package/v3/VwcPagination/package.json +2 -2
  156. package/v3/VwcProgress/package.json +2 -2
  157. package/v3/VwcProgressRing/index.js +7 -7
  158. package/v3/VwcProgressRing/package.json +2 -2
  159. package/v3/VwcRadio/index.js +9 -0
  160. package/v3/VwcRadio/package.json +2 -2
  161. package/v3/VwcRadioGroup/index.js +9 -0
  162. package/v3/VwcRadioGroup/package.json +2 -2
  163. package/v3/VwcRangeSlider/index.d.ts +2 -1
  164. package/v3/VwcRangeSlider/index.js +24 -7
  165. package/v3/VwcRangeSlider/package.json +2 -2
  166. package/v3/VwcSelect/index.d.ts +1 -0
  167. package/v3/VwcSelect/index.js +48 -2
  168. package/v3/VwcSelect/package.json +2 -2
  169. package/v3/VwcSelectableBox/index.js +3 -0
  170. package/v3/VwcSelectableBox/package.json +2 -2
  171. package/v3/VwcSideDrawer/index.js +6 -0
  172. package/v3/VwcSideDrawer/package.json +2 -2
  173. package/v3/VwcSlider/index.d.ts +4 -1
  174. package/v3/VwcSlider/index.js +21 -3
  175. package/v3/VwcSlider/package.json +2 -2
  176. package/v3/VwcSplitButton/index.js +38 -0
  177. package/v3/VwcSplitButton/package.json +2 -2
  178. package/v3/VwcSwitch/index.d.ts +1 -1
  179. package/v3/VwcSwitch/index.js +10 -1
  180. package/v3/VwcSwitch/package.json +2 -2
  181. package/v3/VwcTab/index.d.ts +2 -2
  182. package/v3/VwcTab/index.js +10 -10
  183. package/v3/VwcTab/package.json +2 -2
  184. package/v3/VwcTabPanel/package.json +2 -2
  185. package/v3/VwcTabs/index.js +12 -3
  186. package/v3/VwcTabs/package.json +2 -2
  187. package/v3/VwcTag/index.d.ts +3 -1
  188. package/v3/VwcTag/index.js +17 -1
  189. package/v3/VwcTag/package.json +2 -2
  190. package/v3/VwcTagGroup/package.json +2 -2
  191. package/v3/VwcTextAnchor/package.json +2 -2
  192. package/v3/VwcTextArea/index.d.ts +1 -0
  193. package/v3/VwcTextArea/index.js +11 -2
  194. package/v3/VwcTextArea/package.json +2 -2
  195. package/v3/VwcTextField/index.d.ts +1 -0
  196. package/v3/VwcTextField/index.js +35 -2
  197. package/v3/VwcTextField/package.json +2 -2
  198. package/v3/VwcTimePicker/index.d.ts +1 -0
  199. package/v3/VwcTimePicker/index.js +12 -2
  200. package/v3/VwcTimePicker/package.json +2 -2
  201. package/v3/VwcToggletip/package.json +2 -2
  202. package/v3/VwcTooltip/package.json +2 -2
  203. package/v3/VwcTreeItem/index.d.ts +3 -1
  204. package/v3/VwcTreeItem/index.js +21 -1
  205. package/v3/VwcTreeItem/package.json +2 -2
  206. package/v3/VwcTreeView/package.json +2 -2
  207. package/v3/VwcVideoPlayer/index.js +9 -0
  208. package/v3/VwcVideoPlayer/package.json +2 -2
@@ -24,6 +24,14 @@ Code in this file were generated using following JSON:
24
24
  "name": "--vvd-select-accent-intermediate",
25
25
  "default": "var(--vvd-color-neutral-500)"
26
26
  },
27
+ {
28
+ "name": "--vvd-select-accent-faint",
29
+ "default": "var(--vvd-color-neutral-50)"
30
+ },
31
+ {
32
+ "name": "--vvd-select-accent-soft",
33
+ "default": "var(--vvd-color-neutral-100)"
34
+ },
27
35
  {
28
36
  "name": "--vvd-select-accent-firm",
29
37
  "default": "var(--vvd-color-canvas-text)"
@@ -105,6 +113,44 @@ Code in this file were generated using following JSON:
105
113
  "text": "void"
106
114
  }
107
115
  }
116
+ },
117
+ {
118
+ "kind": "method",
119
+ "name": "slottedOptionsChanged",
120
+ "parameters": [
121
+ {
122
+ "name": "prev",
123
+ "type": {
124
+ "text": "Element[] | undefined"
125
+ }
126
+ },
127
+ {
128
+ "name": "next",
129
+ "type": {
130
+ "text": "Element[]"
131
+ }
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "kind": "method",
137
+ "name": "formResetCallback"
138
+ }
139
+ ],
140
+ "events": [
141
+ {
142
+ "type": {
143
+ "text": "CustomEvent<undefined>"
144
+ },
145
+ "description": "Fires a custom 'input' event when the value updates",
146
+ "name": "input"
147
+ },
148
+ {
149
+ "type": {
150
+ "text": "CustomEvent<HTMLElement>"
151
+ },
152
+ "description": "Fires a custom 'change' event when the value updates",
153
+ "name": "change"
108
154
  }
109
155
  ],
110
156
  "attributes": [
@@ -152,7 +198,7 @@ Code in this file were generated using following JSON:
152
198
  "vueModels": [
153
199
  {
154
200
  "name": "modelValue",
155
- "attributeName": "current-value",
201
+ "attributeName": "value",
156
202
  "eventName": "input",
157
203
  "valueMapping": "(event.target as HTMLInputElement).value"
158
204
  }
@@ -166,7 +212,7 @@ import { registerSelect } from '@vonage/vivid'
166
212
  registerSelect('vvd3')
167
213
 
168
214
  const VwcSelect = wrapper(`vvd3-select`, {
169
- events: [{"name":"change","propName":"onChange"}],
215
+ events: [{"name":"change","propName":"onChange"},{"name":"input","propName":"onInput"}],
170
216
  attributes: [],
171
217
  properties: ['appearance', 'shape', 'fixedDropdown', 'placeholder']
172
218
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-select",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -125,6 +125,9 @@ Code in this file were generated using following JSON:
125
125
  ],
126
126
  "events": [
127
127
  {
128
+ "type": {
129
+ "text": "CustomEvent<undefined>"
130
+ },
128
131
  "description": "Fired when the checked state changes",
129
132
  "name": "change"
130
133
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-selectable-box",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -79,10 +79,16 @@ Code in this file were generated using following JSON:
79
79
  ],
80
80
  "events": [
81
81
  {
82
+ "type": {
83
+ "text": "CustomEvent<undefined>"
84
+ },
82
85
  "description": "Fired when the side drawer is closed.",
83
86
  "name": "close"
84
87
  },
85
88
  {
89
+ "type": {
90
+ "text": "CustomEvent<undefined>"
91
+ },
86
92
  "description": "Fired when the side drawer is opened.",
87
93
  "name": "open"
88
94
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-side-drawer",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,10 +1,11 @@
1
- import React, { ReactNode } from 'react';
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
4
  * @param {string | null} ariaLabel **attribute** `aria-label`
5
5
  * @param {string | null} ariaValuetext **attribute** `aria-valuetext`
6
6
  * @param {boolean} markers - Display markers on/off **attribute** `markers`
7
7
  * @param {SliderConnotation | undefined} connotation - slider connotation **attribute** `connotation`
8
+ * @param {(value: string) => string} valueTextFormatter - Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
8
9
  */
9
10
  declare const VwcSlider: {
10
11
  (props: {
@@ -13,10 +14,12 @@ declare const VwcSlider: {
13
14
  id?: string | undefined;
14
15
  style?: React.CSSProperties | undefined;
15
16
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
17
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
16
18
  ariaLabel?: string | null | undefined;
17
19
  ariaValuetext?: string | null | undefined;
18
20
  markers?: boolean | undefined;
19
21
  connotation?: any;
22
+ valueTextFormatter?: any;
20
23
  }): JSX.Element;
21
24
  displayName: string;
22
25
  };
@@ -52,6 +52,24 @@ Code in this file were generated using following JSON:
52
52
  },
53
53
  "description": "slider connotation",
54
54
  "privacy": "public"
55
+ },
56
+ {
57
+ "kind": "field",
58
+ "name": "valueTextFormatter",
59
+ "type": {
60
+ "text": "(value: string) => string"
61
+ },
62
+ "description": "Custom function that generates a string for the component's \"aria-valuetext\" attribute based on the current value.",
63
+ "privacy": "public"
64
+ }
65
+ ],
66
+ "events": [
67
+ {
68
+ "type": {
69
+ "text": "CustomEvent<undefined>"
70
+ },
71
+ "description": "Fires a custom 'change' event when the slider value changes",
72
+ "name": "change"
55
73
  }
56
74
  ],
57
75
  "attributes": [
@@ -98,7 +116,7 @@ Code in this file were generated using following JSON:
98
116
  "vueModels": [
99
117
  {
100
118
  "name": "modelValue",
101
- "attributeName": "current-value",
119
+ "attributeName": "value",
102
120
  "eventName": "change",
103
121
  "valueMapping": "(event.target as HTMLInputElement).value"
104
122
  }
@@ -112,9 +130,9 @@ import { registerSlider } from '@vonage/vivid'
112
130
  registerSlider('vvd3')
113
131
 
114
132
  const VwcSlider = wrapper(`vvd3-slider`, {
115
- events: [],
133
+ events: [{"name":"change","propName":"onChange"}],
116
134
  attributes: [],
117
- properties: ['ariaLabel', 'ariaValuetext', 'markers', 'connotation']
135
+ properties: ['ariaLabel', 'ariaValuetext', 'markers', 'connotation', 'valueTextFormatter']
118
136
  })
119
137
 
120
138
  VwcSlider.displayName = 'VwcSlider'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-slider",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -104,6 +104,38 @@ Code in this file were generated using following JSON:
104
104
  "name": "--vvd-split-button-alert-faint",
105
105
  "default": "var(--vvd-color-alert-50)"
106
106
  },
107
+ {
108
+ "name": "--vvd-split-button-announcement-primary",
109
+ "default": "var(--vvd-color-announcement-500)"
110
+ },
111
+ {
112
+ "name": "--vvd-split-button-announcement-primary-text",
113
+ "default": "var(--vvd-color-canvas)"
114
+ },
115
+ {
116
+ "name": "--vvd-split-button-announcement-primary-increment",
117
+ "default": "var(--vvd-color-announcement-600)"
118
+ },
119
+ {
120
+ "name": "--vvd-split-button-announcement-contrast",
121
+ "default": "var(--vvd-color-announcement-800)"
122
+ },
123
+ {
124
+ "name": "--vvd-split-button-announcement-fierce",
125
+ "default": "var(--vvd-color-announcement-700)"
126
+ },
127
+ {
128
+ "name": "--vvd-split-button-announcement-firm",
129
+ "default": "var(--vvd-color-announcement-600)"
130
+ },
131
+ {
132
+ "name": "--vvd-split-button-announcement-soft",
133
+ "default": "var(--vvd-color-announcement-100)"
134
+ },
135
+ {
136
+ "name": "--vvd-split-button-announcement-faint",
137
+ "default": "var(--vvd-color-announcement-50)"
138
+ },
107
139
  {
108
140
  "name": "--vvd-split-button-accent-primary",
109
141
  "default": "var(--vvd-color-canvas-text)"
@@ -285,10 +317,16 @@ Code in this file were generated using following JSON:
285
317
  ],
286
318
  "events": [
287
319
  {
320
+ "type": {
321
+ "text": "CustomEvent<undefined>"
322
+ },
288
323
  "description": "Event emitted when the action button is clicked",
289
324
  "name": "action-click"
290
325
  },
291
326
  {
327
+ "type": {
328
+ "text": "CustomEvent<undefined>"
329
+ },
292
330
  "description": "Event emitted when the indicator button is clicked",
293
331
  "name": "indicator-click"
294
332
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-split-button",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -16,8 +16,8 @@ declare const VwcSwitch: {
16
16
  id?: string | undefined;
17
17
  style?: React.CSSProperties | undefined;
18
18
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
19
- onClick?: ((event: SyntheticEvent) => void) | undefined;
20
19
  onChange?: ((event: SyntheticEvent) => void) | undefined;
20
+ onClick?: ((event: SyntheticEvent) => void) | undefined;
21
21
  label?: string | undefined;
22
22
  connotation?: any;
23
23
  checked?: boolean | undefined;
@@ -125,6 +125,15 @@ Code in this file were generated using following JSON:
125
125
  "privacy": "public"
126
126
  }
127
127
  ],
128
+ "events": [
129
+ {
130
+ "type": {
131
+ "text": "CustomEvent<undefined>"
132
+ },
133
+ "description": "Emits a custom change event when the checked state changes",
134
+ "name": "change"
135
+ }
136
+ ],
128
137
  "attributes": [
129
138
  {
130
139
  "name": "label",
@@ -153,7 +162,7 @@ Code in this file were generated using following JSON:
153
162
  "vueModels": [
154
163
  {
155
164
  "name": "modelValue",
156
- "attributeName": "current-checked",
165
+ "attributeName": "checked",
157
166
  "eventName": "change",
158
167
  "valueMapping": "(event.target as HTMLInputElement).checked"
159
168
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-switch",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -4,7 +4,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
4
4
  * @param {TabConnotation | undefined} connotation - The connotation the tab should have. **attribute** `connotation`
5
5
  * @param {TabShape | undefined} shape - The shape the tab should have. **attribute** `shape`
6
6
  * @param {string | undefined} label - Indicates the tab's label. **attribute** `label`
7
- * @param {any} tabIndex **attribute** `tabIndex`
7
+ * @param {number} tabIndex **attribute** `tabIndex`
8
8
  * @param {string | null} ariaSelected **attribute** `aria-selected`
9
9
  */
10
10
  declare const VwcTab: {
@@ -18,7 +18,7 @@ declare const VwcTab: {
18
18
  connotation?: any;
19
19
  shape?: any;
20
20
  label?: string | undefined;
21
- tabIndex?: any;
21
+ tabIndex?: number | undefined;
22
22
  ariaSelected?: string | null | undefined;
23
23
  }): JSX.Element;
24
24
  displayName: string;
@@ -8,10 +8,6 @@ Code in this file were generated using following JSON:
8
8
  "description": "",
9
9
  "name": "Tab",
10
10
  "cssProperties": [
11
- {
12
- "name": "--vvd-tab-cta-primary",
13
- "default": "var(--vvd-color-cta-500)"
14
- },
15
11
  {
16
12
  "name": "--vvd-tab-cta-primary-text",
17
13
  "default": "var(--vvd-color-canvas)"
@@ -33,8 +29,8 @@ Code in this file were generated using following JSON:
33
29
  "default": "var(--vvd-color-cta-300)"
34
30
  },
35
31
  {
36
- "name": "--vvd-tab-accent-primary",
37
- "default": "var(--vvd-color-canvas-text)"
32
+ "name": "--vvd-tab-cta-soft",
33
+ "default": "var(--vvd-color-cta-100)"
38
34
  },
39
35
  {
40
36
  "name": "--vvd-tab-accent-primary-text",
@@ -55,6 +51,10 @@ Code in this file were generated using following JSON:
55
51
  {
56
52
  "name": "--vvd-tab-accent-pale",
57
53
  "default": "var(--vvd-color-neutral-300)"
54
+ },
55
+ {
56
+ "name": "--vvd-tab-accent-soft",
57
+ "default": "var(--vvd-color-neutral-100)"
58
58
  }
59
59
  ],
60
60
  "slots": [
@@ -95,9 +95,9 @@ Code in this file were generated using following JSON:
95
95
  "kind": "field",
96
96
  "name": "tabIndex",
97
97
  "type": {
98
- "text": "any"
98
+ "text": "number"
99
99
  },
100
- "default": "'-1'"
100
+ "default": "'-1' as unknown"
101
101
  },
102
102
  {
103
103
  "kind": "field",
@@ -135,9 +135,9 @@ Code in this file were generated using following JSON:
135
135
  },
136
136
  {
137
137
  "type": {
138
- "text": "any"
138
+ "text": "number"
139
139
  },
140
- "default": "'-1'",
140
+ "default": "'-1' as unknown",
141
141
  "fieldName": "tabIndex"
142
142
  },
143
143
  {
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tab",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tab-panel",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -9,11 +9,11 @@ Code in this file were generated using following JSON:
9
9
  "name": "Tabs",
10
10
  "cssProperties": [
11
11
  {
12
- "name": "--vvd-tabs-cta-primary",
13
- "default": "var(--vvd-color-cta-500)"
12
+ "name": "--vvd-tabs-cta-firm",
13
+ "default": "var(--vvd-color-cta-600)"
14
14
  },
15
15
  {
16
- "name": "--vvd-tabs-accent-primary",
16
+ "name": "--vvd-tabs-accent-firm",
17
17
  "default": "var(--vvd-color-canvas-text)"
18
18
  }
19
19
  ],
@@ -144,6 +144,15 @@ Code in this file were generated using following JSON:
144
144
  "name": "#patchActiveID"
145
145
  }
146
146
  ],
147
+ "events": [
148
+ {
149
+ "type": {
150
+ "text": "CustomEvent<HTMLElement>"
151
+ },
152
+ "description": "Fires a custom 'change' event when a tab is clicked or during keyboard navigation",
153
+ "name": "change"
154
+ }
155
+ ],
147
156
  "attributes": [
148
157
  {
149
158
  "name": "connotation",
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tabs",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcTag
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/tag
4
4
  * @param {TagConnotation | undefined} connotation - The connotation the tag should have. **attribute** `connotation`
@@ -17,6 +17,8 @@ declare const VwcTag: {
17
17
  id?: string | undefined;
18
18
  style?: React.CSSProperties | undefined;
19
19
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
20
+ onSelectedChange?: ((event: SyntheticEvent) => void) | undefined;
21
+ onRemoved?: ((event: SyntheticEvent) => void) | undefined;
20
22
  connotation?: any;
21
23
  shape?: any;
22
24
  appearance?: any;
@@ -184,6 +184,22 @@ Code in this file were generated using following JSON:
184
184
  }
185
185
  }
186
186
  ],
187
+ "events": [
188
+ {
189
+ "type": {
190
+ "text": "CustomEvent<undefined>"
191
+ },
192
+ "description": "Fires when the selected state changes",
193
+ "name": "selected-change"
194
+ },
195
+ {
196
+ "type": {
197
+ "text": "CustomEvent<undefined>"
198
+ },
199
+ "description": "Fires when the tag is removed",
200
+ "name": "removed"
201
+ }
202
+ ],
187
203
  "attributes": [
188
204
  {
189
205
  "name": "connotation",
@@ -266,7 +282,7 @@ import { registerTag } from '@vonage/vivid'
266
282
  registerTag('vvd3')
267
283
 
268
284
  const VwcTag = wrapper(`vvd3-tag`, {
269
- events: [],
285
+ events: [{"name":"removed","propName":"onRemoved"},{"name":"selected-change","propName":"onSelectedChange"}],
270
286
  attributes: [],
271
287
  properties: ['connotation', 'shape', 'appearance', 'label', 'removable', 'disabled', 'selectable', 'selected']
272
288
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tag",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tag-group",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-text-anchor",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }
@@ -10,6 +10,7 @@ declare const VwcTextArea: {
10
10
  id?: string | undefined;
11
11
  style?: React.CSSProperties | undefined;
12
12
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
13
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
13
14
  onInput?: ((event: SyntheticEvent) => void) | undefined;
14
15
  wrap?: any;
15
16
  }): JSX.Element;
@@ -130,6 +130,15 @@ Code in this file were generated using following JSON:
130
130
  }
131
131
  }
132
132
  ],
133
+ "events": [
134
+ {
135
+ "type": {
136
+ "text": "CustomEvent<undefined>"
137
+ },
138
+ "description": "Emits a custom 'change' event when the textarea emits a change event",
139
+ "name": "change"
140
+ }
141
+ ],
133
142
  "attributes": [
134
143
  {
135
144
  "name": "wrap",
@@ -150,7 +159,7 @@ Code in this file were generated using following JSON:
150
159
  "vueModels": [
151
160
  {
152
161
  "name": "modelValue",
153
- "attributeName": "current-value",
162
+ "attributeName": "value",
154
163
  "eventName": "input",
155
164
  "valueMapping": "(event.target as HTMLInputElement).value"
156
165
  }
@@ -164,7 +173,7 @@ import { registerTextArea } from '@vonage/vivid'
164
173
  registerTextArea('vvd3')
165
174
 
166
175
  const VwcTextArea = wrapper(`vvd3-text-area`, {
167
- events: [{"name":"input","propName":"onInput"}],
176
+ events: [{"name":"input","propName":"onInput"},{"name":"change","propName":"onChange"}],
168
177
  attributes: [],
169
178
  properties: ['wrap']
170
179
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-text-area",
3
- "version": "3.53.0",
3
+ "version": "4.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "private": true,
7
7
  "license": "MIT",
8
8
  "dependencies": {
9
- "@vonage/vivid": "3.53.0"
9
+ "@vonage/vivid": "4.1.0"
10
10
  }
11
11
  }