@vonage/vivid-react 2.10.80 → 2.10.83

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 (179) 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/VwcScrubBar/package.json +2 -2
  49. package/VwcSelect/package.json +2 -2
  50. package/VwcSideDrawer/package.json +2 -2
  51. package/VwcSlider/package.json +2 -2
  52. package/VwcSnackbar/package.json +2 -2
  53. package/VwcSurface/package.json +2 -2
  54. package/VwcSwitch/package.json +2 -2
  55. package/VwcTab/package.json +2 -2
  56. package/VwcTabBar/package.json +2 -2
  57. package/VwcTag/package.json +2 -2
  58. package/VwcText/package.json +2 -2
  59. package/VwcTextarea/package.json +2 -2
  60. package/VwcTextfield/package.json +2 -2
  61. package/VwcThemeSwitch/package.json +2 -2
  62. package/VwcTooltip/package.json +2 -2
  63. package/VwcTopAppBar/package.json +2 -2
  64. package/VwcTopAppBarFixed/package.json +2 -2
  65. package/index.js +6 -6
  66. package/package.json +59 -59
  67. package/types/index.d.ts +13 -1
  68. package/v3/VwcAccordion/package.json +2 -2
  69. package/v3/VwcAccordionItem/index.js +4 -0
  70. package/v3/VwcAccordionItem/package.json +2 -2
  71. package/v3/VwcActionGroup/index.js +0 -4
  72. package/v3/VwcActionGroup/package.json +2 -2
  73. package/v3/VwcAlert/index.js +4 -0
  74. package/v3/VwcAlert/package.json +2 -2
  75. package/v3/VwcAppearanceUi/index.js +0 -28
  76. package/v3/VwcAppearanceUi/package.json +2 -2
  77. package/v3/VwcAudioPlayer/package.json +2 -2
  78. package/v3/VwcAvatar/package.json +2 -2
  79. package/v3/VwcBadge/index.js +6 -0
  80. package/v3/VwcBadge/package.json +2 -2
  81. package/v3/VwcBanner/index.js +4 -0
  82. package/v3/VwcBanner/package.json +2 -2
  83. package/v3/VwcBreadcrumb/package.json +2 -2
  84. package/v3/VwcBreadcrumbItem/package.json +2 -2
  85. package/v3/VwcButton/index.js +6 -0
  86. package/v3/VwcButton/package.json +2 -2
  87. package/v3/VwcCalendar/package.json +2 -2
  88. package/v3/VwcCalendarEvent/package.json +2 -2
  89. package/v3/VwcCard/package.json +2 -2
  90. package/v3/VwcCheckbox/index.js +8 -8
  91. package/v3/VwcCheckbox/package.json +2 -2
  92. package/v3/VwcCombobox/index.js +0 -4
  93. package/v3/VwcCombobox/package.json +2 -2
  94. package/v3/VwcDataGrid/package.json +2 -2
  95. package/v3/VwcDataGridCell/index.js +6 -0
  96. package/v3/VwcDataGridCell/package.json +2 -2
  97. package/v3/VwcDataGridRow/index.js +6 -0
  98. package/v3/VwcDataGridRow/package.json +2 -2
  99. package/v3/VwcDatePicker/index.d.ts +2 -1
  100. package/v3/VwcDatePicker/index.js +11 -22
  101. package/v3/VwcDatePicker/package.json +2 -2
  102. package/v3/VwcDatePickerBase/index.d.ts +2 -1
  103. package/v3/VwcDatePickerBase/index.js +7 -14
  104. package/v3/VwcDatePickerBase/package.json +2 -2
  105. package/v3/VwcDateRangePicker/index.d.ts +1 -0
  106. package/v3/VwcDateRangePicker/index.js +9 -22
  107. package/v3/VwcDateRangePicker/package.json +2 -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 +1 -1
  114. package/v3/VwcFilePicker/index.js +2 -2
  115. package/v3/VwcFilePicker/package.json +2 -2
  116. package/v3/VwcFocus/package.json +2 -2
  117. package/v3/VwcFormAssociatedFilePicker/package.json +2 -2
  118. package/v3/VwcFormAssociatedTimePicker/index.d.ts +17 -0
  119. package/v3/VwcFormAssociatedTimePicker/index.js +41 -0
  120. package/v3/VwcFormAssociatedTimePicker/package.json +11 -0
  121. package/v3/VwcHeader/package.json +2 -2
  122. package/v3/VwcIcon/package.json +2 -2
  123. package/v3/VwcLayout/package.json +2 -2
  124. package/v3/VwcListbox/index.js +0 -4
  125. package/v3/VwcListbox/package.json +2 -2
  126. package/v3/VwcMenu/package.json +2 -2
  127. package/v3/VwcMenuItem/index.d.ts +4 -0
  128. package/v3/VwcMenuItem/index.js +12 -1
  129. package/v3/VwcMenuItem/package.json +2 -2
  130. package/v3/VwcNav/package.json +2 -2
  131. package/v3/VwcNavDisclosure/index.js +4 -0
  132. package/v3/VwcNavDisclosure/package.json +2 -2
  133. package/v3/VwcNavItem/index.js +4 -0
  134. package/v3/VwcNavItem/package.json +2 -2
  135. package/v3/VwcNote/index.js +4 -0
  136. package/v3/VwcNote/package.json +2 -2
  137. package/v3/VwcNumberField/index.js +9 -49
  138. package/v3/VwcNumberField/package.json +2 -2
  139. package/v3/VwcOption/package.json +2 -2
  140. package/v3/VwcPagination/index.d.ts +2 -1
  141. package/v3/VwcPagination/index.js +7 -1
  142. package/v3/VwcPagination/package.json +2 -2
  143. package/v3/VwcPopup/package.json +2 -2
  144. package/v3/VwcProgress/package.json +2 -2
  145. package/v3/VwcProgressRing/package.json +2 -2
  146. package/v3/VwcRadio/index.js +8 -8
  147. package/v3/VwcRadio/package.json +2 -2
  148. package/v3/VwcRadioGroup/package.json +2 -2
  149. package/v3/VwcSelect/index.js +9 -33
  150. package/v3/VwcSelect/package.json +2 -2
  151. package/v3/VwcSelectableBox/package.json +2 -2
  152. package/v3/VwcSideDrawer/package.json +2 -2
  153. package/v3/VwcSlider/package.json +2 -2
  154. package/v3/VwcSplitButton/index.js +4 -0
  155. package/v3/VwcSplitButton/package.json +2 -2
  156. package/v3/VwcSwitch/index.js +1 -17
  157. package/v3/VwcSwitch/package.json +2 -2
  158. package/v3/VwcTab/package.json +2 -2
  159. package/v3/VwcTabPanel/package.json +2 -2
  160. package/v3/VwcTabs/index.d.ts +2 -0
  161. package/v3/VwcTabs/index.js +20 -1
  162. package/v3/VwcTabs/package.json +2 -2
  163. package/v3/VwcTag/index.js +6 -0
  164. package/v3/VwcTag/package.json +2 -2
  165. package/v3/VwcTagGroup/package.json +2 -2
  166. package/v3/VwcTextAnchor/index.js +6 -0
  167. package/v3/VwcTextAnchor/package.json +2 -2
  168. package/v3/VwcTextArea/index.js +29 -5
  169. package/v3/VwcTextArea/package.json +2 -2
  170. package/v3/VwcTextField/index.js +9 -49
  171. package/v3/VwcTextField/package.json +2 -2
  172. package/v3/VwcTimePicker/index.d.ts +36 -0
  173. package/v3/VwcTimePicker/index.js +263 -0
  174. package/v3/VwcTimePicker/package.json +11 -0
  175. package/v3/VwcToggletip/package.json +2 -2
  176. package/v3/VwcTooltip/package.json +2 -2
  177. package/v3/VwcTreeItem/index.js +4 -0
  178. package/v3/VwcTreeItem/package.json +2 -2
  179. package/v3/VwcTreeView/package.json +2 -2
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tab-panel",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -4,6 +4,7 @@ import React, { ReactNode, SyntheticEvent } from 'react';
4
4
  * @param {HTMLElement | undefined} tablist
