@vonage/vivid-react 2.10.72 → 2.10.73

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 (182) 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/package.json +2 -2
  68. package/v3/VwcAccordionItem/package.json +2 -2
  69. package/v3/VwcActionGroup/package.json +2 -2
  70. package/v3/VwcAlert/package.json +2 -2
  71. package/v3/VwcAvatar/package.json +2 -2
  72. package/v3/VwcBadge/package.json +2 -2
  73. package/v3/VwcBanner/package.json +2 -2
  74. package/v3/VwcBreadcrumb/package.json +2 -2
  75. package/v3/VwcBreadcrumbItem/package.json +2 -2
  76. package/v3/VwcButton/package.json +2 -2
  77. package/v3/VwcCalendar/package.json +2 -2
  78. package/v3/VwcCalendarEvent/package.json +2 -2
  79. package/v3/VwcCard/package.json +2 -2
  80. package/v3/VwcCheckbox/index.d.ts +2 -0
  81. package/v3/VwcCheckbox/index.js +17 -1
  82. package/v3/VwcCheckbox/package.json +2 -2
  83. package/v3/VwcCombobox/package.json +2 -2
  84. package/v3/VwcDataGrid/index.d.ts +1 -1
  85. package/v3/VwcDataGrid/index.js +4 -1
  86. package/v3/VwcDataGrid/package.json +2 -2
  87. package/v3/VwcDataGridCell/index.d.ts +4 -3
  88. package/v3/VwcDataGridCell/index.js +15 -3
  89. package/v3/VwcDataGridCell/package.json +2 -2
  90. package/v3/VwcDataGridRow/index.d.ts +1 -1
  91. package/v3/VwcDataGridRow/index.js +4 -1
  92. package/v3/VwcDataGridRow/package.json +2 -2
  93. package/v3/VwcDatePicker/index.d.ts +6 -6
  94. package/v3/VwcDatePicker/index.js +161 -100
  95. package/v3/VwcDatePicker/package.json +2 -2
  96. package/v3/VwcDatePickerBase/index.d.ts +29 -0
  97. package/v3/VwcDatePickerBase/index.js +248 -0
  98. package/v3/VwcDatePickerBase/package.json +11 -0
  99. package/v3/VwcDateRangePicker/index.d.ts +56 -0
  100. package/v3/VwcDateRangePicker/index.js +444 -0
  101. package/v3/VwcDateRangePicker/package.json +11 -0
  102. package/v3/VwcDialog/index.d.ts +2 -0
  103. package/v3/VwcDialog/index.js +18 -2
  104. package/v3/VwcDialog/package.json +2 -2
  105. package/v3/VwcDivider/package.json +2 -2
  106. package/v3/VwcElevation/package.json +2 -2
  107. package/v3/VwcEmptyState/package.json +2 -2
  108. package/v3/VwcFab/package.json +2 -2
  109. package/v3/VwcFilePicker/index.d.ts +4 -2
  110. package/v3/VwcFilePicker/index.js +62 -20
  111. package/v3/VwcFilePicker/package.json +2 -2
  112. package/v3/VwcFocus/package.json +2 -2
  113. package/v3/{VwcFormAssociatedDatePicker → VwcFormAssociatedFilePicker}/index.d.ts +4 -6
  114. package/v3/VwcFormAssociatedFilePicker/index.js +44 -0
  115. package/v3/VwcFormAssociatedFilePicker/package.json +11 -0
  116. package/v3/VwcHeader/package.json +2 -2
  117. package/v3/VwcIcon/package.json +2 -2
  118. package/v3/VwcLayout/package.json +2 -2
  119. package/v3/VwcListbox/package.json +2 -2
  120. package/v3/VwcMenu/index.d.ts +2 -0
  121. package/v3/VwcMenu/index.js +5 -1
  122. package/v3/VwcMenu/package.json +2 -2
  123. package/v3/VwcMenuItem/index.d.ts +4 -0
  124. package/v3/VwcMenuItem/index.js +37 -1
  125. package/v3/VwcMenuItem/package.json +2 -2
  126. package/v3/VwcNav/package.json +2 -2
  127. package/v3/VwcNavDisclosure/package.json +2 -2
  128. package/v3/VwcNavItem/package.json +2 -2
  129. package/v3/VwcNote/package.json +2 -2
  130. package/v3/VwcNumberField/index.d.ts +4 -0
  131. package/v3/VwcNumberField/index.js +33 -1
  132. package/v3/VwcNumberField/package.json +2 -2
  133. package/v3/{VwcListboxOption → VwcOption}/index.d.ts +3 -3
  134. package/v3/{VwcListboxOption → VwcOption}/index.js +5 -5
  135. package/v3/{VwcListboxOption → VwcOption}/package.json +2 -2
  136. package/v3/VwcPagination/package.json +2 -2
  137. package/v3/VwcPopup/package.json +2 -2
  138. package/v3/VwcProgress/index.d.ts +5 -3
  139. package/v3/VwcProgress/index.js +29 -4
  140. package/v3/VwcProgress/package.json +2 -2
  141. package/v3/VwcProgressRing/index.d.ts +2 -0
  142. package/v3/VwcProgressRing/index.js +17 -1
  143. package/v3/VwcProgressRing/package.json +2 -2
  144. package/v3/VwcRadio/index.d.ts +2 -0
  145. package/v3/VwcRadio/index.js +17 -1
  146. package/v3/VwcRadio/package.json +2 -2
  147. package/v3/VwcRadioGroup/package.json +2 -2
  148. package/v3/VwcSelect/index.d.ts +2 -1
  149. package/v3/VwcSelect/index.js +1 -1
  150. package/v3/VwcSelect/package.json +2 -2
  151. package/v3/VwcSelectableBox/index.d.ts +30 -0
  152. package/v3/VwcSelectableBox/index.js +197 -0
  153. package/v3/VwcSelectableBox/package.json +11 -0
  154. package/v3/VwcSideDrawer/index.d.ts +3 -1
  155. package/v3/VwcSideDrawer/index.js +11 -1
  156. package/v3/VwcSideDrawer/package.json +2 -2
  157. package/v3/VwcSlider/index.d.ts +6 -0
  158. package/v3/VwcSlider/index.js +60 -1
  159. package/v3/VwcSlider/package.json +2 -2
  160. package/v3/VwcSplitButton/package.json +2 -2
  161. package/v3/VwcSwitch/index.d.ts +1 -1
  162. package/v3/VwcSwitch/index.js +4 -1
  163. package/v3/VwcSwitch/package.json +2 -2
  164. package/v3/VwcTab/package.json +2 -2
  165. package/v3/VwcTabPanel/package.json +2 -2
  166. package/v3/VwcTabs/package.json +2 -2
  167. package/v3/VwcTag/package.json +2 -2
  168. package/v3/VwcTagGroup/index.d.ts +2 -1
  169. package/v3/VwcTagGroup/index.js +21 -1
  170. package/v3/VwcTagGroup/package.json +2 -2
  171. package/v3/VwcTextAnchor/package.json +2 -2
  172. package/v3/VwcTextArea/index.d.ts +1 -1
  173. package/v3/VwcTextArea/index.js +11 -0
  174. package/v3/VwcTextArea/package.json +2 -2
  175. package/v3/VwcTextField/index.js +24 -0
  176. package/v3/VwcTextField/package.json +2 -2
  177. package/v3/VwcToggletip/package.json +2 -2
  178. package/v3/VwcTooltip/package.json +2 -2
  179. package/v3/VwcTreeItem/package.json +2 -2
  180. package/v3/VwcTreeView/package.json +2 -2
  181. package/v3/VwcFormAssociatedDatePicker/index.js +0 -52
  182. package/v3/VwcFormAssociatedDatePicker/package.json +0 -11
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-popup",
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,9 +1,10 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** Base class for progress
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/progress
4
- * @param {ProgressShape | undefined} shape **attribute** `shape`
5
- * @param {ProgressConnotation | undefined} connotation **attribute** `connotation`
6
- * @param {boolean} reverse **attribute** `reverse`
4
+ * @param {string | null} ariaLabel **attribute** `aria-label`
5
+ * @param {ProgressShape | undefined} shape - Indicates the progress' shape. **attribute** `shape`
6
+ * @param {ProgressConnotation | undefined} connotation - Indicates the progress' connotation. **attribute** `connotation`
7
+ * @param {boolean} reverse - Indicates the progress' reverse status. **attribute** `reverse`
7
8
  */
