@vonage/vivid-react 5.19.0 → 5.20.1

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 (273) 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/index.d.ts +4 -0
  6. package/VwcButton/index.js +5 -1
  7. package/VwcButton/package.json +1 -1
  8. package/VwcButtonToggleGroup/package.json +1 -1
  9. package/VwcCalendar/index.d.ts +1 -1
  10. package/VwcCalendar/package.json +1 -1
  11. package/VwcCalendarEvent/package.json +1 -1
  12. package/VwcCard/package.json +1 -1
  13. package/VwcCarousel/package.json +1 -1
  14. package/VwcCarouselItem/package.json +1 -1
  15. package/VwcCheckListItem/package.json +1 -1
  16. package/VwcCheckbox/package.json +1 -1
  17. package/VwcChip/package.json +1 -1
  18. package/VwcChipSet/package.json +1 -1
  19. package/VwcCircularProgress/package.json +1 -1
  20. package/VwcDataGrid/package.json +1 -1
  21. package/VwcDataGridColumn/package.json +1 -1
  22. package/VwcDatepicker/package.json +1 -1
  23. package/VwcDropdown/index.d.ts +2 -2
  24. package/VwcDropdown/index.js +2 -2
  25. package/VwcDropdown/package.json +1 -1
  26. package/VwcElevation/package.json +1 -1
  27. package/VwcEmptyState/package.json +1 -1
  28. package/VwcExpansionPanel/package.json +1 -1
  29. package/VwcFab/package.json +1 -1
  30. package/VwcFilePicker/package.json +1 -1
  31. package/VwcFormfield/package.json +1 -1
  32. package/VwcHelperMessage/package.json +1 -1
  33. package/VwcIcon/index.d.ts +1 -1
  34. package/VwcIcon/package.json +1 -1
  35. package/VwcIconButton/package.json +1 -1
  36. package/VwcIconButtonToggle/package.json +1 -1
  37. package/VwcKeypad/package.json +1 -1
  38. package/VwcLayout/package.json +1 -1
  39. package/VwcLinearProgress/package.json +1 -1
  40. package/VwcList/package.json +1 -1
  41. package/VwcListExpansionPanel/package.json +1 -1
  42. package/VwcListItem/package.json +1 -1
  43. package/VwcMenu/index.d.ts +2 -0
  44. package/VwcMenu/index.js +3 -1
  45. package/VwcMenu/package.json +1 -1
  46. package/VwcNotchedOutline/package.json +1 -1
  47. package/VwcNote/package.json +1 -1
  48. package/VwcPagination/package.json +1 -1
  49. package/VwcPopup/index.d.ts +3 -3
  50. package/VwcPopup/package.json +1 -1
  51. package/VwcRadio/package.json +1 -1
  52. package/VwcRadioListItem/package.json +1 -1
  53. package/VwcSchemeSelect/package.json +1 -1
  54. package/VwcScrubBar/package.json +1 -1
  55. package/VwcSelect/package.json +1 -1
  56. package/VwcSlider/package.json +1 -1
  57. package/VwcSnackbar/index.d.ts +1 -1
  58. package/VwcSnackbar/package.json +1 -1
  59. package/VwcSurface/package.json +1 -1
  60. package/VwcSwitch/package.json +1 -1
  61. package/VwcTab/package.json +1 -1
  62. package/VwcTabBar/package.json +1 -1
  63. package/VwcTag/package.json +1 -1
  64. package/VwcText/package.json +1 -1
  65. package/VwcTextarea/package.json +1 -1
  66. package/VwcTextfield/package.json +1 -1
  67. package/VwcThemeSwitch/package.json +1 -1
  68. package/VwcTooltip/package.json +1 -1
  69. package/VwcTopAppBar/package.json +1 -1
  70. package/VwcTopAppBarFixed/package.json +1 -1
  71. package/package.json +2 -2
  72. package/types/index.d.ts +16 -0
  73. package/v3/VwcAccordion/package.json +2 -2
  74. package/v3/VwcAccordionItem/package.json +2 -2
  75. package/v3/VwcActionGroup/package.json +2 -2
  76. package/v3/VwcAlert/index.d.ts +1 -1
  77. package/v3/VwcAlert/package.json +2 -2
  78. package/v3/VwcAriaBindingDirective/index.js +1 -1
  79. package/v3/VwcAriaBindingDirective/package.json +2 -2
  80. package/v3/VwcAudioPlayer/index.d.ts +4 -4
  81. package/v3/VwcAudioPlayer/package.json +2 -2
  82. package/v3/VwcAvatar/index.d.ts +1 -1
  83. package/v3/VwcAvatar/package.json +2 -2
  84. package/v3/VwcBadge/package.json +2 -2
  85. package/v3/VwcBanner/index.d.ts +1 -1
  86. package/v3/VwcBanner/package.json +2 -2
  87. package/v3/VwcBaseProgress/index.d.ts +1 -1
  88. package/v3/VwcBaseProgress/package.json +2 -2
  89. package/v3/VwcBreadcrumb/package.json +2 -2
  90. package/v3/VwcBreadcrumbItem/index.d.ts +1 -1
  91. package/v3/VwcBreadcrumbItem/package.json +2 -2
  92. package/v3/VwcButton/index.d.ts +4 -4
  93. package/v3/VwcButton/package.json +2 -2
  94. package/v3/VwcCalendar/index.d.ts +1 -1
  95. package/v3/VwcCalendar/package.json +2 -2
  96. package/v3/VwcCalendarEvent/index.d.ts +3 -3
  97. package/v3/VwcCalendarEvent/package.json +2 -2
  98. package/v3/VwcCard/index.d.ts +1 -1
  99. package/v3/VwcCard/package.json +2 -2
  100. package/v3/VwcCheckbox/index.d.ts +4 -4
  101. package/v3/VwcCheckbox/package.json +2 -2
  102. package/v3/VwcColorPicker/package.json +2 -2
  103. package/v3/VwcCombobox/package.json +2 -2
  104. package/v3/VwcContextualHelp/package.json +2 -2
  105. package/v3/VwcCountry/package.json +2 -2
  106. package/v3/VwcCountryGroup/package.json +2 -2
  107. package/v3/VwcDataGrid/index.d.ts +1 -1
  108. package/v3/VwcDataGrid/package.json +2 -2
  109. package/v3/VwcDataGridCell/index.d.ts +1 -1
  110. package/v3/VwcDataGridCell/package.json +2 -2
  111. package/v3/VwcDataGridRow/index.d.ts +1 -1
  112. package/v3/VwcDataGridRow/package.json +2 -2
  113. package/v3/VwcDatePicker/package.json +2 -2
  114. package/v3/VwcDateRangePicker/package.json +2 -2
  115. package/v3/VwcDateTimePicker/index.d.ts +3 -3
  116. package/v3/VwcDateTimePicker/package.json +2 -2
  117. package/v3/VwcDialPad/index.d.ts +3 -3
  118. package/v3/VwcDialPad/package.json +2 -2
  119. package/v3/VwcDialog/index.d.ts +1 -1
  120. package/v3/VwcDialog/package.json +2 -2
  121. package/v3/VwcDivider/package.json +2 -2
  122. package/v3/VwcElevation/index.d.ts +2 -2
  123. package/v3/VwcElevation/package.json +2 -2
  124. package/v3/VwcEmptyState/package.json +2 -2
  125. package/v3/VwcFab/index.d.ts +2 -2
  126. package/v3/VwcFab/package.json +2 -2
  127. package/v3/VwcFeatureState/package.json +2 -2
  128. package/v3/VwcFeedbackMessage/package.json +2 -2
  129. package/v3/VwcFilePicker/index.d.ts +1 -1
  130. package/v3/VwcFilePicker/package.json +2 -2
  131. package/v3/VwcFlag/package.json +2 -2
  132. package/v3/VwcHeader/package.json +2 -2
  133. package/v3/VwcIcon/package.json +2 -2
  134. package/v3/VwcIdrefsController/index.d.ts +16 -0
  135. package/v3/VwcIdrefsController/index.js +230 -0
  136. package/v3/VwcIdrefsController/package.json +11 -0
  137. package/v3/VwcInlineTimePicker/index.d.ts +2 -2
  138. package/v3/VwcInlineTimePicker/package.json +2 -2
  139. package/v3/VwcKbdKey/index.d.ts +36 -0
  140. package/v3/VwcKbdKey/index.js +187 -0
  141. package/v3/VwcKbdKey/package.json +11 -0
  142. package/v3/VwcKbdShortcut/index.d.ts +20 -0
  143. package/v3/VwcKbdShortcut/index.js +78 -0
  144. package/v3/VwcKbdShortcut/package.json +11 -0
  145. package/v3/VwcLayout/index.d.ts +1 -1
  146. package/v3/VwcLayout/package.json +2 -2
  147. package/v3/VwcListbox/package.json +2 -2
  148. package/v3/VwcMenu/index.d.ts +4 -3
  149. package/v3/VwcMenu/index.js +1 -1
  150. package/v3/VwcMenu/package.json +2 -2
  151. package/v3/VwcMenuItem/index.d.ts +1 -1
  152. package/v3/VwcMenuItem/index.js +4 -0
  153. package/v3/VwcMenuItem/package.json +2 -2
  154. package/v3/VwcNav/package.json +2 -2
  155. package/v3/VwcNavDisclosure/package.json +2 -2
  156. package/v3/VwcNavItem/index.d.ts +1 -1
  157. package/v3/VwcNavItem/package.json +2 -2
  158. package/v3/VwcNote/package.json +2 -2
  159. package/v3/VwcNumberField/index.d.ts +2 -2
  160. package/v3/VwcNumberField/package.json +2 -2
  161. package/v3/VwcOption/index.d.ts +1 -1
  162. package/v3/VwcOption/package.json +2 -2
  163. package/v3/VwcOptionTag/package.json +2 -2
  164. package/v3/VwcPagination/index.d.ts +1 -1
  165. package/v3/VwcPagination/package.json +2 -2
  166. package/v3/VwcPickerField/package.json +2 -2
  167. package/v3/VwcPlatformSwitch/index.d.ts +20 -0
  168. package/v3/VwcPlatformSwitch/index.js +89 -0
  169. package/v3/VwcPlatformSwitch/package.json +11 -0
  170. package/v3/VwcPopover/index.d.ts +3 -3
  171. package/v3/VwcPopover/index.js +5 -0
  172. package/v3/VwcPopover/package.json +2 -2
  173. package/v3/VwcPopup/index.d.ts +2 -2
  174. package/v3/VwcPopup/package.json +2 -2
  175. package/v3/VwcProgress/index.d.ts +1 -1
  176. package/v3/VwcProgress/package.json +2 -2
  177. package/v3/VwcProgressRing/index.d.ts +1 -1
  178. package/v3/VwcProgressRing/package.json +2 -2
  179. package/v3/VwcRadio/package.json +2 -2
  180. package/v3/VwcRadioGroup/index.d.ts +1 -1
  181. package/v3/VwcRadioGroup/package.json +2 -2
  182. package/v3/VwcRangeSlider/index.d.ts +1 -1
  183. package/v3/VwcRangeSlider/package.json +2 -2
  184. package/v3/VwcRichTextEditor/index.d.ts +1 -1
  185. package/v3/VwcRichTextEditor/index.js +8 -0
  186. package/v3/VwcRichTextEditor/package.json +2 -2
  187. package/v3/VwcRichTextView/package.json +2 -2
  188. package/v3/VwcRteAlignmentFeatureImpl/package.json +2 -2
  189. package/v3/VwcRteBaseImpl/package.json +2 -2
  190. package/v3/VwcRteBasicTextBlocksImpl/package.json +2 -2
  191. package/v3/VwcRteBoldFeatureImpl/package.json +2 -2
  192. package/v3/VwcRteCharacterCountFeatureImpl/package.json +2 -2
  193. package/v3/VwcRteConfig/package.json +2 -2
  194. package/v3/VwcRteConfigImpl/package.json +2 -2
  195. package/v3/VwcRteCoreImpl/package.json +2 -2
  196. package/v3/VwcRteCursorFixFeatureImpl/package.json +2 -2
  197. package/v3/VwcRteDropHandlerFeatureImpl/package.json +2 -2
  198. package/v3/VwcRteFeature/package.json +2 -2
  199. package/v3/VwcRteFeatureImpl/package.json +2 -2
  200. package/v3/VwcRteFileHandlerFeatureImpl/package.json +2 -2
  201. package/v3/VwcRteFontSizePickerFeatureImpl/package.json +2 -2
  202. package/v3/VwcRteForeignHtmlFeatureImpl/package.json +2 -2
  203. package/v3/VwcRteHardBreakFeatureImpl/package.json +2 -2
  204. package/v3/VwcRteHistoryFeatureImpl/package.json +2 -2
  205. package/v3/VwcRteHtmlParser/package.json +2 -2
  206. package/v3/VwcRteHtmlSerializer/package.json +2 -2
  207. package/v3/VwcRteHtmlSerializerImpl/package.json +2 -2
  208. package/v3/VwcRteInlineImageFeatureImpl/package.json +2 -2
  209. package/v3/VwcRteInputRulesFeatureImpl/package.json +2 -2
  210. package/v3/VwcRteInstance/package.json +2 -2
  211. package/v3/VwcRteInstanceImpl/package.json +2 -2
  212. package/v3/VwcRteItalicFeatureImpl/package.json +2 -2
  213. package/v3/VwcRteKeyboardShortcutsFeatureImpl/package.json +2 -2
  214. package/v3/VwcRteLinkFeatureImpl/package.json +2 -2
  215. package/v3/VwcRteListFeatureImpl/package.json +2 -2
  216. package/v3/VwcRteMonospaceFeatureImpl/package.json +2 -2
  217. package/v3/VwcRtePlaceholderFeatureImpl/package.json +2 -2
  218. package/v3/VwcRteStrikethroughFeatureImpl/package.json +2 -2
  219. package/v3/VwcRteTextBlockPickerFeatureImpl/package.json +2 -2
  220. package/v3/VwcRteTextColorPickerFeatureImpl/package.json +2 -2
  221. package/v3/VwcRteTextStyleFeatureImpl/package.json +2 -2
  222. package/v3/VwcRteToolbarFeatureImpl/package.json +2 -2
  223. package/v3/VwcRteUnderlineFeatureImpl/package.json +2 -2
  224. package/v3/VwcSearchableSelect/index.d.ts +2 -2
  225. package/v3/VwcSearchableSelect/package.json +2 -2
  226. package/v3/VwcSelect/index.d.ts +3 -3
  227. package/v3/VwcSelect/package.json +2 -2
  228. package/v3/VwcSelectableBox/package.json +2 -2
  229. package/v3/VwcSideDrawer/package.json +2 -2
  230. package/v3/VwcSimpleColorPicker/package.json +2 -2
  231. package/v3/VwcSlider/package.json +2 -2
  232. package/v3/VwcSplitButton/index.d.ts +1 -1
  233. package/v3/VwcSplitButton/package.json +2 -2
  234. package/v3/VwcStatus/package.json +2 -2
  235. package/v3/VwcSwitch/package.json +2 -2
  236. package/v3/VwcTab/package.json +2 -2
  237. package/v3/VwcTabPanel/package.json +2 -2
  238. package/v3/VwcTable/package.json +2 -2
  239. package/v3/VwcTableBody/package.json +2 -2
  240. package/v3/VwcTableCell/package.json +2 -2
  241. package/v3/VwcTableHead/package.json +2 -2
  242. package/v3/VwcTableHeaderCell/package.json +2 -2
  243. package/v3/VwcTableRow/package.json +2 -2
  244. package/v3/VwcTableSortingButton/index.d.ts +1 -1
  245. package/v3/VwcTableSortingButton/package.json +2 -2
  246. package/v3/VwcTabs/index.d.ts +1 -1
  247. package/v3/VwcTabs/package.json +2 -2
  248. package/v3/VwcTag/package.json +2 -2
  249. package/v3/VwcTagGroup/package.json +2 -2
  250. package/v3/VwcTextArea/package.json +2 -2
  251. package/v3/VwcTextField/index.d.ts +3 -3
  252. package/v3/VwcTextField/package.json +2 -2
  253. package/v3/VwcTextblockAttrs/package.json +2 -2
  254. package/v3/VwcTextblockMarks/package.json +2 -2
  255. package/v3/VwcTimePicker/index.d.ts +3 -3
  256. package/v3/VwcTimePicker/package.json +2 -2
  257. package/v3/VwcToggletip/index.d.ts +1 -1
  258. package/v3/VwcToggletip/package.json +2 -2
  259. package/v3/VwcTooltip/index.d.ts +1 -1
  260. package/v3/VwcTooltip/index.js +4 -4
  261. package/v3/VwcTooltip/package.json +2 -2
  262. package/v3/VwcTreeItem/package.json +2 -2
  263. package/v3/VwcTreeView/package.json +2 -2
  264. package/v3/VwcUiCtx/index.js +9 -0
  265. package/v3/VwcUiCtx/package.json +2 -2
  266. package/v3/VwcVideoPlayer/package.json +2 -2
  267. package/v3/VwcVisuallyHidden/package.json +2 -2
  268. package/v3/VwcVividElement/index.js +4 -0
  269. package/v3/VwcVividElement/package.json +2 -2
  270. package/v3/VwcVividFoundationButton/index.d.ts +2 -2
  271. package/v3/VwcVividFoundationButton/package.json +2 -2
  272. package/v3/VwcVvdHexInput/package.json +2 -2
  273. package/v3/VwcVvdHexPicker/package.json +2 -2
