@vonage/vivid-react 2.10.63 → 2.10.64

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 (168) hide show
  1. package/README.md +54 -54
  2. package/VwcAccordion/package.json +2 -2
  3. package/VwcActionGroup/package.json +2 -2
  4. package/VwcBadge/package.json +2 -2
  5. package/VwcBanner/package.json +2 -2
  6. package/VwcButton/package.json +2 -2
  7. package/VwcButtonToggleGroup/package.json +2 -2
  8. package/VwcCalendar/package.json +2 -2
  9. package/VwcCalendarEvent/package.json +2 -2
  10. package/VwcCard/package.json +2 -2
  11. package/VwcCarousel/package.json +2 -2
  12. package/VwcCarouselItem/package.json +2 -2
  13. package/VwcCheckListItem/package.json +2 -2
  14. package/VwcCheckbox/package.json +2 -2
  15. package/VwcChip/package.json +2 -2
  16. package/VwcChipSet/package.json +2 -2
  17. package/VwcCircularProgress/package.json +2 -2
  18. package/VwcDataGrid/package.json +2 -2
  19. package/VwcDataGridColumn/package.json +2 -2
  20. package/VwcDatepicker/package.json +2 -2
  21. package/VwcDialog/package.json +2 -2
  22. package/VwcDrawer/package.json +2 -2
  23. package/VwcDropdown/package.json +2 -2
  24. package/VwcElevation/package.json +2 -2
  25. package/VwcEmptyState/package.json +2 -2
  26. package/VwcExpansionPanel/package.json +2 -2
  27. package/VwcFab/package.json +2 -2
  28. package/VwcFilePicker/package.json +2 -2
  29. package/VwcFormfield/package.json +2 -2
  30. package/VwcHelperMessage/package.json +2 -2
  31. package/VwcIcon/package.json +2 -2
  32. package/VwcIconButton/package.json +2 -2
  33. package/VwcIconButtonToggle/package.json +2 -2
  34. package/VwcKeypad/package.json +2 -2
  35. package/VwcLayout/package.json +2 -2
  36. package/VwcLinearProgress/package.json +2 -2
  37. package/VwcList/package.json +2 -2
  38. package/VwcListExpansionPanel/package.json +2 -2
  39. package/VwcListItem/package.json +2 -2
  40. package/VwcMenu/package.json +2 -2
  41. package/VwcNotchedOutline/package.json +2 -2
  42. package/VwcNote/package.json +2 -2
  43. package/VwcPagination/package.json +2 -2
  44. package/VwcPopup/package.json +2 -2
  45. package/VwcRadio/package.json +2 -2
  46. package/VwcRadioListItem/package.json +2 -2
  47. package/VwcSchemeSelect/package.json +2 -2
  48. package/VwcSelect/package.json +2 -2
  49. package/VwcSideDrawer/package.json +2 -2
  50. package/VwcSlider/package.json +2 -2
  51. package/VwcSnackbar/package.json +2 -2
  52. package/VwcSurface/package.json +2 -2
  53. package/VwcSwitch/package.json +2 -2
  54. package/VwcTab/package.json +2 -2
  55. package/VwcTabBar/package.json +2 -2
  56. package/VwcTag/package.json +2 -2
  57. package/VwcText/package.json +2 -2
  58. package/VwcTextarea/package.json +2 -2
  59. package/VwcTextfield/package.json +2 -2
  60. package/VwcThemeSwitch/package.json +2 -2
  61. package/VwcTooltip/package.json +2 -2
  62. package/VwcTopAppBar/package.json +2 -2
  63. package/VwcTopAppBarFixed/package.json +2 -2
  64. package/index.js +5 -5
  65. package/package.json +58 -58
  66. package/types/index.d.ts +38 -4
  67. package/v3/VwcAccordion/package.json +2 -2
  68. package/v3/VwcAccordionItem/package.json +2 -2
  69. package/v3/VwcActionGroup/index.d.ts +2 -2
  70. package/v3/VwcActionGroup/index.js +5 -3
  71. package/v3/VwcActionGroup/package.json +2 -2
  72. package/v3/VwcAlert/index.d.ts +3 -1
  73. package/v3/VwcAlert/index.js +15 -1
  74. package/v3/VwcAlert/package.json +2 -2
  75. package/v3/VwcAvatar/package.json +2 -2
  76. package/v3/VwcBadge/package.json +2 -2
  77. package/v3/VwcBanner/index.d.ts +2 -2
  78. package/v3/VwcBanner/index.js +17 -15
  79. package/v3/VwcBanner/package.json +2 -2
  80. package/v3/VwcBreadcrumb/package.json +2 -2
  81. package/v3/VwcBreadcrumbItem/package.json +2 -2
  82. package/v3/VwcButton/index.d.ts +2 -0
  83. package/v3/VwcButton/index.js +16 -1
  84. package/v3/VwcButton/package.json +2 -2
  85. package/v3/VwcCalendar/index.js +2 -13
  86. package/v3/VwcCalendar/package.json +2 -2
  87. package/v3/VwcCalendarEvent/package.json +2 -2
  88. package/v3/VwcCard/package.json +2 -2
  89. package/v3/VwcCheckbox/package.json +2 -2
  90. package/v3/VwcCombobox/package.json +2 -2
  91. package/v3/VwcDataGrid/index.js +13 -0
  92. package/v3/VwcDataGrid/package.json +2 -2
  93. package/v3/VwcDataGridCell/index.d.ts +2 -0
  94. package/v3/VwcDataGridCell/index.js +17 -1
  95. package/v3/VwcDataGridCell/package.json +2 -2
  96. package/v3/VwcDataGridRow/package.json +2 -2
  97. package/v3/VwcDatePicker/index.d.ts +27 -0
  98. package/v3/VwcDatePicker/index.js +201 -0
  99. package/v3/VwcDatePicker/package.json +11 -0
  100. package/v3/VwcDialog/index.d.ts +4 -1
  101. package/v3/VwcDialog/index.js +19 -2
  102. package/v3/VwcDialog/package.json +2 -2
  103. package/v3/VwcDivider/package.json +2 -2
  104. package/v3/VwcElevation/package.json +2 -2
  105. package/v3/VwcEmptyState/package.json +2 -2
  106. package/v3/VwcFab/package.json +2 -2
  107. package/v3/VwcFilePicker/index.d.ts +28 -0
  108. package/v3/VwcFilePicker/index.js +258 -0
  109. package/v3/VwcFilePicker/package.json +11 -0
  110. package/v3/VwcFocus/package.json +2 -2
  111. package/v3/VwcHeader/package.json +2 -2
  112. package/v3/VwcIcon/index.d.ts +2 -0
  113. package/v3/VwcIcon/index.js +14 -1
  114. package/v3/VwcIcon/package.json +2 -2
  115. package/v3/VwcLayout/index.d.ts +3 -0
  116. package/v3/VwcLayout/index.js +1 -4
  117. package/v3/VwcLayout/package.json +2 -2
  118. package/v3/VwcListbox/package.json +2 -2
  119. package/v3/VwcListboxOption/package.json +2 -2
  120. package/v3/VwcMenu/index.d.ts +10 -10
  121. package/v3/VwcMenu/index.js +150 -36
  122. package/v3/VwcMenu/package.json +2 -2
  123. package/v3/VwcMenuItem/index.js +6 -0
  124. package/v3/VwcMenuItem/package.json +2 -2
  125. package/v3/VwcNav/package.json +2 -2
  126. package/v3/VwcNavDisclosure/index.d.ts +4 -1
  127. package/v3/VwcNavDisclosure/index.js +32 -2
  128. package/v3/VwcNavDisclosure/package.json +2 -2
  129. package/v3/VwcNavItem/index.js +19 -9
  130. package/v3/VwcNavItem/package.json +2 -2
  131. package/v3/VwcNote/package.json +2 -2
  132. package/v3/VwcNumberField/package.json +2 -2
  133. package/v3/VwcPagination/index.d.ts +3 -1
  134. package/v3/VwcPagination/index.js +22 -2
  135. package/v3/VwcPagination/package.json +2 -2
  136. package/v3/VwcPopup/package.json +2 -2
  137. package/v3/VwcProgress/package.json +2 -2
  138. package/v3/VwcProgressRing/package.json +2 -2
  139. package/v3/VwcRadio/index.d.ts +2 -0
  140. package/v3/VwcRadio/index.js +56 -7
  141. package/v3/VwcRadio/package.json +2 -2
  142. package/v3/VwcRadioGroup/package.json +2 -2
  143. package/v3/VwcSelect/index.d.ts +7 -5
  144. package/v3/VwcSelect/index.js +47 -12
  145. package/v3/VwcSelect/package.json +2 -2
  146. package/v3/VwcSideDrawer/package.json +2 -2
  147. package/v3/VwcSlider/package.json +2 -2
  148. package/v3/VwcSplitButton/index.d.ts +39 -0
  149. package/v3/VwcSplitButton/index.js +311 -0
  150. package/v3/VwcSplitButton/package.json +11 -0
  151. package/v3/VwcSwitch/package.json +2 -2
  152. package/v3/VwcTab/index.d.ts +2 -0
  153. package/v3/VwcTab/index.js +18 -1
  154. package/v3/VwcTab/package.json +2 -2
  155. package/v3/VwcTabPanel/package.json +2 -2
  156. package/v3/VwcTabs/index.js +16 -2
  157. package/v3/VwcTabs/package.json +2 -2
  158. package/v3/VwcTag/package.json +2 -2
  159. package/v3/VwcTagGroup/index.js +6 -0
  160. package/v3/VwcTagGroup/package.json +2 -2
  161. package/v3/VwcTextAnchor/package.json +2 -2
  162. package/v3/VwcTextArea/package.json +2 -2
  163. package/v3/VwcTextField/package.json +2 -2
  164. package/v3/VwcToggletip/index.js +10 -0
  165. package/v3/VwcToggletip/package.json +2 -2
  166. package/v3/VwcTooltip/package.json +2 -2
  167. package/v3/VwcTreeItem/package.json +2 -2
  168. package/v3/VwcTreeView/package.json +2 -2
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-button",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -96,23 +96,12 @@ Code in this file were generated using following JSON:
96
96
  "parameters": [
97
97
  {
98
98
  "description": "event name",
99
- "name": "event",
100
- "type": {
101
- "text": "string"
102
- }
103
- },
104
- {
105
- "description": "optional event detail object",
106
- "name": "detail",
107
- "optional": true,
108
- "type": {
109
- "text": "Object"
110
- }
99
+ "name": "calendarEvent"
111
100
  }
112
101
  ],