8
9
  declare const VwcProgress: {
9
10
  (props: {
@@ -12,6 +13,7 @@ declare const VwcProgress: {
12
13
  id?: string | undefined;
13
14
  style?: React.CSSProperties | undefined;
14
15
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
16
+ ariaLabel?: string | null | undefined;
15
17
  shape?: any;
16
18
  connotation?: any;
17
19
  reverse?: boolean | undefined;
@@ -42,19 +42,31 @@ Code in this file were generated using following JSON:
42
42
  }
43
43
  ],
44
44
  "members": [
45
+ {
46
+ "kind": "field",
47
+ "name": "ariaLabel",
48
+ "type": {
49
+ "text": "string | null"
50
+ },
51
+ "default": "null"
52
+ },
45
53
  {
46
54
  "kind": "field",
47
55
  "name": "shape",
48
56
  "type": {
49
57
  "text": "ProgressShape | undefined"
50
- }
58
+ },
59
+ "description": "Indicates the progress' shape.",
60
+ "privacy": "public"
51
61
  },
52
62
  {
53
63
  "kind": "field",
54
64
  "name": "connotation",
55
65
  "type": {
56
66
  "text": "ProgressConnotation | undefined"
57
- }
67
+ },
68
+ "description": "Indicates the progress' connotation.",
69
+ "privacy": "public"
58
70
  },
59
71
  {
60
72
  "kind": "field",
@@ -62,15 +74,26 @@ Code in this file were generated using following JSON:
62
74
  "type": {
63
75
  "text": "boolean"
64
76
  },
65
- "default": "false"
77
+ "default": "false",
78
+ "description": "Indicates the progress' reverse status.",
79
+ "privacy": "public"
66
80
  }
67
81
  ],
