@vonage/vivid-react 2.10.72 → 2.10.74

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 (195) 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/VwcDialog/package.json +1 -1
  21. package/VwcDrawer/package.json +1 -1
  22. package/VwcDropdown/package.json +1 -1
  23. package/VwcElevation/package.json +1 -1
  24. package/VwcEmptyState/package.json +1 -1
  25. package/VwcExpansionPanel/package.json +1 -1
  26. package/VwcFab/package.json +1 -1
  27. package/VwcFilePicker/package.json +1 -1
  28. package/VwcFormfield/package.json +1 -1
  29. package/VwcHelperMessage/package.json +1 -1
  30. package/VwcIcon/package.json +1 -1
  31. package/VwcIconButton/package.json +1 -1
  32. package/VwcIconButtonToggle/package.json +1 -1
  33. package/VwcKeypad/package.json +1 -1
  34. package/VwcLayout/package.json +1 -1
  35. package/VwcLinearProgress/package.json +1 -1
  36. package/VwcList/package.json +1 -1
  37. package/VwcListExpansionPanel/package.json +1 -1
  38. package/VwcListItem/package.json +1 -1
  39. package/VwcMenu/package.json +1 -1
  40. package/VwcNotchedOutline/package.json +1 -1
  41. package/VwcNote/package.json +1 -1
  42. package/VwcPagination/package.json +1 -1
  43. package/VwcPopup/package.json +1 -1
  44. package/VwcRadio/package.json +1 -1
  45. package/VwcRadioListItem/package.json +1 -1
  46. package/VwcSchemeSelect/package.json +1 -1
  47. package/VwcScrubBar/package.json +1 -1
  48. package/VwcSelect/package.json +1 -1
  49. package/VwcSideDrawer/package.json +1 -1
  50. package/VwcSlider/package.json +1 -1
  51. package/VwcSnackbar/package.json +1 -1
  52. package/VwcSurface/package.json +1 -1
  53. package/VwcSwitch/package.json +1 -1
  54. package/VwcTab/package.json +1 -1
  55. package/VwcTabBar/package.json +1 -1
  56. package/VwcTag/package.json +1 -1
  57. package/VwcText/package.json +1 -1
  58. package/VwcTextarea/package.json +1 -1
  59. package/VwcTextfield/package.json +1 -1
  60. package/VwcThemeSwitch/package.json +1 -1
  61. package/VwcTooltip/package.json +1 -1
  62. package/VwcTopAppBar/package.json +1 -1
  63. package/VwcTopAppBarFixed/package.json +1 -1
  64. package/index.js +8 -8
  65. package/package.json +16 -10
  66. package/types/index.d.ts +42 -6
  67. package/v3/VwcAccordion/index.d.ts +2 -1
  68. package/v3/VwcAccordion/index.js +1 -1
  69. package/v3/VwcAccordion/package.json +2 -2
  70. package/v3/VwcAccordionItem/package.json +2 -2
  71. package/v3/VwcActionGroup/package.json +2 -2
  72. package/v3/VwcAlert/package.json +2 -2
  73. package/v3/VwcAvatar/package.json +2 -2
  74. package/v3/VwcBadge/package.json +2 -2
  75. package/v3/VwcBanner/package.json +2 -2
  76. package/v3/VwcBreadcrumb/package.json +2 -2
  77. package/v3/VwcBreadcrumbItem/package.json +2 -2
  78. package/v3/VwcButton/package.json +2 -2
  79. package/v3/VwcCalendar/package.json +2 -2
  80. package/v3/VwcCalendarEvent/package.json +2 -2
  81. package/v3/VwcCard/package.json +2 -2
  82. package/v3/VwcCheckbox/index.d.ts +4 -1
  83. package/v3/VwcCheckbox/index.js +18 -2
  84. package/v3/VwcCheckbox/package.json +2 -2
  85. package/v3/VwcCombobox/index.d.ts +2 -1
  86. package/v3/VwcCombobox/index.js +1 -1
  87. package/v3/VwcCombobox/package.json +2 -2
  88. package/v3/VwcDataGrid/index.d.ts +1 -1
  89. package/v3/VwcDataGrid/index.js +4 -1
  90. package/v3/VwcDataGrid/package.json +2 -2
  91. package/v3/VwcDataGridCell/index.d.ts +4 -3
  92. package/v3/VwcDataGridCell/index.js +15 -3
  93. package/v3/VwcDataGridCell/package.json +2 -2
  94. package/v3/VwcDataGridRow/index.d.ts +1 -1
  95. package/v3/VwcDataGridRow/index.js +4 -1
  96. package/v3/VwcDataGridRow/package.json +2 -2
  97. package/v3/VwcDatePicker/index.d.ts +6 -6
  98. package/v3/VwcDatePicker/index.js +161 -100
  99. package/v3/VwcDatePicker/package.json +2 -2
  100. package/v3/VwcDatePickerBase/index.d.ts +29 -0
  101. package/v3/VwcDatePickerBase/index.js +248 -0
  102. package/v3/VwcDatePickerBase/package.json +11 -0
  103. package/v3/VwcDateRangePicker/index.d.ts +56 -0
  104. package/v3/VwcDateRangePicker/index.js +444 -0
  105. package/v3/VwcDateRangePicker/package.json +11 -0
  106. package/v3/VwcDialog/index.d.ts +2 -0
  107. package/v3/VwcDialog/index.js +18 -2
  108. package/v3/VwcDialog/package.json +2 -2
  109. package/v3/VwcDivider/package.json +2 -2
  110. package/v3/VwcElevation/package.json +2 -2
  111. package/v3/VwcEmptyState/package.json +2 -2
  112. package/v3/VwcFab/package.json +2 -2
  113. package/v3/VwcFilePicker/index.d.ts +4 -2
  114. package/v3/VwcFilePicker/index.js +62 -20
  115. package/v3/VwcFilePicker/package.json +2 -2
  116. package/v3/VwcFocus/package.json +2 -2
  117. package/v3/{VwcFormAssociatedDatePicker → VwcFormAssociatedFilePicker}/index.d.ts +4 -6
  118. package/v3/VwcFormAssociatedFilePicker/index.js +44 -0
  119. package/v3/VwcFormAssociatedFilePicker/package.json +11 -0
  120. package/v3/VwcHeader/package.json +2 -2
  121. package/v3/VwcIcon/package.json +2 -2
  122. package/v3/VwcLayout/package.json +2 -2
  123. package/v3/VwcListbox/package.json +2 -2
  124. package/v3/VwcMenu/index.d.ts +2 -0
  125. package/v3/VwcMenu/index.js +5 -1
  126. package/v3/VwcMenu/package.json +2 -2
  127. package/v3/VwcMenuItem/index.d.ts +6 -1
  128. package/v3/VwcMenuItem/index.js +38 -2
  129. package/v3/VwcMenuItem/package.json +2 -2
  130. package/v3/VwcNav/package.json +2 -2
  131. package/v3/VwcNavDisclosure/package.json +2 -2
  132. package/v3/VwcNavItem/package.json +2 -2
  133. package/v3/VwcNote/package.json +2 -2
  134. package/v3/VwcNumberField/index.d.ts +7 -1
  135. package/v3/VwcNumberField/index.js +34 -2
  136. package/v3/VwcNumberField/package.json +2 -2
  137. package/v3/{VwcListboxOption → VwcOption}/index.d.ts +3 -3
  138. package/v3/{VwcListboxOption → VwcOption}/index.js +5 -5
  139. package/v3/{VwcListboxOption → VwcOption}/package.json +2 -2
  140. package/v3/VwcPagination/package.json +2 -2
  141. package/v3/VwcPopup/package.json +2 -2
  142. package/v3/VwcProgress/index.d.ts +5 -3
  143. package/v3/VwcProgress/index.js +29 -4
  144. package/v3/VwcProgress/package.json +2 -2
  145. package/v3/VwcProgressRing/index.d.ts +2 -0
  146. package/v3/VwcProgressRing/index.js +17 -1
  147. package/v3/VwcProgressRing/package.json +2 -2
  148. package/v3/VwcRadio/index.d.ts +4 -1
  149. package/v3/VwcRadio/index.js +18 -2
  150. package/v3/VwcRadio/package.json +2 -2
  151. package/v3/VwcRadioGroup/index.d.ts +2 -1
  152. package/v3/VwcRadioGroup/index.js +1 -1
  153. package/v3/VwcRadioGroup/package.json +2 -2
  154. package/v3/VwcSelect/index.d.ts +2 -1
  155. package/v3/VwcSelect/index.js +1 -1
  156. package/v3/VwcSelect/package.json +2 -2
  157. package/v3/VwcSelectableBox/index.d.ts +30 -0
  158. package/v3/VwcSelectableBox/index.js +197 -0
  159. package/v3/VwcSelectableBox/package.json +11 -0
  160. package/v3/VwcSideDrawer/index.d.ts +3 -1
  161. package/v3/VwcSideDrawer/index.js +11 -1
  162. package/v3/VwcSideDrawer/package.json +2 -2
  163. package/v3/VwcSlider/index.d.ts +6 -0
  164. package/v3/VwcSlider/index.js +60 -1
  165. package/v3/VwcSlider/package.json +2 -2
  166. package/v3/VwcSplitButton/index.d.ts +2 -1
  167. package/v3/VwcSplitButton/index.js +1 -1
  168. package/v3/VwcSplitButton/package.json +2 -2
  169. package/v3/VwcSwitch/index.d.ts +3 -2
  170. package/v3/VwcSwitch/index.js +5 -2
  171. package/v3/VwcSwitch/package.json +2 -2
  172. package/v3/VwcTab/index.d.ts +2 -1
  173. package/v3/VwcTab/index.js +1 -1
  174. package/v3/VwcTab/package.json +2 -2
  175. package/v3/VwcTabPanel/package.json +2 -2
  176. package/v3/VwcTabs/index.d.ts +2 -1
  177. package/v3/VwcTabs/index.js +1 -1
  178. package/v3/VwcTabs/package.json +2 -2
  179. package/v3/VwcTag/package.json +2 -2
  180. package/v3/VwcTagGroup/index.d.ts +2 -1
  181. package/v3/VwcTagGroup/index.js +21 -1
  182. package/v3/VwcTagGroup/package.json +2 -2
  183. package/v3/VwcTextAnchor/package.json +2 -2
  184. package/v3/VwcTextArea/index.d.ts +3 -2
  185. package/v3/VwcTextArea/index.js +12 -1
  186. package/v3/VwcTextArea/package.json +2 -2
  187. package/v3/VwcTextField/index.d.ts +2 -2
  188. package/v3/VwcTextField/index.js +25 -1
  189. package/v3/VwcTextField/package.json +2 -2
  190. package/v3/VwcToggletip/package.json +2 -2
  191. package/v3/VwcTooltip/package.json +2 -2
  192. package/v3/VwcTreeItem/package.json +2 -2
  193. package/v3/VwcTreeView/package.json +2 -2
  194. package/v3/VwcFormAssociatedDatePicker/index.js +0 -52
  195. package/v3/VwcFormAssociatedDatePicker/package.json +0 -11
