@vonage/vivid 5.31.0 → 5.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled/anchored.cjs +1 -1
- package/bundled/anchored.js +25 -26
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +5 -5
- package/bundled/char-count.cjs +2 -2
- package/bundled/char-count.js +2 -3
- package/bundled/definition4.cjs +17 -10
- package/bundled/definition4.js +17 -10
- package/bundled/form-element.cjs +1 -1
- package/bundled/form-element.js +3 -4
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +11 -10
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +12 -17
- package/bundled/time-selection-picker.template.cjs +1 -1
- package/bundled/time-selection-picker.template.js +7 -9
- package/bundled/vivid-element.cjs +1 -1
- package/bundled/vivid-element.js +10 -8
- package/bundled/with-error-text.cjs +1 -1
- package/bundled/with-error-text.js +7 -9
- package/custom-elements.json +4955 -6650
- package/lib/accordion-item/accordion-item.d.ts +13 -7
- package/lib/action-group/action-group.d.ts +13 -7
- package/lib/alert/alert.d.ts +26 -14
- package/lib/audio-player/audio-player.d.ts +13 -7
- package/lib/avatar/avatar.d.ts +13 -7
- package/lib/badge/badge.d.ts +13 -7
- package/lib/banner/banner.d.ts +39 -21
- package/lib/breadcrumb/breadcrumb.d.ts +13 -7
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
- package/lib/button/button.d.ts +39 -21
- package/lib/calendar-event/calendar-event.d.ts +13 -7
- package/lib/card/card.d.ts +13 -7
- package/lib/checkbox/checkbox.d.ts +84 -48
- package/lib/color-picker/color-picker.d.ts +98 -56
- package/lib/combobox/combobox.d.ts +98 -56
- package/lib/country-group/country-group.d.ts +26 -14
- package/lib/data-grid/data-grid-cell.d.ts +26 -14
- package/lib/data-grid/data-grid-row.d.ts +13 -7
- package/lib/date-picker/date-picker.d.ts +162 -114
- package/lib/date-range-picker/date-range-picker.d.ts +82 -58
- package/lib/date-time-picker/date-time-picker.d.ts +164 -116
- package/lib/dial-pad/dial-pad.d.ts +13 -7
- package/lib/dialog/dialog.d.ts +26 -14
- package/lib/divider/divider.d.ts +13 -7
- package/lib/fab/fab.d.ts +13 -7
- package/lib/file-picker/file-picker.d.ts +98 -56
- package/lib/header/header.d.ts +13 -7
- package/lib/listbox/listbox.d.ts +41 -23
- package/lib/menu/menu.d.ts +30 -18
- package/lib/menu-item/menu-item.d.ts +39 -21
- package/lib/nav/nav.d.ts +13 -7
- package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
- package/lib/nav-item/nav-item.d.ts +28 -16
- package/lib/note/note.d.ts +13 -7
- package/lib/number-field/number-field.d.ts +124 -70
- package/lib/optgroup/optgroup.d.ts +13 -7
- package/lib/option/option.d.ts +26 -14
- package/lib/pagination/pagination.d.ts +13 -7
- package/lib/popover/popover.d.ts +26 -14
- package/lib/progress/progress.d.ts +13 -7
- package/lib/progress-ring/progress-ring.d.ts +13 -7
- package/lib/radio/radio.d.ts +45 -27
- package/lib/radio-group/radio-group.d.ts +13 -7
- package/lib/range-slider/range-slider.d.ts +40 -22
- package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
- package/lib/searchable-select/option-tag.d.ts +13 -7
- package/lib/searchable-select/searchable-select.d.ts +124 -70
- package/lib/select/select.d.ts +124 -70
- package/lib/selectable-box/selectable-box.d.ts +13 -7
- package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
- package/lib/slider/slider.d.ts +39 -21
- package/lib/split-button/split-button.d.ts +39 -21
- package/lib/status/status.d.ts +13 -7
- package/lib/switch/switch.d.ts +26 -14
- package/lib/tab/tab.d.ts +39 -21
- package/lib/tab-panel/tab-panel.d.ts +13 -7
- package/lib/table/table-cell.d.ts +13 -7
- package/lib/table/table-header-cell.d.ts +13 -7
- package/lib/table/table-row.d.ts +13 -7
- package/lib/table/table-sorting-button.d.ts +26 -14
- package/lib/tag/tag.d.ts +39 -21
- package/lib/tag-group/tag-group.d.ts +13 -7
- package/lib/text-area/text-area.d.ts +112 -64
- package/lib/text-field/text-field.d.ts +125 -71
- package/lib/time-picker/time-picker.d.ts +82 -58
- package/lib/toggletip/toggletip.d.ts +30 -18
- package/lib/tooltip/tooltip.d.ts +30 -18
- package/lib/tree-item/tree-item.d.ts +26 -14
- package/lib/tree-view/tree-view.d.ts +13 -7
- package/lib/video-player/video-player.d.ts +13 -7
- package/listbox/index.cjs +1 -1
- package/listbox/index.js +3 -4
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +5 -1
- package/package.json +7 -7
- package/shared/aria/aria-mixin.d.ts +11 -5
- package/shared/aria/delegates-aria.d.ts +13 -7
- package/shared/aria/host-semantics.d.ts +13 -7
- package/shared/color-picker/base-color-picker.d.ts +14 -8
- package/shared/deprecation/replaced-props.d.ts +12 -6
- package/shared/feedback/feedback-message.d.ts +13 -7
- package/shared/feedback/mixins.d.ts +26 -14
- package/shared/foundation/button/button.d.ts +26 -14
- package/shared/foundation/form-associated/form-associated.d.ts +26 -14
- package/shared/foundation/vivid-element/vivid-element.d.ts +35 -17
- package/shared/framework/reactive-controller.d.ts +12 -6
- package/shared/listbox/with-options-filter.d.ts +14 -8
- package/shared/listbox/with-options.d.ts +28 -16
- package/shared/patterns/affix.d.ts +26 -14
- package/shared/patterns/anchored.d.ts +34 -22
- package/shared/patterns/char-count/char-count.d.ts +14 -8
- package/shared/patterns/form-elements/form-element.d.ts +14 -8
- package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
- package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
- package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
- package/shared/patterns/kbd-shortcut.d.ts +13 -7
- package/shared/patterns/linkable.d.ts +13 -7
- package/shared/patterns/localized.d.ts +30 -18
- package/shared/patterns/trapped-focus.d.ts +13 -7
- package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
- package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
- package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
- package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
- package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
- package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
- package/shared/picker-field/picker-field.d.ts +98 -57
- package/unbundled/anchored.cjs +39 -37
- package/unbundled/anchored.js +39 -37
- package/unbundled/calendar-picker.template.cjs +7 -5
- package/unbundled/calendar-picker.template.js +7 -5
- package/unbundled/char-count.cjs +3 -9
- package/unbundled/char-count.js +3 -9
- package/unbundled/definition5.cjs +17 -10
- package/unbundled/definition5.js +17 -10
- package/unbundled/definition50.cjs +3 -4
- package/unbundled/definition50.js +3 -4
- package/unbundled/definition52.cjs +6 -2
- package/unbundled/definition52.js +6 -2
- package/unbundled/form-element.cjs +3 -4
- package/unbundled/form-element.js +3 -4
- package/unbundled/localized.cjs +15 -11
- package/unbundled/localized.js +15 -11
- package/unbundled/picker-field.template.cjs +22 -24
- package/unbundled/picker-field.template.js +22 -24
- package/unbundled/time-selection-picker.template.cjs +10 -10
- package/unbundled/time-selection-picker.template.js +10 -10
- package/unbundled/vivid-element.cjs +12 -8
- package/unbundled/vivid-element.js +12 -8
- package/unbundled/with-error-text.cjs +11 -10
- package/unbundled/with-error-text.js +11 -10
- package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +0 -1
package/lib/button/button.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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 Button_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
|
};
|
|
@@ -457,7 +463,7 @@ declare const Button_base: {
|
|
|
457
463
|
autocorrect: boolean;
|
|
458
464
|
dir: string;
|
|
459
465
|
draggable: boolean;
|
|
460
|
-
hidden: boolean;
|
|
466
|
+
hidden: boolean | "until-found";
|
|
461
467
|
inert: boolean;
|
|
462
468
|
innerText: string;
|
|
463
469
|
lang: string;
|
|
@@ -475,8 +481,8 @@ declare const Button_base: {
|
|
|
475
481
|
attachInternals(): ElementInternals;
|
|
476
482
|
click(): void;
|
|
477
483
|
hidePopover(): void;
|
|
478
|
-
showPopover(): void;
|
|
479
|
-
togglePopover(options?: boolean): boolean;
|
|
484
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
485
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
480
486
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
481
487
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
482
488
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -490,6 +496,7 @@ declare const Button_base: {
|
|
|
490
496
|
readonly clientTop: number;
|
|
491
497
|
readonly clientWidth: number;
|
|
492
498
|
readonly currentCSSZoom: number;
|
|
499
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
493
500
|
id: string;
|
|
494
501
|
innerHTML: string;
|
|
495
502
|
readonly localName: string;
|
|
@@ -540,6 +547,9 @@ declare const Button_base: {
|
|
|
540
547
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
541
548
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
542
549
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
550
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
551
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
552
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
543
553
|
matches(selectors: string): boolean;
|
|
544
554
|
releasePointerCapture(pointerId: number): void;
|
|
545
555
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -675,6 +685,7 @@ declare const Button_base: {
|
|
|
675
685
|
readonly firstElementChild: Element | null;
|
|
676
686
|
readonly lastElementChild: Element | null;
|
|
677
687
|
append(...nodes: (Node | string)[]): void;
|
|
688
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
678
689
|
prepend(...nodes: (Node | string)[]): void;
|
|
679
690
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
680
691
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -711,6 +722,7 @@ declare const Button_base: {
|
|
|
711
722
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
712
723
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
713
724
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
725
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
714
726
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
715
727
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
716
728
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -732,7 +744,7 @@ declare const Button_base: {
|
|
|
732
744
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
733
745
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
734
746
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
735
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
747
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
736
748
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
737
749
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
738
750
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -797,7 +809,7 @@ declare const Button_base: {
|
|
|
797
809
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
798
810
|
autofocus: boolean;
|
|
799
811
|
readonly dataset: DOMStringMap;
|
|
800
|
-
nonce
|
|
812
|
+
nonce: string;
|
|
801
813
|
tabIndex: number;
|
|
802
814
|
blur(): void;
|
|
803
815
|
ariaControls: string | null;
|
|
@@ -856,13 +868,13 @@ declare const Button_base: {
|
|
|
856
868
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
857
869
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
858
870
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
859
|
-
|
|
871
|
+
_handleReplacedProp(replacedProp: {
|
|
860
872
|
newPropertyName: string;
|
|
861
873
|
deprecatedPropertyName: string;
|
|
862
874
|
fromDeprecated: (v: any) => any;
|
|
863
875
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
864
876
|
}): void;
|
|
865
|
-
|
|
877
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
866
878
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
867
879
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
868
880
|
};
|
|
@@ -891,7 +903,7 @@ declare const Button_base: {
|
|
|
891
903
|
autocorrect: boolean;
|
|
892
904
|
dir: string;
|
|
893
905
|
draggable: boolean;
|
|
894
|
-
hidden: boolean;
|
|
906
|
+
hidden: boolean | "until-found";
|
|
895
907
|
inert: boolean;
|
|
896
908
|
innerText: string;
|
|
897
909
|
lang: string;
|
|
@@ -909,8 +921,8 @@ declare const Button_base: {
|
|
|
909
921
|
attachInternals(): ElementInternals;
|
|
910
922
|
click(): void;
|
|
911
923
|
hidePopover(): void;
|
|
912
|
-
showPopover(): void;
|
|
913
|
-
togglePopover(options?: boolean): boolean;
|
|
924
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
925
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
914
926
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
915
927
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
916
928
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -924,6 +936,7 @@ declare const Button_base: {
|
|
|
924
936
|
readonly clientTop: number;
|
|
925
937
|
readonly clientWidth: number;
|
|
926
938
|
readonly currentCSSZoom: number;
|
|
939
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
927
940
|
id: string;
|
|
928
941
|
innerHTML: string;
|
|
929
942
|
readonly localName: string;
|
|
@@ -974,6 +987,9 @@ declare const Button_base: {
|
|
|
974
987
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
975
988
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
976
989
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
990
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
991
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
992
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
977
993
|
matches(selectors: string): boolean;
|
|
978
994
|
releasePointerCapture(pointerId: number): void;
|
|
979
995
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1109,6 +1125,7 @@ declare const Button_base: {
|
|
|
1109
1125
|
readonly firstElementChild: Element | null;
|
|
1110
1126
|
readonly lastElementChild: Element | null;
|
|
1111
1127
|
append(...nodes: (Node | string)[]): void;
|
|
1128
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
1112
1129
|
prepend(...nodes: (Node | string)[]): void;
|
|
1113
1130
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
1114
1131
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -1145,6 +1162,7 @@ declare const Button_base: {
|
|
|
1145
1162
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1146
1163
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1147
1164
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1165
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1148
1166
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1149
1167
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1150
1168
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -1166,7 +1184,7 @@ declare const Button_base: {
|
|
|
1166
1184
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
1167
1185
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
1168
1186
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
1169
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
1187
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
1170
1188
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1171
1189
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
1172
1190
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -1231,7 +1249,7 @@ declare const Button_base: {
|
|
|
1231
1249
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1232
1250
|
autofocus: boolean;
|
|
1233
1251
|
readonly dataset: DOMStringMap;
|
|
1234
|
-
nonce
|
|
1252
|
+
nonce: string;
|
|
1235
1253
|
tabIndex: number;
|
|
1236
1254
|
blur(): void;
|
|
1237
1255
|
ariaControls: string | null;
|
|
@@ -1290,13 +1308,13 @@ declare const Button_base: {
|
|
|
1290
1308
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
1291
1309
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
1292
1310
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
1293
|
-
|
|
1311
|
+
_handleReplacedProp(replacedProp: {
|
|
1294
1312
|
newPropertyName: string;
|
|
1295
1313
|
deprecatedPropertyName: string;
|
|
1296
1314
|
fromDeprecated: (v: any) => any;
|
|
1297
1315
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
1298
1316
|
}): void;
|
|
1299
|
-
|
|
1317
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
1300
1318
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
1301
1319
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
1302
1320
|
};
|
|
@@ -25,7 +25,7 @@ declare const CalendarEvent_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 CalendarEvent_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 CalendarEvent_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 CalendarEvent_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 CalendarEvent_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 CalendarEvent_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 CalendarEvent_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 CalendarEvent_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 CalendarEvent_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
|
};
|
package/lib/card/card.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare const Card_base: {
|
|
|
27
27
|
autocorrect: boolean;
|
|
28
28
|
dir: string;
|
|
29
29
|
draggable: boolean;
|
|
30
|
-
hidden: boolean;
|
|
30
|
+
hidden: boolean | "until-found";
|
|
31
31
|
inert: boolean;
|
|
32
32
|
innerText: string;
|
|
33
33
|
lang: string;
|
|
@@ -45,8 +45,8 @@ declare const Card_base: {
|
|
|
45
45
|
attachInternals(): ElementInternals;
|
|
46
46
|
click(): void;
|
|
47
47
|
hidePopover(): void;
|
|
48
|
-
showPopover(): void;
|
|
49
|
-
togglePopover(options?: boolean): boolean;
|
|
48
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
49
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
50
50
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
51
51
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
52
52
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -60,6 +60,7 @@ declare const Card_base: {
|
|
|
60
60
|
readonly clientTop: number;
|
|
61
61
|
readonly clientWidth: number;
|
|
62
62
|
readonly currentCSSZoom: number;
|
|
63
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
63
64
|
id: string;
|
|
64
65
|
innerHTML: string;
|
|
65
66
|
readonly localName: string;
|
|
@@ -110,6 +111,9 @@ declare const Card_base: {
|
|
|
110
111
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
111
112
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
112
113
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
114
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
115
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
116
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
113
117
|
matches(selectors: string): boolean;
|
|
114
118
|
releasePointerCapture(pointerId: number): void;
|
|
115
119
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -245,6 +249,7 @@ declare const Card_base: {
|
|
|
245
249
|
readonly firstElementChild: Element | null;
|
|
246
250
|
readonly lastElementChild: Element | null;
|
|
247
251
|
append(...nodes: (Node | string)[]): void;
|
|
252
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
248
253
|
prepend(...nodes: (Node | string)[]): void;
|
|
249
254
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
250
255
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -281,6 +286,7 @@ declare const Card_base: {
|
|
|
281
286
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
282
287
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
288
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
290
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
285
291
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
286
292
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -302,7 +308,7 @@ declare const Card_base: {
|
|
|
302
308
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
303
309
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
304
310
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
311
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
306
312
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
313
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
308
314
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -367,7 +373,7 @@ declare const Card_base: {
|
|
|
367
373
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
368
374
|
autofocus: boolean;
|
|
369
375
|
readonly dataset: DOMStringMap;
|
|
370
|
-
nonce
|
|
376
|
+
nonce: string;
|
|
371
377
|
tabIndex: number;
|
|
372
378
|
blur(): void;
|
|
373
379
|
ariaControls: string | null;
|
|
@@ -426,13 +432,13 @@ declare const Card_base: {
|
|
|
426
432
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
427
433
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
428
434
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
429
|
-
|
|
435
|
+
_handleReplacedProp(replacedProp: {
|
|
430
436
|
newPropertyName: string;
|
|
431
437
|
deprecatedPropertyName: string;
|
|
432
438
|
fromDeprecated: (v: any) => any;
|
|
433
439
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
434
440
|
}): void;
|
|
435
|
-
|
|
441
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.js').ReactiveController>;
|
|
436
442
|
_addController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
|
|
437
443
|
_removeController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
|
|
438
444
|
};
|