@vonage/vivid-react 3.5.1 → 4.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 (234) 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 +4 -4
  62. package/package.json +2 -2
  63. package/types/index.d.ts +58 -9
  64. package/v3/VwcAccordion/package.json +2 -2
  65. package/v3/VwcAccordionItem/index.d.ts +2 -0
  66. package/v3/VwcAccordionItem/index.js +85 -1
  67. package/v3/VwcAccordionItem/package.json +2 -2
  68. package/v3/VwcActionGroup/package.json +2 -2
  69. package/v3/VwcAlert/index.js +28 -0
  70. package/v3/VwcAlert/package.json +2 -2
  71. package/v3/VwcAudioPlayer/index.d.ts +2 -0
  72. package/v3/VwcAudioPlayer/index.js +106 -13
  73. package/v3/VwcAudioPlayer/package.json +2 -2
  74. package/v3/VwcAvatar/package.json +2 -2
  75. package/v3/VwcBadge/package.json +2 -2
  76. package/v3/VwcBanner/index.js +29 -0
  77. package/v3/VwcBanner/package.json +2 -2
  78. package/v3/VwcBaseProgress/package.json +2 -2
  79. package/v3/VwcBreadcrumb/package.json +2 -2
  80. package/v3/VwcBreadcrumbItem/package.json +2 -2
  81. package/v3/VwcButton/index.js +42 -0
  82. package/v3/VwcButton/package.json +2 -2
  83. package/v3/VwcCalendar/package.json +2 -2
  84. package/v3/VwcCalendarEvent/package.json +2 -2
  85. package/v3/VwcCard/index.js +13 -0
  86. package/v3/VwcCard/package.json +2 -2
  87. package/v3/VwcCheckbox/index.js +51 -4
  88. package/v3/VwcCheckbox/package.json +2 -2
  89. package/v3/VwcColorPicker/index.d.ts +61 -0
  90. package/v3/VwcColorPicker/index.js +651 -0
  91. package/v3/VwcColorPicker/package.json +11 -0
  92. package/v3/VwcCombobox/index.js +138 -0
  93. package/v3/VwcCombobox/package.json +2 -2
  94. package/v3/VwcContextualHelp/index.d.ts +22 -0
  95. package/v3/VwcContextualHelp/index.js +130 -0
  96. package/v3/VwcContextualHelp/package.json +11 -0
  97. package/v3/VwcDataGrid/index.d.ts +2 -0
  98. package/v3/VwcDataGrid/index.js +26 -10
  99. package/v3/VwcDataGrid/package.json +2 -2
  100. package/v3/VwcDataGridCell/index.d.ts +5 -3
  101. package/v3/VwcDataGridCell/index.js +17 -25
  102. package/v3/VwcDataGridCell/package.json +2 -2
  103. package/v3/VwcDataGridRow/index.d.ts +3 -1
  104. package/v3/VwcDataGridRow/index.js +21 -21
  105. package/v3/VwcDataGridRow/package.json +2 -2
  106. package/v3/VwcDatePicker/index.js +14 -1
  107. package/v3/VwcDatePicker/package.json +2 -2
  108. package/v3/VwcDateRangePicker/index.js +21 -1
  109. package/v3/VwcDateRangePicker/package.json +2 -2
  110. package/v3/VwcDateTimePicker/index.js +15 -2
  111. package/v3/VwcDateTimePicker/package.json +2 -2
  112. package/v3/VwcDelegateAriaBehavior/index.js +5 -58
  113. package/v3/VwcDelegateAriaBehavior/package.json +2 -2
  114. package/v3/VwcDialPad/index.d.ts +6 -0
  115. package/v3/VwcDialPad/index.js +27 -3
  116. package/v3/VwcDialPad/package.json +2 -2
  117. package/v3/VwcDialog/index.js +50 -0
  118. package/v3/VwcDialog/package.json +2 -2
  119. package/v3/VwcDivider/index.d.ts +4 -2
  120. package/v3/VwcDivider/index.js +34 -15
  121. package/v3/VwcDivider/package.json +2 -2
  122. package/v3/VwcElevation/package.json +2 -2
  123. package/v3/VwcEmptyState/index.js +28 -0
  124. package/v3/VwcEmptyState/package.json +2 -2
  125. package/v3/VwcFab/index.js +42 -0
  126. package/v3/VwcFab/package.json +2 -2
  127. package/v3/VwcFeedbackMessage/index.d.ts +0 -2
  128. package/v3/VwcFeedbackMessage/index.js +1 -13
  129. package/v3/VwcFeedbackMessage/package.json +2 -2
  130. package/v3/VwcFilePicker/index.d.ts +5 -7
  131. package/v3/VwcFilePicker/index.js +55 -290
  132. package/v3/VwcFilePicker/package.json +2 -2
  133. package/v3/VwcHeader/package.json +2 -2
  134. package/v3/VwcHostSemanticsBehavior/index.js +11 -27
  135. package/v3/VwcHostSemanticsBehavior/package.json +2 -2
  136. package/v3/VwcIcon/index.js +22 -0
  137. package/v3/VwcIcon/package.json +2 -2
  138. package/v3/VwcImagePlaceholder/index.d.ts +28 -0
  139. package/v3/VwcImagePlaceholder/index.js +116 -0
  140. package/v3/VwcImagePlaceholder/package.json +11 -0
  141. package/v3/VwcInlineTimePicker/index.d.ts +0 -2
  142. package/v3/VwcInlineTimePicker/index.js +1 -13
  143. package/v3/VwcInlineTimePicker/package.json +2 -2
  144. package/v3/VwcLayout/package.json +2 -2
  145. package/v3/VwcListbox/index.js +74 -0
  146. package/v3/VwcListbox/package.json +2 -2
  147. package/v3/VwcMenu/index.d.ts +2 -0
  148. package/v3/VwcMenu/index.js +48 -1
  149. package/v3/VwcMenu/package.json +2 -2
  150. package/v3/VwcMenuItem/index.d.ts +1 -1
  151. package/v3/VwcMenuItem/index.js +50 -8
  152. package/v3/VwcMenuItem/package.json +2 -2
  153. package/v3/{VwcMenuBar → VwcMenubar}/index.d.ts +4 -4
  154. package/v3/{VwcMenuBar → VwcMenubar}/index.js +4 -6
  155. package/v3/{VwcMenuBar → VwcMenubar}/package.json +3 -3
  156. package/v3/VwcNav/package.json +2 -2
  157. package/v3/VwcNavDisclosure/index.js +65 -0
  158. package/v3/VwcNavDisclosure/package.json +2 -2
  159. package/v3/VwcNavItem/index.js +44 -0
  160. package/v3/VwcNavItem/package.json +2 -2
  161. package/v3/VwcNote/package.json +2 -2
  162. package/v3/VwcNumberField/index.js +68 -0
  163. package/v3/VwcNumberField/package.json +2 -2
  164. package/v3/VwcOption/index.d.ts +9 -9
  165. package/v3/VwcOption/index.js +62 -44
  166. package/v3/VwcOption/package.json +2 -2
  167. package/v3/VwcOptionTag/package.json +2 -2
  168. package/v3/VwcPagination/index.js +66 -1
  169. package/v3/VwcPagination/package.json +2 -2
  170. package/v3/VwcPickerField/index.d.ts +0 -2
  171. package/v3/VwcPickerField/index.js +41 -14
  172. package/v3/VwcPickerField/package.json +2 -2
  173. package/v3/VwcPopup/package.json +2 -2
  174. package/v3/VwcProgress/package.json +2 -2
  175. package/v3/VwcProgressRing/package.json +2 -2
  176. package/v3/VwcProseMirrorFacade/index.js +14 -1
  177. package/v3/VwcProseMirrorFacade/package.json +2 -2
  178. package/v3/VwcRadio/index.d.ts +0 -2
  179. package/v3/VwcRadio/index.js +38 -17
  180. package/v3/VwcRadio/package.json +2 -2
  181. package/v3/VwcRadioGroup/package.json +2 -2
  182. package/v3/VwcRangeSlider/index.js +75 -0
  183. package/v3/VwcRangeSlider/package.json +2 -2
  184. package/v3/VwcRichTextEditor/package.json +2 -2
  185. package/v3/VwcSearchableSelect/index.d.ts +6 -0
  186. package/v3/VwcSearchableSelect/index.js +90 -1
  187. package/v3/VwcSearchableSelect/package.json +2 -2
  188. package/v3/VwcSelect/index.js +106 -2
  189. package/v3/VwcSelect/package.json +2 -2
  190. package/v3/VwcSelectableBox/index.d.ts +2 -2
  191. package/v3/VwcSelectableBox/index.js +65 -19
  192. package/v3/VwcSelectableBox/package.json +2 -2
  193. package/v3/VwcSideDrawer/package.json +2 -2
  194. package/v3/VwcSimpleColorPicker/index.d.ts +48 -0
  195. package/v3/VwcSimpleColorPicker/index.js +500 -0
  196. package/v3/VwcSimpleColorPicker/package.json +11 -0
  197. package/v3/VwcSlider/index.js +52 -0
  198. package/v3/VwcSlider/package.json +2 -2
  199. package/v3/VwcSplitButton/index.js +89 -0
  200. package/v3/VwcSplitButton/package.json +2 -2
  201. package/v3/VwcSwitch/index.js +51 -0
  202. package/v3/VwcSwitch/package.json +2 -2
  203. package/v3/VwcTab/index.js +44 -0
  204. package/v3/VwcTab/package.json +2 -2
  205. package/v3/VwcTabPanel/package.json +2 -2
  206. package/v3/VwcTabs/index.js +4 -0
  207. package/v3/VwcTabs/package.json +2 -2
  208. package/v3/VwcTag/index.js +114 -4
  209. package/v3/VwcTag/package.json +2 -2
  210. package/v3/VwcTagGroup/package.json +2 -2
  211. package/v3/VwcTextArea/index.js +33 -0
  212. package/v3/VwcTextArea/package.json +2 -2
  213. package/v3/VwcTextField/index.js +40 -0
  214. package/v3/VwcTextField/package.json +2 -2
  215. package/v3/VwcTimePicker/index.js +15 -2
  216. package/v3/VwcTimePicker/package.json +2 -2
  217. package/v3/VwcToggletip/index.js +35 -3
  218. package/v3/VwcToggletip/package.json +2 -2
  219. package/v3/VwcTooltip/index.js +32 -0
  220. package/v3/VwcTooltip/package.json +2 -2
  221. package/v3/VwcTreeItem/package.json +2 -2
  222. package/v3/VwcTreeView/package.json +2 -2
  223. package/v3/VwcVideoPlayer/package.json +2 -2
  224. package/v3/VwcVisuallyHidden/package.json +2 -2
  225. package/v3/VwcVividElement/index.d.ts +0 -2
  226. package/v3/VwcVividElement/index.js +36 -13
  227. package/v3/VwcVividElement/package.json +2 -2
  228. package/v3/VwcVividFoundationButton/package.json +2 -2
  229. package/v3/VwcVvdHexInput/index.d.ts +16 -0
  230. package/v3/VwcVvdHexInput/index.js +43 -0
  231. package/v3/VwcVvdHexInput/package.json +11 -0
  232. package/v3/VwcVvdHexPicker/index.d.ts +16 -0
  233. package/v3/VwcVvdHexPicker/index.js +43 -0
  234. package/v3/VwcVvdHexPicker/package.json +11 -0