113
102
  "return": {
114
103
  "type": {
115
- "text": "boolean"
104
+ "text": ""
116
105
  }
117
106
  }
118
107
  },
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-calendar",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-calendar-event",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-card",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-checkbox",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-combobox",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -85,6 +85,19 @@ Code in this file were generated using following JSON:
85
85
  "kind": "field",
86
86
  "name": "#initSelections",
87
87
  "privacy": "private"
88
+ },
89
+ {
90
+ "kind": "method",
91
+ "name": "generateColumns",
92
+ "static": true,
93
+ "parameters": [
94
+ {
95
+ "name": "rowData",
96
+ "type": {
97
+ "text": "any"
98
+ }
99
+ }
100
+ ]
88
101
  }
89
102
  ],
90
103
  "attributes": [
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -2,6 +2,7 @@ import React, { ReactNode } from 'react';
2
2
  /** Base class for data-grid
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/data-grid-cell
4
4
  * @param {string | null} ariaSelected **attribute** `aria-selected`
5
+ * @param {string | null} ariaSort **attribute** `aria-sort`
5
6
  * @param updateCellStyle
6
7
  */
7
8
  declare const VwcDataGridCell: {
@@ -12,6 +13,7 @@ declare const VwcDataGridCell: {
12
13
  style?: React.CSSProperties | undefined;
13
14
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
14
15
  ariaSelected?: string | null | undefined;
16
+ ariaSort?: string | null | undefined;
15
17
  updateCellStyle?: any;
16
18
  }): JSX.Element;
17
19
  displayName: string;
@@ -66,6 +66,14 @@ Code in this file were generated using following JSON:
66
66
  },
