@carbon/web-components 2.25.2 → 2.26.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 (308) hide show
  1. package/custom-elements.json +859 -39
  2. package/dist/16-10c4fb8b.js +8 -2
  3. package/dist/16-4855278a.js +8 -2
  4. package/dist/16-4be295f9.js +8 -2
  5. package/dist/16-65aac4b2.js +81 -0
  6. package/dist/16-6a577b04.js +8 -2
  7. package/dist/16-8449b4fa.js +8 -2
  8. package/dist/16-87933b87.js +8 -2
  9. package/dist/16-b826e67b.js +8 -2
  10. package/dist/16-e32fa89f.js +8 -2
  11. package/dist/16-eeb178ee.js +81 -0
  12. package/dist/16-f4420493.js +8 -2
  13. package/dist/16-fbe09c57.js +8 -2
  14. package/dist/20-68c1a445.js +8 -2
  15. package/dist/20-a9fc419f.js +8 -2
  16. package/dist/accordion.min.js +8 -2
  17. package/dist/ai-label.min.js +9 -3
  18. package/dist/ai-skeleton.min.js +8 -2
  19. package/dist/badge-indicator.min.js +8 -2
  20. package/dist/breadcrumb.min.js +18 -12
  21. package/dist/{button-882e4021.js → button-74696aa8.js} +9 -3
  22. package/dist/{button-set-470bff4f.js → button-set-6c836da5.js} +11 -5
  23. package/dist/{button-skeleton-c0570c01.js → button-skeleton-97434162.js} +20 -14
  24. package/dist/button.min.js +9 -3
  25. package/dist/carbon-element-017b212d.js +8 -2
  26. package/dist/chat-button.min.js +10 -4
  27. package/dist/checkbox-88e7237c.js +8 -2
  28. package/dist/checkbox-skeleton-d396e413.js +8 -2
  29. package/dist/checkbox.min.js +8 -2
  30. package/dist/class-map-e4ba9e2b.js +8 -2
  31. package/dist/code-snippet.min.js +9 -3
  32. package/dist/collection-helpers-8b117611.js +8 -2
  33. package/dist/combo-box.min.js +9 -3
  34. package/dist/content-switcher-item-787ef698.js +8 -2
  35. package/dist/content-switcher.min.js +8 -2
  36. package/dist/{copy-button-17009e29.js → copy-button-6ae3beb9.js} +9 -3
  37. package/dist/copy-button.min.js +9 -3
  38. package/dist/data-table.min.js +8 -2
  39. package/dist/date-picker.min.js +8 -2
  40. package/dist/defs-eaf95cbc.js +8 -2
  41. package/dist/directive-e2d48b9c.js +8 -2
  42. package/dist/{dropdown-item-6995171a.js → dropdown-item-c76d25fb.js} +36 -31
  43. package/dist/dropdown.min.js +9 -3
  44. package/dist/file-uploader.min.js +9 -3
  45. package/dist/floating-menu-381b1978.js +8 -2
  46. package/dist/floating-menu.min.js +8 -2
  47. package/dist/focus-969beaed.js +8 -2
  48. package/dist/form-a750a2ac.js +8 -2
  49. package/dist/form-group.min.js +8 -2
  50. package/dist/form.min.js +8 -2
  51. package/dist/heading.min.js +8 -2
  52. package/dist/host-listener-69c546a1.js +8 -2
  53. package/dist/{icon-button-8b63f6e9.js → icon-button-83bfdd07.js} +10 -4
  54. package/dist/icon-button.min.js +9 -3
  55. package/dist/icon-indicator.min.js +8 -2
  56. package/dist/if-defined-446d5754.js +8 -2
  57. package/dist/if-non-empty-0ab1b89b.js +8 -2
  58. package/dist/inline-loading.min.js +8 -2
  59. package/dist/{layer-f3ead524.js → layer-955eb55a.js} +9 -3
  60. package/dist/layer.min.js +9 -3
  61. package/dist/link-95fb4386.js +8 -2
  62. package/dist/link.min.js +8 -2
  63. package/dist/list.min.js +17 -15
  64. package/dist/loading-8f238aae.js +8 -2
  65. package/dist/loading-icon-502d6837.js +8 -2
  66. package/dist/loading.min.js +8 -2
  67. package/dist/menu.min.js +240 -0
  68. package/dist/{modal-label-54f55140.js → modal-label-fc9d6962.js} +13 -7
  69. package/dist/modal.min.js +9 -3
  70. package/dist/multi-select.min.js +9 -3
  71. package/dist/notification.min.js +9 -3
  72. package/dist/number-input.min.js +8 -2
  73. package/dist/on-8707857f.js +8 -2
  74. package/dist/overflow-menu.min.js +17 -9
  75. package/dist/pagination.min.js +39 -33
  76. package/dist/popover-content-d4ec4412.js +8 -2
  77. package/dist/popover-controller-97c2d68e.js +8 -2
  78. package/dist/popover.min.js +8 -2
  79. package/dist/progress-bar.min.js +8 -2
  80. package/dist/progress-indicator.min.js +8 -2
  81. package/dist/property-4de26c93.js +8 -2
  82. package/dist/query-602de8af.js +8 -2
  83. package/dist/query-assigned-elements-1bd68a6e.js +8 -2
  84. package/dist/radio-button-skeleton-67c6a836.js +8 -2
  85. package/dist/radio-button.min.js +8 -2
  86. package/dist/radio-group-manager-9b128b9b.js +8 -2
  87. package/dist/search-7f28fde3.js +8 -2
  88. package/dist/search.min.js +8 -2
  89. package/dist/select-01725ae4.js +8 -2
  90. package/dist/select.min.js +8 -2
  91. package/dist/settings-a9cb5e4b.js +8 -2
  92. package/dist/shape-indicator.min.js +8 -2
  93. package/dist/shared-enums-562e6b51.js +8 -2
  94. package/dist/side-panel.min.js +9 -3
  95. package/dist/skeleton-icon-60c9d437.js +8 -2
  96. package/dist/skeleton-icon.min.js +8 -2
  97. package/dist/skeleton-placeholder-3f62f258.js +8 -2
  98. package/dist/skeleton-placeholder.min.js +8 -2
  99. package/dist/skeleton-text-a37622a0.js +8 -2
  100. package/dist/skeleton-text.min.js +8 -2
  101. package/dist/skip-to-content.min.js +8 -2
  102. package/dist/slider.min.js +8 -2
  103. package/dist/slug.min.js +9 -3
  104. package/dist/spread-279bf949.js +8 -2
  105. package/dist/stack.min.js +8 -2
  106. package/dist/state-225ff428.js +8 -2
  107. package/dist/structured-list.min.js +8 -2
  108. package/dist/tabs.min.js +8 -2
  109. package/dist/tag.min.js +8 -2
  110. package/dist/tearsheet.min.js +11 -5
  111. package/dist/text-input-a7541a8d.js +8 -2
  112. package/dist/text-input.min.js +8 -2
  113. package/dist/textarea.min.js +8 -2
  114. package/dist/tile.min.js +8 -2
  115. package/dist/time-picker.min.js +158 -0
  116. package/dist/toggle-tip.min.js +8 -2
  117. package/dist/toggle.min.js +8 -2
  118. package/dist/toggletip-383477dd.js +8 -2
  119. package/dist/tooltip-content-3e3b3f8c.js +8 -2
  120. package/dist/tooltip.min.js +8 -2
  121. package/dist/ui-shell.min.js +9 -3
  122. package/dist/validity-45b7794a.js +8 -2
  123. package/es/components/breadcrumb/breadcrumb-item.d.ts +4 -0
  124. package/es/components/breadcrumb/breadcrumb-item.js +16 -1
  125. package/es/components/breadcrumb/breadcrumb-item.js.map +1 -1
  126. package/es/components/breadcrumb/breadcrumb.scss.js +1 -1
  127. package/es/components/button/button-set.d.ts +4 -0
  128. package/es/components/button/button-set.js +18 -1
  129. package/es/components/button/button-set.js.map +1 -1
  130. package/es/components/button/button.scss.js +1 -1
  131. package/es/components/chat-button/chat-button.scss.js +1 -1
  132. package/es/components/icon-button/icon-button.scss.js +1 -1
  133. package/es/components/layer/layer.d.ts +7 -0
  134. package/es/components/layer/layer.js +9 -2
  135. package/es/components/layer/layer.js.map +1 -1
  136. package/es/components/list/list-item.d.ts +0 -11
  137. package/es/components/list/list-item.js +1 -21
  138. package/es/components/list/list-item.js.map +1 -1
  139. package/es/components/list/list.scss.js +1 -1
  140. package/es/components/list/ordered-list.js +1 -1
  141. package/es/components/list/ordered-list.js.map +1 -1
  142. package/es/components/list/unordered-list.d.ts +5 -1
  143. package/es/components/list/unordered-list.js +11 -4
  144. package/es/components/list/unordered-list.js.map +1 -1
  145. package/es/components/menu/defs.d.ts +42 -0
  146. package/es/components/menu/defs.js +54 -0
  147. package/es/components/menu/defs.js.map +1 -0
  148. package/es/components/menu/index.d.ts +14 -0
  149. package/es/components/menu/index.js +14 -0
  150. package/es/components/menu/index.js.map +1 -0
  151. package/es/components/menu/menu-context.d.ts +18 -0
  152. package/es/components/menu/menu-context.js +27 -0
  153. package/es/components/menu/menu-context.js.map +1 -0
  154. package/es/components/menu/menu-item-divider.d.ts +19 -0
  155. package/es/components/menu/menu-item-divider.js +42 -0
  156. package/es/components/menu/menu-item-divider.js.map +1 -0
  157. package/es/components/menu/menu-item-group.d.ts +23 -0
  158. package/es/components/menu/menu-item-group.js +48 -0
  159. package/es/components/menu/menu-item-group.js.map +1 -0
  160. package/es/components/menu/menu-item-radio-group.d.ts +42 -0
  161. package/es/components/menu/menu-item-radio-group.js +104 -0
  162. package/es/components/menu/menu-item-radio-group.js.map +1 -0
  163. package/es/components/menu/menu-item-selectable.d.ts +39 -0
  164. package/es/components/menu/menu-item-selectable.js +98 -0
  165. package/es/components/menu/menu-item-selectable.js.map +1 -0
  166. package/es/components/menu/menu-item.d.ts +771 -0
  167. package/es/components/menu/menu-item.js +309 -0
  168. package/es/components/menu/menu-item.js.map +1 -0
  169. package/es/components/menu/menu-item.scss.js +13 -0
  170. package/es/components/menu/menu-item.scss.js.map +1 -0
  171. package/es/components/menu/menu.d.ts +471 -0
  172. package/es/components/menu/menu.js +469 -0
  173. package/es/components/menu/menu.js.map +1 -0
  174. package/es/components/menu/menu.scss.js +13 -0
  175. package/es/components/menu/menu.scss.js.map +1 -0
  176. package/es/components/overflow-menu/overflow-menu-item.d.ts +9 -0
  177. package/es/components/overflow-menu/overflow-menu-item.js +24 -2
  178. package/es/components/overflow-menu/overflow-menu-item.js.map +1 -1
  179. package/es/components/overflow-menu/overflow-menu.scss.js +1 -1
  180. package/es/components/tag/tag.d.ts +1 -1
  181. package/es/components/tag/tag.js +1 -1
  182. package/es/components/time-picker/defs.d.ts +26 -0
  183. package/es/components/time-picker/defs.js +38 -0
  184. package/es/components/time-picker/defs.js.map +1 -0
  185. package/es/components/time-picker/index.d.ts +10 -0
  186. package/es/components/time-picker/index.js +10 -0
  187. package/es/components/time-picker/index.js.map +1 -0
  188. package/es/components/time-picker/time-picker-select.d.ts +426 -0
  189. package/es/components/time-picker/time-picker-select.js +218 -0
  190. package/es/components/time-picker/time-picker-select.js.map +1 -0
  191. package/es/components/time-picker/time-picker.d.ts +802 -0
  192. package/es/components/time-picker/time-picker.js +288 -0
  193. package/es/components/time-picker/time-picker.js.map +1 -0
  194. package/es/components/time-picker/time-picker.scss.js +13 -0
  195. package/es/components/time-picker/time-picker.scss.js.map +1 -0
  196. package/es/index.d.ts +2 -0
  197. package/es/index.js +2 -0
  198. package/es/index.js.map +1 -1
  199. package/es-custom/components/breadcrumb/breadcrumb-item.d.ts +4 -0
  200. package/es-custom/components/breadcrumb/breadcrumb-item.js +16 -1
  201. package/es-custom/components/breadcrumb/breadcrumb-item.js.map +1 -1
  202. package/es-custom/components/breadcrumb/breadcrumb.scss.js +1 -1
  203. package/es-custom/components/button/button-set.d.ts +4 -0
  204. package/es-custom/components/button/button-set.js +18 -1
  205. package/es-custom/components/button/button-set.js.map +1 -1
  206. package/es-custom/components/button/button.scss.js +1 -1
  207. package/es-custom/components/chat-button/chat-button.scss.js +1 -1
  208. package/es-custom/components/icon-button/icon-button.scss.js +1 -1
  209. package/es-custom/components/layer/layer.d.ts +7 -0
  210. package/es-custom/components/layer/layer.js +9 -2
  211. package/es-custom/components/layer/layer.js.map +1 -1
  212. package/es-custom/components/list/list-item.d.ts +0 -11
  213. package/es-custom/components/list/list-item.js +1 -21
  214. package/es-custom/components/list/list-item.js.map +1 -1
  215. package/es-custom/components/list/list.scss.js +1 -1
  216. package/es-custom/components/list/ordered-list.js +1 -1
  217. package/es-custom/components/list/ordered-list.js.map +1 -1
  218. package/es-custom/components/list/unordered-list.d.ts +5 -1
  219. package/es-custom/components/list/unordered-list.js +11 -4
  220. package/es-custom/components/list/unordered-list.js.map +1 -1
  221. package/es-custom/components/menu/defs.d.ts +42 -0
  222. package/es-custom/components/menu/defs.js +54 -0
  223. package/es-custom/components/menu/defs.js.map +1 -0
  224. package/es-custom/components/menu/index.d.ts +14 -0
  225. package/es-custom/components/menu/index.js +14 -0
  226. package/es-custom/components/menu/index.js.map +1 -0
  227. package/es-custom/components/menu/menu-context.d.ts +18 -0
  228. package/es-custom/components/menu/menu-context.js +27 -0
  229. package/es-custom/components/menu/menu-context.js.map +1 -0
  230. package/es-custom/components/menu/menu-item-divider.d.ts +19 -0
  231. package/es-custom/components/menu/menu-item-divider.js +42 -0
  232. package/es-custom/components/menu/menu-item-divider.js.map +1 -0
  233. package/es-custom/components/menu/menu-item-group.d.ts +23 -0
  234. package/es-custom/components/menu/menu-item-group.js +48 -0
  235. package/es-custom/components/menu/menu-item-group.js.map +1 -0
  236. package/es-custom/components/menu/menu-item-radio-group.d.ts +42 -0
  237. package/es-custom/components/menu/menu-item-radio-group.js +104 -0
  238. package/es-custom/components/menu/menu-item-radio-group.js.map +1 -0
  239. package/es-custom/components/menu/menu-item-selectable.d.ts +39 -0
  240. package/es-custom/components/menu/menu-item-selectable.js +98 -0
  241. package/es-custom/components/menu/menu-item-selectable.js.map +1 -0
  242. package/es-custom/components/menu/menu-item.d.ts +771 -0
  243. package/es-custom/components/menu/menu-item.js +309 -0
  244. package/es-custom/components/menu/menu-item.js.map +1 -0
  245. package/es-custom/components/menu/menu-item.scss.js +13 -0
  246. package/es-custom/components/menu/menu-item.scss.js.map +1 -0
  247. package/es-custom/components/menu/menu.d.ts +471 -0
  248. package/es-custom/components/menu/menu.js +469 -0
  249. package/es-custom/components/menu/menu.js.map +1 -0
  250. package/es-custom/components/menu/menu.scss.js +13 -0
  251. package/es-custom/components/menu/menu.scss.js.map +1 -0
  252. package/es-custom/components/overflow-menu/overflow-menu-item.d.ts +9 -0
  253. package/es-custom/components/overflow-menu/overflow-menu-item.js +24 -2
  254. package/es-custom/components/overflow-menu/overflow-menu-item.js.map +1 -1
  255. package/es-custom/components/overflow-menu/overflow-menu.scss.js +1 -1
  256. package/es-custom/components/tag/tag.d.ts +1 -1
  257. package/es-custom/components/tag/tag.js +1 -1
  258. package/es-custom/components/time-picker/defs.d.ts +26 -0
  259. package/es-custom/components/time-picker/defs.js +38 -0
  260. package/es-custom/components/time-picker/defs.js.map +1 -0
  261. package/es-custom/components/time-picker/index.d.ts +10 -0
  262. package/es-custom/components/time-picker/index.js +10 -0
  263. package/es-custom/components/time-picker/index.js.map +1 -0
  264. package/es-custom/components/time-picker/time-picker-select.d.ts +426 -0
  265. package/es-custom/components/time-picker/time-picker-select.js +218 -0
  266. package/es-custom/components/time-picker/time-picker-select.js.map +1 -0
  267. package/es-custom/components/time-picker/time-picker.d.ts +802 -0
  268. package/es-custom/components/time-picker/time-picker.js +288 -0
  269. package/es-custom/components/time-picker/time-picker.js.map +1 -0
  270. package/es-custom/components/time-picker/time-picker.scss.js +13 -0
  271. package/es-custom/components/time-picker/time-picker.scss.js.map +1 -0
  272. package/es-custom/index.d.ts +2 -0
  273. package/es-custom/index.js +2 -0
  274. package/es-custom/index.js.map +1 -1
  275. package/lib/components/breadcrumb/breadcrumb-item.d.ts +4 -0
  276. package/lib/components/button/button-set.d.ts +4 -0
  277. package/lib/components/layer/layer.d.ts +7 -0
  278. package/lib/components/list/list-item.d.ts +0 -11
  279. package/lib/components/list/unordered-list.d.ts +5 -1
  280. package/lib/components/menu/defs.d.ts +42 -0
  281. package/lib/components/menu/defs.js +56 -0
  282. package/lib/components/menu/defs.js.map +1 -0
  283. package/lib/components/menu/index.d.ts +14 -0
  284. package/lib/components/menu/menu-context.d.ts +18 -0
  285. package/lib/components/menu/menu-item-divider.d.ts +19 -0
  286. package/lib/components/menu/menu-item-group.d.ts +23 -0
  287. package/lib/components/menu/menu-item-radio-group.d.ts +42 -0
  288. package/lib/components/menu/menu-item-selectable.d.ts +39 -0
  289. package/lib/components/menu/menu-item.d.ts +771 -0
  290. package/lib/components/menu/menu.d.ts +471 -0
  291. package/lib/components/overflow-menu/overflow-menu-item.d.ts +9 -0
  292. package/lib/components/tag/tag.d.ts +1 -1
  293. package/lib/components/time-picker/defs.d.ts +26 -0
  294. package/lib/components/time-picker/defs.js +45 -0
  295. package/lib/components/time-picker/defs.js.map +1 -0
  296. package/lib/components/time-picker/index.d.ts +10 -0
  297. package/lib/components/time-picker/time-picker-select.d.ts +426 -0
  298. package/lib/components/time-picker/time-picker.d.ts +802 -0
  299. package/lib/index.d.ts +2 -0
  300. package/package.json +5 -4
  301. package/scss/components/breadcrumb/breadcrumb.scss +5 -0
  302. package/scss/components/button/button.scss +4 -0
  303. package/scss/components/list/list.scss +7 -5
  304. package/scss/components/menu/menu-item.scss +109 -0
  305. package/scss/components/menu/menu-variables.scss +15 -0
  306. package/scss/components/menu/menu.scss +72 -0
  307. package/scss/components/overflow-menu/overflow-menu.scss +69 -14
  308. package/scss/components/time-picker/time-picker.scss +50 -0
