@vonage/vivid 5.31.0 → 5.32.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.
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +25 -26
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +5 -5
- package/bundled/char-count.cjs +2 -2
- package/bundled/char-count.js +2 -3
- package/bundled/definition4.cjs +17 -10
- package/bundled/definition4.js +17 -10
- package/bundled/form-element.cjs +1 -1
- package/bundled/form-element.js +3 -4
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +11 -10
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +12 -17
- package/bundled/time-selection-picker.template.cjs +1 -1
- package/bundled/time-selection-picker.template.js +7 -9
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +10 -8
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +7 -9
- package/custom-elements.json +4955 -6650
- package/lib/accordion-item/accordion-item.d.ts +13 -7
- package/lib/action-group/action-group.d.ts +13 -7
- package/lib/alert/alert.d.ts +26 -14
- package/lib/audio-player/audio-player.d.ts +13 -7
- package/lib/avatar/avatar.d.ts +13 -7
- package/lib/badge/badge.d.ts +13 -7
- package/lib/banner/banner.d.ts +39 -21
- package/lib/breadcrumb/breadcrumb.d.ts +13 -7
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
- package/lib/button/button.d.ts +39 -21
- package/lib/calendar-event/calendar-event.d.ts +13 -7
- package/lib/card/card.d.ts +13 -7
- package/lib/checkbox/checkbox.d.ts +84 -48
- package/lib/color-picker/color-picker.d.ts +98 -56
- package/lib/combobox/combobox.d.ts +98 -56
- package/lib/country-group/country-group.d.ts +26 -14
- package/lib/data-grid/data-grid-cell.d.ts +26 -14
- package/lib/data-grid/data-grid-row.d.ts +13 -7
- package/lib/date-picker/date-picker.d.ts +162 -114
- package/lib/date-range-picker/date-range-picker.d.ts +82 -58
- package/lib/date-time-picker/date-time-picker.d.ts +164 -116
- package/lib/dial-pad/dial-pad.d.ts +13 -7
- package/lib/dialog/dialog.d.ts +26 -14
- package/lib/divider/divider.d.ts +13 -7
- package/lib/fab/fab.d.ts +13 -7
- package/lib/file-picker/file-picker.d.ts +98 -56
- package/lib/header/header.d.ts +13 -7
- package/lib/listbox/listbox.d.ts +41 -23
- package/lib/menu/menu.d.ts +30 -18
- package/lib/menu-item/menu-item.d.ts +39 -21
- package/lib/nav/nav.d.ts +13 -7
- package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
- package/lib/nav-item/nav-item.d.ts +28 -16
- package/lib/note/note.d.ts +13 -7
- package/lib/number-field/number-field.d.ts +124 -70
- package/lib/optgroup/optgroup.d.ts +13 -7
- package/lib/option/option.d.ts +26 -14
- package/lib/pagination/pagination.d.ts +13 -7
- package/lib/popover/popover.d.ts +26 -14
- package/lib/progress/progress.d.ts +13 -7
- package/lib/progress-ring/progress-ring.d.ts +13 -7
- package/lib/radio/radio.d.ts +45 -27
- package/lib/radio-group/radio-group.d.ts +13 -7
- package/lib/range-slider/range-slider.d.ts +40 -22
- package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
- package/lib/searchable-select/option-tag.d.ts +13 -7
- package/lib/searchable-select/searchable-select.d.ts +124 -70
- package/lib/select/select.d.ts +124 -70
- package/lib/selectable-box/selectable-box.d.ts +13 -7
- package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
- package/lib/slider/slider.d.ts +39 -21
- package/lib/split-button/split-button.d.ts +39 -21
- package/lib/status/status.d.ts +13 -7
- package/lib/switch/switch.d.ts +26 -14
- package/lib/tab/tab.d.ts +39 -21
- package/lib/tab-panel/tab-panel.d.ts +13 -7
- package/lib/table/table-cell.d.ts +13 -7
- package/lib/table/table-header-cell.d.ts +13 -7
- package/lib/table/table-row.d.ts +13 -7
- package/lib/table/table-sorting-button.d.ts +26 -14
- package/lib/tag/tag.d.ts +39 -21
- package/lib/tag-group/tag-group.d.ts +13 -7
- package/lib/text-area/text-area.d.ts +112 -64
- package/lib/text-field/text-field.d.ts +125 -71
- package/lib/time-picker/time-picker.d.ts +82 -58
- package/lib/toggletip/toggletip.d.ts +30 -18
- package/lib/tooltip/tooltip.d.ts +30 -18
- package/lib/tree-item/tree-item.d.ts +26 -14
- package/lib/tree-view/tree-view.d.ts +13 -7
- package/lib/video-player/video-player.d.ts +13 -7
- package/listbox/index.cjs +1 -1
- package/listbox/index.js +3 -4
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +5 -1
- package/package.json +7 -7
- package/shared/aria/aria-mixin.d.ts +11 -5
- package/shared/aria/delegates-aria.d.ts +13 -7
- package/shared/aria/host-semantics.d.ts +13 -7
- package/shared/color-picker/base-color-picker.d.ts +14 -8
- package/shared/deprecation/replaced-props.d.ts +12 -6
- package/shared/feedback/feedback-message.d.ts +13 -7
- package/shared/feedback/mixins.d.ts +26 -14
- package/shared/foundation/button/button.d.ts +26 -14
- package/shared/foundation/form-associated/form-associated.d.ts +26 -14
- package/shared/foundation/vivid-element/vivid-element.d.ts +35 -17
- package/shared/framework/reactive-controller.d.ts +12 -6
- package/shared/listbox/with-options-filter.d.ts +14 -8
- package/shared/listbox/with-options.d.ts +28 -16
- package/shared/patterns/affix.d.ts +26 -14
- package/shared/patterns/anchored.d.ts +34 -22
- package/shared/patterns/char-count/char-count.d.ts +14 -8
- package/shared/patterns/form-elements/form-element.d.ts +14 -8
- package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
- package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
- package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
- package/shared/patterns/kbd-shortcut.d.ts +13 -7
- package/shared/patterns/linkable.d.ts +13 -7
- package/shared/patterns/localized.d.ts +30 -18
- package/shared/patterns/trapped-focus.d.ts +13 -7
- package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
- package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
- package/shared/picker-field/picker-field.d.ts +98 -57
- package/unbundled/anchored.cjs +39 -37
- package/unbundled/anchored.js +39 -37
- package/unbundled/calendar-picker.template.cjs +7 -5
- package/unbundled/calendar-picker.template.js +7 -5
- package/unbundled/char-count.cjs +3 -9
- package/unbundled/char-count.js +3 -9
- package/unbundled/definition5.cjs +17 -10
- package/unbundled/definition5.js +17 -10
- package/unbundled/definition50.cjs +3 -4
- package/unbundled/definition50.js +3 -4
- package/unbundled/definition52.cjs +6 -2
- package/unbundled/definition52.js +6 -2
- package/unbundled/form-element.cjs +3 -4
- package/unbundled/form-element.js +3 -4
- package/unbundled/localized.cjs +15 -11
- package/unbundled/localized.js +15 -11
- package/unbundled/picker-field.template.cjs +22 -24
- package/unbundled/picker-field.template.js +22 -24
- package/unbundled/time-selection-picker.template.cjs +10 -10
- package/unbundled/time-selection-picker.template.js +10 -10
- package/unbundled/vivid-element.cjs +12 -8
- package/unbundled/vivid-element.js +12 -8
- package/unbundled/with-error-text.cjs +11 -10
- package/unbundled/with-error-text.js +11 -10
- package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +0 -1
package/lib/header/header.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const Header_base: {
|
|
|
14
14
|
autocorrect: boolean;
|
|
15
15
|
dir: string;
|
|
16
16
|
draggable: boolean;
|
|
17
|
-
hidden: boolean;
|
|
17
|
+
hidden: boolean | "until-found";
|
|
18
18
|
inert: boolean;
|
|
19
19
|
innerText: string;
|
|
20
20
|
lang: string;
|
|
@@ -32,8 +32,8 @@ declare const Header_base: {
|
|
|
32
32
|
attachInternals(): ElementInternals;
|
|
33
33
|
click(): void;
|
|
34
34
|
hidePopover(): void;
|
|
35
|
-
showPopover(): void;
|
|
36
|
-
togglePopover(options?: boolean): boolean;
|
|
35
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
36
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
37
37
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
38
38
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
39
39
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -47,6 +47,7 @@ declare const Header_base: {
|
|
|
47
47
|
readonly clientTop: number;
|
|
48
48
|
readonly clientWidth: number;
|
|
49
49
|
readonly currentCSSZoom: number;
|
|
50
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
50
51
|
id: string;
|
|
51
52
|
innerHTML: string;
|
|
52
53
|
readonly localName: string;
|
|
@@ -97,6 +98,9 @@ declare const Header_base: {
|
|
|
97
98
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
98
99
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
99
100
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
101
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
102
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
103
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
100
104
|
matches(selectors: string): boolean;
|
|
101
105
|
releasePointerCapture(pointerId: number): void;
|
|
102
106
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -232,6 +236,7 @@ declare const Header_base: {
|
|
|
232
236
|
readonly firstElementChild: Element | null;
|
|
233
237
|
readonly lastElementChild: Element | null;
|
|
234
238
|
append(...nodes: (Node | string)[]): void;
|
|
239
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
235
240
|
prepend(...nodes: (Node | string)[]): void;
|
|
236
241
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
237
242
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -268,6 +273,7 @@ declare const Header_base: {
|
|
|
268
273
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
269
274
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
270
275
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
277
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
278
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
273
279
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -289,7 +295,7 @@ declare const Header_base: {
|
|
|
289
295
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
290
296
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
291
297
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
292
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
298
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
293
299
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
300
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
295
301
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -354,7 +360,7 @@ declare const Header_base: {
|
|
|
354
360
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
355
361
|
autofocus: boolean;
|
|
356
362
|
readonly dataset: DOMStringMap;
|
|
357
|
-
nonce
|
|
363
|
+
nonce: string;
|
|
358
364
|
tabIndex: number;
|
|
359
365
|
blur(): void;
|
|
360
366
|
ariaControls: string | null;
|
|
@@ -413,13 +419,13 @@ declare const Header_base: {
|
|
|
413
419
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
414
420
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
415
421
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
416
|
-
|
|
422
|
+
_handleReplacedProp(replacedProp: {
|
|
417
423
|
newPropertyName: string;
|
|
418
424
|
deprecatedPropertyName: string;
|
|
419
425
|
fromDeprecated: (v: any) => any;
|
|
420
426
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
421
427
|
}): void;
|
|
422
|
-
|
|
428
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
423
429
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
424
430
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
425
431
|
};
|
package/lib/listbox/listbox.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const Listbox_base: {
|
|
|
13
13
|
_filteredOptions: ListboxOption[];
|
|
14
14
|
_slottedElements: Element[];
|
|
15
15
|
_slottedElementsChanged(): void;
|
|
16
|
-
|
|
16
|
+
_onOptgroupChange: () => void;
|
|
17
17
|
connectedCallback: (() => void) & (() => void);
|
|
18
18
|
disconnectedCallback: (() => void) & (() => void) & (() => void);
|
|
19
19
|
_slottedOptions: ListboxOption[];
|
|
@@ -28,7 +28,7 @@ declare const Listbox_base: {
|
|
|
28
28
|
autocorrect: boolean;
|
|
29
29
|
dir: string;
|
|
30
30
|
draggable: boolean;
|
|
31
|
-
hidden: boolean;
|
|
31
|
+
hidden: boolean | "until-found";
|
|
32
32
|
inert: boolean;
|
|
33
33
|
innerText: string;
|
|
34
34
|
lang: string;
|
|
@@ -46,8 +46,8 @@ declare const Listbox_base: {
|
|
|
46
46
|
attachInternals(): ElementInternals;
|
|
47
47
|
click(): void;
|
|
48
48
|
hidePopover(): void;
|
|
49
|
-
showPopover(): void;
|
|
50
|
-
togglePopover(options?: boolean): boolean;
|
|
49
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
50
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
51
51
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
52
52
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
53
53
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -61,6 +61,7 @@ declare const Listbox_base: {
|
|
|
61
61
|
readonly clientTop: number;
|
|
62
62
|
readonly clientWidth: number;
|
|
63
63
|
readonly currentCSSZoom: number;
|
|
64
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
64
65
|
id: string;
|
|
65
66
|
innerHTML: string;
|
|
66
67
|
readonly localName: string;
|
|
@@ -111,6 +112,9 @@ declare const Listbox_base: {
|
|
|
111
112
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
112
113
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
113
114
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
115
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
116
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
117
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
114
118
|
matches(selectors: string): boolean;
|
|
115
119
|
releasePointerCapture(pointerId: number): void;
|
|
116
120
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -246,6 +250,7 @@ declare const Listbox_base: {
|
|
|
246
250
|
readonly firstElementChild: Element | null;
|
|
247
251
|
readonly lastElementChild: Element | null;
|
|
248
252
|
append(...nodes: (Node | string)[]): void;
|
|
253
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
249
254
|
prepend(...nodes: (Node | string)[]): void;
|
|
250
255
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
251
256
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -282,6 +287,7 @@ declare const Listbox_base: {
|
|
|
282
287
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
288
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
289
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
291
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
292
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
287
293
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -303,7 +309,7 @@ declare const Listbox_base: {
|
|
|
303
309
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
304
310
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
305
311
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
312
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
307
313
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
314
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
309
315
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -368,7 +374,7 @@ declare const Listbox_base: {
|
|
|
368
374
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
369
375
|
autofocus: boolean;
|
|
370
376
|
readonly dataset: DOMStringMap;
|
|
371
|
-
nonce
|
|
377
|
+
nonce: string;
|
|
372
378
|
tabIndex: number;
|
|
373
379
|
blur(): void;
|
|
374
380
|
ariaControls: string | null;
|
|
@@ -427,13 +433,13 @@ declare const Listbox_base: {
|
|
|
427
433
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
428
434
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
429
435
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
430
|
-
|
|
436
|
+
_handleReplacedProp(replacedProp: {
|
|
431
437
|
newPropertyName: string;
|
|
432
438
|
deprecatedPropertyName: string;
|
|
433
439
|
fromDeprecated: (v: any) => any;
|
|
434
440
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
435
441
|
}): void;
|
|
436
|
-
|
|
442
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
437
443
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
438
444
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
439
445
|
};
|
|
@@ -441,7 +447,7 @@ declare const Listbox_base: {
|
|
|
441
447
|
new (...args: any[]): {
|
|
442
448
|
_slottedElements: Element[];
|
|
443
449
|
_slottedElementsChanged(): void;
|
|
444
|
-
|
|
450
|
+
_onOptgroupChange: () => void;
|
|
445
451
|
connectedCallback(): void;
|
|
446
452
|
disconnectedCallback(): void;
|
|
447
453
|
_slottedOptions: ListboxOption[];
|
|
@@ -457,7 +463,7 @@ declare const Listbox_base: {
|
|
|
457
463
|
autocorrect: boolean;
|
|
458
464
|
dir: string;
|
|
459
465
|
draggable: boolean;
|
|
460
|
-
hidden: boolean;
|
|
466
|
+
hidden: boolean | "until-found";
|
|
461
467
|
inert: boolean;
|
|
462
468
|
innerText: string;
|
|
463
469
|
lang: string;
|
|
@@ -475,8 +481,8 @@ declare const Listbox_base: {
|
|
|
475
481
|
attachInternals(): ElementInternals;
|
|
476
482
|
click(): void;
|
|
477
483
|
hidePopover(): void;
|
|
478
|
-
showPopover(): void;
|
|
479
|
-
togglePopover(options?: boolean): boolean;
|
|
484
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
485
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
480
486
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
481
487
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
482
488
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -490,6 +496,7 @@ declare const Listbox_base: {
|
|
|
490
496
|
readonly clientTop: number;
|
|
491
497
|
readonly clientWidth: number;
|
|
492
498
|
readonly currentCSSZoom: number;
|
|
499
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
493
500
|
id: string;
|
|
494
501
|
innerHTML: string;
|
|
495
502
|
readonly localName: string;
|
|
@@ -540,6 +547,9 @@ declare const Listbox_base: {
|
|
|
540
547
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
541
548
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
542
549
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
550
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
551
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
552
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
543
553
|
matches(selectors: string): boolean;
|
|
544
554
|
releasePointerCapture(pointerId: number): void;
|
|
545
555
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -675,6 +685,7 @@ declare const Listbox_base: {
|
|
|
675
685
|
readonly firstElementChild: Element | null;
|
|
676
686
|
readonly lastElementChild: Element | null;
|
|
677
687
|
append(...nodes: (Node | string)[]): void;
|
|
688
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
678
689
|
prepend(...nodes: (Node | string)[]): void;
|
|
679
690
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
680
691
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -711,6 +722,7 @@ declare const Listbox_base: {
|
|
|
711
722
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
712
723
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
713
724
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
725
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
714
726
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
715
727
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
716
728
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -732,7 +744,7 @@ declare const Listbox_base: {
|
|
|
732
744
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
733
745
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
734
746
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
735
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
747
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
736
748
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
737
749
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
738
750
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -797,7 +809,7 @@ declare const Listbox_base: {
|
|
|
797
809
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
798
810
|
autofocus: boolean;
|
|
799
811
|
readonly dataset: DOMStringMap;
|
|
800
|
-
nonce
|
|
812
|
+
nonce: string;
|
|
801
813
|
tabIndex: number;
|
|
802
814
|
blur(): void;
|
|
803
815
|
ariaControls: string | null;
|
|
@@ -856,13 +868,13 @@ declare const Listbox_base: {
|
|
|
856
868
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
857
869
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
858
870
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
859
|
-
|
|
871
|
+
_handleReplacedProp(replacedProp: {
|
|
860
872
|
newPropertyName: string;
|
|
861
873
|
deprecatedPropertyName: string;
|
|
862
874
|
fromDeprecated: (v: any) => any;
|
|
863
875
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
864
876
|
}): void;
|
|
865
|
-
|
|
877
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
866
878
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
867
879
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
868
880
|
};
|
|
@@ -881,7 +893,7 @@ declare const Listbox_base: {
|
|
|
881
893
|
autocorrect: boolean;
|
|
882
894
|
dir: string;
|
|
883
895
|
draggable: boolean;
|
|
884
|
-
hidden: boolean;
|
|
896
|
+
hidden: boolean | "until-found";
|
|
885
897
|
inert: boolean;
|
|
886
898
|
innerText: string;
|
|
887
899
|
lang: string;
|
|
@@ -899,8 +911,8 @@ declare const Listbox_base: {
|
|
|
899
911
|
attachInternals(): ElementInternals;
|
|
900
912
|
click(): void;
|
|
901
913
|
hidePopover(): void;
|
|
902
|
-
showPopover(): void;
|
|
903
|
-
togglePopover(options?: boolean): boolean;
|
|
914
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
915
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
904
916
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
905
917
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
906
918
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -914,6 +926,7 @@ declare const Listbox_base: {
|
|
|
914
926
|
readonly clientTop: number;
|
|
915
927
|
readonly clientWidth: number;
|
|
916
928
|
readonly currentCSSZoom: number;
|
|
929
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
917
930
|
id: string;
|
|
918
931
|
innerHTML: string;
|
|
919
932
|
readonly localName: string;
|
|
@@ -964,6 +977,9 @@ declare const Listbox_base: {
|
|
|
964
977
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
965
978
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
966
979
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
980
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
981
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
982
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
967
983
|
matches(selectors: string): boolean;
|
|
968
984
|
releasePointerCapture(pointerId: number): void;
|
|
969
985
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1099,6 +1115,7 @@ declare const Listbox_base: {
|
|
|
1099
1115
|
readonly firstElementChild: Element | null;
|
|
1100
1116
|
readonly lastElementChild: Element | null;
|
|
1101
1117
|
append(...nodes: (Node | string)[]): void;
|
|
1118
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1102
1119
|
prepend(...nodes: (Node | string)[]): void;
|
|
1103
1120
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1104
1121
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1135,6 +1152,7 @@ declare const Listbox_base: {
|
|
|
1135
1152
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1136
1153
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1137
1154
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1155
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1138
1156
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1139
1157
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1140
1158
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1156,7 +1174,7 @@ declare const Listbox_base: {
|
|
|
1156
1174
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1157
1175
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1158
1176
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1159
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1177
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1160
1178
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1161
1179
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1162
1180
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1221,7 +1239,7 @@ declare const Listbox_base: {
|
|
|
1221
1239
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1222
1240
|
autofocus: boolean;
|
|
1223
1241
|
readonly dataset: DOMStringMap;
|
|
1224
|
-
nonce
|
|
1242
|
+
nonce: string;
|
|
1225
1243
|
tabIndex: number;
|
|
1226
1244
|
blur(): void;
|
|
1227
1245
|
ariaControls: string | null;
|
|
@@ -1280,13 +1298,13 @@ declare const Listbox_base: {
|
|
|
1280
1298
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1281
1299
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1282
1300
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1283
|
-
|
|
1301
|
+
_handleReplacedProp(replacedProp: {
|
|
1284
1302
|
newPropertyName: string;
|
|
1285
1303
|
deprecatedPropertyName: string;
|
|
1286
1304
|
fromDeprecated: (v: any) => any;
|
|
1287
1305
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1288
1306
|
}): void;
|
|
1289
|
-
|
|
1307
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
1290
1308
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
1291
1309
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
1292
1310
|
};
|
package/lib/menu/menu.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ declare const Menu_base: {
|
|
|
7
7
|
_slottedAnchor?: HTMLElement[];
|
|
8
8
|
_slottedAnchorChanged(): void;
|
|
9
9
|
_anchorEl?: HTMLElement | undefined;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
_updateAnchorEl: () => void;
|
|
11
|
+
_observer?: MutationObserver;
|
|
12
|
+
_observeMissingAnchor: (anchorId: string) => void;
|
|
13
|
+
_cleanupObserverIfNeeded: () => void;
|
|
14
14
|
connectedCallback(): void;
|
|
15
15
|
disconnectedCallback(): void;
|
|
16
16
|
focus(...args: any[]): void;
|
|
@@ -24,7 +24,7 @@ declare const Menu_base: {
|
|
|
24
24
|
autocorrect: boolean;
|
|
25
25
|
dir: string;
|
|
26
26
|
draggable: boolean;
|
|
27
|
-
hidden: boolean;
|
|
27
|
+
hidden: boolean | "until-found";
|
|
28
28
|
inert: boolean;
|
|
29
29
|
innerText: string;
|
|
30
30
|
lang: string;
|
|
@@ -42,8 +42,8 @@ declare const Menu_base: {
|
|
|
42
42
|
attachInternals(): ElementInternals;
|
|
43
43
|
click(): void;
|
|
44
44
|
hidePopover(): void;
|
|
45
|
-
showPopover(): void;
|
|
46
|
-
togglePopover(options?: boolean): boolean;
|
|
45
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
46
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
47
47
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
48
48
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
49
49
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -57,6 +57,7 @@ declare const Menu_base: {
|
|
|
57
57
|
readonly clientTop: number;
|
|
58
58
|
readonly clientWidth: number;
|
|
59
59
|
readonly currentCSSZoom: number;
|
|
60
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
60
61
|
id: string;
|
|
61
62
|
innerHTML: string;
|
|
62
63
|
readonly localName: string;
|
|
@@ -107,6 +108,9 @@ declare const Menu_base: {
|
|
|
107
108
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
108
109
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
109
110
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
111
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
112
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
113
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
110
114
|
matches(selectors: string): boolean;
|
|
111
115
|
releasePointerCapture(pointerId: number): void;
|
|
112
116
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -242,6 +246,7 @@ declare const Menu_base: {
|
|
|
242
246
|
readonly firstElementChild: Element | null;
|
|
243
247
|
readonly lastElementChild: Element | null;
|
|
244
248
|
append(...nodes: (Node | string)[]): void;
|
|
249
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
245
250
|
prepend(...nodes: (Node | string)[]): void;
|
|
246
251
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
247
252
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -278,6 +283,7 @@ declare const Menu_base: {
|
|
|
278
283
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
284
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
285
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
286
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
287
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
288
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
289
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -299,7 +305,7 @@ declare const Menu_base: {
|
|
|
299
305
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
300
306
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
301
307
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
302
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
308
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
303
309
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
310
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
305
311
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -364,7 +370,7 @@ declare const Menu_base: {
|
|
|
364
370
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
365
371
|
autofocus: boolean;
|
|
366
372
|
readonly dataset: DOMStringMap;
|
|
367
|
-
nonce
|
|
373
|
+
nonce: string;
|
|
368
374
|
tabIndex: number;
|
|
369
375
|
blur(): void;
|
|
370
376
|
ariaControls: string | null;
|
|
@@ -423,13 +429,13 @@ declare const Menu_base: {
|
|
|
423
429
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
424
430
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
425
431
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
426
|
-
|
|
432
|
+
_handleReplacedProp(replacedProp: {
|
|
427
433
|
newPropertyName: string;
|
|
428
434
|
deprecatedPropertyName: string;
|
|
429
435
|
fromDeprecated: (v: any) => any;
|
|
430
436
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
431
437
|
}): void;
|
|
432
|
-
|
|
438
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
433
439
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
434
440
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
435
441
|
};
|
|
@@ -448,7 +454,7 @@ declare const Menu_base: {
|
|
|
448
454
|
autocorrect: boolean;
|
|
449
455
|
dir: string;
|
|
450
456
|
draggable: boolean;
|
|
451
|
-
hidden: boolean;
|
|
457
|
+
hidden: boolean | "until-found";
|
|
452
458
|
inert: boolean;
|
|
453
459
|
innerText: string;
|
|
454
460
|
lang: string;
|
|
@@ -466,8 +472,8 @@ declare const Menu_base: {
|
|
|
466
472
|
attachInternals(): ElementInternals;
|
|
467
473
|
click(): void;
|
|
468
474
|
hidePopover(): void;
|
|
469
|
-
showPopover(): void;
|
|
470
|
-
togglePopover(options?: boolean): boolean;
|
|
475
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
476
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
471
477
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
472
478
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
473
479
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -481,6 +487,7 @@ declare const Menu_base: {
|
|
|
481
487
|
readonly clientTop: number;
|
|
482
488
|
readonly clientWidth: number;
|
|
483
489
|
readonly currentCSSZoom: number;
|
|
490
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
484
491
|
id: string;
|
|
485
492
|
innerHTML: string;
|
|
486
493
|
readonly localName: string;
|
|
@@ -531,6 +538,9 @@ declare const Menu_base: {
|
|
|
531
538
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
532
539
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
533
540
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
541
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
542
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
543
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
534
544
|
matches(selectors: string): boolean;
|
|
535
545
|
releasePointerCapture(pointerId: number): void;
|
|
536
546
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -666,6 +676,7 @@ declare const Menu_base: {
|
|
|
666
676
|
readonly firstElementChild: Element | null;
|
|
667
677
|
readonly lastElementChild: Element | null;
|
|
668
678
|
append(...nodes: (Node | string)[]): void;
|
|
679
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
669
680
|
prepend(...nodes: (Node | string)[]): void;
|
|
670
681
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
671
682
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -702,6 +713,7 @@ declare const Menu_base: {
|
|
|
702
713
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
703
714
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
704
715
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
716
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
705
717
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
706
718
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
707
719
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -723,7 +735,7 @@ declare const Menu_base: {
|
|
|
723
735
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
724
736
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
725
737
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
726
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
738
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
727
739
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
728
740
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
729
741
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -788,7 +800,7 @@ declare const Menu_base: {
|
|
|
788
800
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
789
801
|
autofocus: boolean;
|
|
790
802
|
readonly dataset: DOMStringMap;
|
|
791
|
-
nonce
|
|
803
|
+
nonce: string;
|
|
792
804
|
tabIndex: number;
|
|
793
805
|
blur(): void;
|
|
794
806
|
ariaControls: string | null;
|
|
@@ -847,13 +859,13 @@ declare const Menu_base: {
|
|
|
847
859
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
848
860
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
849
861
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
850
|
-
|
|
862
|
+
_handleReplacedProp(replacedProp: {
|
|
851
863
|
newPropertyName: string;
|
|
852
864
|
deprecatedPropertyName: string;
|
|
853
865
|
fromDeprecated: (v: any) => any;
|
|
854
866
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
855
867
|
}): void;
|
|
856
|
-
|
|
868
|
+
_controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
|
|
857
869
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
858
870
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
859
871
|
};
|