67
67
  "default": "null"
68
68
  },
69
+ {
70
+ "kind": "field",
71
+ "name": "ariaSort",
72
+ "type": {
73
+ "text": "string | null"
74
+ },
75
+ "default": "null"
76
+ },
69
77
  {
70
78
  "kind": "method",
71
79
  "name": "ariaSelectedChanged",
@@ -121,6 +129,14 @@ Code in this file were generated using following JSON:
121
129
  },
122
130
  "default": "null",
123
131
  "fieldName": "ariaSelected"
132
+ },
133
+ {
134
+ "name": "aria-sort",
135
+ "type": {
136
+ "text": "string | null"
137
+ },
138
+ "default": "null",
139
+ "fieldName": "ariaSort"
124
140
  }
125
141
  ],
126
142
  "superclass": {
@@ -137,7 +153,7 @@ registerDataGridCell('vvd3')
137
153
  const VwcDataGridCell = wrapper(`vvd3-data-grid-cell`, {
138
154
  events: [],
139
155
  attributes: [],
140
- properties: ['ariaSelected', 'updateCellStyle']
156
+ properties: ['ariaSelected', 'ariaSort', 'updateCellStyle']
141
157
  })
142
158
 
143
159
  VwcDataGridCell.displayName = 'VwcDataGridCell'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-cell",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-row",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -0,0 +1,27 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** Base class for date-picker
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/date-picker
4
+ * @param {string | undefined} label - The label text of the date-picker. **attribute** `label`
5
+ * @param {string | undefined} helperText - The helper-text text of the date-picker. **attribute** `helper-text`
6
+ * @param {string | undefined} errorText - The error-text text of the date-picker. **attribute** `error-text`
7
+ * @param {DateStr | null} value - The currently selected date of the date-picker. **attribute** `value`
8
+ * @param {boolean} disabled - Whether the date-picker is disabled. **attribute** `disabled`
9
+ * @param {boolean} readOnly - Whether the date-picker is readonly. **attribute** `readonly`
10
+ */
11
+ declare const VwcDatePicker: {
12
+ (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
+ label?: string | undefined;
19
+ helperText?: string | undefined;
20
+ errorText?: string | undefined;
21
+ value?: any;
22
+ disabled?: boolean | undefined;
23
+ readOnly?: boolean | undefined;
24
+ }): JSX.Element;
25
+ displayName: string;
26
+ };
27
+ export default VwcDatePicker;
@@ -0,0 +1,201 @@
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": "Base class for date-picker",
9
+ "name": "DatePicker",
10
+ "cssProperties": [
11
+ {
12
+ "name": "--vvd-date-picker-accent-primary",
13
+ "default": "var(--vvd-color-canvas-text)"
14
+ },
15
+ {
16
+ "name": "--vvd-date-picker-accent-faint",
17
+ "default": "var(--vvd-color-neutral-50)"
18
+ },
19
+ {
20
+ "name": "--vvd-date-picker-accent-soft",
21
+ "default": "var(--vvd-color-neutral-100)"
22
+ },
23
+ {
24
+ "name": "--vvd-date-picker-accent-dim",
25
+ "default": "var(--vvd-color-neutral-200)"
26
+ },
27
+ {
28
+ "name": "--vvd-date-picker-accent-pale",
29
+ "default": "var(--vvd-color-neutral-300)"
30
+ }
31
+ ],
32
+ "members": [
33
+ {
34
+ "kind": "field",
35
+ "name": "label",
36
+ "type": {
37
+ "text": "string | undefined"
38
+ },
39
+ "description": "The label text of the date-picker.",
40
+ "privacy": "public"
41
+ },
42
+ {
43
+ "kind": "field",
44
+ "name": "helperText",
45
+ "type": {
46
+ "text": "string | undefined"
47
+ },
48
+ "description": "The helper-text text of the date-picker.",
49
+ "privacy": "public"
50
+ },
51
+ {
52
+ "kind": "field",
53
+ "name": "errorText",
54
+ "type": {
55
+ "text": "string | undefined"
56
+ },
57
+ "description": "The error-text text of the date-picker.",
58
+ "privacy": "public"
59
+ },
60
+ {
61
+ "kind": "field",
62
+ "name": "value",
63
+ "type": {
64
+ "text": "DateStr | null"
65
+ },
66
+ "default": "null",
67
+ "description": "The currently selected date of the date-picker.",
68
+ "privacy": "public"
69
+ },
70
+ {
71
+ "kind": "method",
72
+ "name": "#updateValueDueToUserInteraction",
73
+ "parameters": [
74
+ {
75
+ "name": "newValue",
76
+ "type": {
77
+ "text": "DateStr | null"
78
+ }
79
+ }
80
+ ]
81
+ },
82
+ {
83
+ "kind": "field",
84
+ "name": "disabled",
85
+ "type": {
86
+ "text": "boolean"
87
+ },
88
+ "default": "false",
89
+ "description": "Whether the date-picker is disabled.",
90
+ "privacy": "public"
91
+ },
92
+ {
93
+ "kind": "field",
94
+ "name": "readOnly",
95
+ "type": {
96
+ "text": "boolean"
97
+ },
98
+ "default": "false",
99
+ "description": "Whether the date-picker is readonly.",
100
+ "privacy": "public"
101
+ },
102
+ {
103
+ "kind": "field",
104
+ "name": "#dismissOnClickOutside",
105
+ "privacy": "private"
106
+ },
107
+ {
108
+ "kind": "field",
109
+ "name": "#isClosingPopup",
110
+ "privacy": "private",
111
+ "type": {
112
+ "text": "boolean"
113
+ },
114
+ "default": "false"
115
+ },
116
+ {
117
+ "kind": "method",
118
+ "name": "#openPopupIfPossible"
119
+ },
120
+ {
121
+ "kind": "method",
122
+ "name": "#closePopup",
123
+ "parameters": [
124
+ {
125
+ "name": "restoreFocusToTextField",
126
+ "default": "true"
127
+ }
128
+ ]
129
+ }
130
+ ],
131
+ "attributes": [
132
+ {
133
+ "name": "label",
134
+ "type": {
135
+ "text": "string | undefined"
136
+ },
137
+ "description": "The label text of the date-picker.",
138
+ "fieldName": "label"
139
+ },
140
+ {
141
+ "name": "helper-text",
142
+ "type": {
143
+ "text": "string | undefined"
144
+ },
145
+ "description": "The helper-text text of the date-picker.",
146
+ "fieldName": "helperText"
147
+ },
148
+ {
149
+ "name": "error-text",
150
+ "type": {
151
+ "text": "string | undefined"
152
+ },
153
+ "description": "The error-text text of the date-picker.",
154
+ "fieldName": "errorText"
155
+ },
156
+ {
157
+ "type": {
158
+ "text": "DateStr | null"
159
+ },
160
+ "default": "null",
161
+ "description": "The currently selected date of the date-picker.",
162
+ "fieldName": "value"
163
+ },
164
+ {
165
+ "type": {
166
+ "text": "boolean"
167
+ },
168
+ "default": "false",
169
+ "description": "Whether the date-picker is disabled.",
170
+ "fieldName": "disabled"
171
+ },
172
+ {
173
+ "name": "readonly",
174
+ "type": {
175
+ "text": "boolean"
176
+ },
177
+ "default": "false",
178
+ "description": "Whether the date-picker is readonly.",
179
+ "fieldName": "readOnly"
180
+ }
181
+ ],
182
+ "superclass": {
183
+ "name": "FoundationElement",
184
+ "package": "@microsoft/fast-foundation"
185
+ }
186
+ }
187
+ */
188
+ import wrapper from '@vonage/vivid-react-wrapper'
189
+ import { registerDatePicker } from '@vonage/vivid'
190
+
191
+ registerDatePicker('vvd3')
192
+
193
+ const VwcDatePicker = wrapper(`vvd3-date-picker`, {
194
+ events: [],
195
+ attributes: [],
196
+ properties: ['label', 'helperText', 'errorText', 'value', 'disabled', 'readOnly']
197
+ })
198
+
199
+ VwcDatePicker.displayName = 'VwcDatePicker'
200
+
201
+ export default VwcDatePicker
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-date-picker",
3
+ "version": "3.32.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.32.0"
10
+ }
11
+ }
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** Base class for dialog
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/dialog
4
4
  * @param {boolean} open - Indicates dialog's state **attribute** `open`
