@vonage/vivid-react 0.0.1 → 2.10.47

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 (191) hide show
  1. package/README.md +183 -0
  2. package/VwcAccordion/index.d.ts +14 -0
  3. package/VwcAccordion/index.js +59 -0
  4. package/VwcAccordion/package.json +11 -0
  5. package/VwcActionGroup/index.d.ts +18 -0
  6. package/VwcActionGroup/index.js +90 -0
  7. package/VwcActionGroup/package.json +11 -0
  8. package/VwcBadge/index.d.ts +29 -0
  9. package/VwcBadge/index.js +154 -0
  10. package/VwcBadge/package.json +11 -0
  11. package/VwcBanner/index.d.ts +26 -0
  12. package/VwcBanner/index.js +91 -0
  13. package/VwcBanner/package.json +11 -0
  14. package/VwcButton/index.d.ts +55 -0
  15. package/VwcButton/index.js +240 -0
  16. package/VwcButton/package.json +11 -0
  17. package/VwcButtonToggleGroup/index.d.ts +25 -0
  18. package/VwcButtonToggleGroup/index.js +91 -0
  19. package/VwcButtonToggleGroup/package.json +11 -0
  20. package/VwcCalendar/index.d.ts +20 -0
  21. package/VwcCalendar/index.js +70 -0
  22. package/VwcCalendar/package.json +11 -0
  23. package/VwcCalendarEvent/index.d.ts +25 -0
  24. package/VwcCalendarEvent/index.js +81 -0
  25. package/VwcCalendarEvent/package.json +11 -0
  26. package/VwcCard/index.d.ts +23 -0
  27. package/VwcCard/index.js +76 -0
  28. package/VwcCard/package.json +11 -0
  29. package/VwcCarousel/index.d.ts +14 -0
  30. package/VwcCarousel/index.js +45 -0
  31. package/VwcCarousel/package.json +11 -0
  32. package/VwcCarouselItem/index.d.ts +14 -0
  33. package/VwcCarouselItem/index.js +49 -0
  34. package/VwcCarouselItem/package.json +11 -0
  35. package/VwcCheckListItem/index.d.ts +41 -0
  36. package/VwcCheckListItem/index.js +153 -0
  37. package/VwcCheckListItem/package.json +11 -0
  38. package/VwcCheckbox/index.d.ts +34 -0
  39. package/VwcCheckbox/index.js +126 -0
  40. package/VwcCheckbox/package.json +11 -0
  41. package/VwcChip/index.d.ts +31 -0
  42. package/VwcChip/index.js +106 -0
  43. package/VwcChip/package.json +11 -0
  44. package/VwcChipSet/index.d.ts +16 -0
  45. package/VwcChipSet/index.js +60 -0
  46. package/VwcChipSet/package.json +11 -0
  47. package/VwcCircularProgress/index.d.ts +24 -0
  48. package/VwcCircularProgress/index.js +84 -0
  49. package/VwcCircularProgress/package.json +11 -0
  50. package/VwcDataGrid/index.d.ts +33 -0
  51. package/VwcDataGrid/index.js +122 -0
  52. package/VwcDataGrid/package.json +11 -0
  53. package/VwcDataGridColumn/index.d.ts +43 -0
  54. package/VwcDataGridColumn/index.js +144 -0
  55. package/VwcDataGridColumn/package.json +11 -0
  56. package/VwcDatepicker/index.d.ts +120 -0
  57. package/VwcDatepicker/index.js +422 -0
  58. package/VwcDatepicker/package.json +11 -0
  59. package/VwcDialog/index.d.ts +40 -0
  60. package/VwcDialog/index.js +135 -0
  61. package/VwcDialog/package.json +11 -0
  62. package/VwcDrawer/index.d.ts +20 -0
  63. package/VwcDrawer/index.js +80 -0
  64. package/VwcDrawer/package.json +11 -0
  65. package/VwcDropdown/index.d.ts +61 -0
  66. package/VwcDropdown/index.js +221 -0
  67. package/VwcDropdown/package.json +11 -0
  68. package/VwcElevation/index.d.ts +14 -0
  69. package/VwcElevation/index.js +45 -0
  70. package/VwcElevation/package.json +11 -0
  71. package/VwcEmptyState/index.d.ts +18 -0
  72. package/VwcEmptyState/index.js +59 -0
  73. package/VwcEmptyState/package.json +11 -0
  74. package/VwcExpansionPanel/index.d.ts +34 -0
  75. package/VwcExpansionPanel/index.js +199 -0
  76. package/VwcExpansionPanel/package.json +11 -0
  77. package/VwcFab/index.d.ts +32 -0
  78. package/VwcFab/index.js +124 -0
  79. package/VwcFab/package.json +11 -0
  80. package/VwcFilePicker/index.d.ts +24 -0
  81. package/VwcFilePicker/index.js +88 -0
  82. package/VwcFilePicker/package.json +11 -0
  83. package/VwcFormfield/index.d.ts +20 -0
  84. package/VwcFormfield/index.js +70 -0
  85. package/VwcFormfield/package.json +11 -0
  86. package/VwcHelperMessage/index.d.ts +14 -0
  87. package/VwcHelperMessage/index.js +49 -0
  88. package/VwcHelperMessage/package.json +11 -0
  89. package/VwcIcon/index.d.ts +22 -0
  90. package/VwcIcon/index.js +102 -0
  91. package/VwcIcon/package.json +11 -0
  92. package/VwcIconButton/index.d.ts +31 -0
  93. package/VwcIconButton/index.js +111 -0
  94. package/VwcIconButton/package.json +11 -0
  95. package/VwcIconButtonToggle/index.d.ts +37 -0
  96. package/VwcIconButtonToggle/index.js +136 -0
  97. package/VwcIconButtonToggle/package.json +11 -0
  98. package/VwcKeypad/index.d.ts +31 -0
  99. package/VwcKeypad/index.js +176 -0
  100. package/VwcKeypad/package.json +11 -0
  101. package/VwcLayout/index.d.ts +20 -0
  102. package/VwcLayout/index.js +105 -0
  103. package/VwcLayout/package.json +11 -0
  104. package/VwcLinearProgress/index.d.ts +26 -0
  105. package/VwcLinearProgress/index.js +98 -0
  106. package/VwcLinearProgress/package.json +11 -0
  107. package/VwcList/index.d.ts +35 -0
  108. package/VwcList/index.js +146 -0
  109. package/VwcList/package.json +11 -0
  110. package/VwcListExpansionPanel/index.d.ts +19 -0
  111. package/VwcListExpansionPanel/index.js +68 -0
  112. package/VwcListExpansionPanel/package.json +11 -0
  113. package/VwcListItem/index.d.ts +42 -0
  114. package/VwcListItem/index.js +171 -0
  115. package/VwcListItem/package.json +11 -0
  116. package/VwcMenu/index.d.ts +53 -0
  117. package/VwcMenu/index.js +210 -0
  118. package/VwcMenu/package.json +11 -0
  119. package/VwcNotchedOutline/index.d.ts +17 -0
  120. package/VwcNotchedOutline/index.js +58 -0
  121. package/VwcNotchedOutline/package.json +11 -0
  122. package/VwcNote/index.d.ts +18 -0
  123. package/VwcNote/index.js +59 -0
  124. package/VwcNote/package.json +11 -0
  125. package/VwcPagination/index.d.ts +16 -0
  126. package/VwcPagination/index.js +52 -0
  127. package/VwcPagination/package.json +11 -0
  128. package/VwcPopup/index.d.ts +30 -0
  129. package/VwcPopup/index.js +147 -0
  130. package/VwcPopup/package.json +11 -0
  131. package/VwcRadio/index.d.ts +52 -0
  132. package/VwcRadio/index.js +149 -0
  133. package/VwcRadio/package.json +11 -0
  134. package/VwcRadioListItem/index.d.ts +41 -0
  135. package/VwcRadioListItem/index.js +148 -0
  136. package/VwcRadioListItem/package.json +11 -0
  137. package/VwcSchemeSelect/index.d.ts +14 -0
  138. package/VwcSchemeSelect/index.js +46 -0
  139. package/VwcSchemeSelect/package.json +11 -0
  140. package/VwcSelect/index.d.ts +60 -0
  141. package/VwcSelect/index.js +253 -0
  142. package/VwcSelect/package.json +11 -0
  143. package/VwcSideDrawer/index.d.ts +22 -0
  144. package/VwcSideDrawer/index.js +73 -0
  145. package/VwcSideDrawer/package.json +11 -0
  146. package/VwcSlider/index.d.ts +34 -0
  147. package/VwcSlider/index.js +129 -0
  148. package/VwcSlider/package.json +11 -0
  149. package/VwcSnackbar/index.d.ts +42 -0
  150. package/VwcSnackbar/index.js +138 -0
  151. package/VwcSnackbar/package.json +11 -0
  152. package/VwcSurface/index.d.ts +42 -0
  153. package/VwcSurface/index.js +145 -0
  154. package/VwcSurface/package.json +11 -0
  155. package/VwcSwitch/index.d.ts +27 -0
  156. package/VwcSwitch/index.js +114 -0
  157. package/VwcSwitch/package.json +11 -0
  158. package/VwcTab/index.d.ts +40 -0
  159. package/VwcTab/index.js +151 -0
  160. package/VwcTab/package.json +11 -0
  161. package/VwcTabBar/index.d.ts +15 -0
  162. package/VwcTabBar/index.js +55 -0
  163. package/VwcTabBar/package.json +11 -0
  164. package/VwcTag/index.d.ts +34 -0
  165. package/VwcTag/index.js +115 -0
  166. package/VwcTag/package.json +11 -0
  167. package/VwcText/index.d.ts +18 -0
  168. package/VwcText/index.js +83 -0
  169. package/VwcText/package.json +11 -0
  170. package/VwcTextarea/index.d.ts +93 -0
  171. package/VwcTextarea/index.js +331 -0
  172. package/VwcTextarea/package.json +11 -0
  173. package/VwcTextfield/index.d.ts +89 -0
  174. package/VwcTextfield/index.js +329 -0
  175. package/VwcTextfield/package.json +11 -0
  176. package/VwcThemeSwitch/index.d.ts +14 -0
  177. package/VwcThemeSwitch/index.js +57 -0
  178. package/VwcThemeSwitch/package.json +11 -0
  179. package/VwcTooltip/index.d.ts +22 -0
  180. package/VwcTooltip/index.js +105 -0
  181. package/VwcTooltip/package.json +11 -0
  182. package/VwcTopAppBar/index.d.ts +22 -0
  183. package/VwcTopAppBar/index.js +77 -0
  184. package/VwcTopAppBar/package.json +11 -0
  185. package/VwcTopAppBarFixed/index.d.ts +22 -0
  186. package/VwcTopAppBarFixed/index.js +88 -0
  187. package/VwcTopAppBarFixed/package.json +11 -0
  188. package/index.js +281 -0
  189. package/package.json +135 -7
  190. package/testing/component.mock.js +3 -0
  191. package/types/index.d.ts +2 -0