68
82
  "attributes": [
83
+ {
84
+ "name": "aria-label",
85
+ "type": {
86
+ "text": "string | null"
87
+ },
88
+ "default": "null",
89
+ "fieldName": "ariaLabel"
90
+ },
69
91
  {
70
92
  "name": "shape",
71
93
  "type": {
72
94
  "text": "ProgressShape | undefined"
73
95
  },
96
+ "description": "Indicates the progress' shape.",
74
97
  "fieldName": "shape"
75
98
  },
76
99
  {
@@ -78,6 +101,7 @@ Code in this file were generated using following JSON:
78
101
  "type": {
79
102
  "text": "ProgressConnotation | undefined"
80
103
  },
104
+ "description": "Indicates the progress' connotation.",
81
105
  "fieldName": "connotation"
82
106
  },
83
107
  {
@@ -85,6 +109,7 @@ Code in this file were generated using following JSON:
85
109
  "text": "boolean"
86
110
  },
87
111
  "default": "false",
112
+ "description": "Indicates the progress' reverse status.",
88
113
  "fieldName": "reverse"
89
114
  }
90
115
  ],
@@ -102,7 +127,7 @@ registerProgress('vvd3')
102
127
  const VwcProgress = wrapper(`vvd3-progress`, {
103
128
  events: [],
104
129
  attributes: [],
105
- properties: ['shape', 'connotation', 'reverse']
130
+ properties: ['ariaLabel', 'shape', 'connotation', 'reverse']
106
131
  })
107
132
 
108
133
  VwcProgress.displayName = 'VwcProgress'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-progress",
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,6 +1,7 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** Base class for progress-ring
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/progress-ring
4
+ * @param {string | null} ariaLabel **attribute** `aria-label`
4
5
  * @param {ProgressRingConnotation | undefined} connotation **attribute** `connotation`
5
6
  * @param {-6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | undefined} size **attribute** `size`
6
7
  */
@@ -11,6 +12,7 @@ declare const VwcProgressRing: {
11
12
  id?: string | undefined;
12
13
  style?: React.CSSProperties | undefined;
13
14
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
+ ariaLabel?: string | null | undefined;
14
16
  connotation?: any;
15
17
  size?: any;
16
18
  }): JSX.Element;
@@ -26,6 +26,14 @@ Code in this file were generated using following JSON:
26
26
  }
27
27
  ],
28
28
  "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "ariaLabel",
32
+ "type": {
33
+ "text": "string | null"
34
+ },
35
+ "default": "null"
36
+ },
29
37
  {
30
38
  "kind": "field",
31
39
  "name": "connotation",
@@ -42,6 +50,14 @@ Code in this file were generated using following JSON:
42
50
  }
43
51
  ],
