@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
|
@@ -19,7 +19,7 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
19
19
|
autocorrect: boolean;
|
|
20
20
|
dir: string;
|
|
21
21
|
draggable: boolean;
|
|
22
|
-
hidden: boolean;
|
|
22
|
+
hidden: boolean | "until-found";
|
|
23
23
|
inert: boolean;
|
|
24
24
|
innerText: string;
|
|
25
25
|
lang: string;
|
|
@@ -37,8 +37,8 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
37
37
|
attachInternals(): ElementInternals;
|
|
38
38
|
click(): void;
|
|
39
39
|
hidePopover(): void;
|
|
40
|
-
showPopover(): void;
|
|
41
|
-
togglePopover(options?: boolean): boolean;
|
|
40
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
41
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
42
42
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
43
43
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
44
44
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -52,6 +52,7 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
52
52
|
readonly clientTop: number;
|
|
53
53
|
readonly clientWidth: number;
|
|
54
54
|
readonly currentCSSZoom: number;
|
|
55
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
55
56
|
id: string;
|
|
56
57
|
innerHTML: string;
|
|
57
58
|
readonly localName: string;
|
|
@@ -102,6 +103,9 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
102
103
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
103
104
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
104
105
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
106
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
107
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
108
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
105
109
|
matches(selectors: string): boolean;
|
|
106
110
|
releasePointerCapture(pointerId: number): void;
|
|
107
111
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -237,6 +241,7 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
237
241
|
readonly firstElementChild: Element | null;
|
|
238
242
|
readonly lastElementChild: Element | null;
|
|
239
243
|
append(...nodes: (Node | string)[]): void;
|
|
244
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
240
245
|
prepend(...nodes: (Node | string)[]): void;
|
|
241
246
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
242
247
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -273,6 +278,7 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
273
278
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
274
279
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
275
280
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
282
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
283
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
278
284
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -294,7 +300,7 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
294
300
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
295
301
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
296
302
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
297
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
303
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
298
304
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
305
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
300
306
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -359,7 +365,7 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
359
365
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
360
366
|
autofocus: boolean;
|
|
361
367
|
readonly dataset: DOMStringMap;
|
|
362
|
-
nonce
|
|
368
|
+
nonce: string;
|
|
363
369
|
tabIndex: number;
|
|
364
370
|
blur(): void;
|
|
365
371
|
ariaControls: string | null;
|
|
@@ -418,13 +424,13 @@ export declare const AffixIcon: <T extends Constructor<VividElement>>(Base: T) =
|
|
|
418
424
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
419
425
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
420
426
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
421
|
-
|
|
427
|
+
_handleReplacedProp(replacedProp: {
|
|
422
428
|
newPropertyName: string;
|
|
423
429
|
deprecatedPropertyName: string;
|
|
424
430
|
fromDeprecated: (v: any) => any;
|
|
425
431
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
426
432
|
}): void;
|
|
427
|
-
|
|
433
|
+
_controllers: Set<import('../framework/reactive-controller').ReactiveController>;
|
|
428
434
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
429
435
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
430
436
|
};
|
|
@@ -448,7 +454,7 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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 @@ export declare const AffixIconWithTrailing: <T extends Constructor<VividElement>
|
|
|
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('../framework/reactive-controller').ReactiveController>;
|
|
857
869
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
858
870
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
859
871
|
};
|
|
@@ -8,10 +8,10 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
8
8
|
_slottedAnchor?: HTMLElement[];
|
|
9
9
|
_slottedAnchorChanged(): void;
|
|
10
10
|
_anchorEl?: HTMLElement | undefined;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
_updateAnchorEl: () => void;
|
|
12
|
+
_observer?: MutationObserver;
|
|
13
|
+
_observeMissingAnchor: (anchorId: string) => void;
|
|
14
|
+
_cleanupObserverIfNeeded: () => void;
|
|
15
15
|
connectedCallback(): void;
|
|
16
16
|
disconnectedCallback(): void;
|
|
17
17
|
focus(...args: any[]): void;
|
|
@@ -25,7 +25,7 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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 @@ export declare const Anchored: <T extends Constructor<VividElement>>(Base: T) =>
|
|
|
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('../framework/reactive-controller').ReactiveController>;
|
|
434
440
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
435
441
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
436
442
|
};
|
|
@@ -442,10 +448,10 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
442
448
|
_slottedAnchor?: HTMLElement[];
|
|
443
449
|
_slottedAnchorChanged(): void;
|
|
444
450
|
_anchorEl?: HTMLElement | undefined;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
451
|
+
_updateAnchorEl: () => void;
|
|
452
|
+
_observer?: MutationObserver;
|
|
453
|
+
_observeMissingAnchor: (anchorId: string) => void;
|
|
454
|
+
_cleanupObserverIfNeeded: () => void;
|
|
449
455
|
connectedCallback(): void;
|
|
450
456
|
disconnectedCallback(): void;
|
|
451
457
|
focus(...args: any[]): void;
|
|
@@ -459,7 +465,7 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
459
465
|
autocorrect: boolean;
|
|
460
466
|
dir: string;
|
|
461
467
|
draggable: boolean;
|
|
462
|
-
hidden: boolean;
|
|
468
|
+
hidden: boolean | "until-found";
|
|
463
469
|
inert: boolean;
|
|
464
470
|
innerText: string;
|
|
465
471
|
lang: string;
|
|
@@ -477,8 +483,8 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
477
483
|
attachInternals(): ElementInternals;
|
|
478
484
|
click(): void;
|
|
479
485
|
hidePopover(): void;
|
|
480
|
-
showPopover(): void;
|
|
481
|
-
togglePopover(options?: boolean): boolean;
|
|
486
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
487
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
482
488
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
483
489
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
484
490
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -492,6 +498,7 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
492
498
|
readonly clientTop: number;
|
|
493
499
|
readonly clientWidth: number;
|
|
494
500
|
readonly currentCSSZoom: number;
|
|
501
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
495
502
|
id: string;
|
|
496
503
|
innerHTML: string;
|
|
497
504
|
readonly localName: string;
|
|
@@ -542,6 +549,9 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
542
549
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
543
550
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
544
551
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
552
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
553
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
554
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
545
555
|
matches(selectors: string): boolean;
|
|
546
556
|
releasePointerCapture(pointerId: number): void;
|
|
547
557
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -677,6 +687,7 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
677
687
|
readonly firstElementChild: Element | null;
|
|
678
688
|
readonly lastElementChild: Element | null;
|
|
679
689
|
append(...nodes: (Node | string)[]): void;
|
|
690
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
680
691
|
prepend(...nodes: (Node | string)[]): void;
|
|
681
692
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
682
693
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -713,6 +724,7 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
713
724
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
714
725
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
715
726
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
727
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
716
728
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
717
729
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
718
730
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -734,7 +746,7 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
734
746
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
735
747
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
736
748
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
737
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
749
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
738
750
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
739
751
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
740
752
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -799,7 +811,7 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
799
811
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
800
812
|
autofocus: boolean;
|
|
801
813
|
readonly dataset: DOMStringMap;
|
|
802
|
-
nonce
|
|
814
|
+
nonce: string;
|
|
803
815
|
tabIndex: number;
|
|
804
816
|
blur(): void;
|
|
805
817
|
ariaControls: string | null;
|
|
@@ -858,13 +870,13 @@ export declare const anchorSlotTemplateFactory: () => import('@microsoft/fast-el
|
|
|
858
870
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
859
871
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
860
872
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
861
|
-
|
|
873
|
+
_handleReplacedProp(replacedProp: {
|
|
862
874
|
newPropertyName: string;
|
|
863
875
|
deprecatedPropertyName: string;
|
|
864
876
|
fromDeprecated: (v: any) => any;
|
|
865
877
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
866
878
|
}): void;
|
|
867
|
-
|
|
879
|
+
_controllers: Set<import('../framework/reactive-controller').ReactiveController>;
|
|
868
880
|
_addController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
869
881
|
_removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
|
|
870
882
|
} & VividElement, any>;
|
|
@@ -7,7 +7,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
7
7
|
maxlength: number;
|
|
8
8
|
charCount: boolean;
|
|
9
9
|
charCountRemaining: HTMLSpanElement;
|
|
10
|
-
|
|
10
|
+
_charCountTimeout: ReturnType<typeof setTimeout> | null;
|
|
11
11
|
_charCountDescribedBy: string;
|
|
12
12
|
_renderCharCountRemaining: () => void;
|
|
13
13
|
_updateCharCountRemaining: () => void;
|
|
@@ -26,7 +26,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
26
26
|
autocorrect: boolean;
|
|
27
27
|
dir: string;
|
|
28
28
|
draggable: boolean;
|
|
29
|
-
hidden: boolean;
|
|
29
|
+
hidden: boolean | "until-found";
|
|
30
30
|
inert: boolean;
|
|
31
31
|
innerText: string;
|
|
32
32
|
lang: string;
|
|
@@ -44,8 +44,8 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
44
44
|
attachInternals(): ElementInternals;
|
|
45
45
|
click(): void;
|
|
46
46
|
hidePopover(): void;
|
|
47
|
-
showPopover(): void;
|
|
48
|
-
togglePopover(options?: boolean): boolean;
|
|
47
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
48
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
49
49
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
50
50
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
51
51
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -59,6 +59,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
59
59
|
readonly clientTop: number;
|
|
60
60
|
readonly clientWidth: number;
|
|
61
61
|
readonly currentCSSZoom: number;
|
|
62
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
62
63
|
id: string;
|
|
63
64
|
innerHTML: string;
|
|
64
65
|
readonly localName: string;
|
|
@@ -109,6 +110,9 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
109
110
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
110
111
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
111
112
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
113
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
114
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
115
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
112
116
|
matches(selectors: string): boolean;
|
|
113
117
|
releasePointerCapture(pointerId: number): void;
|
|
114
118
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -244,6 +248,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
244
248
|
readonly firstElementChild: Element | null;
|
|
245
249
|
readonly lastElementChild: Element | null;
|
|
246
250
|
append(...nodes: (Node | string)[]): void;
|
|
251
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
247
252
|
prepend(...nodes: (Node | string)[]): void;
|
|
248
253
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
249
254
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -280,6 +285,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
280
285
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
286
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
282
287
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
288
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
283
289
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
290
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
285
291
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -301,7 +307,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
301
307
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
302
308
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
303
309
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
310
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
305
311
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
312
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
307
313
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -366,7 +372,7 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
366
372
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
367
373
|
autofocus: boolean;
|
|
368
374
|
readonly dataset: DOMStringMap;
|
|
369
|
-
nonce
|
|
375
|
+
nonce: string;
|
|
370
376
|
tabIndex: number;
|
|
371
377
|
blur(): void;
|
|
372
378
|
ariaControls: string | null;
|
|
@@ -425,13 +431,13 @@ export declare const WithCharCount: <T extends Constructor<VividElement>>(Base:
|
|
|
425
431
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
426
432
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
427
433
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
428
|
-
|
|
434
|
+
_handleReplacedProp(replacedProp: {
|
|
429
435
|
newPropertyName: string;
|
|
430
436
|
deprecatedPropertyName: string;
|
|
431
437
|
fromDeprecated: (v: any) => any;
|
|
432
438
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
433
439
|
}): void;
|
|
434
|
-
|
|
440
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
435
441
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
436
442
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
437
443
|
};
|
|
@@ -7,7 +7,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
7
7
|
forceErrorDisplay: boolean;
|
|
8
8
|
hasBeenTouched: boolean;
|
|
9
9
|
connectedCallback(): void;
|
|
10
|
-
|
|
10
|
+
_handleInvalidEvent: () => void;
|
|
11
11
|
disconnectedCallback(): void;
|
|
12
12
|
formResetCallback(): void;
|
|
13
13
|
validate(): void;
|
|
@@ -54,7 +54,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
54
54
|
autocorrect: boolean;
|
|
55
55
|
dir: string;
|
|
56
56
|
draggable: boolean;
|
|
57
|
-
hidden: boolean;
|
|
57
|
+
hidden: boolean | "until-found";
|
|
58
58
|
inert: boolean;
|
|
59
59
|
innerText: string;
|
|
60
60
|
lang: string;
|
|
@@ -72,8 +72,8 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
72
72
|
attachInternals(): ElementInternals;
|
|
73
73
|
click(): void;
|
|
74
74
|
hidePopover(): void;
|
|
75
|
-
showPopover(): void;
|
|
76
|
-
togglePopover(options?: boolean): boolean;
|
|
75
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
76
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
77
77
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
78
78
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
79
79
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -87,6 +87,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
87
87
|
readonly clientTop: number;
|
|
88
88
|
readonly clientWidth: number;
|
|
89
89
|
readonly currentCSSZoom: number;
|
|
90
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
90
91
|
id: string;
|
|
91
92
|
innerHTML: string;
|
|
92
93
|
readonly localName: string;
|
|
@@ -137,6 +138,9 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
137
138
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
138
139
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
139
140
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
141
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
142
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
143
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
140
144
|
matches(selectors: string): boolean;
|
|
141
145
|
releasePointerCapture(pointerId: number): void;
|
|
142
146
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -272,6 +276,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
272
276
|
readonly firstElementChild: Element | null;
|
|
273
277
|
readonly lastElementChild: Element | null;
|
|
274
278
|
append(...nodes: (Node | string)[]): void;
|
|
279
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
275
280
|
prepend(...nodes: (Node | string)[]): void;
|
|
276
281
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
277
282
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -308,6 +313,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
308
313
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
309
314
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
310
315
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
317
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
318
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
313
319
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -329,7 +335,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
329
335
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
330
336
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
331
337
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
332
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
338
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
333
339
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
340
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
335
341
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -394,7 +400,7 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
394
400
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
395
401
|
autofocus: boolean;
|
|
396
402
|
readonly dataset: DOMStringMap;
|
|
397
|
-
nonce
|
|
403
|
+
nonce: string;
|
|
398
404
|
tabIndex: number;
|
|
399
405
|
blur(): void;
|
|
400
406
|
ariaControls: string | null;
|
|
@@ -453,13 +459,13 @@ export declare const FormElement: <T extends Constructor<FormAssociatedElement>>
|
|
|
453
459
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
454
460
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
455
461
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
456
|
-
|
|
462
|
+
_handleReplacedProp(replacedProp: {
|
|
457
463
|
newPropertyName: string;
|
|
458
464
|
deprecatedPropertyName: string;
|
|
459
465
|
fromDeprecated: (v: any) => any;
|
|
460
466
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
461
467
|
}): void;
|
|
462
|
-
|
|
468
|
+
_controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
|
|
463
469
|
_addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
464
470
|
_removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
|
|
465
471
|
};
|