@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
|
@@ -26,7 +26,7 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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 @@ declare const AccordionItem_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('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
435
441
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
436
442
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
437
443
|
};
|
|
@@ -23,7 +23,7 @@ declare const ActionGroup_base: {
|
|
|
23
23
|
autocorrect: boolean;
|
|
24
24
|
dir: string;
|
|
25
25
|
draggable: boolean;
|
|
26
|
-
hidden: boolean;
|
|
26
|
+
hidden: boolean | "until-found";
|
|
27
27
|
inert: boolean;
|
|
28
28
|
innerText: string;
|
|
29
29
|
lang: string;
|
|
@@ -41,8 +41,8 @@ declare const ActionGroup_base: {
|
|
|
41
41
|
attachInternals(): ElementInternals;
|
|
42
42
|
click(): void;
|
|
43
43
|
hidePopover(): void;
|
|
44
|
-
showPopover(): void;
|
|
45
|
-
togglePopover(options?: boolean): boolean;
|
|
44
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
45
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
46
46
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
47
47
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
48
48
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -56,6 +56,7 @@ declare const ActionGroup_base: {
|
|
|
56
56
|
readonly clientTop: number;
|
|
57
57
|
readonly clientWidth: number;
|
|
58
58
|
readonly currentCSSZoom: number;
|
|
59
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
59
60
|
id: string;
|
|
60
61
|
innerHTML: string;
|
|
61
62
|
readonly localName: string;
|
|
@@ -106,6 +107,9 @@ declare const ActionGroup_base: {
|
|
|
106
107
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
107
108
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
108
109
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
110
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
111
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
112
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
109
113
|
matches(selectors: string): boolean;
|
|
110
114
|
releasePointerCapture(pointerId: number): void;
|
|
111
115
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -241,6 +245,7 @@ declare const ActionGroup_base: {
|
|
|
241
245
|
readonly firstElementChild: Element | null;
|
|
242
246
|
readonly lastElementChild: Element | null;
|
|
243
247
|
append(...nodes: (Node | string)[]): void;
|
|
248
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
244
249
|
prepend(...nodes: (Node | string)[]): void;
|
|
245
250
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
246
251
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -277,6 +282,7 @@ declare const ActionGroup_base: {
|
|
|
277
282
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
283
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
279
284
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
286
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
281
287
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
282
288
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -298,7 +304,7 @@ declare const ActionGroup_base: {
|
|
|
298
304
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
299
305
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
300
306
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
301
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
307
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
302
308
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
309
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
304
310
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -363,7 +369,7 @@ declare const ActionGroup_base: {
|
|
|
363
369
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
364
370
|
autofocus: boolean;
|
|
365
371
|
readonly dataset: DOMStringMap;
|
|
366
|
-
nonce
|
|
372
|
+
nonce: string;
|
|
367
373
|
tabIndex: number;
|
|
368
374
|
blur(): void;
|
|
369
375
|
ariaControls: string | null;
|
|
@@ -422,13 +428,13 @@ declare const ActionGroup_base: {
|
|
|
422
428
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
423
429
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
424
430
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
425
|
-
|
|
431
|
+
_handleReplacedProp(replacedProp: {
|
|
426
432
|
newPropertyName: string;
|
|
427
433
|
deprecatedPropertyName: string;
|
|
428
434
|
fromDeprecated: (v: any) => any;
|
|
429
435
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
430
436
|
}): void;
|
|
431
|
-
|
|
437
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
432
438
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
433
439
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
434
440
|
};
|
package/lib/alert/alert.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const Alert_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 Alert_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 Alert_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 Alert_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 Alert_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 Alert_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 Alert_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 Alert_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 Alert_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
|
};
|
|
@@ -450,7 +456,7 @@ declare const Alert_base: {
|
|
|
450
456
|
autocorrect: boolean;
|
|
451
457
|
dir: string;
|
|
452
458
|
draggable: boolean;
|
|
453
|
-
hidden: boolean;
|
|
459
|
+
hidden: boolean | "until-found";
|
|
454
460
|
inert: boolean;
|
|
455
461
|
innerText: string;
|
|
456
462
|
lang: string;
|
|
@@ -468,8 +474,8 @@ declare const Alert_base: {
|
|
|
468
474
|
attachInternals(): ElementInternals;
|
|
469
475
|
click(): void;
|
|
470
476
|
hidePopover(): void;
|
|
471
|
-
showPopover(): void;
|
|
472
|
-
togglePopover(options?: boolean): boolean;
|
|
477
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
478
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
473
479
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
474
480
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
475
481
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -483,6 +489,7 @@ declare const Alert_base: {
|
|
|
483
489
|
readonly clientTop: number;
|
|
484
490
|
readonly clientWidth: number;
|
|
485
491
|
readonly currentCSSZoom: number;
|
|
492
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
486
493
|
id: string;
|
|
487
494
|
innerHTML: string;
|
|
488
495
|
readonly localName: string;
|
|
@@ -533,6 +540,9 @@ declare const Alert_base: {
|
|
|
533
540
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
534
541
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
535
542
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
543
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
544
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
545
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
536
546
|
matches(selectors: string): boolean;
|
|
537
547
|
releasePointerCapture(pointerId: number): void;
|
|
538
548
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -668,6 +678,7 @@ declare const Alert_base: {
|
|
|
668
678
|
readonly firstElementChild: Element | null;
|
|
669
679
|
readonly lastElementChild: Element | null;
|
|
670
680
|
append(...nodes: (Node | string)[]): void;
|
|
681
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
671
682
|
prepend(...nodes: (Node | string)[]): void;
|
|
672
683
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
673
684
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -704,6 +715,7 @@ declare const Alert_base: {
|
|
|
704
715
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
705
716
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
706
717
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
718
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
707
719
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
708
720
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
709
721
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -725,7 +737,7 @@ declare const Alert_base: {
|
|
|
725
737
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
726
738
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
727
739
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
728
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
740
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
729
741
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
730
742
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
731
743
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -790,7 +802,7 @@ declare const Alert_base: {
|
|
|
790
802
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
791
803
|
autofocus: boolean;
|
|
792
804
|
readonly dataset: DOMStringMap;
|
|
793
|
-
nonce
|
|
805
|
+
nonce: string;
|
|
794
806
|
tabIndex: number;
|
|
795
807
|
blur(): void;
|
|
796
808
|
ariaControls: string | null;
|
|
@@ -849,13 +861,13 @@ declare const Alert_base: {
|
|
|
849
861
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
850
862
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
851
863
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
852
|
-
|
|
864
|
+
_handleReplacedProp(replacedProp: {
|
|
853
865
|
newPropertyName: string;
|
|
854
866
|
deprecatedPropertyName: string;
|
|
855
867
|
fromDeprecated: (v: any) => any;
|
|
856
868
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
857
869
|
}): void;
|
|
858
|
-
|
|
870
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
859
871
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
860
872
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
861
873
|
};
|
|
@@ -25,7 +25,7 @@ declare const AudioPlayer_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 AudioPlayer_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 AudioPlayer_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 AudioPlayer_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 AudioPlayer_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 AudioPlayer_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 AudioPlayer_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 AudioPlayer_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 AudioPlayer_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').ReactiveController>;
|
|
434
440
|
_addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
435
441
|
_removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
|
|
436
442
|
};
|
package/lib/avatar/avatar.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare const Avatar_base: {
|
|
|
39
39
|
autocorrect: boolean;
|
|
40
40
|
dir: string;
|
|
41
41
|
draggable: boolean;
|
|
42
|
-
hidden: boolean;
|
|
42
|
+
hidden: boolean | "until-found";
|
|
43
43
|
inert: boolean;
|
|
44
44
|
innerText: string;
|
|
45
45
|
lang: string;
|
|
@@ -57,8 +57,8 @@ declare const Avatar_base: {
|
|
|
57
57
|
attachInternals(): ElementInternals;
|
|
58
58
|
click(): void;
|
|
59
59
|
hidePopover(): void;
|
|
60
|
-
showPopover(): void;
|
|
61
|
-
togglePopover(options?: boolean): boolean;
|
|
60
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
61
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
62
62
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
63
63
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
64
64
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -72,6 +72,7 @@ declare const Avatar_base: {
|
|
|
72
72
|
readonly clientTop: number;
|
|
73
73
|
readonly clientWidth: number;
|
|
74
74
|
readonly currentCSSZoom: number;
|
|
75
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
75
76
|
id: string;
|
|
76
77
|
innerHTML: string;
|
|
77
78
|
readonly localName: string;
|
|
@@ -122,6 +123,9 @@ declare const Avatar_base: {
|
|
|
122
123
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
123
124
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
124
125
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
126
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
127
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
128
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
125
129
|
matches(selectors: string): boolean;
|
|
126
130
|
releasePointerCapture(pointerId: number): void;
|
|
127
131
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -257,6 +261,7 @@ declare const Avatar_base: {
|
|
|
257
261
|
readonly firstElementChild: Element | null;
|
|
258
262
|
readonly lastElementChild: Element | null;
|
|
259
263
|
append(...nodes: (Node | string)[]): void;
|
|
264
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
260
265
|
prepend(...nodes: (Node | string)[]): void;
|
|
261
266
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
262
267
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -293,6 +298,7 @@ declare const Avatar_base: {
|
|
|
293
298
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
299
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
295
300
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
301
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
302
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
303
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
298
304
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -314,7 +320,7 @@ declare const Avatar_base: {
|
|
|
314
320
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
315
321
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
316
322
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
317
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
323
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
318
324
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
325
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
320
326
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -379,7 +385,7 @@ declare const Avatar_base: {
|
|
|
379
385
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
380
386
|
autofocus: boolean;
|
|
381
387
|
readonly dataset: DOMStringMap;
|
|
382
|
-
nonce
|
|
388
|
+
nonce: string;
|
|
383
389
|
tabIndex: number;
|
|
384
390
|
blur(): void;
|
|
385
391
|
ariaControls: string | null;
|
|
@@ -438,13 +444,13 @@ declare const Avatar_base: {
|
|
|
438
444
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
439
445
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
440
446
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
441
|
-
|
|
447
|
+
_handleReplacedProp(replacedProp: {
|
|
442
448
|
newPropertyName: string;
|
|
443
449
|
deprecatedPropertyName: string;
|
|
444
450
|
fromDeprecated: (v: any) => any;
|
|
445
451
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
446
452
|
}): void;
|
|
447
|
-
|
|
453
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
448
454
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
449
455
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
450
456
|
};
|
package/lib/badge/badge.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const Badge_base: {
|
|
|
32
32
|
autocorrect: boolean;
|
|
33
33
|
dir: string;
|
|
34
34
|
draggable: boolean;
|
|
35
|
-
hidden: boolean;
|
|
35
|
+
hidden: boolean | "until-found";
|
|
36
36
|
inert: boolean;
|
|
37
37
|
innerText: string;
|
|
38
38
|
lang: string;
|
|
@@ -50,8 +50,8 @@ declare const Badge_base: {
|
|
|
50
50
|
attachInternals(): ElementInternals;
|
|
51
51
|
click(): void;
|
|
52
52
|
hidePopover(): void;
|
|
53
|
-
showPopover(): void;
|
|
54
|
-
togglePopover(options?: boolean): boolean;
|
|
53
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
54
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
55
55
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
56
56
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
57
57
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -65,6 +65,7 @@ declare const Badge_base: {
|
|
|
65
65
|
readonly clientTop: number;
|
|
66
66
|
readonly clientWidth: number;
|
|
67
67
|
readonly currentCSSZoom: number;
|
|
68
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
68
69
|
id: string;
|
|
69
70
|
innerHTML: string;
|
|
70
71
|
readonly localName: string;
|
|
@@ -115,6 +116,9 @@ declare const Badge_base: {
|
|
|
115
116
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
116
117
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
117
118
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
119
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
120
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
121
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
118
122
|
matches(selectors: string): boolean;
|
|
119
123
|
releasePointerCapture(pointerId: number): void;
|
|
120
124
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -250,6 +254,7 @@ declare const Badge_base: {
|
|
|
250
254
|
readonly firstElementChild: Element | null;
|
|
251
255
|
readonly lastElementChild: Element | null;
|
|
252
256
|
append(...nodes: (Node | string)[]): void;
|
|
257
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
253
258
|
prepend(...nodes: (Node | string)[]): void;
|
|
254
259
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
255
260
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -286,6 +291,7 @@ declare const Badge_base: {
|
|
|
286
291
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
287
292
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
288
293
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
295
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
296
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
291
297
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -307,7 +313,7 @@ declare const Badge_base: {
|
|
|
307
313
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
308
314
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
309
315
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
310
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
316
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
311
317
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
312
318
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
313
319
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -372,7 +378,7 @@ declare const Badge_base: {
|
|
|
372
378
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
373
379
|
autofocus: boolean;
|
|
374
380
|
readonly dataset: DOMStringMap;
|
|
375
|
-
nonce
|
|
381
|
+
nonce: string;
|
|
376
382
|
tabIndex: number;
|
|
377
383
|
blur(): void;
|
|
378
384
|
ariaControls: string | null;
|
|
@@ -431,13 +437,13 @@ declare const Badge_base: {
|
|
|
431
437
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
432
438
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
433
439
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
434
|
-
|
|
440
|
+
_handleReplacedProp(replacedProp: {
|
|
435
441
|
newPropertyName: string;
|
|
436
442
|
deprecatedPropertyName: string;
|
|
437
443
|
fromDeprecated: (v: any) => any;
|
|
438
444
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
439
445
|
}): void;
|
|
440
|
-
|
|
446
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
441
447
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
442
448
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
443
449
|
};
|