@@ -58,6 +58,14 @@ Code in this file were generated using following JSON:
58
58
  }
59
59
  ],
60
60
  "members": [
61
+ {
62
+ "kind": "field",
63
+ "name": "ariaLabel",
64
+ "type": {
65
+ "text": "string | null"
66
+ },
67
+ "default": "null"
68
+ },
61
69
  {
62
70
  "kind": "field",
63
71
  "name": "connotation",
@@ -69,6 +77,14 @@ Code in this file were generated using following JSON:
69
77
  }
70
78
  ],
71
79
  "attributes": [
80
+ {
81
+ "name": "aria-label",
82
+ "type": {
83
+ "text": "string | null"
84
+ },
85
+ "default": "null",
86
+ "fieldName": "ariaLabel"
87
+ },
72
88
  {
73
89
  "name": "connotation",
74
90
  "type": {
@@ -90,9 +106,9 @@ import { registerCheckbox } from '@vonage/vivid'
90
106
  registerCheckbox('vvd3')
91
107
 
92
108
  const VwcCheckbox = wrapper(`vvd3-checkbox`, {
93
- events: [],
109
+ events: [{"name":"change","propName":"onChange"}],
94
110
  attributes: [],
95
- properties: ['connotation']
111
+ properties: ['ariaLabel', 'connotation']
96
112
  })
97
113
 
98
114
  VwcCheckbox.displayName = 'VwcCheckbox'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-checkbox",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** Base class for combobox
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/combobox
4
4
  * @param {PopupPlacement | undefined} placement - the placement of the combobox
@@ -14,6 +14,7 @@ declare const VwcCombobox: {
14
14
  id?: string | undefined;
15
15
  style?: React.CSSProperties | undefined;
16
16
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
17
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
17
18
  placement?: any;
18
19
  _popup?: any;
19
20
  _anchor?: any;
@@ -77,7 +77,7 @@ import { registerCombobox } from '@vonage/vivid'
77
77
  registerCombobox('vvd3')
78
78
 
79
79
  const VwcCombobox = wrapper(`vvd3-combobox`, {
80
- events: [],
80
+ events: [{"name":"change","propName":"onChange"}],
81
81
  attributes: [],
82
82
  properties: ['placement', '_popup', '_anchor']
83
83
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-combobox",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,7 +1,7 @@
1
1
  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
4
- * @param {DataGridSelectionMode | undefined} selectionMode **attribute** `selection-mode`
4
+ * @param {DataGridSelectionMode | undefined} selectionMode - Indicates the selection mode. **attribute** `selection-mode`
5
5
  */
6
6
  declare const VwcDataGrid: {
7
7
  (props: {
@@ -19,7 +19,9 @@ Code in this file were generated using following JSON:
19
19
  "name": "selectionMode",
20
20
  "type": {
21
21
  "text": "DataGridSelectionMode | undefined"
22
- }
22
+ },
23
+ "description": "Indicates the selection mode.",
24
+ "privacy": "public"
23
25
  },
24
26
  {
25
27
  "kind": "field",
@@ -106,6 +108,7 @@ Code in this file were generated using following JSON:
106
108
  "type": {
107
109
  "text": "DataGridSelectionMode | undefined"
108
110
  },
111
+ "description": "Indicates the selection mode.",
109
112
  "fieldName": "selectionMode"
110
113
  }
111
114
  ],
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,8 +1,8 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { ReactNode, SyntheticEvent } 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
- * @param {string | null} ariaSelected **attribute** `aria-selected`
5
- * @param {string | null} ariaSort **attribute** `aria-sort`
4
+ * @param {string | null} ariaSelected - Indicates the selected status. **attribute** `aria-selected`
5
+ * @param {string | null} ariaSort - Indicates the sort status. **attribute** `aria-sort`
6
6
  * @param updateCellStyle
7
7
  */
8
8
  declare const VwcDataGridCell: {
@@ -12,6 +12,7 @@ declare const VwcDataGridCell: {
12
12
  id?: string | undefined;
13
13
  style?: React.CSSProperties | undefined;
14
14
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
+ onSort?: ((event: SyntheticEvent) => void) | undefined;
15
16
  ariaSelected?: string | null | undefined;
16
17
  ariaSort?: string | null | undefined;
17
18
  updateCellStyle?: any;
@@ -64,7 +64,9 @@ Code in this file were generated using following JSON:
64
64
  "type": {
65
65
  "text": "string | null"
66
66
  },
67
- "default": "null"
67
+ "default": "null",
68
+ "description": "Indicates the selected status.",
69
+ "privacy": "public"
68
70
  },
69
71
  {
70
72
  "kind": "field",
@@ -72,7 +74,9 @@ Code in this file were generated using following JSON:
72
74
  "type": {
73
75
  "text": "string | null"
74
76
  },
75
- "default": "null"
77
+ "default": "null",
78
+ "description": "Indicates the sort status.",
79
+ "privacy": "public"
76
80
  },
77
81
  {
78
82
  "kind": "method",
@@ -121,6 +125,12 @@ Code in this file were generated using following JSON:
121
125
  "name": "updateCellStyle"
122
126
  }
123
127
  ],
128
+ "events": [
129
+ {
130
+ "description": "Event that fires when a sortable column header is clicked",
131
+ "name": "sort"
132
+ }
133
+ ],
124
134
  "attributes": [
125
135
  {
126
136
  "name": "aria-selected",
@@ -128,6 +138,7 @@ Code in this file were generated using following JSON:
128
138
  "text": "string | null"
129
139
  },
130
140
  "default": "null",
141
+ "description": "Indicates the selected status.",
131
142
  "fieldName": "ariaSelected"
132
143
  },
133
144
  {
@@ -136,6 +147,7 @@ Code in this file were generated using following JSON:
136
147
  "text": "string | null"
137
148
  },
138
149
  "default": "null",
150
+ "description": "Indicates the sort status.",
139
151
  "fieldName": "ariaSort"
140
152
  }
141
153
  ],
@@ -151,7 +163,7 @@ import { registerDataGridCell } from '@vonage/vivid'
151
163
  registerDataGridCell('vvd3')
152
164
 
153
165
  const VwcDataGridCell = wrapper(`vvd3-data-grid-cell`, {
154
- events: [],
166
+ events: [{"name":"sort","propName":"onSort"}],
155
167
  attributes: [],
156
168
  properties: ['ariaSelected', 'ariaSort', 'updateCellStyle']
157
169
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-cell",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,7 +1,7 @@
1
1
  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-row
4
- * @param {string | null} ariaSelected **attribute** `aria-selected`
4
+ * @param {string | null} ariaSelected - Indicates the selected status. **attribute** `aria-selected`
5
5
  */
6
6
  declare const VwcDataGridRow: {
7
7
  (props: {
@@ -64,7 +64,9 @@ Code in this file were generated using following JSON:
64
64
  "type": {
65
65
  "text": "string | null"
66
66
  },
67
- "default": "null"
67
+ "default": "null",
68
+ "description": "Indicates the selected status.",
69
+ "privacy": "public"
68
70
  }
69
71
  ],
70
72
  "attributes": [
@@ -74,6 +76,7 @@ Code in this file were generated using following JSON:
74
76
  "text": "string | null"
75
77
  },
76
78
  "default": "null",
79
+ "description": "Indicates the selected status.",
77
80
  "fieldName": "ariaSelected"
78
81
  }
79
82
  ],
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-data-grid-row",
3
- "version": "3.37.0",
3
+ "version": "3.40.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.37.0"
9
+ "@vonage/vivid": "3.40.0"
10
10
  }
11
11
  }
@@ -1,14 +1,14 @@
1
1
  import React, { ReactNode } from 'react';
2
- /** Base class for date-picker
2
+ /** Single date picker component.
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/date-picker
4
+ * @param {string} type
5
+ * @param {string} label
4
6
  * @param {string} min - The earliest accepted date of the date-picker. **attribute** `min`
5
- * @param {string} max - The latest accepted date of the date-picker. **attribute** `max`
7
+ * @param {string} max - The latest accepted date of the date-picker.
6
8
  * @param {string} initialValue - The initial value of the date-picker. **attribute** `value`
7
9
  * @param {string} currentValue - The current value of the date-picker. **attribute** `current-value`
8
10
  * @param {boolean} readOnly - Whether the date-picker is readonly. **attribute** `readonly`
9
11
  * @param {string} value
10
- * @param {HTMLInputElement} proxy
11
- * @param {string} type
12
12
  */
13
13
  declare const VwcDatePicker: {
14
14
  (props: {
@@ -17,14 +17,14 @@ declare const VwcDatePicker: {
17
17
  id?: string | undefined;
18
18
  style?: React.CSSProperties | undefined;
19
19
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
20
+ type?: string | undefined;
21
+ label?: string | undefined;
20
22
  min?: string | undefined;
21
23
  max?: string | undefined;
22
24
  initialValue?: string | undefined;
23
25
  currentValue?: string | undefined;
24
26
  readOnly?: boolean | undefined;
25
27
  value?: string | undefined;
26
- proxy?: any;
27
- type?: string | undefined;
28
28
  }): JSX.Element;
29
29
  displayName: string;
30
30
  };