@@ -0,0 +1,91 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "name": "vwc-banner",
8
+ "path": "./../node_modules/@vonage/vwc-banner/vwc-banner.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "styles",
12
+ "type": "CSSResult[]"
13
+ },
14
+ {
15
+ "name": "message",
16
+ "type": "string",
17
+ "bindable": false
18
+ },
19
+ {
20
+ "name": "dismissible",
21
+ "type": "boolean",
22
+ "bindable": false
23
+ },
24
+ {
25
+ "name": "connotation",
26
+ "type": "BannerConnotation | undefined",
27
+ "bindable": false
28
+ },
29
+ {
30
+ "name": "icon",
31
+ "type": "string | undefined",
32
+ "bindable": false
33
+ },
34
+ {
35
+ "name": "open",
36
+ "type": "boolean",
37
+ "bindable": false
38
+ },
39
+ {
40
+ "name": "role",
41
+ "type": "BannerRole",
42
+ "bindable": false
43
+ },
44
+ {
45
+ "name": "ariaLive",
46
+ "type": "BannerAriaLive",
47
+ "bindable": false
48
+ }
49
+ ],
50
+ "events": []
51
+ }
52
+ */
53
+ import PropTypes from 'prop-types'
54
+ import wrapper from '@vonage/vivid-react-wrapper'
55
+ import '@vonage/vwc-banner'
56
+
57
+
58
+ /**
59
+ * @param {string} message
60
+ * @param {boolean} dismissible
61
+ * @param {BannerConnotation | undefined} connotation
62
+ * @param {string | undefined} icon
63
+ * @param {boolean} open
64
+ * @param {BannerRole} role
65
+ * @param {BannerAriaLive} ariaLive
66
+ */
67
+ const VwcBanner = wrapper('vwc-banner', {
68
+ events: [],
69
+ attributes: [],
70
+ properties: []
71
+ });
72
+
73
+ VwcBanner.propTypes = {
74
+ message: PropTypes.string,
75
+ dismissible: PropTypes.bool,
76
+ connotation: PropTypes.any /* BannerConnotation | undefined */,
77
+ icon: PropTypes.string,
78
+ open: PropTypes.bool,
79
+ role: PropTypes.any /* BannerRole */,
80
+ ariaLive: PropTypes.any /* BannerAriaLive */
81
+ }
82
+
83
+ VwcBanner.defaultProps = {
84
+
85
+ }
86
+
87
+ VwcBanner.displayName = 'VwcBanner'
88
+
89
+
90
+
91
+ export default VwcBanner
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-banner",
3
+ "version": "2.10.47",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vwc-banner": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,55 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ import '@vonage/vwc-button';
3
+ /**
4
+ * @param {string | undefined} name
5
+ * @param {string | undefined} value
6
+ * @param {boolean} enlarged
7
+ * @param {ButtonLayout | undefined} layout
8
+ * @param {ButtonConnotation | undefined} connotation
9
+ * @param {ButtonShape | undefined} shape
10
+ * @param {string} type
11
+ * @param {string | null} formId
12
+ * @param {boolean} stacked
13
+ * @param {HTMLFormElement | null} form
14
+ * @param {ShadowRootInit} shadowRootOptions
15
+ * @param {boolean} raised
16
+ * @param {boolean} unelevated
17
+ * @param {boolean} outlined
18
+ * @param {boolean} dense
19
+ * @param {boolean} disabled
20
+ * @param {boolean} trailingIcon
21
+ * @param {boolean} fullwidth
22
+ * @param {string} icon
23
+ * @param {string} label
24
+ * @param {boolean} expandContent
25
+ */
26
+ declare const VwcButton: (props: {
27
+ children?: ReactNode;
28
+ slot?: string | undefined;
29
+ id?: string | undefined;
30
+ style?: React.CSSProperties | undefined;
31
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
32
+ onClick?: ((event: SyntheticEvent) => void) | undefined;
33
+ name?: string | undefined;
34
+ value?: string | undefined;
35
+ enlarged?: boolean | undefined;
36
+ layout?: any;
37
+ connotation?: any;
38
+ shape?: any;
39
+ type?: string | undefined;
40
+ formId?: string | null | undefined;
41
+ stacked?: boolean | undefined;
42
+ form?: any;
43
+ shadowRootOptions?: any;
44
+ raised?: boolean | undefined;
45
+ unelevated?: boolean | undefined;
46
+ outlined?: boolean | undefined;
47
+ dense?: boolean | undefined;
48
+ disabled?: boolean | undefined;
49
+ trailingIcon?: boolean | undefined;
50
+ fullwidth?: boolean | undefined;
51
+ icon?: string | undefined;
52
+ label?: string | undefined;
53
+ expandContent?: boolean | undefined;
54
+ }) => JSX.Element;
55
+ export default VwcButton;
@@ -0,0 +1,240 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "name": "vwc-button",
8
+ "path": "./../node_modules/@vonage/vwc-button/vwc-button.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "name",
12
+ "type": "string | undefined",
13
+ "bindable": false
14
+ },
15
+ {
16
+ "name": "value",
17
+ "type": "string | undefined",
18
+ "bindable": false
19
+ },
20
+ {
21
+ "name": "enlarged",
22
+ "type": "boolean",
23
+ "bindable": false
24
+ },
25
+ {
26
+ "name": "layout",
27
+ "type": "ButtonLayout | undefined",
28
+ "bindable": false
29
+ },
30
+ {
31
+ "name": "connotation",
32
+ "type": "ButtonConnotation | undefined",
33
+ "bindable": false
34
+ },
35
+ {
36
+ "name": "shape",
37
+ "type": "ButtonShape | undefined",
38
+ "bindable": false
39
+ },
40
+ {
41
+ "name": "type",
42
+ "type": "string",
43
+ "bindable": false
44
+ },
45
+ {
46
+ "name": "formId",
47
+ "type": "string | null",
48
+ "bindable": false
49
+ },
50
+ {
51
+ "name": "stacked",
52
+ "type": "boolean",
53
+ "bindable": false
54
+ },
55
+ {
56
+ "name": "form",
57
+ "type": "HTMLFormElement | null",
58
+ "bindable": true
59
+ },
60
+ {
61
+ "name": "styles",
62
+ "type": "CSSResult[]"
63
+ },
64
+ {
65
+ "name": "shadowRootOptions",
66
+ "type": "ShadowRootInit",
67
+ "bindable": false
68
+ },
69
+ {
70
+ "name": "raised",
71
+ "type": "boolean",
72
+ "bindable": false
73
+ },
74
+ {
75
+ "name": "unelevated",
76
+ "type": "boolean",
77
+ "bindable": false
78
+ },
79
+ {
80
+ "name": "outlined",
81
+ "type": "boolean",
82
+ "bindable": false
83
+ },
84
+ {
85
+ "name": "dense",
86
+ "type": "boolean",
87
+ "bindable": false
88
+ },
89
+ {
90
+ "name": "disabled",
91
+ "type": "boolean",
92
+ "bindable": false
93
+ },
94
+ {
95
+ "name": "trailingIcon",
96
+ "type": "boolean",
97
+ "bindable": false
98
+ },
99
+ {
100
+ "name": "fullwidth",
101
+ "type": "boolean",
102
+ "bindable": false
103
+ },
104
+ {
105
+ "name": "icon",
106
+ "type": "string",
107
+ "bindable": false
108
+ },
109
+ {
110
+ "name": "label",
111
+ "type": "string",
112
+ "bindable": false
113
+ },
114
+ {
115
+ "name": "expandContent",
116
+ "type": "boolean",
117
+ "bindable": false
118
+ },
119
+ {
120
+ "name": "buttonElement",
121
+ "type": "HTMLElement"
122
+ },
123
+ {
124
+ "name": "ripple",
125
+ "type": "Promise<Ripple | null>"
126
+ }
127
+ ],
128
+ "events": [
129
+ "click"
130
+ ]
131
+ }
132
+ */
133
+ import PropTypes from 'prop-types'
134
+ import wrapper from '@vonage/vivid-react-wrapper'
135
+ import '@vonage/vwc-button'
136
+ import { createElement } from 'react'
137
+
138
+ /**
139
+ * @param {string | undefined} name
140
+ * @param {string | undefined} value
141
+ * @param {boolean} enlarged
142
+ * @param {ButtonLayout | undefined} layout
143
+ * @param {ButtonConnotation | undefined} connotation
144
+ * @param {ButtonShape | undefined} shape
145
+ * @param {string} type
146
+ * @param {string | null} formId
147
+ * @param {boolean} stacked
148
+ * @param {HTMLFormElement | null} form
149
+ * @param {ShadowRootInit} shadowRootOptions
150
+ * @param {boolean} raised
151
+ * @param {boolean} unelevated
152
+ * @param {boolean} outlined
153
+ * @param {boolean} dense
154
+ * @param {boolean} disabled
155
+ * @param {boolean} trailingIcon
156
+ * @param {boolean} fullwidth
157
+ * @param {string} icon
158
+ * @param {string} label
159
+ * @param {boolean} expandContent
160
+ */
161
+ const VwcButton = wrapper('vwc-button', {
162
+ events: [{"name":"click","propName":"onClick"}],
163
+ attributes: [],
164
+ properties: ["form"]
165
+ });
166
+
167
+ VwcButton.propTypes = {
168
+ onClick: PropTypes.func,
169
+ name: PropTypes.string,
170
+ value: PropTypes.string,
171
+ enlarged: PropTypes.bool,
172
+ layout: PropTypes.any /* ButtonLayout | undefined */,
173
+ connotation: PropTypes.any /* ButtonConnotation | undefined */,
174
+ shape: PropTypes.any /* ButtonShape | undefined */,
175
+ type: PropTypes.string,
176
+ formId: PropTypes.string,
177
+ stacked: PropTypes.bool,
178
+ form: PropTypes.any /* HTMLFormElement | null */,
179
+ shadowRootOptions: PropTypes.any /* ShadowRootInit */,
180
+ raised: PropTypes.bool,
181
+ unelevated: PropTypes.bool,
182
+ outlined: PropTypes.bool,
183
+ dense: PropTypes.bool,
184
+ disabled: PropTypes.bool,
185
+ trailingIcon: PropTypes.bool,
186
+ fullwidth: PropTypes.bool,
187
+ icon: PropTypes.string,
188
+ label: PropTypes.string,
189
+ expandContent: PropTypes.bool
190
+ }
191
+
192
+ VwcButton.defaultProps = {
193
+
194
+ }
195
+
196
+ VwcButton.displayName = 'VwcButton'
197
+
198
+ const CallToAction = (props) => createElement(VwcButton, props)
199
+
200
+ CallToAction.defaultProps = {"unelevated":true,"connotation":"cta","type":"button","layout":"filled"}
201
+
202
+ VwcButton.CallToAction = CallToAction
203
+
204
+ const Alert = (props) => createElement(VwcButton, props)
205
+
206
+ Alert.defaultProps = {"unelevated":true,"connotation":"alert","type":"button","layout":"filled"}
207
+
208
+ VwcButton.Alert = Alert
209
+
210
+ const Outlined = (props) => createElement(VwcButton, props)
211
+
212
+ Outlined.defaultProps = {"unelevated":true,"layout":"outlined","type":"button"}
213
+
214
+ VwcButton.Outlined = Outlined
215
+
216
+ const Success = (props) => createElement(VwcButton, props)
217
+
218
+ Success.defaultProps = {"unelevated":true,"connotation":"success","type":"button","layout":"filled"}
219
+
220
+ VwcButton.Success = Success
221
+
222
+ const Info = (props) => createElement(VwcButton, props)
223
+
224
+ Info.defaultProps = {"unelevated":true,"connotation":"info","type":"button","layout":"filled"}
225
+
226
+ VwcButton.Info = Info
227
+
228
+ const Primary = (props) => createElement(VwcButton, props)
229
+
230
+ Primary.defaultProps = {"unelevated":true,"connotation":"primary","type":"button","layout":"filled"}
231
+
232
+ VwcButton.Primary = Primary
233
+
234
+ const Announcement = (props) => createElement(VwcButton, props)
235
+
236
+ Announcement.defaultProps = {"unelevated":true,"connotation":"announcement","type":"button","layout":"filled"}
237
+
238
+ VwcButton.Announcement = Announcement
239
+
240
+ export default VwcButton
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-button",
3
+ "version": "2.10.47",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vwc-button": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,25 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ import '@vonage/vwc-button-toggle-group';
3
+ /**
4
+ * @param {boolean} multi
5
+ * @param {boolean} enlarged
6
+ * @param {boolean} dense
7
+ * @param {boolean} required
8
+ * @param {boolean} disabled
9
+ * @param {(string | false | null)[]} values
10
+ */
11
+ declare const VwcButtonToggleGroup: (props: {
12
+ children?: ReactNode;
13
+ slot?: string | undefined;
14
+ id?: string | undefined;
15
+ style?: React.CSSProperties | undefined;
16
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
17
+ onSelected?: ((event: SyntheticEvent) => void) | undefined;
18
+ multi?: boolean | undefined;
19
+ enlarged?: boolean | undefined;
20
+ dense?: boolean | undefined;
21
+ required?: boolean | undefined;
22
+ disabled?: boolean | undefined;
23
+ values?: any[] | undefined;
24
+ }) => JSX.Element;
25
+ export default VwcButtonToggleGroup;
@@ -0,0 +1,91 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "name": "vwc-button-toggle-group",
8
+ "path": "./../node_modules/@vonage/vwc-button-toggle-group/vwc-button-toggle-group.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "multi",
12
+ "type": "boolean",
13
+ "bindable": false
14
+ },
15
+ {
16
+ "name": "enlarged",
17
+ "type": "boolean",
18
+ "bindable": false
19
+ },
20
+ {
21
+ "name": "dense",
22
+ "type": "boolean",
23
+ "bindable": false
24
+ },
25
+ {
26
+ "name": "required",
27
+ "type": "boolean",
28
+ "bindable": false
29
+ },
30
+ {
31
+ "name": "disabled",
32
+ "type": "boolean",
33
+ "bindable": false
34
+ },
35
+ {
36
+ "name": "items",
37
+ "type": "Element[]"
38
+ },
39
+ {
40
+ "name": "selected",
41
+ "type": "Element[]"
42
+ },
43
+ {
44
+ "name": "values",
45
+ "type": "(string | false | null)[]",
46
+ "bindable": true
47
+ }
48
+ ],
49
+ "events": [
50
+ "selected"
51
+ ]
52
+ }
53
+ */
54
+ import PropTypes from 'prop-types'
55
+ import wrapper from '@vonage/vivid-react-wrapper'
56
+ import '@vonage/vwc-button-toggle-group'
57
+
58
+
59
+ /**
60
+ * @param {boolean} multi
61
+ * @param {boolean} enlarged
62
+ * @param {boolean} dense
63
+ * @param {boolean} required
64
+ * @param {boolean} disabled
65
+ * @param {(string | false | null)[]} values
66
+ */
67
+ const VwcButtonToggleGroup = wrapper('vwc-button-toggle-group', {
68
+ events: [{"name":"selected","propName":"onSelected"}],
69
+ attributes: [],
70
+ properties: ["values"]
71
+ });
72
+
73
+ VwcButtonToggleGroup.propTypes = {
74
+ onSelected: PropTypes.func,
75
+ multi: PropTypes.bool,
76
+ enlarged: PropTypes.bool,
77
+ dense: PropTypes.bool,
78
+ required: PropTypes.bool,
79
+ disabled: PropTypes.bool,
80
+ values: PropTypes.array
81
+ }
82
+
83
+ VwcButtonToggleGroup.defaultProps = {
84
+
85
+ }
86
+
87
+ VwcButtonToggleGroup.displayName = 'VwcButtonToggleGroup'
88
+
89
+
90
+
91
+ export default VwcButtonToggleGroup
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-button-toggle-group",
3
+ "version": "2.10.47",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vwc-button-toggle-group": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ import React, { ReactNode } from 'react';
2
+ import '@vonage/vwc-calendar';
3
+ /**
4
+ * @param {Date | undefined} datetime
5
+ * @param {string | string[] | undefined} locales
6
+ * @param {(e: Event) => CalendarEventContext | null} getEventContext
7
+ * @param {boolean | undefined} stickyHeader
8
+ */
9
+ declare const VwcCalendar: (props: {
10
+ children?: ReactNode;
11
+ slot?: string | undefined;
12
+ id?: string | undefined;
13
+ style?: React.CSSProperties | undefined;
14
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
+ datetime?: any;
16
+ locales?: any;
17
+ getEventContext?: any;
18
+ stickyHeader?: any;
19
+ }) => JSX.Element;
20
+ export default VwcCalendar;
@@ -0,0 +1,70 @@
1
+ /*
2
+ * DO NOT EDIT THIS FILE. IT IS GENERATED
3
+ */
4
+ /*
5
+ Code in this file were generated using following JSON:
6
+ {
7
+ "name": "vwc-calendar",
8
+ "path": "./../node_modules/@vonage/vwc-calendar/vwc-calendar.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "datetime",
12
+ "type": "Date | undefined",
13
+ "bindable": false
14
+ },
15
+ {
16
+ "name": "locales",
17
+ "type": "string | string[] | undefined",
18
+ "bindable": true
19
+ },
20
+ {
21
+ "name": "hour12",
22
+ "type": "boolean | undefined"
23
+ },
24
+ {
25
+ "name": "getEventContext",
26
+ "type": "(e: Event) => CalendarEventContext | null",
27
+ "bindable": true
28
+ },
29
+ {
30
+ "name": "stickyHeader",
31
+ "type": "boolean | undefined",
32
+ "bindable": false
33
+ }
34
+ ],
35
+ "events": []
36
+ }
37
+ */
38
+ import PropTypes from 'prop-types'
39
+ import wrapper from '@vonage/vivid-react-wrapper'
40
+ import '@vonage/vwc-calendar'
41
+
42
+
43
+ /**
44
+ * @param {Date | undefined} datetime
45
+ * @param {string | string[] | undefined} locales
46
+ * @param {(e: Event) => CalendarEventContext | null} getEventContext
47
+ * @param {boolean | undefined} stickyHeader
48
+ */
49
+ const VwcCalendar = wrapper('vwc-calendar', {
50
+ events: [],
51
+ attributes: [],
52
+ properties: ["locales","getEventContext"]
53
+ });
54
+
55
+ VwcCalendar.propTypes = {
56
+ datetime: PropTypes.any /* Date | undefined */,
57
+ locales: PropTypes.any /* string | string[] | undefined */,
58
+ getEventContext: PropTypes.any /* (e: Event) => CalendarEventContext | null */,
59
+ stickyHeader: PropTypes.any /* boolean | undefined */
60
+ }
61
+
62
+ VwcCalendar.defaultProps = {
63
+
64
+ }
65
+
66
+ VwcCalendar.displayName = 'VwcCalendar'
67
+
68
+
69
+
70
+ export default VwcCalendar
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-calendar",
3
+ "version": "2.10.47",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vwc-calendar": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,25 @@
1
+ import React, { ReactNode } from 'react';
2
+ import '@vonage/vwc-calendar';
3
+ import '@vonage/vwc-calendar/vwc-calendar-event';
4
+ /**
5
+ * @param {string | undefined} heading
6
+ * @param {string | undefined} description
7
+ * @param {string | undefined} color
8
+ * @param {string | undefined} overlapCount
9
+ * @param {number} start
10
+ * @param {number} duration
11
+ */
12
+ declare const VwcCalendarEvent: (props: {
13
+ children?: ReactNode;
14
+ slot?: string | undefined;
15
+ id?: string | undefined;
16
+ style?: React.CSSProperties | undefined;
17
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
18
+ heading?: string | undefined;
19
+ description?: string | undefined;
20
+ color?: string | undefined;
21
+ overlapCount?: string | undefined;
22
+ start?: number | undefined;
23
+ duration?: number | undefined;
24
+ }) => JSX.Element;
25
+ export default VwcCalendarEvent;