44
52
  "attributes": [
53
+ {
54
+ "name": "aria-label",
55
+ "type": {
56
+ "text": "string | null"
57
+ },
58
+ "default": "null",
59
+ "fieldName": "ariaLabel"
60
+ },
45
61
  {
46
62
  "name": "connotation",
47
63
  "type": {
@@ -71,7 +87,7 @@ registerProgressRing('vvd3')
71
87
  const VwcProgressRing = wrapper(`vvd3-progress-ring`, {
72
88
  events: [],
73
89
  attributes: [],
74
- properties: ['connotation', 'size']
90
+ properties: ['ariaLabel', 'connotation', 'size']
75
91
  })
76
92
 
77
93
  VwcProgressRing.displayName = 'VwcProgressRing'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-progress-ring",
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,6 +1,7 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** Base class for radio
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/radio
4
+ * @param {string | null} ariaLabel **attribute** `aria-label`
4
5
  * @param {string | undefined} label - Indicates the radio's label. **attribute** `label`
5
6
  * @param {RadioConnotation | undefined} connotation - The connotation the radioButton should have. **attribute** `connotation`
6
7
  */
@@ -11,6 +12,7 @@ declare const VwcRadio: {
11
12
  id?: string | undefined;
12
13
  style?: React.CSSProperties | undefined;
13
14
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
15
+ ariaLabel?: string | null | undefined;
14
16
  label?: string | undefined;
15
17
  connotation?: any;
16
18
  }): JSX.Element;
@@ -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": "label",
@@ -78,6 +86,14 @@ Code in this file were generated using following JSON:
78
86
  }
79
87
  ],
