@vonage/vivid 4.17.0 → 4.18.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 (363) hide show
  1. package/custom-elements.json +3903 -3860
  2. package/date-time-picker/index.cjs +5 -0
  3. package/date-time-picker/index.js +3 -0
  4. package/dial-pad/index.cjs +1 -1
  5. package/dial-pad/index.js +1 -1
  6. package/dialog/index.cjs +1 -1
  7. package/dialog/index.js +1 -1
  8. package/divider/index.cjs +1 -1
  9. package/divider/index.js +1 -1
  10. package/elevation/index.cjs +1 -1
  11. package/elevation/index.js +1 -1
  12. package/empty-state/index.cjs +1 -1
  13. package/empty-state/index.js +1 -1
  14. package/fab/index.cjs +1 -1
  15. package/fab/index.js +1 -1
  16. package/file-picker/index.cjs +1 -1
  17. package/file-picker/index.js +1 -1
  18. package/header/index.cjs +1 -1
  19. package/header/index.js +1 -1
  20. package/icon/index.cjs +1 -1
  21. package/icon/index.js +1 -1
  22. package/index.cjs +136 -133
  23. package/index.js +45 -44
  24. package/layout/index.cjs +1 -1
  25. package/layout/index.js +1 -1
  26. package/lib/action-group/action-group.d.ts +449 -3
  27. package/lib/banner/banner.d.ts +449 -3
  28. package/lib/breadcrumb-item/breadcrumb-item.d.ts +449 -1
  29. package/lib/checkbox/checkbox.d.ts +449 -4
  30. package/lib/components.d.ts +1 -0
  31. package/lib/date-picker/date-picker.d.ts +2182 -4
  32. package/lib/date-picker/date-picker.template.d.ts +2 -0
  33. package/lib/date-range-picker/date-range-picker.d.ts +1110 -4
  34. package/lib/date-range-picker/date-range-picker.template.d.ts +2 -0
  35. package/lib/date-time-picker/date-time-picker.d.ts +2175 -0
  36. package/lib/date-time-picker/date-time-picker.template.d.ts +2 -0
  37. package/lib/date-time-picker/definition.d.ts +1 -0
  38. package/lib/date-time-picker/locale.d.ts +9 -0
  39. package/lib/dialog/dialog.d.ts +449 -2
  40. package/lib/divider/divider.d.ts +448 -1
  41. package/lib/menu/menu.d.ts +446 -1
  42. package/lib/nav-disclosure/nav-disclosure.d.ts +449 -2
  43. package/lib/number-field/number-field.d.ts +450 -3
  44. package/lib/option/option.d.ts +1 -11
  45. package/lib/progress/progress.d.ts +449 -2
  46. package/lib/progress-ring/progress-ring.d.ts +449 -2
  47. package/lib/rich-text-editor/facades/vivid-prose-mirror.facade.d.ts +1 -0
  48. package/lib/rich-text-editor/rich-text-editor.d.ts +7 -4
  49. package/lib/select/select.d.ts +1 -5
  50. package/lib/selectable-box/selectable-box.d.ts +449 -2
  51. package/lib/slider/slider.d.ts +449 -3
  52. package/lib/split-button/split-button.d.ts +449 -3
  53. package/lib/switch/switch.d.ts +449 -2
  54. package/lib/tag-group/tag-group.d.ts +449 -2
  55. package/lib/text-anchor/text-anchor.d.ts +449 -1
  56. package/lib/text-area/text-area.d.ts +450 -3
  57. package/lib/text-field/text-field.d.ts +450 -7
  58. package/lib/time-picker/locale.d.ts +0 -2
  59. package/lib/time-picker/time-picker.d.ts +1053 -9
  60. package/lib/time-picker/time-picker.template.d.ts +2 -1
  61. package/locales/de-DE.cjs +29 -5
  62. package/locales/de-DE.js +29 -5
  63. package/locales/en-GB.cjs +29 -5
  64. package/locales/en-GB.js +29 -5
  65. package/locales/en-US.cjs +29 -5
  66. package/locales/en-US.js +29 -5
  67. package/locales/ja-JP.cjs +29 -5
  68. package/locales/ja-JP.js +29 -5
  69. package/locales/zh-CN.cjs +29 -5
  70. package/locales/zh-CN.js +29 -5
  71. package/menu/index.cjs +1 -1
  72. package/menu/index.js +1 -1
  73. package/menu-item/index.cjs +1 -1
  74. package/menu-item/index.js +1 -1
  75. package/nav/index.cjs +1 -1
  76. package/nav/index.js +1 -1
  77. package/nav-disclosure/index.cjs +1 -1
  78. package/nav-disclosure/index.js +1 -1
  79. package/nav-item/index.cjs +1 -1
  80. package/nav-item/index.js +1 -1
  81. package/note/index.cjs +1 -1
  82. package/note/index.js +1 -1
  83. package/number-field/index.cjs +1 -1
  84. package/number-field/index.js +1 -1
  85. package/option/index.cjs +1 -1
  86. package/option/index.js +1 -1
  87. package/package.json +1 -1
  88. package/pagination/index.cjs +1 -1
  89. package/pagination/index.js +1 -1
  90. package/popup/index.cjs +1 -1
  91. package/popup/index.js +1 -1
  92. package/progress/index.cjs +1 -1
  93. package/progress/index.js +1 -1
  94. package/progress-ring/index.cjs +1 -1
  95. package/progress-ring/index.js +1 -1
  96. package/radio/index.cjs +1 -1
  97. package/radio/index.js +1 -1
  98. package/radio-group/index.cjs +1 -1
  99. package/radio-group/index.js +1 -1
  100. package/range-slider/index.cjs +1 -1
  101. package/range-slider/index.js +1 -1
  102. package/rich-text-editor/index.cjs +1 -1
  103. package/rich-text-editor/index.js +1 -1
  104. package/searchable-select/index.cjs +1 -1
  105. package/searchable-select/index.js +1 -1
  106. package/select/index.cjs +1 -1
  107. package/select/index.js +1 -1
  108. package/selectable-box/index.cjs +1 -1
  109. package/selectable-box/index.js +1 -1
  110. package/shared/Reflector.cjs +71 -0
  111. package/shared/Reflector.js +69 -0
  112. package/shared/affix.cjs +1 -1
  113. package/shared/affix.js +1 -1
  114. package/shared/anchor.cjs +0 -10
  115. package/shared/anchor.js +0 -10
  116. package/shared/aria/delegates-aria.d.ts +454 -0
  117. package/shared/base-progress.js +1 -1
  118. package/shared/breadcrumb-item.cjs +2 -1
  119. package/shared/breadcrumb-item.js +2 -1
  120. package/shared/button.cjs +2 -13
  121. package/shared/button.js +2 -13
  122. package/shared/{presentationDate.cjs → calendar-picker.template.cjs} +730 -900
  123. package/shared/{presentationDate.js → calendar-picker.template.js} +672 -845
  124. package/shared/datetime/dateTimeStr.d.ts +6 -0
  125. package/shared/datetime/presentationDate.d.ts +4 -0
  126. package/shared/{date-picker/calendar → datetime}/presentationDateRange.d.ts +3 -3
  127. package/shared/datetime/presentationDateTime.d.ts +4 -0
  128. package/{lib/time-picker/time → shared/datetime}/time.d.ts +1 -0
  129. package/shared/definition.cjs +1 -1
  130. package/shared/definition.js +1 -1
  131. package/shared/definition11.cjs +8 -11
  132. package/shared/definition11.js +8 -11
  133. package/shared/definition14.cjs +2 -2
  134. package/shared/definition14.js +2 -2
  135. package/shared/definition15.cjs +3 -10
  136. package/shared/definition15.js +3 -10
  137. package/shared/definition16.cjs +29 -33
  138. package/shared/definition16.js +29 -33
  139. package/shared/definition17.cjs +1 -1
  140. package/shared/definition17.js +1 -1
  141. package/shared/definition18.cjs +56 -91
  142. package/shared/definition18.js +56 -91
  143. package/shared/definition19.cjs +68 -32
  144. package/shared/definition19.js +58 -22
  145. package/shared/definition20.cjs +253 -220
  146. package/shared/definition20.js +254 -220
  147. package/shared/definition21.cjs +200 -286
  148. package/shared/definition21.js +198 -284
  149. package/shared/definition22.cjs +302 -31
  150. package/shared/definition22.js +301 -30
  151. package/shared/definition23.cjs +37 -58
  152. package/shared/definition23.js +36 -57
  153. package/shared/definition24.cjs +50 -70
  154. package/shared/definition24.js +49 -69
  155. package/shared/definition25.cjs +75 -2475
  156. package/shared/definition25.js +74 -2475
  157. package/shared/definition26.cjs +2480 -50
  158. package/shared/definition26.js +2479 -48
  159. package/shared/definition27.cjs +53 -271
  160. package/shared/definition27.js +52 -269
  161. package/shared/definition28.cjs +271 -48
  162. package/shared/definition28.js +269 -47
  163. package/shared/definition29.cjs +37 -764
  164. package/shared/definition29.js +36 -758
  165. package/shared/definition3.cjs +2 -9
  166. package/shared/definition3.js +2 -9
  167. package/shared/definition30.cjs +739 -57
  168. package/shared/definition30.js +733 -56
  169. package/shared/definition31.cjs +93 -22
  170. package/shared/definition31.js +92 -21
  171. package/shared/definition32.cjs +28 -10
  172. package/shared/definition32.js +27 -9
  173. package/shared/definition33.cjs +10 -52
  174. package/shared/definition33.js +9 -51
  175. package/shared/definition34.cjs +30 -411
  176. package/shared/definition34.js +30 -412
  177. package/shared/definition35.cjs +422 -52
  178. package/shared/definition35.js +423 -53
  179. package/shared/definition36.cjs +53 -216
  180. package/shared/definition36.js +53 -215
  181. package/shared/definition37.cjs +201 -71
  182. package/shared/definition37.js +200 -70
  183. package/shared/definition38.cjs +53 -48
  184. package/shared/definition38.js +51 -46
  185. package/shared/definition39.cjs +57 -263
  186. package/shared/definition39.js +56 -262
  187. package/shared/definition4.cjs +2 -2
  188. package/shared/definition4.js +2 -2
  189. package/shared/definition40.cjs +220 -148
  190. package/shared/definition40.js +220 -148
  191. package/shared/definition41.cjs +143 -567
  192. package/shared/definition41.js +143 -568
  193. package/shared/definition42.cjs +596 -12573
  194. package/shared/definition42.js +596 -12573
  195. package/shared/definition43.cjs +13489 -1058
  196. package/shared/definition43.js +13489 -1059
  197. package/shared/definition44.cjs +936 -698
  198. package/shared/definition44.js +937 -698
  199. package/shared/definition45.cjs +850 -105
  200. package/shared/definition45.js +850 -104
  201. package/shared/definition46.cjs +110 -90
  202. package/shared/definition46.js +108 -88
  203. package/shared/definition47.cjs +88 -464
  204. package/shared/definition47.js +87 -463
  205. package/shared/definition48.cjs +457 -111
  206. package/shared/definition48.js +456 -110
  207. package/shared/definition49.cjs +103 -109
  208. package/shared/definition49.js +102 -108
  209. package/shared/definition5.cjs +3 -3
  210. package/shared/definition5.js +3 -3
  211. package/shared/definition50.cjs +136 -14
  212. package/shared/definition50.js +135 -13
  213. package/shared/definition51.cjs +16 -115
  214. package/shared/definition51.js +15 -114
  215. package/shared/definition52.cjs +79 -486
  216. package/shared/definition52.js +78 -485
  217. package/shared/definition53.cjs +503 -24
  218. package/shared/definition53.js +502 -23
  219. package/shared/definition54.cjs +23 -137
  220. package/shared/definition54.js +22 -136
  221. package/shared/definition55.cjs +96 -241
  222. package/shared/definition55.js +95 -241
  223. package/shared/definition56.cjs +261 -61
  224. package/shared/definition56.js +260 -60
  225. package/shared/definition57.cjs +419 -788
  226. package/shared/definition57.js +420 -789
  227. package/shared/definition58.cjs +27 -144
  228. package/shared/definition58.js +27 -143
  229. package/shared/definition59.cjs +83 -54
  230. package/shared/definition59.js +82 -53
  231. package/shared/definition6.cjs +1 -1
  232. package/shared/definition6.js +1 -1
  233. package/shared/definition60.cjs +80 -165
  234. package/shared/definition60.js +79 -163
  235. package/shared/definition61.cjs +143 -230
  236. package/shared/definition61.js +141 -229
  237. package/shared/definition62.cjs +233 -69344
  238. package/shared/definition62.js +232 -69343
  239. package/shared/definition63.cjs +69381 -28
  240. package/shared/definition63.js +69379 -26
  241. package/shared/definition64.cjs +28 -2168
  242. package/shared/definition64.js +27 -2166
  243. package/shared/definition65.cjs +2195 -0
  244. package/shared/definition65.js +2190 -0
  245. package/shared/definition7.cjs +1 -1
  246. package/shared/definition7.js +1 -1
  247. package/shared/definition8.cjs +3 -9
  248. package/shared/definition8.js +3 -9
  249. package/shared/definition9.cjs +1 -1
  250. package/shared/definition9.js +1 -1
  251. package/shared/delegates-aria.cjs +69 -0
  252. package/shared/delegates-aria.js +67 -0
  253. package/shared/form-associated.js +1 -1
  254. package/shared/form-elements.cjs +1 -1
  255. package/shared/form-elements.js +1 -1
  256. package/shared/foundation/anchor/anchor.d.ts +0 -8
  257. package/shared/foundation/button/button.d.ts +449 -7
  258. package/shared/foundation/listbox/listbox.d.ts +0 -9
  259. package/shared/listbox.cjs +4 -30
  260. package/shared/listbox.js +4 -30
  261. package/shared/localization/Locale.d.ts +6 -2
  262. package/shared/option.cjs +1 -38
  263. package/shared/option.js +1 -38
  264. package/shared/picker-field/locale.d.ts +4 -0
  265. package/shared/picker-field/mixins/calendar-picker.d.ts +558 -0
  266. package/shared/{date-picker/locale.d.ts → picker-field/mixins/calendar-picker.locale.d.ts} +1 -3
  267. package/shared/picker-field/mixins/calendar-picker.template.d.ts +555 -0
  268. package/shared/picker-field/mixins/calendar-segments/calendarGrid.d.ts +17 -0
  269. package/shared/{date-picker/calendar → picker-field/mixins/calendar-segments}/monthPickerGrid.d.ts +3 -3
  270. package/{lib/time-picker → shared/picker-field/mixins}/inline-time-picker/columns.d.ts +1 -1
  271. package/{lib/time-picker → shared/picker-field/mixins}/inline-time-picker/inline-time-picker.d.ts +2 -2
  272. package/{lib/time-picker/time/picker.d.ts → shared/picker-field/mixins/inline-time-picker/picker-option.d.ts} +1 -1
  273. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +1110 -0
  274. package/shared/picker-field/mixins/single-date-picker.d.ts +1626 -0
  275. package/shared/picker-field/mixins/single-value-picker.d.ts +518 -0
  276. package/shared/picker-field/mixins/time-selection-picker.d.ts +1053 -0
  277. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +1050 -0
  278. package/shared/picker-field/picker-field.d.ts +11 -0
  279. package/shared/picker-field/picker-field.form-associated.d.ts +11 -0
  280. package/shared/picker-field/picker-field.template.d.ts +7 -0
  281. package/shared/picker-field.template.cjs +315 -0
  282. package/shared/picker-field.template.js +310 -0
  283. package/shared/single-date-picker.cjs +46 -0
  284. package/shared/single-date-picker.js +44 -0
  285. package/shared/single-value-picker.cjs +77 -0
  286. package/shared/single-value-picker.js +75 -0
  287. package/shared/slider.template.cjs +3 -3
  288. package/shared/slider.template.js +3 -3
  289. package/shared/text-anchor.cjs +2 -1
  290. package/shared/text-anchor.js +2 -1
  291. package/shared/text-anchor.template.cjs +3 -5
  292. package/shared/text-anchor.template.js +3 -5
  293. package/shared/text-field.cjs +2 -555
  294. package/shared/text-field.js +2 -554
  295. package/shared/time-selection-picker.template.cjs +776 -0
  296. package/shared/time-selection-picker.template.js +767 -0
  297. package/shared/vivid-element.cjs +1 -1
  298. package/shared/vivid-element.js +1 -1
  299. package/side-drawer/index.cjs +1 -1
  300. package/side-drawer/index.js +1 -1
  301. package/slider/index.cjs +1 -1
  302. package/slider/index.js +1 -1
  303. package/split-button/index.cjs +1 -1
  304. package/split-button/index.js +1 -1
  305. package/styles/core/all.css +1 -1
  306. package/styles/core/theme.css +1 -1
  307. package/styles/core/typography.css +1 -1
  308. package/styles/tokens/theme-dark.css +4 -4
  309. package/styles/tokens/theme-light.css +4 -4
  310. package/styles/tokens/vivid-2-compat.css +1 -1
  311. package/switch/index.cjs +1 -1
  312. package/switch/index.js +1 -1
  313. package/tab/index.cjs +1 -1
  314. package/tab/index.js +1 -1
  315. package/tab-panel/index.cjs +1 -1
  316. package/tab-panel/index.js +1 -1
  317. package/tabs/index.cjs +1 -1
  318. package/tabs/index.js +1 -1
  319. package/tag/index.cjs +1 -1
  320. package/tag/index.js +1 -1
  321. package/tag-group/index.cjs +1 -1
  322. package/tag-group/index.js +1 -1
  323. package/text-anchor/index.cjs +1 -1
  324. package/text-anchor/index.js +1 -1
  325. package/text-area/index.cjs +1 -1
  326. package/text-area/index.js +1 -1
  327. package/text-field/index.cjs +1 -1
  328. package/text-field/index.js +1 -1
  329. package/time-picker/index.cjs +1 -1
  330. package/time-picker/index.js +1 -1
  331. package/toggletip/index.cjs +1 -1
  332. package/toggletip/index.js +1 -1
  333. package/tooltip/index.cjs +1 -1
  334. package/tooltip/index.js +1 -1
  335. package/tree-item/index.cjs +1 -1
  336. package/tree-item/index.js +1 -1
  337. package/tree-view/index.cjs +1 -1
  338. package/tree-view/index.js +1 -1
  339. package/video-player/index.cjs +1 -1
  340. package/video-player/index.js +1 -1
  341. package/vivid.api.json +105 -1152
  342. package/lib/time-picker/time-picker.form-associated.d.ts +0 -11
  343. package/shared/aria-global.cjs +0 -93
  344. package/shared/aria-global.js +0 -91
  345. package/shared/date-picker/calendar/calendarGrid.d.ts +0 -17
  346. package/shared/date-picker/calendar/presentationDate.d.ts +0 -4
  347. package/shared/date-picker/date-picker-base.d.ts +0 -21
  348. package/shared/date-picker/date-picker-base.form-associated.d.ts +0 -11
  349. package/shared/date-picker/date-picker-base.template.d.ts +0 -3
  350. package/shared/foundation/patterns/aria-global.d.ts +0 -21
  351. package/shared/foundation/patterns/index.d.ts +0 -1
  352. package/shared/text-field2.cjs +0 -5
  353. package/shared/text-field2.js +0 -3
  354. package/shared/trapped-focus.cjs +0 -35
  355. package/shared/trapped-focus.js +0 -33
  356. /package/shared/{date-picker/calendar → datetime}/dateRange.d.ts +0 -0
  357. /package/shared/{date-picker/calendar → datetime}/dateStr.d.ts +0 -0
  358. /package/shared/{date-picker/calendar → datetime}/month.d.ts +0 -0
  359. /package/{lib/time-picker/time → shared/datetime}/presentationTime.d.ts +0 -0
  360. /package/shared/{date-picker/calendar → datetime}/year.d.ts +0 -0
  361. /package/shared/{date-picker/calendar → picker-field/mixins/calendar-segments}/segment.d.ts +0 -0
  362. /package/{lib/time-picker → shared/picker-field/mixins}/inline-time-picker/definition.d.ts +0 -0
  363. /package/{lib/time-picker → shared/picker-field/mixins}/inline-time-picker/inline-time-picker.template.d.ts +0 -0