5
5
  * @param {TabsConnotation | undefined} connotation - The connotation the tabs should have. **attribute** `connotation`
6
6
  * @param {Gutters | undefined} gutters - sets the initial preferred margin from predefined available options **attribute** `gutters`
7
+ * @param {boolean} scrollablePanel - sets overflow to the tab-panel **attribute** `scrollable-panel`
7
8
  */
8
9
  declare const VwcTabs: {
9
10
  (props: {
@@ -16,6 +17,7 @@ declare const VwcTabs: {
16
17
  tablist?: any;
17
18
  connotation?: any;
18
19
  gutters?: any;
20
+ scrollablePanel?: boolean | undefined;
19
21
  }): JSX.Element;
20
22
  displayName: string;
21
23
  };
@@ -49,6 +49,16 @@ Code in this file were generated using following JSON:
49
49
  "description": "sets the initial preferred margin from predefined available options",
50
50
  "privacy": "public"
51
51
  },
52
+ {
53
+ "kind": "field",
54
+ "name": "scrollablePanel",
55
+ "type": {
56
+ "text": "boolean"
57
+ },
58
+ "default": "false",
59
+ "description": "sets overflow to the tab-panel",
60
+ "privacy": "public"
61
+ },
52
62
  {
53
63
  "kind": "method",
54
64
  "name": "connotationChanged"
@@ -150,6 +160,15 @@ Code in this file were generated using following JSON:
150
160
  },
