@vonage/vivid 5.30.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/definition25.cjs +4 -4
- package/bundled/definition25.js +4 -4
- 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/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- 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 +36 -8
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +7 -9
- package/custom-elements.json +237 -1956
- 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/rich-text-editor/rte/feature.d.ts +0 -1
- package/lib/rich-text-editor/rte/features/base.d.ts +9 -0
- package/lib/rich-text-editor/rte/features/bold.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/hard-break.d.ts +4 -0
- package/lib/rich-text-editor/rte/features/inline-image.d.ts +4 -0
- package/lib/rich-text-editor/rte/features/italic.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/link.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/list.d.ts +6 -0
- package/lib/rich-text-editor/rte/features/monospace.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/strikethrough.d.ts +5 -1
- package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +4 -1
- package/lib/rich-text-editor/rte/features/underline.d.ts +5 -1
- package/lib/rich-text-editor/rte/public-interface.d.ts +1 -1
- 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/number-field/index.cjs +1 -1
- package/number-field/index.js +1 -1
- package/package.json +10 -10
- package/rich-text-editor/index.cjs +1 -1
- package/rich-text-editor/index.js +176 -160
- 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 +43 -25
- 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/definition2.cjs +4 -4
- package/unbundled/definition2.js +4 -4
- 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/definition55.cjs +1 -1
- package/unbundled/definition55.js +1 -1
- package/unbundled/definition63.cjs +73 -46
- package/unbundled/definition63.js +73 -46
- 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/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +10 -10
- package/unbundled/time-selection-picker.template.js +10 -10
- package/unbundled/vivid-element.cjs +65 -8
- package/unbundled/vivid-element.js +66 -9
- package/unbundled/with-error-text.cjs +11 -10
- package/unbundled/with-error-text.js +11 -10
- package/vivid.api.json +12 -12
|
@@ -25,7 +25,7 @@ declare const MenuItem_base: {
|
|
|
25
25
|
autocorrect: boolean;
|
|
26
26
|
dir: string;
|
|
27
27
|
draggable: boolean;
|
|
28
|
-
hidden: boolean;
|
|
28
|
+
hidden: boolean | "until-found";
|
|
29
29
|
inert: boolean;
|
|
30
30
|
innerText: string;
|
|
31
31
|
lang: string;
|
|
@@ -43,8 +43,8 @@ declare const MenuItem_base: {
|
|
|
43
43
|
attachInternals(): ElementInternals;
|
|
44
44
|
click(): void;
|
|
45
45
|
hidePopover(): void;
|
|
46
|
-
showPopover(): void;
|
|
47
|
-
togglePopover(options?: boolean): boolean;
|
|
46
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
47
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
48
48
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
49
49
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
50
50
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -58,6 +58,7 @@ declare const MenuItem_base: {
|
|
|
58
58
|
readonly clientTop: number;
|
|
59
59
|
readonly clientWidth: number;
|
|
60
60
|
readonly currentCSSZoom: number;
|
|
61
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
61
62
|
id: string;
|
|
62
63
|
innerHTML: string;
|
|
63
64
|
readonly localName: string;
|
|
@@ -108,6 +109,9 @@ declare const MenuItem_base: {
|
|
|
108
109
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
109
110
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
110
111
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
112
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
113
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
114
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
111
115
|
matches(selectors: string): boolean;
|
|
112
116
|
releasePointerCapture(pointerId: number): void;
|
|
113
117
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -243,6 +247,7 @@ declare const MenuItem_base: {
|
|
|
243
247
|
readonly firstElementChild: Element | null;
|
|
244
248
|
readonly lastElementChild: Element | null;
|
|
245
249
|
append(...nodes: (Node | string)[]): void;
|
|
250
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
246
251
|
prepend(...nodes: (Node | string)[]): void;
|
|
247
252
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
248
253
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -279,6 +284,7 @@ declare const MenuItem_base: {
|
|
|
279
284
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
285
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
286
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
288
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
289
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
290
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -300,7 +306,7 @@ declare const MenuItem_base: {
|
|
|
300
306
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
301
307
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
302
308
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
309
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
304
310
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
311
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
306
312
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -365,7 +371,7 @@ declare const MenuItem_base: {
|
|
|
365
371
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
366
372
|
autofocus: boolean;
|
|
367
373
|
readonly dataset: DOMStringMap;
|
|
368
|
-
nonce
|
|
374
|
+
nonce: string;
|
|
369
375
|
tabIndex: number;
|
|
370
376
|
blur(): void;
|
|
371
377
|
ariaControls: string | null;
|
|
@@ -424,13 +430,13 @@ declare const MenuItem_base: {
|
|
|
424
430
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
425
431
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
426
432
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
427
|
-
|
|
433
|
+
_handleReplacedProp(replacedProp: {
|
|
428
434
|
newPropertyName: string;
|
|
429
435
|
deprecatedPropertyName: string;
|
|
430
436
|
fromDeprecated: (v: any) => any;
|
|
431
437
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
432
438
|
}): void;
|
|
433
|
-
|
|
439
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
434
440
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
435
441
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
436
442
|
};
|
|
@@ -449,7 +455,7 @@ declare const MenuItem_base: {
|
|
|
449
455
|
autocorrect: boolean;
|
|
450
456
|
dir: string;
|
|
451
457
|
draggable: boolean;
|
|
452
|
-
hidden: boolean;
|
|
458
|
+
hidden: boolean | "until-found";
|
|
453
459
|
inert: boolean;
|
|
454
460
|
innerText: string;
|
|
455
461
|
lang: string;
|
|
@@ -467,8 +473,8 @@ declare const MenuItem_base: {
|
|
|
467
473
|
attachInternals(): ElementInternals;
|
|
468
474
|
click(): void;
|
|
469
475
|
hidePopover(): void;
|
|
470
|
-
showPopover(): void;
|
|
471
|
-
togglePopover(options?: boolean): boolean;
|
|
476
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
477
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
472
478
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
473
479
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
474
480
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -482,6 +488,7 @@ declare const MenuItem_base: {
|
|
|
482
488
|
readonly clientTop: number;
|
|
483
489
|
readonly clientWidth: number;
|
|
484
490
|
readonly currentCSSZoom: number;
|
|
491
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
485
492
|
id: string;
|
|
486
493
|
innerHTML: string;
|
|
487
494
|
readonly localName: string;
|
|
@@ -532,6 +539,9 @@ declare const MenuItem_base: {
|
|
|
532
539
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
533
540
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
534
541
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
542
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
543
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
544
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
535
545
|
matches(selectors: string): boolean;
|
|
536
546
|
releasePointerCapture(pointerId: number): void;
|
|
537
547
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -667,6 +677,7 @@ declare const MenuItem_base: {
|
|
|
667
677
|
readonly firstElementChild: Element | null;
|
|
668
678
|
readonly lastElementChild: Element | null;
|
|
669
679
|
append(...nodes: (Node | string)[]): void;
|
|
680
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
670
681
|
prepend(...nodes: (Node | string)[]): void;
|
|
671
682
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
672
683
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -703,6 +714,7 @@ declare const MenuItem_base: {
|
|
|
703
714
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
704
715
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
705
716
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
717
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
706
718
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
707
719
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
708
720
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -724,7 +736,7 @@ declare const MenuItem_base: {
|
|
|
724
736
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
725
737
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
726
738
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
727
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
739
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
728
740
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
729
741
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
730
742
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -789,7 +801,7 @@ declare const MenuItem_base: {
|
|
|
789
801
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
790
802
|
autofocus: boolean;
|
|
791
803
|
readonly dataset: DOMStringMap;
|
|
792
|
-
nonce
|
|
804
|
+
nonce: string;
|
|
793
805
|
tabIndex: number;
|
|
794
806
|
blur(): void;
|
|
795
807
|
ariaControls: string | null;
|
|
@@ -848,13 +860,13 @@ declare const MenuItem_base: {
|
|
|
848
860
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
849
861
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
850
862
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
851
|
-
|
|
863
|
+
_handleReplacedProp(replacedProp: {
|
|
852
864
|
newPropertyName: string;
|
|
853
865
|
deprecatedPropertyName: string;
|
|
854
866
|
fromDeprecated: (v: any) => any;
|
|
855
867
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
856
868
|
}): void;
|
|
857
|
-
|
|
869
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
858
870
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
859
871
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
860
872
|
};
|
|
@@ -875,7 +887,7 @@ declare const MenuItem_base: {
|
|
|
875
887
|
autocorrect: boolean;
|
|
876
888
|
dir: string;
|
|
877
889
|
draggable: boolean;
|
|
878
|
-
hidden: boolean;
|
|
890
|
+
hidden: boolean | "until-found";
|
|
879
891
|
inert: boolean;
|
|
880
892
|
innerText: string;
|
|
881
893
|
lang: string;
|
|
@@ -893,8 +905,8 @@ declare const MenuItem_base: {
|
|
|
893
905
|
attachInternals(): ElementInternals;
|
|
894
906
|
click(): void;
|
|
895
907
|
hidePopover(): void;
|
|
896
|
-
showPopover(): void;
|
|
897
|
-
togglePopover(options?: boolean): boolean;
|
|
908
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
909
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
898
910
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
899
911
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
900
912
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -908,6 +920,7 @@ declare const MenuItem_base: {
|
|
|
908
920
|
readonly clientTop: number;
|
|
909
921
|
readonly clientWidth: number;
|
|
910
922
|
readonly currentCSSZoom: number;
|
|
923
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
911
924
|
id: string;
|
|
912
925
|
innerHTML: string;
|
|
913
926
|
readonly localName: string;
|
|
@@ -958,6 +971,9 @@ declare const MenuItem_base: {
|
|
|
958
971
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
959
972
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
960
973
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
974
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
975
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
976
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
961
977
|
matches(selectors: string): boolean;
|
|
962
978
|
releasePointerCapture(pointerId: number): void;
|
|
963
979
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1093,6 +1109,7 @@ declare const MenuItem_base: {
|
|
|
1093
1109
|
readonly firstElementChild: Element | null;
|
|
1094
1110
|
readonly lastElementChild: Element | null;
|
|
1095
1111
|
append(...nodes: (Node | string)[]): void;
|
|
1112
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1096
1113
|
prepend(...nodes: (Node | string)[]): void;
|
|
1097
1114
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1098
1115
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1129,6 +1146,7 @@ declare const MenuItem_base: {
|
|
|
1129
1146
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1130
1147
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1131
1148
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1149
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1132
1150
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1133
1151
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1134
1152
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1150,7 +1168,7 @@ declare const MenuItem_base: {
|
|
|
1150
1168
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1151
1169
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1152
1170
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1153
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1171
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1154
1172
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1155
1173
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1156
1174
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1215,7 +1233,7 @@ declare const MenuItem_base: {
|
|
|
1215
1233
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1216
1234
|
autofocus: boolean;
|
|
1217
1235
|
readonly dataset: DOMStringMap;
|
|
1218
|
-
nonce
|
|
1236
|
+
nonce: string;
|
|
1219
1237
|
tabIndex: number;
|
|
1220
1238
|
blur(): void;
|
|
1221
1239
|
ariaControls: string | null;
|
|
@@ -1274,13 +1292,13 @@ declare const MenuItem_base: {
|
|
|
1274
1292
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1275
1293
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1276
1294
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1277
|
-
|
|
1295
|
+
_handleReplacedProp(replacedProp: {
|
|
1278
1296
|
newPropertyName: string;
|
|
1279
1297
|
deprecatedPropertyName: string;
|
|
1280
1298
|
fromDeprecated: (v: any) => any;
|
|
1281
1299
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1282
1300
|
}): void;
|
|
1283
|
-
|
|
1301
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
1284
1302
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
1285
1303
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
1286
1304
|
};
|
package/lib/nav/nav.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const Nav_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 Nav_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 Nav_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 Nav_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 Nav_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 Nav_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 Nav_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 Nav_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 Nav_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
|
};
|
|
@@ -27,7 +27,7 @@ declare const NavDisclosure_base: {
|
|
|
27
27
|
autocorrect: boolean;
|
|
28
28
|
dir: string;
|
|
29
29
|
draggable: boolean;
|
|
30
|
-
hidden: boolean;
|
|
30
|
+
hidden: boolean | "until-found";
|
|
31
31
|
inert: boolean;
|
|
32
32
|
innerText: string;
|
|
33
33
|
lang: string;
|
|
@@ -45,8 +45,8 @@ declare const NavDisclosure_base: {
|
|
|
45
45
|
attachInternals(): ElementInternals;
|
|
46
46
|
click(): void;
|
|
47
47
|
hidePopover(): void;
|
|
48
|
-
showPopover(): void;
|
|
49
|
-
togglePopover(options?: boolean): boolean;
|
|
48
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
49
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
50
50
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
51
51
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
52
52
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -60,6 +60,7 @@ declare const NavDisclosure_base: {
|
|
|
60
60
|
readonly clientTop: number;
|
|
61
61
|
readonly clientWidth: number;
|
|
62
62
|
readonly currentCSSZoom: number;
|
|
63
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
63
64
|
id: string;
|
|
64
65
|
innerHTML: string;
|
|
65
66
|
readonly localName: string;
|
|
@@ -110,6 +111,9 @@ declare const NavDisclosure_base: {
|
|
|
110
111
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
111
112
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
112
113
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
114
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
115
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
116
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
113
117
|
matches(selectors: string): boolean;
|
|
114
118
|
releasePointerCapture(pointerId: number): void;
|
|
115
119
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -245,6 +249,7 @@ declare const NavDisclosure_base: {
|
|
|
245
249
|
readonly firstElementChild: Element | null;
|
|
246
250
|
readonly lastElementChild: Element | null;
|
|
247
251
|
append(...nodes: (Node | string)[]): void;
|
|
252
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
248
253
|
prepend(...nodes: (Node | string)[]): void;
|
|
249
254
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
250
255
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -281,6 +286,7 @@ declare const NavDisclosure_base: {
|
|
|
281
286
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
287
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
288
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
290
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
291
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
286
292
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -302,7 +308,7 @@ declare const NavDisclosure_base: {
|
|
|
302
308
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
303
309
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
304
310
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
311
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
306
312
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
313
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
308
314
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -367,7 +373,7 @@ declare const NavDisclosure_base: {
|
|
|
367
373
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
368
374
|
autofocus: boolean;
|
|
369
375
|
readonly dataset: DOMStringMap;
|
|
370
|
-
nonce
|
|
376
|
+
nonce: string;
|
|
371
377
|
tabIndex: number;
|
|
372
378
|
blur(): void;
|
|
373
379
|
ariaControls: string | null;
|
|
@@ -426,13 +432,13 @@ declare const NavDisclosure_base: {
|
|
|
426
432
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
427
433
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
428
434
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
429
|
-
|
|
435
|
+
_handleReplacedProp(replacedProp: {
|
|
430
436
|
newPropertyName: string;
|
|
431
437
|
deprecatedPropertyName: string;
|
|
432
438
|
fromDeprecated: (v: any) => any;
|
|
433
439
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
434
440
|
}): void;
|
|
435
|
-
|
|
441
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
436
442
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
437
443
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
438
444
|
};
|
|
@@ -451,7 +457,7 @@ declare const NavDisclosure_base: {
|
|
|
451
457
|
autocorrect: boolean;
|
|
452
458
|
dir: string;
|
|
453
459
|
draggable: boolean;
|
|
454
|
-
hidden: boolean;
|
|
460
|
+
hidden: boolean | "until-found";
|
|
455
461
|
inert: boolean;
|
|
456
462
|
innerText: string;
|
|
457
463
|
lang: string;
|
|
@@ -469,8 +475,8 @@ declare const NavDisclosure_base: {
|
|
|
469
475
|
attachInternals(): ElementInternals;
|
|
470
476
|
click(): void;
|
|
471
477
|
hidePopover(): void;
|
|
472
|
-
showPopover(): void;
|
|
473
|
-
togglePopover(options?: boolean): boolean;
|
|
478
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
479
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
474
480
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
475
481
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
476
482
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -484,6 +490,7 @@ declare const NavDisclosure_base: {
|
|
|
484
490
|
readonly clientTop: number;
|
|
485
491
|
readonly clientWidth: number;
|
|
486
492
|
readonly currentCSSZoom: number;
|
|
493
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
487
494
|
id: string;
|
|
488
495
|
innerHTML: string;
|
|
489
496
|
readonly localName: string;
|
|
@@ -534,6 +541,9 @@ declare const NavDisclosure_base: {
|
|
|
534
541
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
535
542
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
536
543
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
544
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
545
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
546
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
537
547
|
matches(selectors: string): boolean;
|
|
538
548
|
releasePointerCapture(pointerId: number): void;
|
|
539
549
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -669,6 +679,7 @@ declare const NavDisclosure_base: {
|
|
|
669
679
|
readonly firstElementChild: Element | null;
|
|
670
680
|
readonly lastElementChild: Element | null;
|
|
671
681
|
append(...nodes: (Node | string)[]): void;
|
|
682
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
672
683
|
prepend(...nodes: (Node | string)[]): void;
|
|
673
684
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
674
685
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -705,6 +716,7 @@ declare const NavDisclosure_base: {
|
|
|
705
716
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
706
717
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
707
718
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
719
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
708
720
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
709
721
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
710
722
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -726,7 +738,7 @@ declare const NavDisclosure_base: {
|
|
|
726
738
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
727
739
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
728
740
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
729
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
741
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
730
742
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
731
743
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
732
744
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -791,7 +803,7 @@ declare const NavDisclosure_base: {
|
|
|
791
803
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
792
804
|
autofocus: boolean;
|
|
793
805
|
readonly dataset: DOMStringMap;
|
|
794
|
-
nonce
|
|
806
|
+
nonce: string;
|
|
795
807
|
tabIndex: number;
|
|
796
808
|
blur(): void;
|
|
797
809
|
ariaControls: string | null;
|
|
@@ -850,13 +862,13 @@ declare const NavDisclosure_base: {
|
|
|
850
862
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
851
863
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
852
864
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
853
|
-
|
|
865
|
+
_handleReplacedProp(replacedProp: {
|
|
854
866
|
newPropertyName: string;
|
|
855
867
|
deprecatedPropertyName: string;
|
|
856
868
|
fromDeprecated: (v: any) => any;
|
|
857
869
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
858
870
|
}): void;
|
|
859
|
-
|
|
871
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
860
872
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
861
873
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
862
874
|
};
|