@@ -0,0 +1,454 @@
1
+ import type { Constructor, MixinType } from '../utils/mixins';
2
+ import { VividElement } from '../foundation/vivid-element/vivid-element';
3
+ declare const ariaMixinProperties: readonly ["role", "ariaAtomic", "ariaAutoComplete", "ariaBusy", "ariaChecked", "ariaColCount", "ariaColIndex", "ariaColIndexText", "ariaColSpan", "ariaCurrent", "ariaDescription", "ariaDisabled", "ariaExpanded", "ariaHasPopup", "ariaHidden", "ariaInvalid", "ariaKeyShortcuts", "ariaLabel", "ariaLevel", "ariaLive", "ariaModal", "ariaMultiLine", "ariaMultiSelectable", "ariaOrientation", "ariaPlaceholder", "ariaPosInSet", "ariaPressed", "ariaReadOnly", "ariaRequired", "ariaRoleDescription", "ariaRowCount", "ariaRowIndex", "ariaRowIndexText", "ariaRowSpan", "ariaSelected", "ariaSetSize", "ariaSort", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "ariaRelevant"];
4
+ export type AriaPropertyName = typeof ariaMixinProperties[number];
5
+ export declare const ariaAttributeName: (ariaPropertyName: AriaPropertyName) => string;
6
+ export declare const DelegatesAria: <T extends Constructor<VividElement>>(Base: T) => {
7
+ new (...rest: any[]): {
8
+ accessKey: string;
9
+ readonly accessKeyLabel: string;
10
+ autocapitalize: string;
11
+ dir: string;
12
+ draggable: boolean;
13
+ hidden: boolean;
14
+ inert: boolean;
15
+ innerText: string;
16
+ lang: string;
17
+ readonly offsetHeight: number;
18
+ readonly offsetLeft: number;
19
+ readonly offsetParent: Element | null;
20
+ readonly offsetTop: number;
21
+ readonly offsetWidth: number;
22
+ outerText: string;
23
+ spellcheck: boolean;
24
+ title: string;
25
+ translate: boolean;
26
+ attachInternals(): ElementInternals;
27
+ click(): void;
28
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
29
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
30
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
31
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
32
+ dropzone: import("dropzone");
33
+ readonly attributes: NamedNodeMap;
34
+ readonly classList: DOMTokenList;
35
+ className: string;
36
+ readonly clientHeight: number;
37
+ readonly clientLeft: number;
38
+ readonly clientTop: number;
39
+ readonly clientWidth: number;
40
+ id: string;
41
+ readonly localName: string;
42
+ readonly namespaceURI: string | null;
43
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
44
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
45
+ outerHTML: string;
46
+ readonly ownerDocument: Document;
47
+ readonly part: DOMTokenList;
48
+ readonly prefix: string | null;
49
+ readonly scrollHeight: number;
50
+ scrollLeft: number;
51
+ scrollTop: number;
52
+ readonly scrollWidth: number;
53
+ readonly shadowRoot: ShadowRoot | null;
54
+ slot: string;
55
+ readonly tagName: string;
56
+ attachShadow(init: ShadowRootInit): ShadowRoot;
57
+ checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
58
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
59
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
60
+ closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
61
+ closest<E extends Element = Element>(selectors: string): E | null;
62
+ getAttribute(qualifiedName: string): string | null;
63
+ getAttributeNS(namespace: string | null, localName: string): string | null;
64
+ getAttributeNames(): string[];
65
+ getAttributeNode(qualifiedName: string): Attr | null;
66
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
67
+ getBoundingClientRect(): DOMRect;
68
+ getClientRects(): DOMRectList;
69
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
70
+ getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
71
+ getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
72
+ getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
73
+ getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
74
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
75
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
76
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
77
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
78
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
79
+ hasAttribute(qualifiedName: string): boolean;
80
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
81
+ hasAttributes(): boolean;
82
+ hasPointerCapture(pointerId: number): boolean;
83
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
84
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
85
+ insertAdjacentText(where: InsertPosition, data: string): void;
86
+ matches(selectors: string): boolean;
87
+ releasePointerCapture(pointerId: number): void;
88
+ removeAttribute(qualifiedName: string): void;
89
+ removeAttributeNS(namespace: string | null, localName: string): void;
90
+ removeAttributeNode(attr: Attr): Attr;
91
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
92
+ requestPointerLock(): void;
93
+ scroll(options?: ScrollToOptions | undefined): void;
94
+ scroll(x: number, y: number): void;
95
+ scrollBy(options?: ScrollToOptions | undefined): void;
96
+ scrollBy(x: number, y: number): void;
97
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
98
+ scrollTo(options?: ScrollToOptions | undefined): void;
99
+ scrollTo(x: number, y: number): void;
100
+ setAttribute(qualifiedName: string, value: string): void;
101
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
102
+ setAttributeNode(attr: Attr): Attr | null;
103
+ setAttributeNodeNS(attr: Attr): Attr | null;
104
+ setPointerCapture(pointerId: number): void;
105
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
106
+ webkitMatchesSelector(selectors: string): boolean;
107
+ readonly baseURI: string;
108
+ readonly childNodes: NodeListOf<ChildNode>;
109
+ readonly firstChild: ChildNode | null;
110
+ readonly isConnected: boolean;
111
+ readonly lastChild: ChildNode | null;
112
+ readonly nextSibling: ChildNode | null;
113
+ readonly nodeName: string;
114
+ readonly nodeType: number;
115
+ nodeValue: string | null;
116
+ readonly parentElement: HTMLElement | null;
117
+ readonly parentNode: ParentNode | null;
118
+ readonly previousSibling: ChildNode | null;
119
+ textContent: string | null;
120
+ appendChild<T_1 extends Node>(node: T_1): T_1;
121
+ cloneNode(deep?: boolean | undefined): Node;
122
+ compareDocumentPosition(other: Node): number;
123
+ contains(other: Node | null): boolean;
124
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
125
+ hasChildNodes(): boolean;
126
+ insertBefore<T_2 extends Node>(node: T_2, child: Node | null): T_2;
127
+ isDefaultNamespace(namespace: string | null): boolean;
128
+ isEqualNode(otherNode: Node | null): boolean;
129
+ isSameNode(otherNode: Node | null): boolean;
130
+ lookupNamespaceURI(prefix: string | null): string | null;
131
+ lookupPrefix(namespace: string | null): string | null;
132
+ normalize(): void;
133
+ removeChild<T_3 extends Node>(child: T_3): T_3;
134
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
135
+ readonly ELEMENT_NODE: 1;
136
+ readonly ATTRIBUTE_NODE: 2;
137
+ readonly TEXT_NODE: 3;
138
+ readonly CDATA_SECTION_NODE: 4;
139
+ readonly ENTITY_REFERENCE_NODE: 5;
140
+ readonly ENTITY_NODE: 6;
141
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
142
+ readonly COMMENT_NODE: 8;
143
+ readonly DOCUMENT_NODE: 9;
144
+ readonly DOCUMENT_TYPE_NODE: 10;
145
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
146
+ readonly NOTATION_NODE: 12;
147
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
148
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
149
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
150
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
151
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
152
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
153
+ pmViewDesc?: {
154
+ parent: any | undefined;
155
+ children: any[];
156
+ dom: Node;
157
+ contentDOM: HTMLElement | null;
158
+ dirty: number;
159
+ node: import("prosemirror-model").Node | null;
160
+ matchesWidget(widget: import("prosemirror-view").Decoration): boolean;
161
+ matchesMark(mark: import("prosemirror-model").Mark): boolean;
162
+ matchesNode(node: import("prosemirror-model").Node, outerDeco: readonly import("prosemirror-view").Decoration[], innerDeco: import("prosemirror-view").DecorationSource): boolean;
163
+ matchesHack(nodeName: string): boolean;
164
+ parseRule(): Omit<import("prosemirror-model").TagParseRule, "tag"> | null;
165
+ stopEvent(event: Event): boolean;
166
+ readonly size: number;
167
+ readonly border: number;
168
+ destroy(): void;
169
+ posBeforeChild(child: any): number;
170
+ readonly posBefore: number;
171
+ readonly posAtStart: number;
172
+ readonly posAfter: number;
173
+ readonly posAtEnd: number;
174
+ localPosFromDOM(dom: Node, offset: number, bias: number): number;
175
+ nearestDesc(dom: Node): any | undefined;
176
+ nearestDesc(dom: Node, onlyNodes: true): {
177
+ node: import("prosemirror-model").Node;
178
+ outerDeco: readonly import("prosemirror-view").Decoration[];
179
+ innerDeco: import("prosemirror-view").DecorationSource;
180
+ readonly nodeDOM: Node;
181
+ parseRule(): Omit<import("prosemirror-model").TagParseRule, "tag"> | null;
182
+ matchesNode(node: import("prosemirror-model").Node, outerDeco: readonly import("prosemirror-view").Decoration[], innerDeco: import("prosemirror-view").DecorationSource): boolean;
183
+ readonly size: number;
184
+ readonly border: 0 | 1;
185
+ updateChildren(view: import("prosemirror-view").EditorView, pos: number): void;
186
+ localCompositionInfo(view: import("prosemirror-view").EditorView, pos: number): {
187
+ node: Text;
188
+ pos: number;
189
+ text: string;
190
+ } | null;
191
+ protectLocalComposition(view: import("prosemirror-view").EditorView, { node, pos, text }: {
192
+ node: Text;
193
+ pos: number;
194
+ text: string;
195
+ }): void;
196
+ update(node: import("prosemirror-model").Node, outerDeco: readonly import("prosemirror-view").Decoration[], innerDeco: import("prosemirror-view").DecorationSource, view: import("prosemirror-view").EditorView): boolean;
197
+ updateInner(node: import("prosemirror-model").Node, outerDeco: readonly import("prosemirror-view").Decoration[], innerDeco: import("prosemirror-view").DecorationSource, view: import("prosemirror-view").EditorView): void;
198
+ updateOuterDeco(outerDeco: readonly import("prosemirror-view").Decoration[]): void;
199
+ selectNode(): void;
200
+ deselectNode(): void;
201
+ readonly domAtom: boolean;
202
+ parent: any | undefined;
203
+ children: any[];
204
+ dom: Node;
205
+ contentDOM: HTMLElement | null;
206
+ dirty: number;
207
+ matchesWidget(widget: import("prosemirror-view").Decoration): boolean;
208
+ matchesMark(mark: import("prosemirror-model").Mark): boolean;
209
+ matchesHack(nodeName: string): boolean;
210
+ stopEvent(event: Event): boolean;
211
+ destroy(): void;
212
+ posBeforeChild(child: any): number;
213
+ readonly posBefore: number;
214
+ readonly posAtStart: number;
215
+ readonly posAfter: number;
216
+ readonly posAtEnd: number;
217
+ localPosFromDOM(dom: Node, offset: number, bias: number): number;
218
+ nearestDesc(dom: Node): any | undefined;
219
+ nearestDesc(dom: Node, onlyNodes: true): any | undefined;
220
+ getDesc(dom: Node): any | undefined;
221
+ posFromDOM(dom: Node, offset: number, bias: number): number;
222
+ descAt(pos: number): any | undefined;
223
+ domFromPos(pos: number, side: number): {
224
+ node: Node;
225
+ offset: number;
226
+ atom?: number | undefined;
227
+ };
228
+ parseRange(from: number, to: number, base?: number | undefined): {
229
+ node: Node;
230
+ from: number;
231
+ to: number;
232
+ fromOffset: number;
233
+ toOffset: number;
234
+ };
235
+ emptyChildAt(side: number): boolean;
236
+ domAfterPos(pos: number): Node;
237
+ setSelection(anchor: number, head: number, view: import("prosemirror-view").EditorView, force?: boolean | undefined): void;
238
+ ignoreMutation(mutation: import("prosemirror-view").ViewMutationRecord): boolean;
239
+ readonly contentLost: boolean | null;
240
+ markDirty(from: number, to: number): void;
241
+ markParentsDirty(): void;
242
+ readonly ignoreForCoords: boolean;
243
+ isText(text: string): boolean;
244
+ } | undefined;
245
+ getDesc(dom: Node): any | undefined;
246
+ posFromDOM(dom: Node, offset: number, bias: number): number;
247
+ descAt(pos: number): any | undefined;
248
+ domFromPos(pos: number, side: number): {
249
+ node: Node;
250
+ offset: number;
251
+ atom?: number | undefined;
252
+ };
253
+ parseRange(from: number, to: number, base?: number | undefined): {
254
+ node: Node;
255
+ from: number;
256
+ to: number;
257
+ fromOffset: number;
258
+ toOffset: number;
259
+ };
260
+ emptyChildAt(side: number): boolean;
261
+ domAfterPos(pos: number): Node;
262
+ setSelection(anchor: number, head: number, view: import("prosemirror-view").EditorView, force?: boolean | undefined): void;
263
+ ignoreMutation(mutation: import("prosemirror-view").ViewMutationRecord): boolean;
264
+ readonly contentLost: boolean | null;
265
+ markDirty(from: number, to: number): void;
266
+ markParentsDirty(): void;
267
+ readonly domAtom: boolean;
268
+ readonly ignoreForCoords: boolean;
269
+ isText(text: string): boolean;
270
+ } | undefined;
271
+ dispatchEvent(event: Event): boolean;
272
+ ariaAtomic: string | null;
273
+ ariaAutoComplete: string | null;
274
+ ariaBusy: string | null;
275
+ ariaChecked: string | null;
276
+ ariaColCount: string | null;
277
+ ariaColIndex: string | null;
278
+ ariaColSpan: string | null;
279
+ ariaCurrent: string | null;
280
+ ariaDisabled: string | null;
281
+ ariaExpanded: string | null;
282
+ ariaHasPopup: string | null;
283
+ ariaHidden: string | null;
284
+ ariaInvalid: string | null;
285
+ ariaKeyShortcuts: string | null;
286
+ ariaLabel: string | null;
287
+ ariaLevel: string | null;
288
+ ariaLive: string | null;
289
+ ariaModal: string | null;
290
+ ariaMultiLine: string | null;
291
+ ariaMultiSelectable: string | null;
292
+ ariaOrientation: string | null;
293
+ ariaPlaceholder: string | null;
294
+ ariaPosInSet: string | null;
295
+ ariaPressed: string | null;
296
+ ariaReadOnly: string | null;
297
+ ariaRequired: string | null;
298
+ ariaRoleDescription: string | null;
299
+ ariaRowCount: string | null;
300
+ ariaRowIndex: string | null;
301
+ ariaRowSpan: string | null;
302
+ ariaSelected: string | null;
303
+ ariaSetSize: string | null;
304
+ ariaSort: string | null;
305
+ ariaValueMax: string | null;
306
+ ariaValueMin: string | null;
307
+ ariaValueNow: string | null;
308
+ ariaValueText: string | null;
309
+ role: string | null;
310
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
311
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
312
+ after(...nodes: (string | Node)[]): void;
313
+ before(...nodes: (string | Node)[]): void;
314
+ remove(): void;
315
+ replaceWith(...nodes: (string | Node)[]): void;
316
+ innerHTML: string;
317
+ readonly nextElementSibling: Element | null;
318
+ readonly previousElementSibling: Element | null;
319
+ readonly childElementCount: number;
320
+ readonly children: HTMLCollection;
321
+ readonly firstElementChild: Element | null;
322
+ readonly lastElementChild: Element | null;
323
+ append(...nodes: (string | Node)[]): void;
324
+ prepend(...nodes: (string | Node)[]): void;
325
+ querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
326
+ querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
327
+ querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
328
+ querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
329
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
330
+ querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
331
+ querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
332
+ querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
333
+ querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
334
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
335
+ replaceChildren(...nodes: (string | Node)[]): void;
336
+ readonly assignedSlot: HTMLSlotElement | null;
337
+ readonly style: CSSStyleDeclaration;
338
+ contentEditable: string;
339
+ enterKeyHint: string;
340
+ inputMode: string;
341
+ readonly isContentEditable: boolean;
342
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
343
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
344
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
345
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
346
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
347
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
348
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
349
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
350
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
353
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
354
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
355
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
357
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
358
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
360
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
361
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
362
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
363
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
364
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
365
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
366
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
367
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
368
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
369
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
370
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
371
+ onerror: OnErrorEventHandler;
372
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
373
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
374
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
375
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
376
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
377
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
378
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
379
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
380
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
381
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
382
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
383
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
384
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
385
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
386
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
387
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
388
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
389
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
390
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
391
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
392
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
393
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
394
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
395
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
396
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
397
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
398
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
399
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
400
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
401
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
402
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
403
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
404
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
405
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
406
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
407
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
408
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
409
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
410
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
411
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
412
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
413
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
414
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
415
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
416
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
417
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
418
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
419
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
420
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
421
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
422
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
423
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
424
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
425
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
426
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
427
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
428
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
429
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
430
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
431
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
432
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
433
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
434
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
435
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
436
+ autofocus: boolean;
437
+ readonly dataset: DOMStringMap;
438
+ nonce?: string | undefined;
439
+ tabIndex: number;
440
+ blur(): void;
441
+ focus(options?: FocusOptions | undefined): void;
442
+ readonly $fastController: import("@microsoft/fast-element").Controller;
443
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail"> | undefined): boolean | void;
444
+ connectedCallback(): void;
445
+ disconnectedCallback(): void;
446
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
447
+ ariaColIndexText: string | null;
448
+ ariaDescription: string | null;
449
+ ariaRowIndexText: string | null;
450
+ ariaRelevant: string | null;
451
+ };
452
+ } & T;
453
+ export type DelegatesAriaElement = MixinType<typeof DelegatesAria>;
454
+ export {};
@@ -1,4 +1,4 @@
1
- import { V as VividElement, a as attr, n as nullableNumberConverter, o as observable } from './vivid-element.js';
1
+ import { a as attr, n as nullableNumberConverter, o as observable, V as VividElement } from './vivid-element.js';
2
2
 