@@ -12,6 +12,7 @@ import React, { ReactNode } from 'react';
12
12
  * @param {string | null} ariaDescribedBy **attribute** `aria-describedby`
13
13
  * @param {string} returnValue
14
14
  * @param {HTMLElement[] | undefined} footerSlottedContent
15
+ * @param {HTMLElement[] | undefined} actionItemsSlottedContent
15
16
  */
16
17
  declare const VwcDialog: {
17
18
  (props: {
@@ -20,6 +21,7 @@ declare const VwcDialog: {
20
21
  id?: string | undefined;
21
22
  style?: React.CSSProperties | undefined;
22
23
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
24
+ onClose?: ((event: SyntheticEvent) => void) | undefined;
23
25
  open?: boolean | undefined;
24
26
  icon?: string | undefined;
25
27
  iconPlacement?: any;
@@ -31,6 +33,7 @@ declare const VwcDialog: {
31
33
  ariaDescribedBy?: string | null | undefined;
32
34
  returnValue?: string | undefined;
33
35
  footerSlottedContent?: any;
36
+ actionItemsSlottedContent?: any;
34
37
  }): JSX.Element;
35
38
  displayName: string;
36
39
  };
@@ -23,6 +23,10 @@ Code in this file were generated using following JSON:
23
23
  {
24
24
  "description": "Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.",
25
25
  "name": "main"
26
+ },
27
+ {
28
+ "description": "Use the action-items slot in order to add action buttons to the bottom of the dialog.",
29
+ "name": "action-items"
26
30
  }
27
31
  ],
28
32
  "members": [
@@ -189,6 +193,19 @@ Code in this file were generated using following JSON:
189
193
  "type": {
190
194
  "text": "HTMLElement[] | undefined"
191
195
  }
196
+ },
197
+ {
198
+ "kind": "field",
199
+ "name": "actionItemsSlottedContent",
200
+ "type": {
201
+ "text": "HTMLElement[] | undefined"
202
+ }
203
+ }
204
+ ],
205
+ "events": [
206
+ {
207
+ "description": "Fired when the dialog is closed",
208
+ "name": "close"
192
209
  }
193
210
  ],