@@ -0,0 +1,36 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** VwcKbdKey
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/kbd-key
4
+ * @param {KbdKeyName | undefined} name - The key to display. Use "Custom" to show arbitrary content via the default slot. **attribute** `name`
5
+ * @param {KbdKeyKeyboard | undefined} keyboard - The keyboard layout to use for display.
6
+ When set to "auto" (default), detects the current platform.
7
+ When set to "standard", displays keys for non-Apple platforms.
8
+ When set to "apple", displays keys for Apple platforms. **attribute** `keyboard`
9
+ * @param {KbdKeyAppearance | undefined} appearance **attribute** `appearance`
10
+ * @param {KbdKeySize | undefined} size **attribute** `size`
11
+ * @param {string | undefined} keyshortcutsKey - Overrides the aria-keyshortcuts key name contributed by this element.
12
+ The value must be a valid `aria-keyshortcuts` key token (e.g. `"F1"`, `"Power"`).
13
+ Use this when `name="Custom"` and the slot's text content is not a valid
14
+ aria-keyshortcuts value, e.g. when the slot contains an icon. **attribute** `keyshortcuts-key`
15
+ * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
16
+ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
17
+ * @param {string} componentName - Core component name, without prefix
18
+ */
19
+ declare const VwcKbdKey: {
20
+ (props: {
21
+ children?: ReactNode;
22
+ slot?: string;
23
+ id?: string;
24
+ style?: React.CSSProperties;
25
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
26
+ "name"?: any;
27
+ "keyboard"?: any;
28
+ "appearance"?: any;
29
+ "size"?: any;
30
+ "keyshortcutsKey"?: string | undefined;
31
+ "VIVID_VERSION"?: string;
32
+ "componentName"?: string;
33
+ }): JSX.Element;
34
+ displayName: string;
35
+ };
36
+ export default VwcKbdKey;
@@ -0,0 +1,187 @@
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": "",
9
+ "name": "KbdKey",
10
+ "cssProperties": [
11
+ {
12
+ "name": "--vvd-kbd-key-accent-primary",
13
+ "default": "var(--vvd-color-canvas-text)"
14
+ },
15
+ {
16
+ "name": "--vvd-kbd-key-accent-primary-text",
17
+ "default": "var(--vvd-color-canvas)"
18
+ },
19
+ {
20
+ "name": "--vvd-kbd-key-accent-soft",
21
+ "default": "var(--vvd-color-neutral-100)"
22
+ },
23
+ {
24
+ "name": "--vvd-kbd-key-accent-contrast",
25
+ "default": "var(--vvd-color-neutral-800)"
26
+ },
27
+ {
28
+ "name": "--vvd-kbd-key-accent-firm",
29
+ "default": "var(--vvd-color-canvas-text)"
30
+ },
31
+ {
32
+ "name": "--vvd-kbd-key-accent-faint",
33
+ "default": "var(--vvd-color-neutral-50)"
34
+ },
35
+ {
36
+ "name": "--vvd-kbd-key-accent-dim",
37
+ "default": "var(--vvd-color-neutral-200)"
38
+ },
39
+ {
40
+ "name": "--vvd-kbd-key-accent-pale",
41
+ "default": "var(--vvd-color-neutral-300)"
42
+ }
43
+ ],
44
+ "slots": [
45
+ {
46
+ "description": "Default slot for custom content (used when name is \"Custom\").",
47
+ "name": ""
48
+ }
49
+ ],
50
+ "members": [
51
+ {
52
+ "kind": "field",
53
+ "name": "name",
54
+ "type": {
55
+ "text": "KbdKeyName | undefined"
56
+ },
57
+ "description": "The key to display. Use \"Custom\" to show arbitrary content via the default slot.",
58
+ "privacy": "public"
59
+ },
60
+ {
61
+ "kind": "field",
62
+ "name": "keyboard",
63
+ "type": {
64
+ "text": "KbdKeyKeyboard | undefined"
65
+ },
66
+ "description": "The keyboard layout to use for display.\nWhen set to \"auto\" (default), detects the current platform.\nWhen set to \"standard\", displays keys for non-Apple platforms.\nWhen set to \"apple\", displays keys for Apple platforms.",
67
+ "privacy": "public"
68
+ },
69
+ {
70
+ "kind": "field",
71
+ "name": "appearance",
72
+ "type": {
73
+ "text": "KbdKeyAppearance | undefined"
74
+ },
75
+ "privacy": "public",
76
+ "description": ""
77
+ },
78
+ {
79
+ "kind": "field",
80
+ "name": "size",
81
+ "type": {
82
+ "text": "KbdKeySize | undefined"
83
+ },
84
+ "privacy": "public",
85
+ "description": ""
86
+ },
87
+ {
88
+ "kind": "field",
89
+ "name": "keyshortcutsKey",
90
+ "type": {
91
+ "text": "string | undefined"
92
+ },
93
+ "description": "Overrides the aria-keyshortcuts key name contributed by this element.\nThe value must be a valid `aria-keyshortcuts` key token (e.g. `\"F1\"`, `\"Power\"`).\nUse this when `name=\"Custom\"` and the slot's text content is not a valid\naria-keyshortcuts value, e.g. when the slot contains an icon.",
94
+ "privacy": "public"
95
+ },
96
+ {
97
+ "kind": "field",
98
+ "name": "VIVID_VERSION",
99
+ "static": true,
100
+ "default": "__PACKAGE_VERSION__",
101
+ "description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
102
+ "type": {
103
+ "text": "string"
104
+ },
105
+ "inheritedFrom": {
106
+ "name": "VividElement",
107
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
108
+ }
109
+ },
110
+ {
111
+ "kind": "field",
112
+ "name": "componentName",
113
+ "type": {
114
+ "text": "string"
115
+ },
116
+ "static": true,
117
+ "description": "Core component name, without prefix",
118
+ "inheritedFrom": {
119
+ "name": "VividElement",
120
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
121
+ }
122
+ }
123
+ ],
124
+ "attributes": [
125
+ {
126
+ "name": "name",
127
+ "type": {
128
+ "text": "KbdKeyName | undefined"
129
+ },
130
+ "description": "The key to display. Use \"Custom\" to show arbitrary content via the default slot.",
131
+ "fieldName": "name"
132
+ },
133
+ {
134
+ "name": "keyboard",
135
+ "type": {
136
+ "text": "KbdKeyKeyboard | undefined"
137
+ },
138
+ "description": "The keyboard layout to use for display.\nWhen set to \"auto\" (default), detects the current platform.\nWhen set to \"standard\", displays keys for non-Apple platforms.\nWhen set to \"apple\", displays keys for Apple platforms.",
139
+ "fieldName": "keyboard"
140
+ },
141
+ {
142
+ "name": "appearance",
143
+ "type": {
144
+ "text": "KbdKeyAppearance | undefined"
145
+ },
146
+ "fieldName": "appearance"
147
+ },
148
+ {
149
+ "name": "size",
150
+ "type": {
151
+ "text": "KbdKeySize | undefined"
152
+ },
153
+ "fieldName": "size"
154
+ },
155
+ {
156
+ "name": "keyshortcuts-key",
157
+ "type": {
158
+ "text": "string | undefined"
159
+ },
160
+ "description": "Overrides the aria-keyshortcuts key name contributed by this element.\nThe value must be a valid `aria-keyshortcuts` key token (e.g. `\"F1\"`, `\"Power\"`).\nUse this when `name=\"Custom\"` and the slot's text content is not a valid\naria-keyshortcuts value, e.g. when the slot contains an icon.",
161
+ "fieldName": "keyshortcutsKey"
162
+ }
163
+ ],
164
+ "superclass": {
165
+ "name": "VividElement",
166
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
167
+ },
168
+ "vividComponent": {
169
+ "public": true,
170
+ "name": "kbd-key"
171
+ }
172
+ }
173
+ */
174
+ import wrapper from '@repo/react-component-wrapper'
175
+ import { registerKbdKey } from '@vonage/vivid'
176
+
177
+ registerKbdKey('vvd3')
178
+
179
+ const VwcKbdKey = wrapper(`vvd3-kbd-key`, {
180
+ events: [],
181
+ attributes: [],
182
+ properties: ['name', 'keyboard', 'appearance', 'size', 'keyshortcutsKey', 'VIVID_VERSION', 'componentName']
183
+ })
184
+
185
+ VwcKbdKey.displayName = 'VwcKbdKey'
186
+
187
+ export default VwcKbdKey
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-kbd-key",
3
+ "version": "5.20.1",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.20.1"
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ import React, { ReactNode } from 'react';
2
+ /** VwcKbdShortcut
3
+ * For more info on this Vivid element please visit https://vivid.deno.dev/components/kbd-shortcut
4
+ * @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
5
+ It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
6
+ * @param {string} componentName - Core component name, without prefix
7
+ */
8
+ declare const VwcKbdShortcut: {
9
+ (props: {
10
+ children?: ReactNode;
11
+ slot?: string;
12
+ id?: string;
13
+ style?: React.CSSProperties;
14
+ ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
15
+ "VIVID_VERSION"?: string;
16
+ "componentName"?: string;
17
+ }): JSX.Element;
18
+ displayName: string;
19
+ };
20
+ export default VwcKbdShortcut;
@@ -0,0 +1,78 @@
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": "",
9
+ "name": "KbdShortcut",
10
+ "slots": [
11
+ {
12
+ "description": "Default slot for Kbd elements.",
13
+ "name": ""
14
+ }
15
+ ],
16
+ "members": [
17
+ {
18
+ "kind": "method",
19
+ "name": "getKeyshortcutsValue",
20
+ "return": {
21
+ "type": {
22
+ "text": "string | null"
23
+ }
24
+ },
25
+ "description": "Returns a valid aria-keyshortcuts value based on the slotted kbd-key elements.\nModifiers are sorted to be first as required by the spec.\nReturns null if no keys are available."
26
+ },
27
+ {
28
+ "kind": "field",
29
+ "name": "VIVID_VERSION",
30
+ "static": true,
31
+ "default": "__PACKAGE_VERSION__",
32
+ "description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
33
+ "type": {
34
+ "text": "string"
35
+ },
36
+ "inheritedFrom": {
37
+ "name": "VividElement",
38
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
39
+ }
40
+ },
41
+ {
42
+ "kind": "field",
43
+ "name": "componentName",
44
+ "type": {
45
+ "text": "string"
46
+ },
47
+ "static": true,
48
+ "description": "Core component name, without prefix",
49
+ "inheritedFrom": {
50
+ "name": "VividElement",
51
+ "module": "src/shared/foundation/vivid-element/vivid-element.ts"
52
+ }
53
+ }
54
+ ],
55
+ "superclass": {
56
+ "name": "VividElement",
57
+ "module": "/src/shared/foundation/vivid-element/vivid-element"
58
+ },
59
+ "vividComponent": {
60
+ "public": true,
61
+ "name": "kbd-shortcut"
62
+ }
63
+ }
64
+ */
65
+ import wrapper from '@repo/react-component-wrapper'
66
+ import { registerKbdShortcut } from '@vonage/vivid'
67
+
68
+ registerKbdShortcut('vvd3')
69
+
70
+ const VwcKbdShortcut = wrapper(`vvd3-kbd-shortcut`, {
71
+ events: [],
72
+ attributes: [],
73
+ properties: ['VIVID_VERSION', 'componentName']
74
+ })
75
+
76
+ VwcKbdShortcut.displayName = 'VwcKbdShortcut'
77
+
78
+ export default VwcKbdShortcut
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@vonage/vivid-react-vvd3-kbd-shortcut",
3
+ "version": "5.20.1",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "private": true,
7
+ "license": "MIT",
8
+ "dependencies": {
9
+ "@vonage/vivid": "5.20.1"
10
+ }
11
+ }
@@ -22,7 +22,7 @@ declare const VwcLayout: {
22
22
  "columnBasis"?: any;
23
23
  "columnSpacing"?: any;
24
24
  "rowSpacing"?: any;
25
- "autoSizing"?: any;
25
+ "autoSizing"?: "fit" | "fill" | undefined;
26
26
  "VIVID_VERSION"?: string;
27
27
  "componentName"?: string;
28
28
  }): JSX.Element;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-layout",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-listbox",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,6 +1,7 @@