3
3
  var __defProp = Object.defineProperty;
4
4
  var __decorateClass = (decorators, target, key, kind) => {
@@ -3,6 +3,7 @@
3
3
  const anchor = require('./anchor.cjs');
4
4
  const vividElement = require('./vivid-element.cjs');
5
5
  const applyMixins = require('./apply-mixins.cjs');
6
+ const delegatesAria = require('./delegates-aria.cjs');
6
7
 
7
8
  var __defProp = Object.defineProperty;
8
9
  var __decorateClass = (decorators, target, key, kind) => {
@@ -13,7 +14,7 @@ var __decorateClass = (decorators, target, key, kind) => {
13
14
  if (result) __defProp(target, key, result);
14
15
  return result;
15
16
  };
16
- class BreadcrumbItem extends vividElement.VividElement {
17
+ class BreadcrumbItem extends delegatesAria.DelegatesAria(vividElement.VividElement) {
17
18
  constructor() {
18
19
  super(...arguments);
19
20
  this.separator = true;
@@ -1,6 +1,7 @@
1
1
  import { A as Anchor } from './anchor.js';
2
2
  import { V as VividElement, a as attr, o as observable } from './vivid-element.js';
3
3
  import { a as applyMixins } from './apply-mixins.js';
4
+ import { D as DelegatesAria } from './delegates-aria.js';
4
5
 
5
6
  var __defProp = Object.defineProperty;
6
7
  var __decorateClass = (decorators, target, key, kind) => {
@@ -11,7 +12,7 @@ var __decorateClass = (decorators, target, key, kind) => {
11
12
  if (result) __defProp(target, key, result);
12
13
  return result;
13
14
  };
14
- class BreadcrumbItem extends VividElement {
15
+ class BreadcrumbItem extends DelegatesAria(VividElement) {
15
16
  constructor() {
16
17
  super(...arguments);
17
18
  this.separator = true;
package/shared/button.cjs CHANGED
@@ -1,9 +1,8 @@
1
1
  'use strict';
2
2
 
3
- const applyMixins = require('./apply-mixins.cjs');
3
+ const delegatesAria = require('./delegates-aria.cjs');
4
4
  const formAssociated = require('./form-associated.cjs');
5
5
  const vividElement = require('./vivid-element.cjs');
6
- const ariaGlobal = require('./aria-global.cjs');
7
6
 
8
7
  class _FoundationButton extends vividElement.VividElement {
9
8
  }
@@ -23,7 +22,7 @@ var __decorateClass = (decorators, target, key, kind) => {
23
22
  if (result) __defProp(target, key, result);
24
23
  return result;
25
24
  };
26
- class VividFoundationButton extends FormAssociatedButton {
25
+ class VividFoundationButton extends delegatesAria.DelegatesAria(FormAssociatedButton) {
27
26
  constructor() {
28
27
  super(...arguments);
29
28
  /**
@@ -163,15 +162,5 @@ __decorateClass([
163
162
  __decorateClass([
164
163
  vividElement.attr
165
164
  ], VividFoundationButton.prototype, "type");
166
- class DelegatesARIAButton {
167
- }
168
- __decorateClass([
169
- vividElement.attr({ attribute: "aria-expanded" })
170
- ], DelegatesARIAButton.prototype, "ariaExpanded");
171
- __decorateClass([
172
- vividElement.attr({ attribute: "aria-pressed" })
173
- ], DelegatesARIAButton.prototype, "ariaPressed");
174
- applyMixins.applyMixins(DelegatesARIAButton, ariaGlobal.ARIAGlobalStatesAndProperties);
175
- applyMixins.applyMixins(VividFoundationButton, DelegatesARIAButton);
176
165
 
177
166
  exports.VividFoundationButton = VividFoundationButton;
package/shared/button.js CHANGED
@@ -1,7 +1,6 @@
1
- import { a as applyMixins } from './apply-mixins.js';
1
+ import { D as DelegatesAria } from './delegates-aria.js';
2
2
  import { F as FormAssociated } from './form-associated.js';
3
3
  import { V as VividElement, a as attr } from './vivid-element.js';
4
- import { A as ARIAGlobalStatesAndProperties } from './aria-global.js';
5
4
 
6
5
  class _FoundationButton extends VividElement {
7
6
  }
@@ -21,7 +20,7 @@ var __decorateClass = (decorators, target, key, kind) => {
21
20
  if (result) __defProp(target, key, result);
22
21
  return result;
23
22
  };
24
- class VividFoundationButton extends FormAssociatedButton {
23
+ class VividFoundationButton extends DelegatesAria(FormAssociatedButton) {
25
24
  constructor() {
26
25
  super(...arguments);
27
26
  /**
@@ -161,15 +160,5 @@ __decorateClass([
161
160
  __decorateClass([
162
161
  attr
163
162
  ], VividFoundationButton.prototype, "type");
164
- class DelegatesARIAButton {
165
- }
166
- __decorateClass([
167
- attr({ attribute: "aria-expanded" })
168
- ], DelegatesARIAButton.prototype, "ariaExpanded");
169
- __decorateClass([
170
- attr({ attribute: "aria-pressed" })
171
- ], DelegatesARIAButton.prototype, "ariaPressed");
172
- applyMixins(DelegatesARIAButton, ARIAGlobalStatesAndProperties);
173
- applyMixins(VividFoundationButton, DelegatesARIAButton);
174
163
 
175
164
  export { VividFoundationButton as V };