80
88
  "attributes": [
89
+ {
90
+ "name": "aria-label",
91
+ "type": {
92
+ "text": "string | null"
93
+ },
94
+ "default": "null",
95
+ "fieldName": "ariaLabel"
96
+ },
81
97
  {
82
98
  "name": "label",
83
99
  "type": {
@@ -109,7 +125,7 @@ registerRadio('vvd3')
109
125
  const VwcRadio = wrapper(`vvd3-radio`, {
110
126
  events: [],
111
127
  attributes: [],
112
- properties: ['label', 'connotation']
128
+ properties: ['ariaLabel', 'label', 'connotation']
113
129
  })
114
130
 
115
131
  VwcRadio.displayName = 'VwcRadio'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-radio",
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,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-radio-group",
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 select
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/select
4
4
  * @param {Popup} _popup
@@ -15,6 +15,7 @@ declare const VwcSelect: {
15
15
  id?: string | undefined;
16
16
  style?: React.CSSProperties | undefined;
17
17
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
18
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
18
19
  _popup?: any;
19
20
  _anchor?: any;
20
21
  appearance?: any;
@@ -188,7 +188,7 @@ import { registerSelect } from '@vonage/vivid'
188
188
  registerSelect('vvd3')
189
189
 
190
190
  const VwcSelect = wrapper(`vvd3-select`, {
191
- events: [],
191
+ events: [{"name":"change","propName":"onChange"}],
192
192
  attributes: [],
193
193
  properties: ['_popup', '_anchor', 'appearance', 'shape', 'fixedDropdown', 'placeholder']
194
194
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-select",
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
  }
@@ -0,0 +1,30 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ /** Base class for selectable-box
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/selectable-box
4
+ * @param {boolean} checked - Controls the checked state of the box **attribute** `checked`
5
+ * @param {boolean} clickable - Makes the whole selectable box clickable **attribute** `clickable`
6
+ * @param {SelectableBoxConnotation | undefined} connotation - The connotation the selectable box should have. **attribute** `connotation`
7
+ * @param {string | null} controlAriaLabel - Adds an accessible label to selectable box **attribute** `control-aria-label`
8
+ * @param {string | null} controlAriaLabelledby - Links a piece of content as an accessible label **attribute** `control-aria-labelledby`
9
+ * @param {SelectableBoxControlType | undefined} controlType - The type of control the box should have: checkbox or radio. **attribute** `control-type`
10
+ * @param {boolean} tight - Removes the padding around the box's slot content **attribute** `tight`
11
+ */
12
+ declare const VwcSelectableBox: {
13
+ (props: {
14
+ children?: ReactNode;
15
+ slot?: string | undefined;
16
+ id?: string | undefined;
17
+ style?: React.CSSProperties | undefined;
18
+ ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
19
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
20
+ checked?: boolean | undefined;
21
+ clickable?: boolean | undefined;
22
+ connotation?: any;
23
+ controlAriaLabel?: string | null | undefined;
24
+ controlAriaLabelledby?: string | null | undefined;
25
+ controlType?: any;
26
+ tight?: boolean | undefined;
27
+ }): JSX.Element;
28
+ displayName: string;
29
+ };
30
+ export default VwcSelectableBox;
@@ -0,0 +1,197 @@
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 selectable-box",
9
+ "name": "SelectableBox",
10
+ "cssProperties": [
11
+ {
12
+ "name": "--vvd-selectable-box-cta-firm",
13
+ "default": "var(--vvd-color-cta-600)"
14
+ },
15
+ {
16
+ "name": "--vvd-selectable-box-cta-pale",
17
+ "default": "var(--vvd-color-cta-300)"
18
+ },
19
+ {
20
+ "name": "--vvd-selectable-box-cta-soft",
21
+ "default": "var(--vvd-color-cta-100)"
22
+ },
23
+ {
24
+ "name": "--vvd-selectable-box-accent-firm",
25
+ "default": "var(--vvd-color-canvas-text)"
26
+ },
27
+ {
28
+ "name": "--vvd-selectable-box-accent-pale",
29
+ "default": "var(--vvd-color-neutral-300)"
30
+ },
31
+ {
32
+ "name": "--vvd-selectable-box-accent-soft",
33
+ "default": "var(--vvd-color-neutral-100)"
34
+ }
35
+ ],
36
+ "slots": [
37
+ {
38
+ "description": "Slot for box's content.",
39
+ "name": "default"
40
+ }
41
+ ],
42
+ "members": [
43
+ {
44
+ "kind": "field",
45
+ "name": "checked",
46
+ "type": {
47
+ "text": "boolean"
48
+ },
49
+ "default": "false",
50
+ "description": "Controls the checked state of the box",
51
+ "privacy": "public"
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "clickable",
56
+ "type": {
57
+ "text": "boolean"
58
+ },
59
+ "default": "false",
60
+ "description": "Makes the whole selectable box clickable",
61
+ "privacy": "public"
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "connotation",
66
+ "type": {
67
+ "text": "SelectableBoxConnotation | undefined"
68
+ },
69
+ "description": "The connotation the selectable box should have.",
70
+ "privacy": "public"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "controlAriaLabel",
75
+ "type": {
76
+ "text": "string | null"
77
+ },
78
+ "default": "null",
79
+ "description": "Adds an accessible label to selectable box",
80
+ "privacy": "public"
81
+ },
82
+ {
83
+ "kind": "field",
84
+ "name": "controlAriaLabelledby",
85
+ "type": {
86
+ "text": "string | null"
87
+ },
88
+ "default": "null",
89
+ "description": "Links a piece of content as an accessible label",
90
+ "privacy": "public"
91
+ },
92
+ {
93
+ "kind": "field",
94
+ "name": "controlType",
95
+ "type": {
96
+ "text": "SelectableBoxControlType | undefined"
97
+ },
98
+ "description": "The type of control the box should have: checkbox or radio.",
99
+ "privacy": "public"
100
+ },
101
+ {
102
+ "kind": "field",
103
+ "name": "tight",
104
+ "type": {
105
+ "text": "boolean"
106
+ },
107
+ "default": "false",
108
+ "description": "Removes the padding around the box's slot content",
109
+ "privacy": "public"
110
+ }
111
+ ],
112
+ "events": [
113
+ {
114
+ "description": "Fired when the checked state changes",
115
+ "name": "change"
116
+ }
117
+ ],
118
+ "attributes": [
119
+ {
120
+ "type": {
121
+ "text": "boolean"
122
+ },
123
+ "default": "false",
124
+ "description": "Controls the checked state of the box",
125
+ "fieldName": "checked"
126
+ },
127
+ {
128
+ "type": {
129
+ "text": "boolean"
130
+ },
131
+ "default": "false",
132
+ "description": "Makes the whole selectable box clickable",
133
+ "fieldName": "clickable"
134
+ },
135
+ {
136
+ "name": "connotation",
137
+ "type": {
138
+ "text": "SelectableBoxConnotation | undefined"
139
+ },
140
+ "description": "The connotation the selectable box should have.",
141
+ "fieldName": "connotation"
142
+ },
143
+ {
144
+ "name": "control-aria-label",
145
+ "type": {
146
+ "text": "string | null"
147
+ },
148
+ "default": "null",
149
+ "description": "Adds an accessible label to selectable box",
150
+ "fieldName": "controlAriaLabel"
151
+ },
152
+ {
153
+ "name": "control-aria-labelledby",
154
+ "type": {
155
+ "text": "string | null"
156
+ },
157
+ "default": "null",
158
+ "description": "Links a piece of content as an accessible label",
159
+ "fieldName": "controlAriaLabelledby"
160
+ },
161
+ {
162
+ "name": "control-type",
163
+ "type": {
164
+ "text": "SelectableBoxControlType | undefined"
165
+ },
166
+ "description": "The type of control the box should have: checkbox or radio.",
167
+ "fieldName": "controlType"
168
+ },
169
+ {
170
+ "type": {
171
+ "text": "boolean"
172
+ },
173
+ "default": "false",
174
+ "description": "Removes the padding around the box's slot content",
175
+ "fieldName": "tight"
176
+ }
177
+ ],
178
+ "superclass": {
179
+ "name": "FoundationElement",
180
+ "package": "@microsoft/fast-foundation"
181
+ }
182
+ }
183
+ */
184
+ import wrapper from '@vonage/vivid-react-wrapper'
185
+ import { registerSelectableBox } from '@vonage/vivid'
186
+
187
+ registerSelectableBox('vvd3')
188
+
189
+ const VwcSelectableBox = wrapper(`vvd3-selectable-box`, {
190
+ events: [{"name":"change","propName":"onChange"}],
191
+ attributes: [],
192
+ properties: ['checked', 'clickable', 'connotation', 'controlAriaLabel', 'controlAriaLabelledby', 'controlType', 'tight']
193
+ })
194
+
195
+ VwcSelectableBox.displayName = 'VwcSelectableBox'
196
+
197
+ export default VwcSelectableBox
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-selectable-box",
3
+ "version": "3.40.0",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.40.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 side-drawer
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/side-drawer
4
4
  * @param {boolean} alternate - applies scheme alternate region **attribute** `alternate`
@@ -13,6 +13,8 @@ declare const VwcSideDrawer: {
13
13
  id?: string | undefined;
14
14
  style?: React.CSSProperties | undefined;
15
15
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
16
+ onClose?: ((event: SyntheticEvent) => void) | undefined;
17
+ onOpen?: ((event: SyntheticEvent) => void) | undefined;
16
18
  alternate?: boolean | undefined;
17
19
  modal?: boolean | undefined;
18
20
  open?: boolean | undefined;
@@ -77,6 +77,16 @@ Code in this file were generated using following JSON:
77
77
  }
78
78
  }
79
79
  ],
80
+ "events": [
81
+ {
82
+ "description": "Fired when the side drawer is closed.",
83
+ "name": "close"
84
+ },
85
+ {
86
+ "description": "Fired when the side drawer is opened.",
87
+ "name": "open"
88
+ }
89
+ ],
80
90
  "attributes": [
81
91
  {
82
92
  "type": {
@@ -123,7 +133,7 @@ import { registerSideDrawer } from '@vonage/vivid'
123
133
  registerSideDrawer('vvd3')
124
134
 
125
135
  const VwcSideDrawer = wrapper(`vvd3-side-drawer`, {
126
- events: [],
136
+ events: [{"name":"open","propName":"onOpen"},{"name":"close","propName":"onClose"}],
127
137
  attributes: [],
128
138
  properties: ['alternate', 'modal', 'open', 'trailing']
129
139
  })
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-side-drawer",
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,10 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  /** Base class for slider
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/slider
4
+ * @param {string | null} ariaLabel **attribute** `aria-label`
5
+ * @param {string | null} ariaValuetext **attribute** `aria-valuetext`
4
6
  * @param {boolean} markers - Display markers on/off **attribute** `markers`
7
+ * @param {SliderConnotation | undefined} connotation - slider connotation **attribute** `connotation`
5
8
  */
6
9
  declare const VwcSlider: {
7
10
  (props: {
@@ -10,7 +13,10 @@ declare const VwcSlider: {
10
13
  id?: string | undefined;
11
14
  style?: React.CSSProperties | undefined;
12
15
  ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
16
+ ariaLabel?: string | null | undefined;
17
+ ariaValuetext?: string | null | undefined;
13
18
  markers?: boolean | undefined;
19
+ connotation?: any;
14
20
  }): JSX.Element;
15
21
  displayName: string;
16
22
  };