@vonage/vivid 5.12.0 → 5.15.0

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 (422) hide show
  1. package/bundled/base-color-picker.js +2 -2
  2. package/bundled/definition19.cjs +63 -44
  3. package/bundled/definition19.js +322 -246
  4. package/bundled/definition2.cjs +1 -1
  5. package/bundled/definition2.js +1 -1
  6. package/bundled/localized.cjs +1 -1
  7. package/bundled/localized.js +17 -13
  8. package/bundled/slottable-request.cjs +4 -4
  9. package/bundled/slottable-request.js +71 -70
  10. package/bundled/vivid-element.cjs +1 -1
  11. package/bundled/vivid-element.js +1 -1
  12. package/custom-elements.json +2540 -2206
  13. package/data-grid/definition.cjs +37 -13
  14. package/data-grid/definition.js +37 -13
  15. package/data-grid/index.cjs +38 -32
  16. package/data-grid/index.js +201 -178
  17. package/icon/definition.cjs +1 -1
  18. package/icon/definition.js +1 -1
  19. package/index.cjs +1 -0
  20. package/index.js +1 -1
  21. package/lib/accordion/accordion.template.d.ts +2 -2
  22. package/lib/accordion/index.d.ts +1 -0
  23. package/lib/accordion-item/accordion-item.d.ts +98 -67
  24. package/lib/accordion-item/accordion-item.template.d.ts +3 -3
  25. package/lib/accordion-item/index.d.ts +1 -0
  26. package/lib/action-group/action-group.d.ts +95 -64
  27. package/lib/action-group/action-group.template.d.ts +2 -2
  28. package/lib/action-group/index.d.ts +1 -0
  29. package/lib/alert/alert.d.ts +192 -130
  30. package/lib/alert/alert.template.d.ts +3 -3
  31. package/lib/alert/index.d.ts +1 -0
  32. package/lib/audio-player/audio-player.d.ts +97 -67
  33. package/lib/audio-player/audio-player.template.d.ts +2 -2
  34. package/lib/audio-player/index.d.ts +1 -0
  35. package/lib/avatar/avatar.d.ts +105 -117
  36. package/lib/avatar/avatar.template.d.ts +1 -1
  37. package/lib/avatar/index.d.ts +1 -0
  38. package/lib/badge/badge.d.ts +98 -67
  39. package/lib/badge/badge.template.d.ts +3 -3
  40. package/lib/badge/index.d.ts +1 -0
  41. package/lib/banner/banner.d.ts +286 -193
  42. package/lib/banner/banner.template.d.ts +3 -3
  43. package/lib/banner/index.d.ts +1 -0
  44. package/lib/breadcrumb/breadcrumb.d.ts +93 -62
  45. package/lib/breadcrumb/breadcrumb.template.d.ts +2 -2
  46. package/lib/breadcrumb/index.d.ts +1 -0
  47. package/lib/breadcrumb-item/breadcrumb-item.d.ts +103 -115
  48. package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +3 -3
  49. package/lib/breadcrumb-item/index.d.ts +1 -0
  50. package/lib/button/button.d.ts +297 -247
  51. package/lib/button/button.template.d.ts +3 -3
  52. package/lib/button/index.d.ts +1 -0
  53. package/lib/calendar/calendar.d.ts +2 -2
  54. package/lib/calendar/calendar.template.d.ts +2 -2
  55. package/lib/calendar/helpers/calendar.event-context.d.ts +1 -1
  56. package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +1 -1
  57. package/lib/calendar/index.d.ts +1 -0
  58. package/lib/calendar-event/calendar-event.d.ts +95 -64
  59. package/lib/calendar-event/calendar-event.template.d.ts +2 -2
  60. package/lib/calendar-event/index.d.ts +1 -0
  61. package/lib/card/card.d.ts +105 -117
  62. package/lib/card/card.template.d.ts +2 -2
  63. package/lib/card/index.d.ts +1 -0
  64. package/lib/checkbox/checkbox.d.ts +628 -437
  65. package/lib/checkbox/checkbox.template.d.ts +3 -3
  66. package/lib/checkbox/index.d.ts +1 -0
  67. package/lib/color-picker/color-picker.d.ts +726 -506
  68. package/lib/color-picker/color-picker.template.d.ts +2 -2
  69. package/lib/color-picker/definition.d.ts +1 -1
  70. package/lib/color-picker/index.d.ts +1 -0
  71. package/lib/combobox/combobox.d.ts +741 -520
  72. package/lib/combobox/combobox.template.d.ts +3 -3
  73. package/lib/combobox/index.d.ts +1 -0
  74. package/lib/contextual-help/contextual-help.d.ts +1 -1
  75. package/lib/contextual-help/contextual-help.template.d.ts +3 -3
  76. package/lib/contextual-help/index.d.ts +1 -0
  77. package/lib/country/country-code-to-flag-icon.d.ts +1 -1
  78. package/lib/country/country.template.d.ts +3 -3
  79. package/lib/country/index.d.ts +1 -0
  80. package/lib/data-grid/data-grid-cell.d.ts +190 -128
  81. package/lib/data-grid/data-grid-cell.template.d.ts +3 -3
  82. package/lib/data-grid/data-grid-row.d.ts +95 -64
  83. package/lib/data-grid/data-grid-row.template.d.ts +3 -3
  84. package/lib/data-grid/data-grid.d.ts +1 -1
  85. package/lib/data-grid/data-grid.template.d.ts +3 -3
  86. package/lib/data-grid/index.d.ts +1 -0
  87. package/lib/data-grid/locale.d.ts +1 -1
  88. package/lib/date-picker/date-picker.d.ts +1045 -792
  89. package/lib/date-picker/date-picker.template.d.ts +2 -2
  90. package/lib/date-picker/index.d.ts +1 -0
  91. package/lib/date-range-picker/date-range-picker.d.ts +538 -411
  92. package/lib/date-range-picker/date-range-picker.template.d.ts +2 -2
  93. package/lib/date-range-picker/index.d.ts +1 -0
  94. package/lib/date-time-picker/date-time-picker.d.ts +1026 -772
  95. package/lib/date-time-picker/date-time-picker.template.d.ts +2 -2
  96. package/lib/date-time-picker/index.d.ts +1 -0
  97. package/lib/dial-pad/dial-pad.d.ts +95 -64
  98. package/lib/dial-pad/dial-pad.template.d.ts +2 -2
  99. package/lib/dial-pad/index.d.ts +1 -0
  100. package/lib/dialog/dialog.d.ts +189 -127
  101. package/lib/dialog/dialog.template.d.ts +3 -3
  102. package/lib/dialog/index.d.ts +1 -0
  103. package/lib/divider/divider.d.ts +94 -63
  104. package/lib/divider/divider.template.d.ts +2 -2
  105. package/lib/divider/index.d.ts +1 -0
  106. package/lib/elevation/elevation.template.d.ts +2 -2
  107. package/lib/elevation/index.d.ts +1 -0
  108. package/lib/empty-state/empty-state.d.ts +2 -2
  109. package/lib/empty-state/empty-state.template.d.ts +3 -3
  110. package/lib/empty-state/index.d.ts +1 -0
  111. package/lib/fab/fab.d.ts +98 -67
  112. package/lib/fab/fab.template.d.ts +3 -3
  113. package/lib/fab/index.d.ts +1 -0
  114. package/lib/file-picker/__mocks__/data-transfer.d.ts +21 -0
  115. package/lib/file-picker/file-picker.d.ts +736 -515
  116. package/lib/file-picker/file-picker.template.d.ts +3 -3
  117. package/lib/file-picker/index.d.ts +1 -0
  118. package/lib/header/header.d.ts +93 -62
  119. package/lib/header/header.template.d.ts +3 -3
  120. package/lib/header/index.d.ts +1 -0
  121. package/lib/icon/icon.d.ts +2 -2
  122. package/lib/icon/icon.template.d.ts +3 -3
  123. package/lib/icon/index.d.ts +1 -0
  124. package/lib/layout/index.d.ts +1 -0
  125. package/lib/layout/layout.d.ts +2 -2
  126. package/lib/layout/layout.template.d.ts +2 -2
  127. package/lib/menu/index.d.ts +1 -0
  128. package/lib/menu/menu.d.ts +195 -133
  129. package/lib/menu/menu.template.d.ts +3 -3
  130. package/lib/menu-item/index.d.ts +1 -0
  131. package/lib/menu-item/menu-item.d.ts +191 -129
  132. package/lib/menu-item/menu-item.template.d.ts +2 -2
  133. package/lib/nav/index.d.ts +1 -0
  134. package/lib/nav/nav.d.ts +93 -62
  135. package/lib/nav/nav.template.d.ts +2 -2
  136. package/lib/nav-disclosure/index.d.ts +1 -0
  137. package/lib/nav-disclosure/nav-disclosure.d.ts +191 -129
  138. package/lib/nav-disclosure/nav-disclosure.template.d.ts +3 -3
  139. package/lib/nav-item/index.d.ts +1 -0
  140. package/lib/nav-item/nav-item.d.ts +200 -181
  141. package/lib/nav-item/nav-item.template.d.ts +3 -3
  142. package/lib/note/index.d.ts +1 -0
  143. package/lib/note/note.d.ts +97 -66
  144. package/lib/note/note.template.d.ts +3 -3
  145. package/lib/number-field/index.d.ts +1 -0
  146. package/lib/number-field/number-field.d.ts +929 -646
  147. package/lib/number-field/number-field.template.d.ts +3 -3
  148. package/lib/option/index.d.ts +1 -0
  149. package/lib/option/option.d.ts +191 -129
  150. package/lib/option/option.template.d.ts +3 -3
  151. package/lib/pagination/index.d.ts +1 -0
  152. package/lib/pagination/pagination.d.ts +98 -67
  153. package/lib/pagination/pagination.template.d.ts +3 -3
  154. package/lib/popover/definition.d.ts +1 -1
  155. package/lib/popover/index.d.ts +1 -0
  156. package/lib/popover/popover.d.ts +190 -128
  157. package/lib/popover/popover.template.d.ts +2 -2
  158. package/lib/popup/index.d.ts +1 -0
  159. package/lib/popup/popup.d.ts +1 -1
  160. package/lib/popup/popup.template.d.ts +3 -3
  161. package/lib/progress/index.d.ts +1 -0
  162. package/lib/progress/progress.d.ts +94 -63
  163. package/lib/progress/progress.template.d.ts +2 -2
  164. package/lib/progress-ring/index.d.ts +1 -0
  165. package/lib/progress-ring/progress-ring.d.ts +94 -63
  166. package/lib/progress-ring/progress-ring.template.d.ts +2 -2
  167. package/lib/radio/index.d.ts +1 -0
  168. package/lib/radio/radio.d.ts +340 -242
  169. package/lib/radio/radio.template.d.ts +2 -2
  170. package/lib/radio-group/index.d.ts +1 -0
  171. package/lib/radio-group/radio-group.d.ts +99 -68
  172. package/lib/radio-group/radio-group.template.d.ts +3 -3
  173. package/lib/range-slider/index.d.ts +1 -0
  174. package/lib/range-slider/range-slider.d.ts +313 -218
  175. package/lib/range-slider/range-slider.template.d.ts +3 -3
  176. package/lib/rich-text-editor/definition.d.ts +1 -1
  177. package/lib/rich-text-editor/index.d.ts +1 -0
  178. package/lib/rich-text-editor/popover.d.ts +1 -1
  179. package/lib/rich-text-editor/rich-text-editor.d.ts +99 -68
  180. package/lib/rich-text-editor/rich-text-editor.template.d.ts +2 -2
  181. package/lib/rich-text-editor/rte/__tests__/async-generator.d.ts +5 -0
  182. package/lib/rich-text-editor/rte/__tests__/doc-factories.d.ts +106 -0
  183. package/lib/rich-text-editor/rte/__tests__/font-sizes.d.ts +2 -0
  184. package/lib/rich-text-editor/rte/__tests__/promise.d.ts +5 -0
  185. package/lib/rich-text-editor/rte/__tests__/test-utils.d.ts +68 -0
  186. package/lib/rich-text-editor/rte/config.d.ts +4 -4
  187. package/lib/rich-text-editor/rte/exports.d.ts +1 -0
  188. package/lib/rich-text-editor/rte/feature.d.ts +10 -12
  189. package/lib/rich-text-editor/rte/features/alignment.d.ts +19 -0
  190. package/lib/rich-text-editor/rte/features/atom.d.ts +9 -0
  191. package/lib/rich-text-editor/rte/features/base.d.ts +33 -0
  192. package/lib/rich-text-editor/rte/features/bold.d.ts +17 -0
  193. package/lib/rich-text-editor/rte/features/drop-handler.d.ts +21 -0
  194. package/lib/rich-text-editor/rte/features/file-handler.d.ts +25 -0
  195. package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +46 -0
  196. package/lib/rich-text-editor/rte/features/hard-break.d.ts +10 -0
  197. package/lib/rich-text-editor/rte/features/inline-image.d.ts +43 -0
  198. package/lib/rich-text-editor/rte/features/input-rule.d.ts +10 -0
  199. package/lib/rich-text-editor/rte/features/internal/basic-text-blocks.d.ts +6 -6
  200. package/lib/rich-text-editor/rte/features/internal/core.d.ts +37 -0
  201. package/lib/rich-text-editor/rte/features/internal/cursor-fix.d.ts +16 -0
  202. package/lib/rich-text-editor/rte/features/internal/foreign-html.d.ts +1 -1
  203. package/lib/rich-text-editor/rte/features/internal/history.d.ts +2 -2
  204. package/lib/rich-text-editor/rte/features/internal/input-rules.d.ts +4 -4
  205. package/lib/rich-text-editor/rte/features/italic.d.ts +17 -0
  206. package/lib/rich-text-editor/rte/features/keyboard-shortcuts.d.ts +16 -0
  207. package/lib/rich-text-editor/rte/features/link.d.ts +33 -0
  208. package/lib/rich-text-editor/rte/features/list.d.ts +24 -0
  209. package/lib/rich-text-editor/rte/features/monospace.d.ts +22 -0
  210. package/lib/rich-text-editor/rte/features/placeholder.d.ts +23 -0
  211. package/lib/rich-text-editor/rte/features/strikethrough.d.ts +17 -0
  212. package/lib/rich-text-editor/rte/features/suggest.d.ts +14 -0
  213. package/lib/rich-text-editor/rte/features/text-block-picker.d.ts +18 -0
  214. package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +31 -0
  215. package/lib/rich-text-editor/rte/features/toolbar-button.d.ts +13 -0
  216. package/lib/rich-text-editor/rte/features/toolbar.d.ts +37 -0
  217. package/lib/rich-text-editor/rte/features/underline.d.ts +17 -0
  218. package/lib/rich-text-editor/rte/html-parser.d.ts +3 -3
  219. package/lib/rich-text-editor/rte/html-serializer.d.ts +3 -3
  220. package/lib/rich-text-editor/rte/instance.d.ts +10 -8
  221. package/lib/rich-text-editor/rte/public-interface.d.ts +13 -0
  222. package/lib/rich-text-editor/rte/utils/default-textblock.d.ts +2 -2
  223. package/lib/rich-text-editor/rte/utils/feature-state.d.ts +1 -1
  224. package/lib/rich-text-editor/rte/utils/text-before-cursor.d.ts +1 -1
  225. package/lib/rich-text-editor/rte/utils/ui.d.ts +8 -8
  226. package/lib/rich-text-editor/rte/view.d.ts +3 -6
  227. package/lib/rich-text-view/definition.d.ts +1 -1
  228. package/lib/rich-text-view/index.d.ts +2 -0
  229. package/lib/rich-text-view/rich-text-view.d.ts +1 -1
  230. package/lib/rich-text-view/rich-text-view.template.d.ts +2 -2
  231. package/lib/searchable-select/index.d.ts +1 -0
  232. package/lib/searchable-select/option-tag.d.ts +96 -65
  233. package/lib/searchable-select/option-tag.template.d.ts +3 -3
  234. package/lib/searchable-select/searchable-select.d.ts +929 -646
  235. package/lib/searchable-select/searchable-select.template.d.ts +3 -3
  236. package/lib/select/index.d.ts +1 -0
  237. package/lib/select/locale.d.ts +3 -0
  238. package/lib/select/select.d.ts +1240 -579
  239. package/lib/select/select.template.d.ts +3 -3
  240. package/lib/selectable-box/index.d.ts +1 -0
  241. package/lib/selectable-box/selectable-box.d.ts +94 -63
  242. package/lib/selectable-box/selectable-box.template.d.ts +2 -2
  243. package/lib/side-drawer/index.d.ts +1 -0
  244. package/lib/side-drawer/side-drawer.template.d.ts +2 -2
  245. package/lib/simple-color-picker/definition.d.ts +1 -1
  246. package/lib/simple-color-picker/index.d.ts +1 -0
  247. package/lib/simple-color-picker/simple-color-picker.d.ts +216 -153
  248. package/lib/simple-color-picker/simple-color-picker.template.d.ts +2 -2
  249. package/lib/slider/index.d.ts +1 -0
  250. package/lib/slider/slider.d.ts +299 -205
  251. package/lib/slider/slider.template.d.ts +4 -4
  252. package/lib/split-button/index.d.ts +1 -0
  253. package/lib/split-button/split-button.d.ts +288 -195
  254. package/lib/split-button/split-button.template.d.ts +3 -3
  255. package/lib/status/index.d.ts +1 -0
  256. package/lib/status/status.d.ts +98 -67
  257. package/lib/status/status.template.d.ts +3 -3
  258. package/lib/switch/index.d.ts +1 -0
  259. package/lib/switch/switch.d.ts +207 -142
  260. package/lib/switch/switch.template.d.ts +2 -2
  261. package/lib/tab/index.d.ts +1 -0
  262. package/lib/tab/tab.d.ts +288 -195
  263. package/lib/tab/tab.template.d.ts +3 -3
  264. package/lib/tab-panel/index.d.ts +1 -0
  265. package/lib/tab-panel/tab-panel.d.ts +93 -62
  266. package/lib/tab-panel/tab-panel.template.d.ts +2 -2
  267. package/lib/table/index.d.ts +1 -0
  268. package/lib/table/table-body.template.d.ts +3 -3
  269. package/lib/table/table-cell.d.ts +93 -62
  270. package/lib/table/table-cell.template.d.ts +3 -3
  271. package/lib/table/table-head.template.d.ts +3 -3
  272. package/lib/table/table-header-cell.d.ts +93 -62
  273. package/lib/table/table-header-cell.template.d.ts +3 -3
  274. package/lib/table/table-row.d.ts +93 -62
  275. package/lib/table/table-row.template.d.ts +3 -3
  276. package/lib/table/table.template.d.ts +3 -3
  277. package/lib/tabs/index.d.ts +1 -0
  278. package/lib/tabs/tabs.d.ts +2 -2
  279. package/lib/tabs/tabs.template.d.ts +2 -2
  280. package/lib/tag/index.d.ts +1 -0
  281. package/lib/tag/tag.d.ts +288 -195
  282. package/lib/tag/tag.template.d.ts +3 -3
  283. package/lib/tag-group/index.d.ts +1 -0
  284. package/lib/tag-group/tag-group.d.ts +93 -62
  285. package/lib/tag-group/tag-group.template.d.ts +2 -2
  286. package/lib/tag-name-map.d.ts +1 -1
  287. package/lib/text-area/index.d.ts +1 -0
  288. package/lib/text-area/text-area.d.ts +832 -581
  289. package/lib/text-area/text-area.template.d.ts +3 -3
  290. package/lib/text-field/index.d.ts +1 -0
  291. package/lib/text-field/text-field.d.ts +931 -649
  292. package/lib/text-field/text-field.template.d.ts +3 -3
  293. package/lib/time-picker/index.d.ts +1 -0
  294. package/lib/time-picker/time-picker.d.ts +486 -359
  295. package/lib/time-picker/time-picker.template.d.ts +3 -3
  296. package/lib/toggletip/index.d.ts +1 -0
  297. package/lib/toggletip/toggletip.d.ts +197 -135
  298. package/lib/toggletip/toggletip.template.d.ts +3 -3
  299. package/lib/tooltip/index.d.ts +1 -0
  300. package/lib/tooltip/tooltip.d.ts +101 -70
  301. package/lib/tooltip/tooltip.template.d.ts +3 -3
  302. package/lib/tree-item/index.d.ts +1 -0
  303. package/lib/tree-item/tree-item.d.ts +190 -128
  304. package/lib/tree-item/tree-item.template.d.ts +3 -3
  305. package/lib/tree-view/index.d.ts +1 -0
  306. package/lib/tree-view/tree-view.d.ts +93 -62
  307. package/lib/tree-view/tree-view.template.d.ts +2 -2
  308. package/lib/video-player/index.d.ts +1 -0
  309. package/lib/video-player/video-player.d.ts +96 -65
  310. package/lib/video-player/video-player.template.d.ts +1 -1
  311. package/lib/video-player/vivid-video-svg.d.ts +1 -1
  312. package/lib/visually-hidden/definition.d.ts +1 -1
  313. package/lib/visually-hidden/index.d.ts +1 -0
  314. package/lib/visually-hidden/visually-hidden.template.d.ts +1 -1
  315. package/locales/de-DE.cjs +3 -0
  316. package/locales/de-DE.d.ts +1 -1
  317. package/locales/de-DE.js +3 -0
  318. package/locales/en-GB.cjs +3 -0
  319. package/locales/en-GB.d.ts +1 -1
  320. package/locales/en-GB.js +3 -0
  321. package/locales/en-US.cjs +3 -0
  322. package/locales/en-US.d.ts +1 -1
  323. package/locales/en-US.js +3 -0
  324. package/locales/ja-JP.cjs +3 -0
  325. package/locales/ja-JP.d.ts +1 -1
  326. package/locales/ja-JP.js +3 -0
  327. package/locales/zh-CN.cjs +3 -0
  328. package/locales/zh-CN.d.ts +1 -1
  329. package/locales/zh-CN.js +3 -0
  330. package/package.json +6 -6
  331. package/rich-text-editor/definition.cjs +51 -24
  332. package/rich-text-editor/definition.js +52 -26
  333. package/rich-text-editor/index.cjs +7 -7
  334. package/rich-text-editor/index.js +1255 -1237
  335. package/rich-text-view/index.js +1 -1
  336. package/select/definition.cjs +104 -5
  337. package/select/definition.js +104 -5
  338. package/shared/aria/aria-change-subscription.d.ts +1 -1
  339. package/shared/aria/aria-mixin.d.ts +94 -63
  340. package/shared/aria/attribute-removal.d.ts +1 -1
  341. package/shared/aria/delegate-aria-behavior.d.ts +2 -2
  342. package/shared/aria/delegates-aria.d.ts +96 -65
  343. package/shared/aria/host-semantics-behavior.d.ts +2 -2
  344. package/shared/aria/host-semantics.d.ts +97 -66
  345. package/shared/color-picker/base-color-picker.d.ts +114 -82
  346. package/shared/datetime/dateRange.d.ts +1 -1
  347. package/shared/datetime/dateTimeStr.d.ts +4 -4
  348. package/shared/datetime/month.d.ts +1 -1
  349. package/shared/datetime/presentationDate.d.ts +2 -2
  350. package/shared/datetime/presentationDateRange.d.ts +2 -2
  351. package/shared/datetime/presentationDateTime.d.ts +2 -2
  352. package/shared/datetime/presentationTime.d.ts +1 -1
  353. package/shared/datetime/year.d.ts +1 -1
  354. package/shared/deprecation/replaced-props.d.ts +95 -60
  355. package/shared/design-system/createRegisterFunction.d.ts +1 -1
  356. package/shared/design-system/defineVividComponent.d.ts +1 -1
  357. package/shared/feedback/feedback-message.d.ts +96 -65
  358. package/shared/feedback/mixins.d.ts +200 -138
  359. package/shared/foundation/button/button.d.ts +202 -139
  360. package/shared/foundation/button/button.template.d.ts +2 -2
  361. package/shared/foundation/form-associated/form-associated.d.ts +213 -147
  362. package/shared/foundation/listbox/listbox.d.ts +1 -1
  363. package/shared/foundation/test-utilities/fixture.d.ts +18 -0
  364. package/shared/foundation/vivid-element/vivid-element.d.ts +194 -131
  365. package/shared/localization/Locale.d.ts +31 -29
  366. package/shared/localization/index.d.ts +1 -1
  367. package/shared/patterns/affix.d.ts +195 -133
  368. package/shared/patterns/anchored.d.ts +202 -140
  369. package/shared/patterns/char-count/char-count.d.ts +99 -68
  370. package/shared/patterns/chevron.d.ts +2 -2
  371. package/shared/patterns/form-elements/form-element.d.ts +114 -488
  372. package/shared/patterns/form-elements/with-contextual-help.d.ts +117 -903
  373. package/shared/patterns/form-elements/with-error-text.d.ts +120 -906
  374. package/shared/patterns/form-elements/with-success-text.d.ts +97 -66
  375. package/shared/patterns/linkable.d.ts +106 -117
  376. package/shared/patterns/localized.d.ts +197 -135
  377. package/shared/patterns/trapped-focus.d.ts +95 -64
  378. package/shared/picker-field/mixins/calendar-picker.d.ts +251 -188
  379. package/shared/picker-field/mixins/calendar-picker.template.d.ts +271 -208
  380. package/shared/picker-field/mixins/calendar-segments/calendarGrid.d.ts +3 -3
  381. package/shared/picker-field/mixins/calendar-segments/monthPickerGrid.d.ts +2 -2
  382. package/shared/picker-field/mixins/calendar-segments/segment.d.ts +2 -2
  383. package/shared/picker-field/mixins/inline-time-picker/columns.d.ts +2 -2
  384. package/shared/picker-field/mixins/inline-time-picker/index.d.ts +1 -0
  385. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +95 -64
  386. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.template.d.ts +3 -3
  387. package/shared/picker-field/mixins/inline-time-picker/picker-option.d.ts +1 -1
  388. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +277 -1102
  389. package/shared/picker-field/mixins/single-date-picker.d.ts +274 -1953
  390. package/shared/picker-field/mixins/single-value-picker.d.ts +236 -173
  391. package/shared/picker-field/mixins/time-selection-picker.d.ts +257 -1046
  392. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +486 -360
  393. package/shared/picker-field/picker-field.d.ts +735 -514
  394. package/shared/picker-field/picker-field.template.d.ts +2 -2
  395. package/shared/templating/attribute-binding-behaviour.d.ts +1 -1
  396. package/shared/templating/render-in-light-dom.d.ts +2 -2
  397. package/shared/utils/closest-of-type.d.ts +2 -0
  398. package/shared/utils/direct-children-of-type.d.ts +2 -0
  399. package/shared/utils/dom-traversal-types.d.ts +3 -0
  400. package/shared/utils/first-of-type.d.ts +2 -0
  401. package/shared/utils/last-of-type.d.ts +2 -0
  402. package/shared/utils/nested-children-of-type.d.ts +2 -0
  403. package/shared/utils/next-of-type.d.ts +2 -0
  404. package/shared/utils/numberConverter.d.ts +1 -1
  405. package/shared/utils/prev-of-type.d.ts +2 -0
  406. package/shared/utils/promise.d.ts +2 -2
  407. package/shared/utils/siblings-of-type.d.ts +2 -0
  408. package/styles/core/all.css +2 -2
  409. package/styles/core/theme.css +2 -2
  410. package/styles/core/typography.css +1 -1
  411. package/styles/tokens/theme-dark.css +4 -4
  412. package/styles/tokens/theme-light.css +4 -4
  413. package/styles/tokens/vivid-2-compat.css +1 -1
  414. package/unbundled/base-color-picker.cjs +2 -2
  415. package/unbundled/base-color-picker.js +2 -2
  416. package/unbundled/localized.cjs +1 -0
  417. package/unbundled/localized.js +1 -0
  418. package/unbundled/slottable-request.cjs +8 -5
  419. package/unbundled/slottable-request.js +8 -6
  420. package/unbundled/vivid-element.cjs +1 -1
  421. package/unbundled/vivid-element.js +1 -1
  422. package/vivid.api.json +759 -38
