@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,151 @@
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-tab",
8
+ "path": "./../node_modules/@vonage/vwc-tab-bar/vwc-tab.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "disabled",
12
+ "type": "boolean",
13
+ "bindable": false
14
+ },
15
+ {
16
+ "name": "block",
17
+ "type": "boolean",
18
+ "bindable": false
19
+ },
20
+ {
21
+ "name": "trailingIcon",
22
+ "type": "boolean",
23
+ "bindable": false
24
+ },
25
+ {
26
+ "name": "styles",
27
+ "type": "CSSResult[]"
28
+ },
29
+ {
30
+ "name": "shadowRootOptions",
31
+ "type": "ShadowRootInit",
32
+ "bindable": false
33
+ },
34
+ {
35
+ "name": "label",
36
+ "type": "string",
37
+ "bindable": false
38
+ },
39
+ {
40
+ "name": "icon",
41
+ "type": "string",
42
+ "bindable": false
43
+ },
44
+ {
45
+ "name": "hasImageIcon",
46
+ "type": "boolean",
47
+ "bindable": false
48
+ },
49
+ {
50
+ "name": "isFadingIndicator",
51
+ "type": "boolean",
52
+ "bindable": false
53
+ },
54
+ {
55
+ "name": "minWidth",
56
+ "type": "boolean",
57
+ "bindable": false
58
+ },
59
+ {
60
+ "name": "isMinWidthIndicator",
61
+ "type": "boolean",
62
+ "bindable": false
63
+ },
64
+ {
65
+ "name": "active",
66
+ "type": "boolean"
67
+ },
68
+ {
69
+ "name": "indicatorIcon",
70
+ "type": "string",
71
+ "bindable": false
72
+ },
73
+ {
74
+ "name": "stacked",
75
+ "type": "boolean",
76
+ "bindable": false
77
+ },
78
+ {
79
+ "name": "focusOnActivate",
80
+ "type": "boolean",
81
+ "bindable": false
82
+ },
83
+ {
84
+ "name": "ripple",
85
+ "type": "Promise<Ripple | null>"
86
+ },
87
+ {
88
+ "name": "isRippleActive"
89
+ }
90
+ ],
91
+ "events": [
92
+ {
93
+ "name": "MDCTab:interacted",
94
+ "propName": "onInteracted"
95
+ }
96
+ ]
97
+ }
98
+ */
99
+ import PropTypes from 'prop-types'
100
+ import wrapper from '@vonage/vivid-react-wrapper'
101
+ import '@vonage/vwc-tab-bar'
102
+ import '@vonage/vwc-tab-bar/vwc-tab'
103
+
104
+
105
+ /**
106
+ * @param {boolean} disabled
107
+ * @param {boolean} block
108
+ * @param {boolean} trailingIcon
109
+ * @param {ShadowRootInit} shadowRootOptions
110
+ * @param {string} label
111
+ * @param {string} icon
112
+ * @param {boolean} hasImageIcon
113
+ * @param {boolean} isFadingIndicator
114
+ * @param {boolean} minWidth
115
+ * @param {boolean} isMinWidthIndicator
116
+ * @param {string} indicatorIcon
117
+ * @param {boolean} stacked
118
+ * @param {boolean} focusOnActivate
119
+ */
120
+ const VwcTab = wrapper('vwc-tab', {
121
+ events: [{"name":"MDCTab:interacted","propName":"onInteracted"}],
122
+ attributes: [],
123
+ properties: []
124
+ });
125
+
126
+ VwcTab.propTypes = {
127
+ onInteracted: PropTypes.func,
128
+ disabled: PropTypes.bool,
129
+ block: PropTypes.bool,
130
+ trailingIcon: PropTypes.bool,
131
+ shadowRootOptions: PropTypes.any /* ShadowRootInit */,
132
+ label: PropTypes.string,
133
+ icon: PropTypes.string,
134
+ hasImageIcon: PropTypes.bool,
135
+ isFadingIndicator: PropTypes.bool,
136
+ minWidth: PropTypes.bool,
137
+ isMinWidthIndicator: PropTypes.bool,
138
+ indicatorIcon: PropTypes.string,
139
+ stacked: PropTypes.bool,
140
+ focusOnActivate: PropTypes.bool
141
+ }
142
+
143
+ VwcTab.defaultProps = {
144
+
145
+ }
146
+
147
+ VwcTab.displayName = 'VwcTab'
148
+
149
+
150
+
151
+ export default VwcTab
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-tab",
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-tab-bar": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,15 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ import '@vonage/vwc-tab-bar';
3
+ /**
4
+ * @param {number} activeIndex
5
+ */
6
+ declare const VwcTabBar: (props: {
7
+ children?: ReactNode;
8
+ slot?: string | undefined;
9
+ id?: string | undefined;
10
+ style?: React.CSSProperties | undefined;
11
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
12
+ onActivated?: ((event: SyntheticEvent) => void) | undefined;
13
+ activeIndex?: number | undefined;
14
+ }) => JSX.Element;
15
+ export default VwcTabBar;
@@ -0,0 +1,55 @@
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-tab-bar",
8
+ "path": "./../node_modules/@vonage/vwc-tab-bar/vwc-tab-bar.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "styles",
12
+ "type": "CSSResult[]"
13
+ },
14
+ {
15
+ "name": "activeIndex",
16
+ "type": "number",
17
+ "bindable": false
18
+ }
19
+ ],
20
+ "events": [
21
+ {
22
+ "name": "MDCTabBar:activated",
23
+ "propName": "onActivated"
24
+ }
25
+ ]
26
+ }
27
+ */
28
+ import PropTypes from 'prop-types'
29
+ import wrapper from '@vonage/vivid-react-wrapper'
30
+ import '@vonage/vwc-tab-bar'
31
+
32
+
33
+ /**
34
+ * @param {number} activeIndex
35
+ */
36
+ const VwcTabBar = wrapper('vwc-tab-bar', {
37
+ events: [{"name":"MDCTabBar:activated","propName":"onActivated"}],
38
+ attributes: [],
39
+ properties: []
40
+ });
41
+
42
+ VwcTabBar.propTypes = {
43
+ onActivated: PropTypes.func,
44
+ activeIndex: PropTypes.number
45
+ }
46
+
47
+ VwcTabBar.defaultProps = {
48
+
49
+ }
50
+
51
+ VwcTabBar.displayName = 'VwcTabBar'
52
+
53
+
54
+
55
+ export default VwcTabBar
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-tab-bar",
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-tab-bar": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,34 @@
1
+ import React, { ReactNode } from 'react';
2
+ import '@vonage/vwc-tags/vwc-tag';
3
+ /**
4
+ * @param {CSSResult} styles
5
+ * @param {Promise<Ripple | null>} ripple
6
+ * @param {HTMLElement} selectableElement
7
+ * @param {string | undefined} text
8
+ * @param {boolean} selected
9
+ * @param {TagConnotation | undefined} connotation
10
+ * @param {TagShape | undefined} shape
11
+ * @param {TagLayout | undefined} layout
12
+ * @param {boolean} selectable
13
+ * @param {boolean} removable
14
+ * @param {boolean} removeEventOnly
15
+ */
16
+ declare const VwcTag: (props: {
17
+ children?: ReactNode;
18
+ slot?: string | undefined;
19
+ id?: string | undefined;
20
+ style?: React.CSSProperties | undefined;
21
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
22
+ styles?: any;
23
+ ripple?: any;
24
+ selectableElement?: any;
25
+ text?: string | undefined;
26
+ selected?: boolean | undefined;
27
+ connotation?: any;
28
+ shape?: any;
29
+ layout?: any;
30
+ selectable?: boolean | undefined;
31
+ removable?: boolean | undefined;
32
+ removeEventOnly?: boolean | undefined;
33
+ }) => JSX.Element;
34
+ export default VwcTag;
@@ -0,0 +1,115 @@
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-tag",
8
+ "path": "./../node_modules/@vonage/vwc-tags/vwc-tag.d.ts",
9
+ "properties": [
10
+ {
11
+ "name": "styles",
12
+ "type": "CSSResult",
13
+ "bindable": false
14
+ },
15
+ {
16
+ "name": "ripple",
17
+ "type": "Promise<Ripple | null>",
18
+ "bindable": false
19
+ },
20
+ {
21
+ "name": "selectableElement",
22
+ "type": "HTMLElement",
23
+ "bindable": false
24
+ },
25
+ {
26
+ "name": "text",
27
+ "type": "string | undefined",
28
+ "bindable": false
29
+ },
30
+ {
31
+ "name": "selected",
32
+ "type": "boolean",
33
+ "bindable": false
34
+ },
35
+ {
36
+ "name": "connotation",
37
+ "type": "TagConnotation | undefined",
38
+ "bindable": false
39
+ },
40
+ {
41
+ "name": "shape",
42
+ "type": "TagShape | undefined",
43
+ "bindable": false
44
+ },
45
+ {
46
+ "name": "layout",
47
+ "type": "TagLayout | undefined",
48
+ "bindable": false
49
+ },
50
+ {
51
+ "name": "selectable",
52
+ "type": "boolean",
53
+ "bindable": false
54
+ },
55
+ {
56
+ "name": "removable",
57
+ "type": "boolean",
58
+ "bindable": false
59
+ },
60
+ {
61
+ "name": "removeEventOnly",
62
+ "type": "boolean",
63
+ "bindable": false
64
+ }
65
+ ],
66
+ "events": []
67
+ }
68
+ */
69
+ import PropTypes from 'prop-types'
70
+ import wrapper from '@vonage/vivid-react-wrapper'
71
+ import '@vonage/vwc-tags/vwc-tag'
72
+
73
+
74
+ /**
75
+ * @param {CSSResult} styles
76
+ * @param {Promise<Ripple | null>} ripple
77
+ * @param {HTMLElement} selectableElement
78
+ * @param {string | undefined} text
79
+ * @param {boolean} selected
80
+ * @param {TagConnotation | undefined} connotation
81
+ * @param {TagShape | undefined} shape
82
+ * @param {TagLayout | undefined} layout
83
+ * @param {boolean} selectable
84
+ * @param {boolean} removable
85
+ * @param {boolean} removeEventOnly
86
+ */
87
+ const VwcTag = wrapper('vwc-tag', {
88
+ events: [],
89
+ attributes: [],
90
+ properties: []
91
+ });
92
+
93
+ VwcTag.propTypes = {
94
+ styles: PropTypes.any /* CSSResult */,
95
+ ripple: PropTypes.any /* Promise<Ripple | null> */,
96
+ selectableElement: PropTypes.any /* HTMLElement */,
97
+ text: PropTypes.string,
98
+ selected: PropTypes.bool,
99
+ connotation: PropTypes.any /* TagConnotation | undefined */,
100
+ shape: PropTypes.any /* TagShape | undefined */,
101
+ layout: PropTypes.any /* TagLayout | undefined */,
102
+ selectable: PropTypes.bool,
103
+ removable: PropTypes.bool,
104
+ removeEventOnly: PropTypes.bool
105
+ }
106
+
107
+ VwcTag.defaultProps = {
108
+
109
+ }
110
+
111
+ VwcTag.displayName = 'VwcTag'
112
+
113
+
114
+
115
+ export default VwcTag
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-tag",
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-tags": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,18 @@
1
+ import React, { ReactNode } from 'react';
2
+ import '@vonage/vwc-text';
3
+ /**
4
+ * @param {VVDFontFace | undefined} fontFace attribute: &lt;VwcText font-face />
5
+ * @param {TextConnotation | undefined} connotation attribute: &lt;VwcText connotation />
6
+ * @param {boolean} tight attribute: &lt;VwcText tight />
7
+ */
8
+ declare const VwcText: (props: {
9
+ children?: ReactNode;
10
+ slot?: string | undefined;
11
+ id?: string | undefined;
12
+ style?: React.CSSProperties | undefined;
13
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
14
+ fontFace?: any;
15
+ connotation?: any;
16
+ tight?: boolean | undefined;
17
+ }) => JSX.Element;
18
+ export default VwcText;
@@ -0,0 +1,83 @@
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-text",
8
+ "path": "./../node_modules/@vonage/vwc-text/src/vwc-text.ts",
9
+ "attributes": [
10
+ {
11
+ "name": "font-face",
12
+ "type": "VVDFontFace | undefined"
13
+ },
14
+ {
15
+ "name": "connotation",
16
+ "type": "TextConnotation | undefined"
17
+ },
18
+ {
19
+ "name": "tight",
20
+ "type": "boolean",
21
+ "default": "false"
22
+ }
23
+ ],
24
+ "properties": [
25
+ {
26
+ "name": "styles",
27
+ "type": "CSSResult",
28
+ "default": "\"style\""
29
+ },
30
+ {
31
+ "name": "fontFace",
32
+ "attribute": "font-face",
33
+ "type": "VVDFontFace | undefined",
34
+ "bindable": true
35
+ },
36
+ {
37
+ "name": "connotation",
38
+ "attribute": "connotation",
39
+ "type": "TextConnotation | undefined",
40
+ "bindable": false
41
+ },
42
+ {
43
+ "name": "tight",
44
+ "attribute": "tight",
45
+ "type": "boolean",
46
+ "default": "false",
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-text'
56
+
57
+
58
+ /**
59
+ * @param {VVDFontFace | undefined} fontFace attribute: &lt;VwcText font-face />
60
+ * @param {TextConnotation | undefined} connotation attribute: &lt;VwcText connotation />
61
+ * @param {boolean} tight attribute: &lt;VwcText tight />
62
+ */
63
+ const VwcText = wrapper('vwc-text', {
64
+ events: [],
65
+ attributes: [],
66
+ properties: ["fontFace"]
67
+ });
68
+
69
+ VwcText.propTypes = {
70
+ fontFace: PropTypes.any /* VVDFontFace | undefined *//* attribute: font-face */,
71
+ connotation: PropTypes.any /* TextConnotation | undefined *//* attribute: connotation */,
72
+ tight: PropTypes.bool/* default: false *//* attribute: tight */
73
+ }
74
+
75
+ VwcText.defaultProps = {
76
+ tight: false
77
+ }
78
+
79
+ VwcText.displayName = 'VwcText'
80
+
81
+
82
+
83
+ export default VwcText
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vwc-text",
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-text": "2.37.0"
10
+ }
11
+ }
@@ -0,0 +1,93 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ import '@vonage/vwc-textarea';
3
+ /**
4
+ * @param {boolean} dense
5
+ * @param {boolean} resizable
6
+ * @param {string | undefined} form
7
+ * @param {number} rows
8
+ * @param {number} cols
9
+ * @param {string} value
10
+ * @param {TextFieldType} type
11
+ * @param {string} placeholder
12
+ * @param {string} label
13
+ * @param {string} icon
14
+ * @param {string} iconTrailing
15
+ * @param {boolean} disabled
16
+ * @param {boolean} required
17
+ * @param {number} minLength
18
+ * @param {number} maxLength
19
+ * @param {boolean} outlined
20
+ * @param {string} helper
21
+ * @param {boolean} validateOnInitialRender
22
+ * @param {string} validationMessage
23
+ * @param {boolean} autoValidate
24
+ * @param {string} pattern
25
+ * @param {string | number} min
26
+ * @param {string | number} max
27
+ * @param {number | null} step
28
+ * @param {number | null} size
29
+ * @param {boolean} helperPersistent
30
+ * @param {boolean | TextAreaCharCounter} charCounter
31
+ * @param {boolean} endAligned
32
+ * @param {string} prefix
33
+ * @param {string} suffix
34
+ * @param {string} name
35
+ * @param {TextFieldInputMode} inputMode
36
+ * @param {boolean} readOnly
37
+ * @param {string} autocapitalize
38
+ * @param {boolean} willValidate
39
+ * @param {number | null} selectionStart
40
+ * @param {number | null} selectionEnd
41
+ * @param {((value: string, nativeValidity: ValidityState) => Partial<ValidityState>) | null} validityTransform
42
+ * @param {ShadowRootInit} shadowRootOptions
43
+ */
44
+ declare const VwcTextarea: (props: {
45
+ children?: ReactNode;
46
+ slot?: string | undefined;
47
+ id?: string | undefined;
48
+ style?: React.CSSProperties | undefined;
49
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
50
+ onInput?: ((event: SyntheticEvent) => void) | undefined;
51
+ onBlur?: ((event: SyntheticEvent) => void) | undefined;
52
+ onFocus?: ((event: SyntheticEvent) => void) | undefined;
53
+ dense?: boolean | undefined;
54
+ resizable?: boolean | undefined;
55
+ form?: string | undefined;
56
+ rows?: number | undefined;
57
+ cols?: number | undefined;
58
+ value?: string | undefined;
59
+ type?: any;
60
+ placeholder?: string | undefined;
61
+ label?: string | undefined;
62
+ icon?: string | undefined;
63
+ iconTrailing?: string | undefined;
64
+ disabled?: boolean | undefined;
65
+ required?: boolean | undefined;
66
+ minLength?: number | undefined;
67
+ maxLength?: number | undefined;
68
+ outlined?: boolean | undefined;
69
+ helper?: string | undefined;
70
+ validateOnInitialRender?: boolean | undefined;
71
+ validationMessage?: string | undefined;
72
+ autoValidate?: boolean | undefined;
73
+ pattern?: string | undefined;
74
+ min?: string | number | undefined;
75
+ max?: string | number | undefined;
76
+ step?: number | undefined;
77
+ size?: number | undefined;
78
+ helperPersistent?: boolean | undefined;
79
+ charCounter?: any;
80
+ endAligned?: boolean | undefined;
81
+ prefix?: string | undefined;
82
+ suffix?: string | undefined;
83
+ name?: string | undefined;
84
+ inputMode?: any;
85
+ readOnly?: boolean | undefined;
86
+ autocapitalize?: string | undefined;
87
+ willValidate?: boolean | undefined;
88
+ selectionStart?: number | undefined;
89
+ selectionEnd?: number | undefined;
90
+ validityTransform?: any;
91
+ shadowRootOptions?: any;
92
+ }) => JSX.Element;
93
+ export default VwcTextarea;