151
161
  "description": "sets the initial preferred margin from predefined available options",
152
162
  "fieldName": "gutters"
163
+ },
164
+ {
165
+ "name": "scrollable-panel",
166
+ "type": {
167
+ "text": "boolean"
168
+ },
169
+ "default": "false",
170
+ "description": "sets overflow to the tab-panel",
171
+ "fieldName": "scrollablePanel"
153
172
  }
154
173
  ],
155
174
  "superclass": {
@@ -166,7 +185,7 @@ registerTabs('vvd3')
166
185
  const VwcTabs = wrapper(`vvd3-tabs`, {
167
186
  events: [{"name":"change","propName":"onChange"}],
168
187
  attributes: [],
169
- properties: ['tablist', 'connotation', 'gutters']
188
+ properties: ['tablist', 'connotation', 'gutters', 'scrollablePanel']
170
189
  })
171
190
 
172
191
  VwcTabs.displayName = 'VwcTabs'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tabs",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -65,6 +65,12 @@ Code in this file were generated using following JSON:
65
65
  "default": "var(--vvd-color-neutral-200)"
66
66
  }
67
67
  ],
68
+ "slots": [
69
+ {
70
+ "description": "Add an icon to the component.",
71
+ "name": "icon"
72
+ }
73
+ ],
68
74
  "members": [
69
75
  {
70
76
  "kind": "field",
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tag",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-tag-group",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -7,6 +7,12 @@ Code in this file were generated using following JSON:
7
7
  "kind": "class",
8
8
  "description": "Base class for text-anchor",
9
9
  "name": "TextAnchor",
10
+ "slots": [
11
+ {
12
+ "description": "Add an icon to the component.",
13
+ "name": "icon"
14
+ }
15
+ ],
10
16
  "members": [
11
17
  {
12
18
  "kind": "field",
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-text-anchor",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -13,8 +13,12 @@ Code in this file were generated using following JSON:
13
13
  "default": "var(--vvd-color-success-500)"
14
14
  },
15
15
  {
16
- "name": "--vvd-text-area-success-backdrop",
17
- "default": "var(--vvd-color-success-50)"
16
+ "name": "--vvd-text-area-success-primary-text",
17
+ "default": "var(--vvd-color-canvas)"
18
+ },
19
+ {
20
+ "name": "--vvd-text-area-success-primary-increment",
21
+ "default": "var(--vvd-color-success-600)"
18
22
  },
19
23
  {
20
24
  "name": "--vvd-text-area-success-intermediate",
@@ -24,6 +28,10 @@ Code in this file were generated using following JSON:
24
28
  "name": "--vvd-text-area-success-firm",
25
29
  "default": "var(--vvd-color-success-600)"
26
30
  },
31
+ {
32
+ "name": "--vvd-text-area-success-fierce",
33
+ "default": "var(--vvd-color-success-700)"
34
+ },
27
35
  {
28
36
  "name": "--vvd-text-area-success-faint",
29
37
  "default": "var(--vvd-color-success-50)"
@@ -37,8 +45,12 @@ Code in this file were generated using following JSON:
37
45
  "default": "var(--vvd-color-alert-500)"
38
46
  },
39
47
  {
40
- "name": "--vvd-text-area-alert-backdrop",
41
- "default": "var(--vvd-color-alert-50)"
48
+ "name": "--vvd-text-area-alert-primary-text",
49
+ "default": "var(--vvd-color-canvas)"
50
+ },
51
+ {
52
+ "name": "--vvd-text-area-alert-primary-increment",
53
+ "default": "var(--vvd-color-alert-600)"
42
54
  },
43
55
  {
44
56
  "name": "--vvd-text-area-alert-intermediate",
@@ -48,6 +60,10 @@ Code in this file were generated using following JSON:
48
60
  "name": "--vvd-text-area-alert-firm",
49
61
  "default": "var(--vvd-color-alert-600)"
50
62
  },
63
+ {
64
+ "name": "--vvd-text-area-alert-fierce",
65
+ "default": "var(--vvd-color-alert-700)"
66
+ },
51
67
  {
52
68
  "name": "--vvd-text-area-alert-faint",
53
69
  "default": "var(--vvd-color-alert-50)"
@@ -61,9 +77,13 @@ Code in this file were generated using following JSON:
61
77
  "default": "var(--vvd-color-canvas-text)"
62
78
  },
63
79
  {
64
- "name": "--vvd-text-area-accent-backdrop",
80
+ "name": "--vvd-text-area-accent-primary-text",
65
81
  "default": "var(--vvd-color-canvas)"
66
82
  },
83
+ {
84
+ "name": "--vvd-text-area-accent-primary-increment",
85
+ "default": "var(--vvd-color-neutral-800)"
86
+ },
67
87
  {
68
88
  "name": "--vvd-text-area-accent-intermediate",
69
89
  "default": "var(--vvd-color-neutral-500)"
@@ -72,6 +92,10 @@ Code in this file were generated using following JSON:
72
92
  "name": "--vvd-text-area-accent-firm",
73
93
  "default": "var(--vvd-color-canvas-text)"
74
94
  },
95
+ {
96
+ "name": "--vvd-text-area-accent-fierce",
97
+ "default": "var(--vvd-color-neutral-700)"
98
+ },
75
99
  {
76
100
  "name": "--vvd-text-area-accent-faint",
77
101
  "default": "var(--vvd-color-neutral-50)"
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-text-area",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -8,62 +8,18 @@ Code in this file were generated using following JSON:
8
8
  "description": "Base class for text-field",
9
9
  "name": "TextField",
10
10
  "cssProperties": [
11
- {
12
- "name": "--vvd-text-field-success-primary",
13
- "default": "var(--vvd-color-success-500)"
14
- },
15
- {
16
- "name": "--vvd-text-field-success-backdrop",
17
- "default": "var(--vvd-color-success-50)"
18
- },
19
- {
20
- "name": "--vvd-text-field-success-intermediate",
21
- "default": "var(--vvd-color-success-500)"
22
- },
23
- {
24
- "name": "--vvd-text-field-success-firm",
25
- "default": "var(--vvd-color-success-600)"
26
- },
27
- {
28
- "name": "--vvd-text-field-success-faint",
29
- "default": "var(--vvd-color-success-50)"
30
- },
31
- {
32
- "name": "--vvd-text-field-success-soft",
33
- "default": "var(--vvd-color-success-100)"
34
- },
35
- {
36
- "name": "--vvd-text-field-alert-primary",
37
- "default": "var(--vvd-color-alert-500)"
38
- },
39
- {
40
- "name": "--vvd-text-field-alert-backdrop",
41
- "default": "var(--vvd-color-alert-50)"
42
- },
43
- {
44
- "name": "--vvd-text-field-alert-intermediate",
45
- "default": "var(--vvd-color-alert-500)"
46
- },
47
- {
48
- "name": "--vvd-text-field-alert-firm",
49
- "default": "var(--vvd-color-alert-600)"
50
- },
51
- {
52
- "name": "--vvd-text-field-alert-faint",
53
- "default": "var(--vvd-color-alert-50)"
54
- },
55
- {
56
- "name": "--vvd-text-field-alert-soft",
57
- "default": "var(--vvd-color-alert-100)"
58
- },
59
11
  {
60
12
  "name": "--vvd-text-field-accent-primary",
61
13
  "default": "var(--vvd-color-canvas-text)"
62
14
  },
63
15
  {
64
- "name": "--vvd-text-field-accent-backdrop",
16
+ "name": "--vvd-text-field-accent-primary-text",
65
17
  "default": "var(--vvd-color-canvas)"
66
18
  },
19
+ {
20
+ "name": "--vvd-text-field-accent-primary-increment",
21
+ "default": "var(--vvd-color-neutral-800)"
22
+ },
67
23
  {
68
24
  "name": "--vvd-text-field-accent-intermediate",
69
25
  "default": "var(--vvd-color-neutral-500)"
@@ -72,6 +28,10 @@ Code in this file were generated using following JSON:
72
28
  "name": "--vvd-text-field-accent-firm",
73
29
  "default": "var(--vvd-color-canvas-text)"
74
30
  },
31
+ {
32
+ "name": "--vvd-text-field-accent-fierce",
33
+ "default": "var(--vvd-color-neutral-700)"
34
+ },
75
35
  {
76
36
  "name": "--vvd-text-field-accent-faint",
77
37
  "default": "var(--vvd-color-neutral-50)"
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-text-field",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }
@@ -0,0 +1,36 @@
1
+ import React, { ReactNode, SyntheticEvent } from 'react';
2
+ /** Base class for time-picker
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/time-picker
4
+ * @param {boolean} readOnly - Whether the time-picker is readonly. **attribute** `readonly`
5
+ * @param {number | null} minutesStep - Distance between presented minute options. **attribute** `minutes-step`
6
+ * @param {number | null} secondsStep - Distance between presented seconds options. If null, seconds are not presented. **attribute** `seconds-step`
7
+ * @param {'12h' | '24h' | undefined} clock - Forces the time-picker to use a 12h or 24h clock. **attribute** `clock`
8
+ * @param {string} min - The earliest accepted time of the time-picker. **attribute** `min`
9
+ * @param {string} max - The latest accepted time of the time-picker. **attribute** `max`
10
+ * @param {string} value
11
+ * @param {string} type
12
+ * @param {string} step
13
+ * @param proxy
14
+ */
15
+ declare const VwcTimePicker: {
16
+ (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
+ onChange?: ((event: SyntheticEvent) => void) | undefined;
23
+ readOnly?: boolean | undefined;
24
+ minutesStep?: number | undefined;
25
+ secondsStep?: number | undefined;
26
+ clock?: any;
27
+ min?: string | undefined;
28
+ max?: string | undefined;
29
+ value?: string | undefined;
30
+ type?: string | undefined;
31
+ step?: string | undefined;
32
+ proxy?: any;
33
+ }): JSX.Element;
34
+ displayName: string;
35
+ };
36
+ export default VwcTimePicker;
@@ -0,0 +1,263 @@
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 time-picker",
9
+ "name": "TimePicker",
10
+ "cssProperties": [
11
+ {
12
+ "name": "--vvd-time-picker-accent-primary",
13
+ "default": "var(--vvd-color-canvas-text)"
14
+ },
15
+ {
16
+ "name": "--vvd-time-picker-accent-faint",
17
+ "default": "var(--vvd-color-neutral-50)"
18
+ },
19
+ {
20
+ "name": "--vvd-time-picker-accent-soft",
21
+ "default": "var(--vvd-color-neutral-100)"
22
+ },
23
+ {
24
+ "name": "--vvd-time-picker-accent-dim",
25
+ "default": "var(--vvd-color-neutral-200)"
26
+ },
27
+ {
28
+ "name": "--vvd-time-picker-accent-pale",
29
+ "default": "var(--vvd-color-neutral-300)"
30
+ }
31
+ ],
32
+ "members": [
33
+ {
34
+ "kind": "field",
35
+ "name": "readOnly",
36
+ "type": {
37
+ "text": "boolean"
38
+ },
39
+ "default": "false",
40
+ "description": "Whether the time-picker is readonly.",
41
+ "privacy": "public"
42
+ },
43
+ {
44
+ "kind": "field",
45
+ "name": "minutesStep",
46
+ "type": {
47
+ "text": "number | null"
48
+ },
49
+ "default": "null",
50
+ "description": "Distance between presented minute options.",
51
+ "privacy": "public"
52
+ },
53
+ {
54
+ "kind": "field",
55
+ "name": "secondsStep",
56
+ "type": {
57
+ "text": "number | null"
58
+ },
59
+ "default": "null",
60
+ "description": "Distance between presented seconds options. If null, seconds are not presented.",
61
+ "privacy": "public"
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "clock",
66
+ "type": {
67
+ "text": "'12h' | '24h' | undefined"
68
+ },
69
+ "description": "Forces the time-picker to use a 12h or 24h clock.",
70
+ "privacy": "public"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "min",
75
+ "type": {
76
+ "text": "string"
77
+ },
78
+ "description": "The earliest accepted time of the time-picker.",
79
+ "privacy": "public",
80
+ "default": "''"
81
+ },
82
+ {
83
+ "kind": "field",
84
+ "name": "max",
85
+ "type": {
86
+ "text": "string"
87
+ },
88
+ "description": "The latest accepted time of the time-picker.",
89
+ "privacy": "public",
90
+ "default": "''"
91
+ },
92
+ {
93
+ "kind": "field",
94
+ "name": "#getFocusableEls",
95
+ "privacy": "private"
96
+ },
97
+ {
98
+ "kind": "method",
99
+ "name": "#updateValueDueToUserInteraction",
100
+ "parameters": [
101
+ {
102
+ "name": "newValue",
103
+ "type": {
104
+ "text": "TimeStr"
105
+ }
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "#onFocusIn",
112
+ "privacy": "private"
113
+ },
114
+ {
115
+ "kind": "field",
116
+ "name": "#onFocusOut",
117
+ "privacy": "private"
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "#dismissOnClickOutside",
122
+ "privacy": "private"
123
+ },
124
+ {
125
+ "kind": "method",
126
+ "name": "#openPopupIfPossible"
127
+ },
128
+ {
129
+ "kind": "method",
130
+ "name": "#scrollToItem",
131
+ "parameters": [
132
+ {
133
+ "name": "picker",
134
+ "type": {
135
+ "text": "string"
136
+ }
137
+ },
138
+ {
139
+ "name": "selectedValue",
140
+ "type": {
141
+ "text": "string"
142
+ }
143
+ },
144
+ {
145
+ "name": "position",
146
+ "type": {
147
+ "text": "'nearest' | 'start'"
148
+ }
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ "kind": "field",
154
+ "name": "value",
155
+ "type": {
156
+ "text": "string"
157
+ },
158
+ "default": "''"
159
+ },
160
+ {
161
+ "kind": "field",
162
+ "name": "type",
163
+ "type": {
164
+ "text": "string"
165
+ },
166
+ "default": "'time'"
167
+ },
168
+ {
169
+ "kind": "field",
170
+ "name": "step",
171
+ "type": {
172
+ "text": "string"
173
+ },
174
+ "default": "'1'"
175
+ },
176
+ {
177
+ "kind": "field",
178
+ "name": "proxy",
179
+ "inheritedFrom": {
180
+ "name": "FormAssociatedTimePicker",
181
+ "module": "libs/components/src/lib/time-picker/time-picker.form-associated.ts"
182
+ }
183
+ }
184
+ ],
185
+ "events": [
186
+ {
187
+ "description": "Emitted when the time is changed by the user.",
188
+ "name": "change"
189
+ }
190
+ ],
191
+ "attributes": [
192
+ {
193
+ "name": "readonly",
194
+ "type": {
195
+ "text": "boolean"
196
+ },
197
+ "default": "false",
198
+ "description": "Whether the time-picker is readonly.",
199
+ "fieldName": "readOnly"
200
+ },
201
+ {
202
+ "name": "minutes-step",
203
+ "type": {
204
+ "text": "number | null"
205
+ },
206
+ "default": "null",
207
+ "description": "Distance between presented minute options.",
208
+ "fieldName": "minutesStep"
209
+ },
210
+ {
211
+ "name": "seconds-step",
212
+ "type": {
213
+ "text": "number | null"
214
+ },
215
+ "default": "null",
216
+ "description": "Distance between presented seconds options. If null, seconds are not presented.",
217
+ "fieldName": "secondsStep"
218
+ },
219
+ {
220
+ "name": "clock",
221
+ "type": {
222
+ "text": "'12h' | '24h' | undefined"
223
+ },
224
+ "description": "Forces the time-picker to use a 12h or 24h clock.",
225
+ "fieldName": "clock"
226
+ },
227
+ {
228
+ "type": {
229
+ "text": "string"
230
+ },
231
+ "description": "The earliest accepted time of the time-picker.",
232
+ "default": "''",
233
+ "fieldName": "min"
234
+ },
235
+ {
236
+ "type": {
237
+ "text": "string"
238
+ },
239
+ "description": "The latest accepted time of the time-picker.",
240
+ "default": "''",
241
+ "fieldName": "max"
242
+ }
243
+ ],
244
+ "superclass": {
245
+ "name": "FormAssociatedTimePicker",
246
+ "module": "/libs/components/src/lib/time-picker/time-picker.form-associated"
247
+ }
248
+ }
249
+ */
250
+ import wrapper from '@vonage/vivid-react-wrapper'
251
+ import { registerTimePicker } from '@vonage/vivid'
252
+
253
+ registerTimePicker('vvd3')
254
+
255
+ const VwcTimePicker = wrapper(`vvd3-time-picker`, {
256
+ events: [{"name":"change","propName":"onChange"}],
257
+ attributes: [],
258
+ properties: ['readOnly', 'minutesStep', 'secondsStep', 'clock', 'min', 'max', 'value', 'type', 'step', 'proxy']
259
+ })
260
+
261
+ VwcTimePicker.displayName = 'VwcTimePicker'
262
+
263
+ export default VwcTimePicker
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-time-picker",
3
+ "version": "3.50.1",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "3.50.1"
10
+ }
11
+ }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-toggletip",
3
- "version": "3.46.0",
3
+ "version": "3.50.1",
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.46.0"
9
+ "@vonage/vivid": "3.50.1"
10
10
  }
11
11
  }