@@ -0,0 +1,37 @@
1
+ import { Plugin } from 'prosemirror-state';
2
+ import { UiCtx } from '../utils/ui';
3
+ import { RteInstanceImpl } from '../instance';
4
+ import { RteFeatureImpl } from '../feature';
5
+ import { FeatureState } from '../utils/feature-state';
6
+ import { RteToolbarPublicInterface } from '../public-interface';
7
+ export interface ToolbarItemSpec {
8
+ section: 'history' | 'font' | 'text-style' | 'textblock' | 'insert';
9
+ render(ctx: UiCtx): HTMLElement | DocumentFragment;
10
+ }
11
+ export interface RteToolbarConfig {
12
+ popupDirection?: 'inward' | 'outward';
13
+ }
14
+ export declare class RteToolbarFeatureImpl extends RteFeatureImpl {
15
+ protected config?: RteToolbarConfig | undefined;
16
+ name: string;
17
+ hidden: FeatureState<boolean>;
18
+ constructor(config?: RteToolbarConfig | undefined);
19
+ getStyles(): {
20
+ priority: number;
21
+ featureName: string;
22
+ value: string;
23
+ }[];
24
+ getPlugins(rte: RteInstanceImpl): ({
25
+ priority: number;
26
+ featureName: string;
27
+ value: Plugin<any>;
28
+ } | {
29
+ priority: number;
30
+ featureName: string;
31
+ value: Plugin<boolean>;
32
+ })[];
33
+ getPublicInterface(rte: RteInstanceImpl): RteToolbarPublicInterface;
34
+ }
35
+ export declare const RteToolbarFeature: {
36
+ new (config?: RteToolbarConfig | undefined): {};
37
+ };
@@ -0,0 +1,17 @@
1
+ import { RteInstanceImpl } from '../instance';
2
+ import { SchemaContribution, ToolbarItemContribution } from '../feature';
3
+ import { RteTextStyleFeatureImpl } from './internal/text-style';
4
+ export declare class RteUnderlineFeatureImpl extends RteTextStyleFeatureImpl {
5
+ name: string;
6
+ protected markName: string;
7
+ getSchema(): SchemaContribution[];
8
+ getPlugins(rte: RteInstanceImpl): {
9
+ priority: number;
10
+ featureName: string;
11
+ value: import('prosemirror-state').Plugin<any>;
12
+ }[];
13
+ getToolbarItems(rte: RteInstanceImpl): ToolbarItemContribution[];
14
+ }
15
+ export declare const RteUnderlineFeature: {
16
+ new (config?: import('./internal/text-style').RteTextStyleConfig | undefined): {};
17
+ };
@@ -1,6 +1,6 @@
1
- import { type ParseRule, type TagParseRule } from 'prosemirror-model';
2
- import { type RteConfig } from './config';
3
- import type { RteDocument, RteFragment } from './document';
1
+ import { ParseRule, TagParseRule } from 'prosemirror-model';
2
+ import { RteConfig } from './config';
3
+ import { RteDocument, RteFragment } from './document';
4
4
  type ParseRules = {
5
5
  nodes: {
6
6
  [name: string]: TagParseRule[];
@@ -1,6 +1,6 @@
1
- import { type DOMOutputSpec, DOMSerializer, type Mark, type Node, type Schema } from 'prosemirror-model';
2
- import type { RteConfig, RteConfigImpl } from './config';
3
- import type { RteDocument, RteFragment } from './document';
1
+ import { DOMOutputSpec, DOMSerializer, Mark, Node, Schema } from 'prosemirror-model';
2
+ import { RteConfig, RteConfigImpl } from './config';
3
+ import { RteDocument, RteFragment } from './document';
4
4
  type DomSerializers = {
5
5
  nodes: {
6
6
  [name: string]: (node: Node) => DOMOutputSpec;
@@ -2,15 +2,16 @@ import { EditorState } from 'prosemirror-state';
2
2
  import { Schema } from 'prosemirror-model';
3
3
  import { ElementStyles } from '@microsoft/fast-element';
4
4
  import { EditorView } from 'prosemirror-view';
5
- import type { Constructor } from '../../../shared/utils/mixins';
6
- import type { Locale } from '../../../shared/localization/Locale';
5
+ import { Constructor } from '../../../shared/utils/mixins';
6
+ import { Locale } from '../../../shared/localization/Locale';
7
7
  import { RteConfig, RteConfigImpl } from './config';
8
- import { type HostState } from './features/internal/core';
9
- import { type getPublicInterface, type RteFeature, type RteFeatureImpl } from './feature';
10
- import type { RteDocument, RteFragment } from './document';
11
- import type { TextblockAttrs } from './utils/textblock-attrs';
8
+ import { HostState } from './features/internal/core';
9
+ import { RteFeature, RteFeatureImpl } from './feature';
10
+ import { RteDocument, RteFragment } from './document';
11
+ import { TextblockAttrs } from './utils/textblock-attrs';
12
12
  import { RteHtmlParser } from './html-parser';
13
13
  import { RteHtmlSerializer } from './html-serializer';
14
+ import { getPublicInterface } from './public-interface';
14
15
  export type RteInstanceOptions = {
15
16
  initialDocument?: RteDocument;
16
17
  onChange?: () => void;
@@ -34,6 +35,7 @@ export declare class RteInstance {
34
35
  }
35
36
  export declare class RteInstanceImpl {
36
37
  readonly options?: RteInstanceOptions | undefined;
38
+ readonly facade: RteInstance;
37
39
  state: EditorState;
38
40
  readonly config: RteConfigImpl;
39
41
  readonly schema: Schema;
@@ -44,7 +46,7 @@ export declare class RteInstanceImpl {
44
46
  readonly foreignHtmlSerializer: RteHtmlSerializer;
45
47
  getFeature<T extends RteFeatureImpl>(name: string): T;
46
48
  getPublicInterface(Feature: Constructor<RteFeature>, featureId?: string): any;
47
- constructor(configFacade: RteConfig, options?: RteInstanceOptions | undefined);
49
+ constructor(instanceFacade: RteInstance, configFacade: RteConfig, options?: RteInstanceOptions | undefined);
48
50
  protected initState(initialDoc?: RteDocument): void;
49
51
  reset(initialDocument?: RteDocument): void;
50
52
  view: EditorView | null;
@@ -52,7 +54,7 @@ export declare class RteInstanceImpl {
52
54
  destroyViewIfNeeded(): void;
53
55
  createComponent<T>(type: Constructor<T>): T;
54
56
  getLocale(): Locale;
55
- get tr(): import("prosemirror-state").Transaction;
57
+ get tr(): import('prosemirror-state').Transaction;
56
58
  dispatchTransaction: (tr: any) => EditorState;
57
59
  hostState(): HostState;
58
60
  updateHostState(hostState: HostState | null): void;
@@ -0,0 +1,13 @@
1
+ import { Constructor } from '../../../shared/utils/mixins';
2
+ import { RteBase } from './features/base';
3
+ import { RteFeature } from './feature';
4
+ import { RteToolbarFeature } from './features/toolbar';
5
+ export declare function getPublicInterface(facade: Constructor<RteFeature>): unknown;
6
+ export interface RteBasePublicInterface {
7
+ disabled: boolean;
8
+ }
9
+ export declare function getPublicInterface(facade: typeof RteBase): RteBasePublicInterface;
10
+ export interface RteToolbarPublicInterface {
11
+ hidden: boolean;
12
+ }
13
+ export declare function getPublicInterface(facade: typeof RteToolbarFeature): RteToolbarPublicInterface;
@@ -1,2 +1,2 @@
1
- import type { ContentMatch } from 'prosemirror-model';
2
- export declare function defaultTextblockForMatch(match: ContentMatch): import("prosemirror-model").NodeType;
1
+ import { ContentMatch } from 'prosemirror-model';
2
+ export declare function defaultTextblockForMatch(match: ContentMatch): import('prosemirror-model').NodeType;
@@ -1,5 +1,5 @@
1
1
  import { Plugin } from 'prosemirror-state';
2
- import type { RteInstanceImpl } from '../instance';
2
+ import { RteInstanceImpl } from '../instance';
3
3
  export declare class FeatureState<T> {
4
4
  plugin: Plugin<T>;
5
5
  constructor(initialValue: T);
@@ -1,2 +1,2 @@
1
- import type { ResolvedPos } from 'prosemirror-model';
1
+ import { ResolvedPos } from 'prosemirror-model';
2
2
  export declare const textBeforeCursor: ($cursor: ResolvedPos) => string;
@@ -1,4 +1,4 @@
1
- import type { EditorView } from 'prosemirror-view';
1
+ import { EditorView } from 'prosemirror-view';
2
2
  import { MarkType } from 'prosemirror-model';
3
3
  import { RteInstanceImpl } from '../instance';
4
4
  import { MenuItem } from '../../../menu-item/menu-item';
@@ -49,7 +49,7 @@ export declare const createOptionalTooltip: (ctx: UiCtx, props: {
49
49
  slot?: string;
50
50
  }) => HTMLDivElement;
51
51
  export declare const createButton: (ctx: UiCtx, props: {
52
- variant?: Prop<'toolbar' | 'popover' | 'popover-primary'>;
52
+ variant?: Prop<"toolbar" | "popover" | "popover-primary">;
53
53
  label: Prop<string>;
54
54
  icon?: Prop<string>;
55
55
  noTooltip?: boolean;
@@ -57,7 +57,7 @@ export declare const createButton: (ctx: UiCtx, props: {
57
57
  slot?: string;
58
58
  active?: Prop<boolean>;
59
59
  disabled?: Prop<boolean>;
60
- connotation?: Prop<'alert'>;
60
+ connotation?: Prop<"alert">;
61
61
  onClick?: () => void | boolean;
62
62
  }) => HTMLDivElement;
63
63
  export declare const createMenu: (ctx: UiCtx, props: {
@@ -94,11 +94,11 @@ export declare const createDivider: (ctx: UiCtx) => Divider;
94
94
  export declare const createTextField: (ctx: UiCtx, props: {
95
95
  label: Prop<string>;
96
96
  value: Prop<string>;
97
- placeholder?: Prop<string> | undefined;
98
- slot?: string | undefined;
99
- autofocus?: boolean | undefined;
100
- type?: "url" | undefined;
101
- onInput?: ((value: string) => void) | undefined;
97
+ placeholder?: Prop<string>;
98
+ slot?: string;
99
+ autofocus?: boolean;
100
+ type?: "url";
101
+ onInput?: (value: string) => void;
102
102
  }) => TextField;
103
103
  export declare const createText: (ctx: UiCtx, props: {
104
104
  text: Prop<string>;
@@ -1,6 +1,5 @@
1
- import type { RteConfig } from './config';
2
- import type { RteDocument, RteMark, RteNode } from './document';
3
- import { impl } from './utils/impl';
1
+ import { RteConfig } from './config';
2
+ import { RteDocument, RteMark, RteNode } from './document';
4
3
  export type RteView = ({
5
4
  type: 'node';
6
5
  node: RteNode;
@@ -12,9 +11,7 @@ export type RteView = ({
12
11
  } | {
13
12
  type: 'fragment';
14
13
  content: RteView[];
15
- }) & {
16
- [impl]: RteViewCtx;
17
- };
14
+ }) & {};
18
15
  export type RteViewCtx = {
19
16
  config: RteConfig;
20
17
  options: RteViewOptions;
@@ -1,5 +1,5 @@
1
1
  import { RichTextView } from './rich-text-view';
2
- export declare const richTextViewDefinition: import("../../shared/design-system/defineVividComponent").VividComponentDefinition;
2
+ export declare const richTextViewDefinition: import('../../shared/design-system/defineVividComponent').VividComponentDefinition;
3
3
  export declare const registerRichTextView: (prefix?: string) => void;
4
4
  export { RichTextView as VwcRichTextViewElement };
5
5
  export type { RteChildSlotProps } from './rich-text-view';
@@ -0,0 +1,2 @@
1
+ export { registerRichTextView } from './definition';
2
+ export { RichTextView } from './rich-text-view';
@@ -1,5 +1,5 @@
1
1
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
2
- import type { RteView } from '../rich-text-editor/rte/view';
2
+ import { RteView } from '../rich-text-editor/rte/view';
3
3
  export type RteChildSlotProps = {
4
4
  view: RteView;
5
5
  };
@@ -1,3 +1,3 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
2
- import type { RichTextView } from './rich-text-view';
1
+ import { ViewTemplate } from '@microsoft/fast-element';
2
+ import { RichTextView } from './rich-text-view';
3
3
  export declare const RichTextViewTemplate: () => ViewTemplate<RichTextView>;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,20 +1,21 @@
1
1
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
2
2
  import { Connotation, Shape } from '../enums';
3
- import type { ExtractFromEnum } from '../../shared/utils/enums';
3
+ import { ExtractFromEnum } from '../../shared/utils/enums';
4
4
  export type OptionTagShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
5
5
  export type OptionTagConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA>;
6
6
  declare const OptionTag_base: {
7
7
  new (...args: any[]): {
8
- readonly locale: import("../../shared/localization/Locale").Locale;
8
+ get locale(): import('../../shared/localization/Locale').Locale;
9
9
  connectedCallback(): void;
10
- _vividAriaBehaviour: import("../../shared/aria/aria-mixin").VividAriaBehaviour;
11
- readonly $fastController: import("@microsoft/fast-element").ElementController<HTMLElement>;
12
- $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
10
+ _vividAriaBehaviour: import('../../shared/aria/aria-mixin').VividAriaBehaviour;
11
+ readonly $fastController: import('@microsoft/fast-element').ElementController;
12
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit, "detail">): boolean | void;
13
13
  disconnectedCallback(): void;
14
14
  attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
15
15
  accessKey: string;
16
16
  readonly accessKeyLabel: string;
17
17
  autocapitalize: string;
18
+ autocorrect: boolean;
18
19
  dir: string;
19
20
  draggable: boolean;
20
21
  hidden: boolean;
@@ -27,30 +28,39 @@ declare const OptionTag_base: {
27
28
  readonly offsetTop: number;
28
29
  readonly offsetWidth: number;
29
30
  outerText: string;
31
+ popover: string | null;
30
32
  spellcheck: boolean;
31
33
  title: string;
32
34
  translate: boolean;
35
+ writingSuggestions: string;
33
36
  attachInternals(): ElementInternals;
34
37
  click(): void;
35
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
36
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
37
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
38
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
38
+ hidePopover(): void;
39
+ showPopover(): void;
40
+ togglePopover(options?: boolean): boolean;
41
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
42
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
43
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
44
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
39
45
  readonly attributes: NamedNodeMap;
40
- readonly classList: DOMTokenList;
46
+ get classList(): DOMTokenList;
47
+ set classList(value: string);
41
48
  className: string;
42
49
  readonly clientHeight: number;
43
50
  readonly clientLeft: number;
44
51
  readonly clientTop: number;
45
52
  readonly clientWidth: number;
53
+ readonly currentCSSZoom: number;
46
54
  id: string;
55
+ innerHTML: string;
47
56
  readonly localName: string;
48
57
  readonly namespaceURI: string | null;
49
58
  onfullscreenchange: ((this: Element, ev: Event) => any) | null;
50
59
  onfullscreenerror: ((this: Element, ev: Event) => any) | null;
51
60
  outerHTML: string;
52
61
  readonly ownerDocument: Document;
53
- readonly part: DOMTokenList;
62
+ get part(): DOMTokenList;
63
+ set part(value: string);
54
64
  readonly prefix: string | null;
55
65
  readonly scrollHeight: number;
56
66
  scrollLeft: number;
@@ -60,11 +70,12 @@ declare const OptionTag_base: {
60
70
  slot: string;
61
71
  readonly tagName: string;
62
72
  attachShadow(init: ShadowRootInit): ShadowRoot;
63
- checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
64
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
65
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
66
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
73
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
74
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
75
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
76
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
67
77
  closest<E extends Element = Element>(selectors: string): E | null;
78
+ computedStyleMap(): StylePropertyMapReadOnly;
68
79
  getAttribute(qualifiedName: string): string | null;
69
80
  getAttributeNS(namespace: string | null, localName: string): string | null;
70
81
  getAttributeNames(): string[];
@@ -73,43 +84,47 @@ declare const OptionTag_base: {
73
84
  getBoundingClientRect(): DOMRect;
74
85
  getClientRects(): DOMRectList;
75
86
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
76
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
77
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
78
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
79
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
87
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
88
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
89
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
90
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
80
91
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
81
92
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
82
93
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
83
94
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
84
95
  getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
96
+ getHTML(options?: GetHTMLOptions): string;
85
97
  hasAttribute(qualifiedName: string): boolean;
86
98
  hasAttributeNS(namespace: string | null, localName: string): boolean;
87
99
  hasAttributes(): boolean;
88
100
  hasPointerCapture(pointerId: number): boolean;
89
101
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
90
- insertAdjacentHTML(position: InsertPosition, text: string): void;
102
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
91
103
  insertAdjacentText(where: InsertPosition, data: string): void;
92
104
  matches(selectors: string): boolean;
93
105
  releasePointerCapture(pointerId: number): void;
94
106
  removeAttribute(qualifiedName: string): void;
95
107
  removeAttributeNS(namespace: string | null, localName: string): void;
96
108
  removeAttributeNode(attr: Attr): Attr;
97
- requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
98
- requestPointerLock(): void;
99
- scroll(options?: ScrollToOptions | undefined): void;
109
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
110
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
111
+ scroll(options?: ScrollToOptions): void;
100
112
  scroll(x: number, y: number): void;
101
- scrollBy(options?: ScrollToOptions | undefined): void;
113
+ scrollBy(options?: ScrollToOptions): void;
102
114
  scrollBy(x: number, y: number): void;
103
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
104
- scrollTo(options?: ScrollToOptions | undefined): void;
115
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
116
+ scrollTo(options?: ScrollToOptions): void;
105
117
  scrollTo(x: number, y: number): void;
106
118
  setAttribute(qualifiedName: string, value: string): void;
107
119
  setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
108
120
  setAttributeNode(attr: Attr): Attr | null;
109
121
  setAttributeNodeNS(attr: Attr): Attr | null;
122
+ setHTMLUnsafe(html: string): void;
110
123
  setPointerCapture(pointerId: number): void;
111
- toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
124
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
112
125
  webkitMatchesSelector(selectors: string): boolean;
126
+ get textContent(): string;
127
+ set textContent(value: string | null);
113
128
  readonly baseURI: string;
114
129
  readonly childNodes: NodeListOf<ChildNode>;
115
130
  readonly firstChild: ChildNode | null;
@@ -122,22 +137,21 @@ declare const OptionTag_base: {
122
137
  readonly parentElement: HTMLElement | null;
123
138
  readonly parentNode: ParentNode | null;
124
139
  readonly previousSibling: ChildNode | null;
125
- textContent: string | null;
126
140
  appendChild<T extends Node>(node: T): T;
127
- cloneNode(deep?: boolean | undefined): Node;
141
+ cloneNode(subtree?: boolean): Node;
128
142
  compareDocumentPosition(other: Node): number;
129
143
  contains(other: Node | null): boolean;
130
- getRootNode(options?: GetRootNodeOptions | undefined): Node;
144
+ getRootNode(options?: GetRootNodeOptions): Node;
131
145
  hasChildNodes(): boolean;
132
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
146
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
133
147
  isDefaultNamespace(namespace: string | null): boolean;
134
148
  isEqualNode(otherNode: Node | null): boolean;
135
149
  isSameNode(otherNode: Node | null): boolean;
136
150
  lookupNamespaceURI(prefix: string | null): string | null;
137
151
  lookupPrefix(namespace: string | null): string | null;
138
152
  normalize(): void;
139
- removeChild<T_2 extends Node>(child: T_2): T_2;
140
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
153
+ removeChild<T extends Node>(child: T): T;
154
+ replaceChild<T extends Node>(node: Node, child: T): T;
141
155
  readonly ELEMENT_NODE: 1;
142
156
  readonly ATTRIBUTE_NODE: 2;
143
157
  readonly TEXT_NODE: 3;
@@ -157,35 +171,49 @@ declare const OptionTag_base: {
157
171
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
158
172
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
159
173
  dispatchEvent(event: Event): boolean;
174
+ ariaActiveDescendantElement: Element | null;
160
175
  ariaAtomic: string | null;
161
176
  ariaAutoComplete: string | null;
177
+ ariaBrailleLabel: string | null;
178
+ ariaBrailleRoleDescription: string | null;
162
179
  ariaBusy: string | null;
163
180
  ariaChecked: string | null;
164
181
  ariaColCount: string | null;
165
182
  ariaColIndex: string | null;
183
+ ariaColIndexText: string | null;
166
184
  ariaColSpan: string | null;
185
+ ariaControlsElements: ReadonlyArray<Element> | null;
167
186
  ariaCurrent: string | null;
187
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
188
+ ariaDescription: string | null;
189
+ ariaDetailsElements: ReadonlyArray<Element> | null;
168
190
  ariaDisabled: string | null;
191
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
169
192
  ariaExpanded: string | null;
193
+ ariaFlowToElements: ReadonlyArray<Element> | null;
170
194
  ariaHasPopup: string | null;
171
195
  ariaHidden: string | null;
172
196
  ariaInvalid: string | null;
173
197
  ariaKeyShortcuts: string | null;
174
198
  ariaLabel: string | null;
199
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
175
200
  ariaLevel: string | null;
176
201
  ariaLive: string | null;
177
202
  ariaModal: string | null;
178
203
  ariaMultiLine: string | null;
179
204
  ariaMultiSelectable: string | null;
180
205
  ariaOrientation: string | null;
206
+ ariaOwnsElements: ReadonlyArray<Element> | null;
181
207
  ariaPlaceholder: string | null;
182
208
  ariaPosInSet: string | null;
183
209
  ariaPressed: string | null;
184
210
  ariaReadOnly: string | null;
211
+ ariaRelevant: string | null;
185
212
  ariaRequired: string | null;
186
213
  ariaRoleDescription: string | null;
187
214
  ariaRowCount: string | null;
188
215
  ariaRowIndex: string | null;
216
+ ariaRowIndexText: string | null;
189
217
  ariaRowSpan: string | null;
190
218
  ariaSelected: string | null;
191
219
  ariaSetSize: string | null;
@@ -195,34 +223,35 @@ declare const OptionTag_base: {
195
223
  ariaValueNow: string | null;
196
224
  ariaValueText: string | null;
197
225
  role: string | null;
198
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
199
- getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
200
- after(...nodes: (string | Node)[]): void;
201
- before(...nodes: (string | Node)[]): void;
226
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
227
+ getAnimations(options?: GetAnimationsOptions): Animation[];
228
+ after(...nodes: (Node | string)[]): void;
229
+ before(...nodes: (Node | string)[]): void;
202
230
  remove(): void;
203
- replaceWith(...nodes: (string | Node)[]): void;
204
- innerHTML: string;
231
+ replaceWith(...nodes: (Node | string)[]): void;
205
232
  readonly nextElementSibling: Element | null;
206
233
  readonly previousElementSibling: Element | null;
207
234
  readonly childElementCount: number;
208
235
  readonly children: HTMLCollection;
209
236
  readonly firstElementChild: Element | null;
210
237
  readonly lastElementChild: Element | null;
211
- append(...nodes: (string | Node)[]): void;
212
- prepend(...nodes: (string | Node)[]): void;
213
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
214
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
215
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
216
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
217
- querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
218
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
219
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
220
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
221
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
222
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
223
- replaceChildren(...nodes: (string | Node)[]): void;
238
+ append(...nodes: (Node | string)[]): void;
239
+ prepend(...nodes: (Node | string)[]): void;
240
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
241
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
242
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
243
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
244
+ querySelector<E extends Element = Element>(selectors: string): E | null;
245
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
246
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
247
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
248
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
249
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
250
+ replaceChildren(...nodes: (Node | string)[]): void;
224
251
  readonly assignedSlot: HTMLSlotElement | null;
225
- readonly style: CSSStyleDeclaration;
252
+ readonly attributeStyleMap: StylePropertyMap;
253
+ get style(): CSSStyleDeclaration;
254
+ set style(cssText: string);
226
255
  contentEditable: string;
227
256
  enterKeyHint: string;
228
257
  inputMode: string;
@@ -232,16 +261,20 @@ declare const OptionTag_base: {
232
261
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
233
262
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
234
263
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
235
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
264
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
236
265
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
266
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
237
268
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
238
269
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
239
270
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
240
271
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
241
272
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
242
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
273
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
243
274
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
244
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
275
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
277
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
245
278
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
246
279
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
247
280
  oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
@@ -288,12 +321,14 @@ declare const OptionTag_base: {
288
321
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
289
322
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
290
323
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
325
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
292
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
326
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
293
327
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
328
  onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
329
  onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
296
330
  onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
332
  onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
298
333
  onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
334
  onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -305,7 +340,7 @@ declare const OptionTag_base: {
305
340
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
306
341
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
342
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
309
344
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
310
345
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
311
346
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -323,14 +358,10 @@ declare const OptionTag_base: {
323
358
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
324
359
  autofocus: boolean;
325
360
  readonly dataset: DOMStringMap;
326
- nonce?: string | undefined;
361
+ nonce?: string;
327
362
  tabIndex: number;
328
363
  blur(): void;
329
- focus(options?: FocusOptions | undefined): void;
330
- ariaColIndexText: string | null;
331
- ariaDescription: string | null;
332
- ariaRowIndexText: string | null;
333
- ariaRelevant: string | null;
364
+ focus(options?: FocusOptions): void;
334
365
  roleChanged(prev: string | null, next: string | null): void;
335
366
  ariaAtomicChanged(prev: string | null, next: string | null): void;
336
367
  ariaAutoCompleteChanged(prev: string | null, next: string | null): void;
@@ -373,7 +404,7 @@ declare const OptionTag_base: {
373
404
  ariaValueNowChanged(prev: string | null, next: string | null): void;
374
405
  ariaValueTextChanged(prev: string | null, next: string | null): void;
375
406
  ariaRelevantChanged(prev: string | null, next: string | null): void;
376
- "__#1@#handleReplacedProp"(replacedProp: {
407
+ "__#private@#handleReplacedProp"(replacedProp: {
377
408
  newPropertyName: string;
378
409
  deprecatedPropertyName: string;
379
410
  fromDeprecated: (v: any) => any;
@@ -1,3 +1,3 @@
1
- import type { VividElementDefinitionContext } from '../../shared/design-system/defineVividComponent';
2
- import type { OptionTag } from './option-tag';
3
- export declare const optionTagTemplate: (context: VividElementDefinitionContext) => import("@microsoft/fast-element").ViewTemplate<OptionTag, any>;
1
+ import { VividElementDefinitionContext } from '../../shared/design-system/defineVividComponent';
2
+ import { OptionTag } from './option-tag';
3
+ export declare const optionTagTemplate: (context: VividElementDefinitionContext) => import('@microsoft/fast-element').ViewTemplate<OptionTag, any>;