194
211
  "attributes": [
@@ -273,9 +290,9 @@ import { registerDialog } from '@vonage/vivid'
273
290
  registerDialog('vvd3')
274
291
 
275
292
  const VwcDialog = wrapper(`vvd3-dialog`, {
276
- events: [],
293
+ events: [{"name":"close","propName":"onClose"}],
277
294
  attributes: [],
278
- properties: ['open', 'icon', 'iconPlacement', 'subtitle', 'headline', 'fullWidthBody', 'ariaLabelledBy', 'ariaLabel', 'ariaDescribedBy', 'returnValue', 'footerSlottedContent']
295
+ properties: ['open', 'icon', 'iconPlacement', 'subtitle', 'headline', 'fullWidthBody', 'ariaLabelledBy', 'ariaLabel', 'ariaDescribedBy', 'returnValue', 'footerSlottedContent', 'actionItemsSlottedContent']
279
296
  })
280
297
 
281
298
  VwcDialog.displayName = 'VwcDialog'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-dialog",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-divider",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-elevation",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-empty-state",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-fab",
3
- "version": "3.20.0",
3
+ "version": "3.32.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.20.0"
9
+ "@vonage/vivid": "3.32.0"
10
10
  }
11
11
  }
@@ -0,0 +1,28 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ /** File-picker component
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/file-picker
4
+ * @param {string | undefined} label - Indicates the file picker's label. **attribute** `label`
5
+ * @param {number | undefined} maxFiles - The max files that can be selected. **attribute** `max-files`
6
+ * @param {number} maxFileSize - The max file size that can be selected. **attribute** `max-file-size`
7
+ * @param {string | undefined} accept - List of accepted files types **attribute** `accept`
8
+ * @param {FileUploaderSize | undefined} size - The size the file-uploader should have. **attribute** `size`
9
+ * @param {boolean} autoDiscover
10
+ */
11
+ declare const VwcFilePicker: {
12
+ (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
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
19
+ label?: string | undefined;
20
+ maxFiles?: any;
21
+ maxFileSize?: number | undefined;
22
+ accept?: string | undefined;
23
+ size?: any;
24
+ autoDiscover?: boolean | undefined;
25
+ }): JSX.Element;
26
+ displayName: string;
27
+ };
28
+ export default VwcFilePicker;