@@ -0,0 +1,771 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2019, 2023
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import { LitElement, PropertyValues } from 'lit';
10
+ import { MENU_ITEM_KIND } from './defs';
11
+ export { MENU_ITEM_KIND };
12
+ declare const CDSmenuItem_base: {
13
+ new (...args: any[]): {
14
+ _handles: Set<import("../../globals/internal/handle").default>;
15
+ connectedCallback(): void;
16
+ disconnectedCallback(): void;
17
+ accessKey: string;
18
+ readonly accessKeyLabel: string;
19
+ autocapitalize: string;
20
+ dir: string;
21
+ draggable: boolean;
22
+ hidden: boolean;
23
+ inert: boolean;
24
+ innerText: string;
25
+ lang: string;
26
+ readonly offsetHeight: number;
27
+ readonly offsetLeft: number;
28
+ readonly offsetParent: Element | null;
29
+ readonly offsetTop: number;
30
+ readonly offsetWidth: number;
31
+ outerText: string;
32
+ popover: string | null;
33
+ spellcheck: boolean;
34
+ title: string;
35
+ translate: boolean;
36
+ writingSuggestions: string;
37
+ attachInternals(): ElementInternals;
38
+ click(): void;
39
+ hidePopover(): void;
40
+ showPopover(): void;
41
+ togglePopover(force?: boolean): boolean;
42
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
43
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
44
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
45
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
46
+ readonly attributes: NamedNodeMap;
47
+ readonly classList: DOMTokenList;
48
+ className: string;
49
+ readonly clientHeight: number;
50
+ readonly clientLeft: number;
51
+ readonly clientTop: number;
52
+ readonly clientWidth: number;
53
+ readonly currentCSSZoom: number;
54
+ id: string;
55
+ innerHTML: string;
56
+ readonly localName: string;
57
+ readonly namespaceURI: string | null;
58
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
59
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
60
+ outerHTML: string;
61
+ readonly ownerDocument: Document;
62
+ readonly part: DOMTokenList;
63
+ readonly prefix: string | null;
64
+ readonly scrollHeight: number;
65
+ scrollLeft: number;
66
+ scrollTop: number;
67
+ readonly scrollWidth: number;
68
+ readonly shadowRoot: ShadowRoot | null;
69
+ slot: string;
70
+ readonly tagName: string;
71
+ attachShadow(init: ShadowRootInit): ShadowRoot;
72
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
73
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
74
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
75
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
76
+ closest<E extends Element = Element>(selectors: string): E | null;
77
+ computedStyleMap(): StylePropertyMapReadOnly;
78
+ getAttribute(qualifiedName: string): string | null;
79
+ getAttributeNS(namespace: string | null, localName: string): string | null;
80
+ getAttributeNames(): string[];
81
+ getAttributeNode(qualifiedName: string): Attr | null;
82
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
83
+ getBoundingClientRect(): DOMRect;
84
+ getClientRects(): DOMRectList;
85
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
86
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
87
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
88
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
89
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
90
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
91
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
92
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
93
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
94
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
95
+ getHTML(options?: GetHTMLOptions): string;
96
+ hasAttribute(qualifiedName: string): boolean;
97
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
98
+ hasAttributes(): boolean;
99
+ hasPointerCapture(pointerId: number): boolean;
100
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
101
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
102
+ insertAdjacentText(where: InsertPosition, data: string): void;
103
+ matches(selectors: string): boolean;
104
+ releasePointerCapture(pointerId: number): void;
105
+ removeAttribute(qualifiedName: string): void;
106
+ removeAttributeNS(namespace: string | null, localName: string): void;
107
+ removeAttributeNode(attr: Attr): Attr;
108
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
109
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
110
+ scroll(options?: ScrollToOptions): void;
111
+ scroll(x: number, y: number): void;
112
+ scrollBy(options?: ScrollToOptions): void;
113
+ scrollBy(x: number, y: number): void;
114
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
115
+ scrollTo(options?: ScrollToOptions): void;
116
+ scrollTo(x: number, y: number): void;
117
+ setAttribute(qualifiedName: string, value: string): void;
118
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
119
+ setAttributeNode(attr: Attr): Attr | null;
120
+ setAttributeNodeNS(attr: Attr): Attr | null;
121
+ setHTMLUnsafe(html: string): void;
122
+ setPointerCapture(pointerId: number): void;
123
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
124
+ webkitMatchesSelector(selectors: string): boolean;
125
+ readonly baseURI: string;
126
+ readonly childNodes: NodeListOf<ChildNode>;
127
+ readonly firstChild: ChildNode | null;
128
+ readonly isConnected: boolean;
129
+ readonly lastChild: ChildNode | null;
130
+ readonly nextSibling: ChildNode | null;
131
+ readonly nodeName: string;
132
+ readonly nodeType: number;
133
+ nodeValue: string | null;
134
+ readonly parentElement: HTMLElement | null;
135
+ readonly parentNode: ParentNode | null;
136
+ readonly previousSibling: ChildNode | null;
137
+ textContent: string | null;
138
+ appendChild<T extends Node>(node: T): T;
139
+ cloneNode(deep?: boolean): Node;
140
+ compareDocumentPosition(other: Node): number;
141
+ contains(other: Node | null): boolean;
142
+ getRootNode(options?: GetRootNodeOptions): Node;
143
+ hasChildNodes(): boolean;
144
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
145
+ isDefaultNamespace(namespace: string | null): boolean;
146
+ isEqualNode(otherNode: Node | null): boolean;
147
+ isSameNode(otherNode: Node | null): boolean;
148
+ lookupNamespaceURI(prefix: string | null): string | null;
149
+ lookupPrefix(namespace: string | null): string | null;
150
+ normalize(): void;
151
+ removeChild<T extends Node>(child: T): T;
152
+ replaceChild<T extends Node>(node: Node, child: T): T;
153
+ readonly ELEMENT_NODE: 1;
154
+ readonly ATTRIBUTE_NODE: 2;
155
+ readonly TEXT_NODE: 3;
156
+ readonly CDATA_SECTION_NODE: 4;
157
+ readonly ENTITY_REFERENCE_NODE: 5;
158
+ readonly ENTITY_NODE: 6;
159
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
160
+ readonly COMMENT_NODE: 8;
161
+ readonly DOCUMENT_NODE: 9;
162
+ readonly DOCUMENT_TYPE_NODE: 10;
163
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
164
+ readonly NOTATION_NODE: 12;
165
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
166
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
167
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
168
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
169
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
170
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
171
+ dispatchEvent(event: Event): boolean;
172
+ ariaAtomic: string | null;
173
+ ariaAutoComplete: string | null;
174
+ ariaBrailleLabel: string | null;
175
+ ariaBrailleRoleDescription: string | null;
176
+ ariaBusy: string | null;
177
+ ariaChecked: string | null;
178
+ ariaColCount: string | null;
179
+ ariaColIndex: string | null;
180
+ ariaColIndexText: string | null;
181
+ ariaColSpan: string | null;
182
+ ariaCurrent: string | null;
183
+ ariaDescription: string | null;
184
+ ariaDisabled: string | null;
185
+ ariaExpanded: string | null;
186
+ ariaHasPopup: string | null;
187
+ ariaHidden: string | null;
188
+ ariaInvalid: string | null;
189
+ ariaKeyShortcuts: string | null;
190
+ ariaLabel: string | null;
191
+ ariaLevel: string | null;
192
+ ariaLive: string | null;
193
+ ariaModal: string | null;
194
+ ariaMultiLine: string | null;
195
+ ariaMultiSelectable: string | null;
196
+ ariaOrientation: string | null;
197
+ ariaPlaceholder: string | null;
198
+ ariaPosInSet: string | null;
199
+ ariaPressed: string | null;
200
+ ariaReadOnly: string | null;
201
+ ariaRequired: string | null;
202
+ ariaRoleDescription: string | null;
203
+ ariaRowCount: string | null;
204
+ ariaRowIndex: string | null;
205
+ ariaRowIndexText: string | null;
206
+ ariaRowSpan: string | null;
207
+ ariaSelected: string | null;
208
+ ariaSetSize: string | null;
209
+ ariaSort: string | null;
210
+ ariaValueMax: string | null;
211
+ ariaValueMin: string | null;
212
+ ariaValueNow: string | null;
213
+ ariaValueText: string | null;
214
+ role: string | null;
215
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
216
+ getAnimations(options?: GetAnimationsOptions): Animation[];
217
+ after(...nodes: (Node | string)[]): void;
218
+ before(...nodes: (Node | string)[]): void;
219
+ remove(): void;
220
+ replaceWith(...nodes: (Node | string)[]): void;
221
+ readonly nextElementSibling: Element | null;
222
+ readonly previousElementSibling: Element | null;
223
+ readonly childElementCount: number;
224
+ readonly children: HTMLCollection;
225
+ readonly firstElementChild: Element | null;
226
+ readonly lastElementChild: Element | null;
227
+ append(...nodes: (Node | string)[]): void;
228
+ prepend(...nodes: (Node | string)[]): void;
229
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
230
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
231
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
232
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
233
+ querySelector<E extends Element = Element>(selectors: string): E | null;
234
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
235
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
236
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
237
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
238
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
239
+ replaceChildren(...nodes: (Node | string)[]): void;
240
+ readonly assignedSlot: HTMLSlotElement | null;
241
+ readonly attributeStyleMap: StylePropertyMap;
242
+ readonly style: CSSStyleDeclaration;
243
+ contentEditable: string;
244
+ enterKeyHint: string;
245
+ inputMode: string;
246
+ readonly isContentEditable: boolean;
247
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
248
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
249
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
250
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
251
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
252
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
253
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
254
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
255
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
256
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
257
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
258
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
259
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
260
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
261
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
262
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
264
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
266
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
268
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
269
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
270
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
271
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
272
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
273
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
274
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
275
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
276
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ onerror: OnErrorEventHandler;
280
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
281
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
282
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
283
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
286
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
287
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
288
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
290
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
291
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
292
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
293
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
294
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
295
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
296
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
297
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
298
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
299
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
300
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
301
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
303
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
304
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
305
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
306
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
307
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
308
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
309
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
310
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
311
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
312
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
313
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
316
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
317
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
319
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
323
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
327
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
329
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
331
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
332
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
333
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
334
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
335
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
336
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
337
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
338
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
345
+ autofocus: boolean;
346
+ readonly dataset: DOMStringMap;
347
+ nonce?: string;
348
+ tabIndex: number;
349
+ blur(): void;
350
+ focus(options?: FocusOptions): void;
351
+ };
352
+ _hostListeners: {
353
+ [listenerName: string]: {
354
+ [type: string]: {
355
+ options?: boolean | AddEventListenerOptions;
356
+ };
357
+ };
358
+ };
359
+ } & {
360
+ new (...args: any[]): {
361
+ _handles: Set<import("../../globals/internal/handle").default>;
362
+ connectedCallback(): void;
363
+ disconnectedCallback(): void;
364
+ accessKey: string;
365
+ readonly accessKeyLabel: string;
366
+ autocapitalize: string;
367
+ dir: string;
368
+ draggable: boolean;
369
+ hidden: boolean;
370
+ inert: boolean;
371
+ innerText: string;
372
+ lang: string;
373
+ readonly offsetHeight: number;
374
+ readonly offsetLeft: number;
375
+ readonly offsetParent: Element | null;
376
+ readonly offsetTop: number;
377
+ readonly offsetWidth: number;
378
+ outerText: string;
379
+ popover: string | null;
380
+ spellcheck: boolean;
381
+ title: string;
382
+ translate: boolean;
383
+ writingSuggestions: string;
384
+ attachInternals(): ElementInternals;
385
+ click(): void;
386
+ hidePopover(): void;
387
+ showPopover(): void;
388
+ togglePopover(force?: boolean): boolean;
389
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
390
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
391
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
392
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
393
+ readonly attributes: NamedNodeMap;
394
+ readonly classList: DOMTokenList;
395
+ className: string;
396
+ readonly clientHeight: number;
397
+ readonly clientLeft: number;
398
+ readonly clientTop: number;
399
+ readonly clientWidth: number;
400
+ readonly currentCSSZoom: number;
401
+ id: string;
402
+ innerHTML: string;
403
+ readonly localName: string;
404
+ readonly namespaceURI: string | null;
405
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
406
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
407
+ outerHTML: string;
408
+ readonly ownerDocument: Document;
409
+ readonly part: DOMTokenList;
410
+ readonly prefix: string | null;
411
+ readonly scrollHeight: number;
412
+ scrollLeft: number;
413
+ scrollTop: number;
414
+ readonly scrollWidth: number;
415
+ readonly shadowRoot: ShadowRoot | null;
416
+ slot: string;
417
+ readonly tagName: string;
418
+ attachShadow(init: ShadowRootInit): ShadowRoot;
419
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
420
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
421
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
422
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
423
+ closest<E extends Element = Element>(selectors: string): E | null;
424
+ computedStyleMap(): StylePropertyMapReadOnly;
425
+ getAttribute(qualifiedName: string): string | null;
426
+ getAttributeNS(namespace: string | null, localName: string): string | null;
427
+ getAttributeNames(): string[];
428
+ getAttributeNode(qualifiedName: string): Attr | null;
429
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
430
+ getBoundingClientRect(): DOMRect;
431
+ getClientRects(): DOMRectList;
432
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
433
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
434
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
435
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
436
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
437
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
438
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
439
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
440
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
441
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
442
+ getHTML(options?: GetHTMLOptions): string;
443
+ hasAttribute(qualifiedName: string): boolean;
444
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
445
+ hasAttributes(): boolean;
446
+ hasPointerCapture(pointerId: number): boolean;
447
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
448
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
449
+ insertAdjacentText(where: InsertPosition, data: string): void;
450
+ matches(selectors: string): boolean;
451
+ releasePointerCapture(pointerId: number): void;
452
+ removeAttribute(qualifiedName: string): void;
453
+ removeAttributeNS(namespace: string | null, localName: string): void;
454
+ removeAttributeNode(attr: Attr): Attr;
455
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
456
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
457
+ scroll(options?: ScrollToOptions): void;
458
+ scroll(x: number, y: number): void;
459
+ scrollBy(options?: ScrollToOptions): void;
460
+ scrollBy(x: number, y: number): void;
461
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
462
+ scrollTo(options?: ScrollToOptions): void;
463
+ scrollTo(x: number, y: number): void;
464
+ setAttribute(qualifiedName: string, value: string): void;
465
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
466
+ setAttributeNode(attr: Attr): Attr | null;
467
+ setAttributeNodeNS(attr: Attr): Attr | null;
468
+ setHTMLUnsafe(html: string): void;
469
+ setPointerCapture(pointerId: number): void;
470
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
471
+ webkitMatchesSelector(selectors: string): boolean;
472
+ readonly baseURI: string;
473
+ readonly childNodes: NodeListOf<ChildNode>;
474
+ readonly firstChild: ChildNode | null;
475
+ readonly isConnected: boolean;
476
+ readonly lastChild: ChildNode | null;
477
+ readonly nextSibling: ChildNode | null;
478
+ readonly nodeName: string;
479
+ readonly nodeType: number;
480
+ nodeValue: string | null;
481
+ readonly parentElement: HTMLElement | null;
482
+ readonly parentNode: ParentNode | null;
483
+ readonly previousSibling: ChildNode | null;
484
+ textContent: string | null;
485
+ appendChild<T extends Node>(node: T): T;
486
+ cloneNode(deep?: boolean): Node;
487
+ compareDocumentPosition(other: Node): number;
488
+ contains(other: Node | null): boolean;
489
+ getRootNode(options?: GetRootNodeOptions): Node;
490
+ hasChildNodes(): boolean;
491
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
492
+ isDefaultNamespace(namespace: string | null): boolean;
493
+ isEqualNode(otherNode: Node | null): boolean;
494
+ isSameNode(otherNode: Node | null): boolean;
495
+ lookupNamespaceURI(prefix: string | null): string | null;
496
+ lookupPrefix(namespace: string | null): string | null;
497
+ normalize(): void;
498
+ removeChild<T extends Node>(child: T): T;
499
+ replaceChild<T extends Node>(node: Node, child: T): T;
500
+ readonly ELEMENT_NODE: 1;
501
+ readonly ATTRIBUTE_NODE: 2;
502
+ readonly TEXT_NODE: 3;
503
+ readonly CDATA_SECTION_NODE: 4;
504
+ readonly ENTITY_REFERENCE_NODE: 5;
505
+ readonly ENTITY_NODE: 6;
506
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
507
+ readonly COMMENT_NODE: 8;
508
+ readonly DOCUMENT_NODE: 9;
509
+ readonly DOCUMENT_TYPE_NODE: 10;
510
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
511
+ readonly NOTATION_NODE: 12;
512
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
513
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
514
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
515
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
516
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
517
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
518
+ dispatchEvent(event: Event): boolean;
519
+ ariaAtomic: string | null;
520
+ ariaAutoComplete: string | null;
521
+ ariaBrailleLabel: string | null;
522
+ ariaBrailleRoleDescription: string | null;
523
+ ariaBusy: string | null;
524
+ ariaChecked: string | null;
525
+ ariaColCount: string | null;
526
+ ariaColIndex: string | null;
527
+ ariaColIndexText: string | null;
528
+ ariaColSpan: string | null;
529
+ ariaCurrent: string | null;
530
+ ariaDescription: string | null;
531
+ ariaDisabled: string | null;
532
+ ariaExpanded: string | null;
533
+ ariaHasPopup: string | null;
534
+ ariaHidden: string | null;
535
+ ariaInvalid: string | null;
536
+ ariaKeyShortcuts: string | null;
537
+ ariaLabel: string | null;
538
+ ariaLevel: string | null;
539
+ ariaLive: string | null;
540
+ ariaModal: string | null;
541
+ ariaMultiLine: string | null;
542
+ ariaMultiSelectable: string | null;
543
+ ariaOrientation: string | null;
544
+ ariaPlaceholder: string | null;
545
+ ariaPosInSet: string | null;
546
+ ariaPressed: string | null;
547
+ ariaReadOnly: string | null;
548
+ ariaRequired: string | null;
549
+ ariaRoleDescription: string | null;
550
+ ariaRowCount: string | null;
551
+ ariaRowIndex: string | null;
552
+ ariaRowIndexText: string | null;
553
+ ariaRowSpan: string | null;
554
+ ariaSelected: string | null;
555
+ ariaSetSize: string | null;
556
+ ariaSort: string | null;
557
+ ariaValueMax: string | null;
558
+ ariaValueMin: string | null;
559
+ ariaValueNow: string | null;
560
+ ariaValueText: string | null;
561
+ role: string | null;
562
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
563
+ getAnimations(options?: GetAnimationsOptions): Animation[];
564
+ after(...nodes: (Node | string)[]): void;
565
+ before(...nodes: (Node | string)[]): void;
566
+ remove(): void;
567
+ replaceWith(...nodes: (Node | string)[]): void;
568
+ readonly nextElementSibling: Element | null;
569
+ readonly previousElementSibling: Element | null;
570
+ readonly childElementCount: number;
571
+ readonly children: HTMLCollection;
572
+ readonly firstElementChild: Element | null;
573
+ readonly lastElementChild: Element | null;
574
+ append(...nodes: (Node | string)[]): void;
575
+ prepend(...nodes: (Node | string)[]): void;
576
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
577
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
578
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
579
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
580
+ querySelector<E extends Element = Element>(selectors: string): E | null;
581
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
582
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
583
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
584
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
585
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
586
+ replaceChildren(...nodes: (Node | string)[]): void;
587
+ readonly assignedSlot: HTMLSlotElement | null;
588
+ readonly attributeStyleMap: StylePropertyMap;
589
+ readonly style: CSSStyleDeclaration;
590
+ contentEditable: string;
591
+ enterKeyHint: string;
592
+ inputMode: string;
593
+ readonly isContentEditable: boolean;
594
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
595
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
596
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
597
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
598
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
599
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
600
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
601
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
602
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
603
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
604
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
605
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
606
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
607
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
608
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
609
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
610
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
611
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
612
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
613
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
614
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
615
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
616
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
617
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
618
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
619
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
620
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
621
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
622
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
623
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
624
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
625
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
626
+ onerror: OnErrorEventHandler;
627
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
628
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
629
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
630
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
631
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
632
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
633
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
634
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
635
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
636
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
637
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
638
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
639
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
640
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
641
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
642
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
643
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
644
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
645
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
646
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
647
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
648
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
649
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
650
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
651
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
652
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
653
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
654
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
655
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
656
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
657
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
658
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
659
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
660
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
661
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
662
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
663
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
664
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
665
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
666
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
667
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
668
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
669
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
670
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
671
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
672
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
673
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
674
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
675
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
676
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
677
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
678
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
679
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
680
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
681
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
682
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
683
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
684
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
685
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
686
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
687
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
688
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
689
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
690
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
691
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
692
+ autofocus: boolean;
693
+ readonly dataset: DOMStringMap;
694
+ nonce?: string;
695
+ tabIndex: number;
696
+ blur(): void;
697
+ focus(options?: FocusOptions): void;
698
+ };
699
+ _hostListeners: {
700
+ [listenerName: string]: {
701
+ [type: string]: {
702
+ options?: boolean | AddEventListenerOptions;
703
+ };
704
+ };
705
+ };
706
+ } & typeof LitElement;
707
+ /**
708
+ * Menu Item.
709
+ *
710
+ * @element cds-menu-item
711
+ */
712
+ declare class CDSmenuItem extends CDSmenuItem_base {
713
+ context: any;
714
+ readonly hoverIntentDelay = 150;
715
+ hoverIntentTimeout: any;
716
+ /**
717
+ * Label for the menu item.
718
+ */
719
+ label: any;
720
+ /**
721
+ * Shortcut for the menu item.
722
+ */
723
+ shortcut: any;
724
+ /**
725
+ * Disabled property for the menu item.
726
+ */
727
+ disabled: any;
728
+ /**
729
+ * Whether the menu submen for an item is open or not.
730
+ */
731
+ submenuOpen: boolean;
732
+ kind: MENU_ITEM_KIND;
733
+ /**
734
+ * Menu boundaries.
735
+ */
736
+ boundaries: {
737
+ x: number | [number, number];
738
+ y: number | [number, number];
739
+ };
740
+ ariaChecked: string | null;
741
+ /**
742
+ * Entrypoint.
743
+ */
744
+ submenuEntry: any;
745
+ /**
746
+ * Checks if document direction is rtl.
747
+ */
748
+ isRtl: boolean;
749
+ /**
750
+ * Checks if document direction is rtl.
751
+ */
752
+ hasSubmenu: boolean;
753
+ dispatchIconDetect(): Promise<void>;
754
+ private _updateAttributes;
755
+ firstUpdated(): void;
756
+ updated(_changedProperties: PropertyValues): void;
757
+ handleClick(event: MouseEvent): void;
758
+ handleMouseEnter(): void;
759
+ handleMouseLeave(): void;
760
+ handleKeyDown(event: KeyboardEvent): void;
761
+ render(): import("lit-html").TemplateResult<1>;
762
+ _handleClick: (e: MouseEvent | KeyboardEvent) => void;
763
+ _handleMouseEnter: () => void;
764
+ _handleMouseLeave: () => void;
765
+ _openSubmenu: () => void;
766
+ _registerSubMenuItems: () => void;
767
+ _closeSubmenu: () => void;
768
+ _handleKeyDown: (e: KeyboardEvent) => void;
769
+ static styles: any;
770
+ }
771
+ export default CDSmenuItem;