1
1
  import React, { ReactNode, SyntheticEvent } from 'react';
2
2
  /** VwcMenu
3
3
  * For more info on this Vivid element please visit https://vivid.deno.dev/components/menu
4
+ * @param {string | HTMLElement} anchor **attribute** `anchor`
4
5
  * @param {number | null} offset - Adds offset to the popup **attribute** `offset`
5
6
  * @param {Placement | undefined} placement - Sets the desired position of the Menu relative to it's anchor element **attribute** `placement`
6
7
  * @param {'auto' | 'legacy' | 'off' | undefined} trigger - Sets trigger method of Menu **attribute** `trigger`
@@ -21,13 +22,13 @@ declare const VwcMenu: {
21
22
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
22
23
  onOpen?: (event: SyntheticEvent) => void;
23
24
  onClose?: (event: SyntheticEvent) => void;
24
- "offset"?: number;
25
+ "anchor"?: string | HTMLElement;
26
+ "offset"?: number | null;
25
27
  "placement"?: any;
26
- "trigger"?: any;
28
+ "trigger"?: "auto" | "legacy" | "off" | undefined;
27
29
  "autoDismiss"?: boolean;
28
30
  "positionStrategy"?: any;
29
31
  "open"?: boolean;
30
- "anchor"?: any;
31
32
  "VIVID_VERSION"?: string;
32
33
  "componentName"?: string;
33
34
  }): JSX.Element;
@@ -475,7 +475,7 @@ registerMenu('vvd3')
475
475
  const VwcMenu = wrapper(`vvd3-menu`, {
476
476
  events: [{"name":"close","propName":"onClose"},{"name":"open","propName":"onOpen"}],
477
477
  attributes: [],
478
- properties: ['offset', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', 'anchor', 'VIVID_VERSION', 'componentName']
478
+ properties: ['anchor', 'offset', 'placement', 'trigger', 'autoDismiss', 'positionStrategy', 'open', 'anchor', 'VIVID_VERSION', 'componentName']
479
479
  })
480
480
 
481
481
  VwcMenu.displayName = 'VwcMenu'
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -39,7 +39,7 @@ declare const VwcMenuItem: {
39
39
  "textSecondary"?: string | undefined;
40
40
  "connotation"?: any;
41
41
  "checkTrailing"?: boolean;
42
- "checkedAppearance"?: any;
42
+ "checkedAppearance"?: "normal" | "tick-only" | undefined;
43
43
  "VIVID_VERSION"?: string;
44
44
  "componentName"?: string;
45
45
  }): JSX.Element;
@@ -353,6 +353,10 @@ Code in this file were generated using following JSON:
353
353
  }
354
354
  ],
355
355
  "mixins": [
356
+ {
357
+ "name": "WithKbdShortcut",
358
+ "module": "/src/shared/patterns/kbd-shortcut"
359
+ },
356
360
  {
357
361
  "name": "HostSemantics",
358
362
  "module": "/src/shared/aria/host-semantics"
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-menu-item",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-disclosure",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -39,7 +39,7 @@ declare const VwcNavItem: {
39
39
  "ping"?: string | undefined;
40
40
  "referrerpolicy"?: string | undefined;
41
41
  "rel"?: string | undefined;
42
- "target"?: any;
42
+ "target"?: "_self" | "_blank" | "_parent" | "_top" | undefined;
43
43
  "type"?: string | undefined;
44
44
  "control"?: any;
45
45
  "VIVID_VERSION"?: string;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-nav-item",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-note",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -61,8 +61,8 @@ declare const VwcNumberField: {
61
61
  "max"?: number;
62
62
  "min"?: number;
63
63
  "valueAsNumber"?: number;
64
- "incrementButtonAriaLabel"?: any;
65
- "decrementButtonAriaLabel"?: any;
64
+ "incrementButtonAriaLabel"?: string | null;
65
+ "decrementButtonAriaLabel"?: string | null;
66
66
  "appearance"?: any;
67
67
  "shape"?: any;
68
68
  "autoComplete"?: string | undefined;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-number-field",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -33,7 +33,7 @@ declare const VwcOption: {
33
33
  id?: string;
34
34
  style?: React.CSSProperties;
35
35
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
36
- "checked"?: any;
36
+ "checked"?: boolean | undefined;
37
37
  "defaultSelected"?: boolean;
38
38
  "disabled"?: boolean;
39
39
  "selectedAttribute"?: any;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-listbox-option",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-option-tag",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -22,7 +22,7 @@ declare const VwcPagination: {
22
22
  "shape"?: any;
23
23
  "navIcons"?: boolean;
24
24
  "total"?: number;
25
- "selectedIndex"?: any;
25
+ "selectedIndex"?: number | undefined;
26
26
  "VIVID_VERSION"?: string;
27
27
  "componentName"?: string;
28
28
  }): JSX.Element;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-pagination",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vonage/vivid-react-vvd3-picker-field",
3
- "version": "5.19.0",
3
+ "version": "5.20.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": "5.19.0"
9
+ "@vonage/vivid": "5.20.1"
10
10
  }
11
11
  }