@@ -0,0 +1,651 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "kind": "class",
8
+ "description": "",
9
+ "name": "ColorPicker",
10
+ "slots": [
11
+ {
12
+ "description": "Describes how to use the text-field. Alternative to the `helper-text` attribute.",
13
+ "name": "helper-text"
14
+ },
15
+ {
16
+ "description": "Overrides the default \"Color Picker\" title of the Popup window.",
17
+ "name": "popup-text"
18
+ },
19
+ {
20
+ "description": " Overrides the default \"Saved colors:\" text above color swatches.",
21
+ "name": "swatches-text"
22
+ }
23
+ ],
24
+ "members": [
25
+ {
26
+ "kind": "field",
27
+ "name": "placeholder",
28
+ "type": {
29
+ "text": "string"
30
+ },
31
+ "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
32
+ "privacy": "public"
33
+ },
34
+ {
35
+ "kind": "field",
36
+ "name": "savedColorsKey",
37
+ "type": {
38
+ "text": "string | undefined"
39
+ },
40
+ "description": "Sets the localStorage saved colors key explicitly.",
41
+ "privacy": "public"
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "disableSavedColors",
46
+ "type": {
47
+ "text": "boolean"
48
+ },
49
+ "default": "false",
50
+ "description": "Disables the saving colors functionality",
51
+ "privacy": "public"
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "maxSwatches",
56
+ "type": {
57
+ "text": "number"
58
+ },
59
+ "default": "6",
60
+ "description": "Limits number of swatches that can be saved.",
61
+ "privacy": "public"
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "#iconResetTimer",
66
+ "privacy": "private",
67
+ "type": {
68
+ "text": "ReturnType<typeof setTimeout> | null"
69
+ },
70
+ "default": "null"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "helperText",
75
+ "type": {
76
+ "text": "string | undefined"
77
+ },
78
+ "description": "Provides additional information to help the user enter the correct information.\nTo add HTML to the helper text, use the helper-text slot instead.",
79
+ "privacy": "public",
80
+ "inheritedFrom": {
81
+ "name": "WithFeedback",
82
+ "module": "src/shared/feedback/mixins.ts"
83
+ }
84
+ },
85
+ {
86
+ "kind": "field",
87
+ "name": "errorText",
88
+ "type": {
89
+ "text": "string | undefined"
90
+ },
91
+ "description": "Provides a custom error message. Any current error state will be overridden.",
92
+ "privacy": "public",
93
+ "inheritedFrom": {
94
+ "name": "WithErrorText",
95
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
96
+ }
97
+ },
98
+ {
99
+ "kind": "field",
100
+ "name": "#blockValidateCalls",
101
+ "privacy": "private",
102
+ "type": {
103
+ "text": "boolean"
104
+ },
105
+ "default": "false",
106
+ "inheritedFrom": {
107
+ "name": "WithErrorText",
108
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
109
+ }
110
+ },
111
+ {
112
+ "kind": "field",
113
+ "name": "#originalValidateFn",
114
+ "privacy": "private",
115
+ "type": {
116
+ "text": "() => void"
117
+ },
118
+ "inheritedFrom": {
119
+ "name": "WithErrorText",
120
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
121
+ }
122
+ },
123
+ {
124
+ "kind": "method",
125
+ "name": "#forceCustomError",
126
+ "parameters": [
127
+ {
128
+ "name": "errorMessage",
129
+ "type": {
130
+ "text": "string"
131
+ }
132
+ }
133
+ ],
134
+ "inheritedFrom": {
135
+ "name": "WithErrorText",
136
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
137
+ }
138
+ },
139
+ {
140
+ "kind": "method",
141
+ "name": "#clearCustomErrorAndRevalidate",
142
+ "inheritedFrom": {
143
+ "name": "WithErrorText",
144
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
145
+ }
146
+ },
147
+ {
148
+ "kind": "field",
149
+ "name": "validate",
150
+ "inheritedFrom": {
151
+ "name": "WithErrorText",
152
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
153
+ }
154
+ },
155
+ {
156
+ "kind": "field",
157
+ "name": "successText",
158
+ "type": {
159
+ "text": "string | undefined"
160
+ },
161
+ "description": "Provides a custom success message. Any current error state will be overridden.",
162
+ "privacy": "public",
163
+ "inheritedFrom": {
164
+ "name": "WithSuccessText",
165
+ "module": "src/shared/patterns/form-elements/with-success-text.ts"
166
+ }
167
+ },
168
+ {
169
+ "kind": "field",
170
+ "name": "_vividAriaBehaviour",
171
+ "default": "'delegate'",
172
+ "type": {
173
+ "text": "'delegate'"
174
+ },
175
+ "inheritedFrom": {
176
+ "name": "DelegatesAria",
177
+ "module": "src/shared/aria/delegates-aria.ts"
178
+ }
179
+ },
180
+ {
181
+ "kind": "field",
182
+ "name": "open",
183
+ "type": {
184
+ "text": "boolean"
185
+ },
186
+ "default": "false",
187
+ "description": "Indicates whether the popup is open",
188
+ "privacy": "public",
189
+ "inheritedFrom": {
190
+ "name": "BaseColorPicker",
191
+ "module": "src/shared/color-picker/base-color-picker.ts"
192
+ }
193
+ },
194
+ {
195
+ "kind": "field",
196
+ "name": "swatches",
197
+ "type": {
198
+ "text": "ColorSwatch[]"
199
+ },
200
+ "default": "[]",
201
+ "description": "List of color swatches, has to be an array of objects\n\n### Examples",
202
+ "privacy": "public",
203
+ "inheritedFrom": {
204
+ "name": "BaseColorPicker",
205
+ "module": "src/shared/color-picker/base-color-picker.ts"
206
+ }
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "label",
211
+ "type": {
212
+ "text": "string | undefined"
213
+ },
214
+ "description": "The label for the form element.",
215
+ "inheritedFrom": {
216
+ "name": "FormElement",
217
+ "module": "src/shared/patterns/form-elements/form-element.ts"
218
+ }
219
+ },
220
+ {
221
+ "kind": "field",
222
+ "name": "#handleInvalidEvent",
223
+ "privacy": "private",
224
+ "inheritedFrom": {
225
+ "name": "FormElement",
226
+ "module": "src/shared/patterns/form-elements/form-element.ts"
227
+ }
228
+ },
229
+ {
230
+ "kind": "field",
231
+ "name": "validity",
232
+ "type": {
233
+ "text": "ValidityState"
234
+ },
235
+ "description": "Returns the validity state of the element",
236
+ "readonly": true,
237
+ "inheritedFrom": {
238
+ "name": "FormAssociated",
239
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
240
+ }
241
+ },
242
+ {
243
+ "kind": "field",
244
+ "name": "form",
245
+ "type": {
246
+ "text": "HTMLFormElement | null"
247
+ },
248
+ "description": "Retrieve a reference to the associated form.\nReturns null if not associated to any form.",
249
+ "readonly": true,
250
+ "inheritedFrom": {
251
+ "name": "FormAssociated",
252
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
253
+ }
254
+ },
255
+ {
256
+ "kind": "field",
257
+ "name": "validationMessage",
258
+ "type": {
259
+ "text": "string"
260
+ },
261
+ "description": "Retrieve the localized validation message,\nor custom validation message if set.",
262
+ "readonly": true,
263
+ "inheritedFrom": {
264
+ "name": "FormAssociated",
265
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
266
+ }
267
+ },
268
+ {
269
+ "kind": "field",
270
+ "name": "willValidate",
271
+ "type": {
272
+ "text": "boolean"
273
+ },
274
+ "description": "Whether the element will be validated when the\nform is submitted",
275
+ "readonly": true,
276
+ "inheritedFrom": {
277
+ "name": "FormAssociated",
278
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
279
+ }
280
+ },
281
+ {
282
+ "kind": "field",
283
+ "name": "labels",
284
+ "type": {
285
+ "text": "ReadonlyArray<Node>"
286
+ },
287
+ "description": "A reference to all associated label elements",
288
+ "readonly": true,
289
+ "inheritedFrom": {
290
+ "name": "FormAssociated",
291
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
292
+ }
293
+ },
294
+ {
295
+ "kind": "field",
296
+ "name": "value",
297
+ "type": {
298
+ "text": "string"
299
+ },
300
+ "description": "The current value of the element.",
301
+ "inheritedFrom": {
302
+ "name": "FormAssociated",
303
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
304
+ }
305
+ },
306
+ {
307
+ "kind": "field",
308
+ "name": "currentValue",
309
+ "inheritedFrom": {
310
+ "name": "FormAssociated",
311
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
312
+ }
313
+ },
314
+ {
315
+ "kind": "field",
316
+ "name": "initialValue",
317
+ "type": {
318
+ "text": "string"
319
+ },
320
+ "description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
321
+ "inheritedFrom": {
322
+ "name": "FormAssociated",
323
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
324
+ }
325
+ },
326
+ {
327
+ "kind": "field",
328
+ "name": "disabled",
329
+ "type": {
330
+ "text": "boolean"
331
+ },
332
+ "default": "false",
333
+ "description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
334
+ "inheritedFrom": {
335
+ "name": "FormAssociated",
336
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
337
+ }
338
+ },
339
+ {
340
+ "kind": "field",
341
+ "name": "name",
342
+ "type": {
343
+ "text": "string"
344
+ },
345
+ "description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
346
+ "inheritedFrom": {
347
+ "name": "FormAssociated",
348
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
349
+ }
350
+ },
351
+ {
352
+ "kind": "field",
353
+ "name": "required",
354
+ "type": {
355
+ "text": "boolean"
356
+ },
357
+ "description": "Require the field to be completed prior to form submission.",
358
+ "default": "false",
359
+ "inheritedFrom": {
360
+ "name": "FormAssociated",
361
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
362
+ }
363
+ },
364
+ {
365
+ "kind": "method",
366
+ "name": "checkValidity",
367
+ "return": {
368
+ "type": {
369
+ "text": "boolean"
370
+ }
371
+ },
372
+ "description": "Return the current validity of the element.",
373
+ "inheritedFrom": {
374
+ "name": "FormAssociated",
375
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
376
+ }
377
+ },
378
+ {
379
+ "kind": "method",
380
+ "name": "reportValidity",
381
+ "return": {
382
+ "type": {
383
+ "text": "boolean"
384
+ }
385
+ },
386
+ "description": "Return the current validity of the element.\nIf false, fires an invalid event at the element.",
387
+ "inheritedFrom": {
388
+ "name": "FormAssociated",
389
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
390
+ }
391
+ },
392
+ {
393
+ "kind": "field",
394
+ "name": "VIVID_VERSION",
395
+ "static": true,
396
+ "default": "__PACKAGE_VERSION__",
397
+ "description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
398
+ "type": {
399
+ "text": "string"
400
+ },
401
+ "inheritedFrom": {
402
+ "name": "VividElement",
403
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
404
+ }
405
+ },
406
+ {
407
+ "kind": "field",
408
+ "name": "componentName",
409
+ "type": {
410
+ "text": "string"
411
+ },
412
+ "static": true,
413
+ "description": "Core component name, without prefix",
414
+ "inheritedFrom": {
415
+ "name": "VividElement",
416
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
417
+ }
418
+ }
419
+ ],
420
+ "events": [
421
+ {
422
+ "type": {
423
+ "text": "CustomEvent<undefined>"
424
+ },
425
+ "description": "Fires when the value changes",
426
+ "name": "change"
427
+ }
428
+ ],
429
+ "attributes": [
430
+ {
431
+ "name": "placeholder",
432
+ "type": {
433
+ "text": "string"
434
+ },
435
+ "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
436
+ "fieldName": "placeholder"
437
+ },
438
+ {
439
+ "name": "saved-colors-key",
440
+ "type": {
441
+ "text": "string | undefined"
442
+ },
443
+ "description": "Sets the localStorage saved colors key explicitly.",
444
+ "fieldName": "savedColorsKey"
445
+ },
446
+ {
447
+ "name": "disable-saved-colors",
448
+ "type": {
449
+ "text": "boolean"
450
+ },
451
+ "default": "false",
452
+ "description": "Disables the saving colors functionality",
453
+ "fieldName": "disableSavedColors"
454
+ },
455
+ {
456
+ "name": "max-swatches",
457
+ "type": {
458
+ "text": "number"
459
+ },
460
+ "default": "6",
461
+ "description": "Limits number of swatches that can be saved.",
462
+ "fieldName": "maxSwatches"
463
+ },
464
+ {
465
+ "name": "helper-text",
466
+ "type": {
467
+ "text": "string | undefined"
468
+ },
469
+ "description": "Provides additional information to help the user enter the correct information.\nTo add HTML to the helper text, use the helper-text slot instead.",
470
+ "fieldName": "helperText",
471
+ "inheritedFrom": {
472
+ "name": "WithFeedback",
473
+ "module": "src/shared/feedback/mixins.ts"
474
+ }
475
+ },
476
+ {
477
+ "name": "error-text",
478
+ "type": {
479
+ "text": "string | undefined"
480
+ },
481
+ "description": "Provides a custom error message. Any current error state will be overridden.",
482
+ "fieldName": "errorText",
483
+ "inheritedFrom": {
484
+ "name": "WithErrorText",
485
+ "module": "src/shared/patterns/form-elements/with-error-text.ts"
486
+ }
487
+ },
488
+ {
489
+ "name": "success-text",
490
+ "type": {
491
+ "text": "string | undefined"
492
+ },
493
+ "description": "Provides a custom success message. Any current error state will be overridden.",
494
+ "fieldName": "successText",
495
+ "inheritedFrom": {
496
+ "name": "WithSuccessText",
497
+ "module": "src/shared/patterns/form-elements/with-success-text.ts"
498
+ }
499
+ },
500
+ {
501
+ "name": "open",
502
+ "type": {
503
+ "text": "boolean"
504
+ },
505
+ "default": "false",
506
+ "description": "Indicates whether the popup is open",
507
+ "fieldName": "open",
508
+ "inheritedFrom": {
509
+ "name": "BaseColorPicker",
510
+ "module": "src/shared/color-picker/base-color-picker.ts"
511
+ }
512
+ },
513
+ {
514
+ "name": "label",
515
+ "type": {
516
+ "text": "string | undefined"
517
+ },
518
+ "description": "The label for the form element.",
519
+ "fieldName": "label",
520
+ "inheritedFrom": {
521
+ "name": "FormElement",
522
+ "module": "src/shared/patterns/form-elements/form-element.ts"
523
+ }
524
+ },
525
+ {
526
+ "name": "current-value",
527
+ "type": {
528
+ "text": "string"
529
+ },
530
+ "description": "The current value of the element.",
531
+ "fieldName": "value",
532
+ "inheritedFrom": {
533
+ "name": "FormAssociated",
534
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
535
+ }
536
+ },
537
+ {
538
+ "name": "value",
539
+ "type": {
540
+ "text": "string"
541
+ },
542
+ "description": "The default value of the element. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
543
+ "fieldName": "initialValue",
544
+ "inheritedFrom": {
545
+ "name": "FormAssociated",
546
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
547
+ }
548
+ },
549
+ {
550
+ "name": "disabled",
551
+ "type": {
552
+ "text": "boolean"
553
+ },
554
+ "default": "false",
555
+ "description": "Sets the element's disabled state. A disabled element will not be included during form submission.",
556
+ "fieldName": "disabled",
557
+ "inheritedFrom": {
558
+ "name": "FormAssociated",
559
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
560
+ }
561
+ },
562
+ {
563
+ "name": "name",
564
+ "type": {
565
+ "text": "string"
566
+ },
567
+ "description": "The name of the element. This element's value will be surfaced during form submission under the provided name.",
568
+ "fieldName": "name",
569
+ "inheritedFrom": {
570
+ "name": "FormAssociated",
571
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
572
+ }
573
+ },
574
+ {
575
+ "name": "required",
576
+ "type": {
577
+ "text": "boolean"
578
+ },
579
+ "description": "Require the field to be completed prior to form submission.",
580
+ "default": "false",
581
+ "fieldName": "required",
582
+ "inheritedFrom": {
583
+ "name": "FormAssociated",
584
+ "module": "src/shared/foundation/form-associated/form-associated.ts"
585
+ }
586
+ }
587
+ ],
588
+ "mixins": [
589
+ {
590
+ "name": "WithContextualHelp",
591
+ "module": "/src/shared/patterns"
592
+ },
593
+ {
594
+ "name": "WithFeedback",
595
+ "module": "/src/shared/feedback/mixins"
596
+ },
597
+ {
598
+ "name": "WithErrorText",
599
+ "module": "/src/shared/patterns"
600
+ },
601
+ {
602
+ "name": "WithSuccessText",
603
+ "module": "/src/shared/patterns"
604
+ },
605
+ {
606
+ "name": "DelegatesAria",
607
+ "module": "/src/shared/aria/delegates-aria"
608
+ },
609
+ {
610
+ "name": "TrappedFocus",
611
+ "module": "/src/shared/patterns"
612
+ },
613
+ {
614
+ "name": "BaseColorPicker",
615
+ "module": "/src/shared/color-picker"
616
+ }
617
+ ],
618
+ "superclass": {
619
+ "name": "VividElement",
620
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
621
+ },
622
+ "vividComponent": {
623
+ "public": true,
624
+ "name": "color-picker",
625
+ "vueModels": [
626
+ {
627
+ "name": "modelValue",
628
+ "propName": "value",
629
+ "eventNames": [
630
+ "input"
631
+ ],
632
+ "valueMapping": "event.currentTarget.value"
633
+ }
634
+ ]
635
+ }
636
+ }
637
+ */
638
+ import wrapper from '@vonage/vivid-react-wrapper'
639
+ import { registerColorPicker } from '@vonage/vivid'
640
+
641
+ registerColorPicker('vvd3')
642
+
643
+ const VwcColorPicker = wrapper(`vvd3-color-picker`, {
644
+ events: [{"name":"change","propName":"onChange"}],
645
+ attributes: [],
646
+ properties: ['placeholder', 'savedColorsKey', 'disableSavedColors', 'maxSwatches', 'helperText', 'errorText', 'validate', 'successText', '_vividAriaBehaviour', 'open', 'swatches', 'label', 'value', 'currentValue', 'initialValue', 'disabled', 'name', 'required', 'VIVID_VERSION', 'componentName']
647
+ })
648
+
649
+ VwcColorPicker.displayName = 'VwcColorPicker'
650
+
651
+ export default VwcColorPicker
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-color-picker",
3
+ "version": "5.5.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.5.0"
10
+ }
11
+ }