@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
|
@@ -6,8 +6,8 @@ export declare const navItemConnotation: {
|
|
|
6
6
|
};
|
|
7
7
|
export type NavItemConnotation = ComponentEnum<typeof navItemConnotation>;
|
|
8
8
|
export declare const navItemAppearance: {
|
|
9
|
-
parse: (value: unknown) => "ghost" | "ghost-light";
|
|
10
|
-
defaultValue: "ghost" | "ghost-light";
|
|
9
|
+
parse: (value: unknown) => "subtle" | "ghost" | "ghost-light";
|
|
10
|
+
defaultValue: "subtle" | "ghost" | "ghost-light";
|
|
11
11
|
};
|
|
12
12
|
export type NavItemAppearance = ComponentEnum<typeof navItemAppearance>;
|
|
13
13
|
declare const NavItem_base: {
|
|
@@ -27,7 +27,7 @@ declare const NavItem_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 NavItem_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 NavItem_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 NavItem_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 NavItem_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 NavItem_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 NavItem_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 NavItem_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 NavItem_base: {
|
|
|
426
432
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
427
433
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
428
434
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
429
|
-
|
|
435
|
+
_handleReplacedProp(replacedProp: {
|
|
430
436
|
newPropertyName: string;
|
|
431
437
|
deprecatedPropertyName: string;
|
|
432
438
|
fromDeprecated: (v: any) => any;
|
|
433
439
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
434
440
|
}): void;
|
|
435
|
-
|
|
441
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
436
442
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
437
443
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
438
444
|
};
|
|
@@ -461,7 +467,7 @@ declare const NavItem_base: {
|
|
|
461
467
|
autocorrect: boolean;
|
|
462
468
|
dir: string;
|
|
463
469
|
draggable: boolean;
|
|
464
|
-
hidden: boolean;
|
|
470
|
+
hidden: boolean | "until-found";
|
|
465
471
|
inert: boolean;
|
|
466
472
|
innerText: string;
|
|
467
473
|
lang: string;
|
|
@@ -479,8 +485,8 @@ declare const NavItem_base: {
|
|
|
479
485
|
attachInternals(): ElementInternals;
|
|
480
486
|
click(): void;
|
|
481
487
|
hidePopover(): void;
|
|
482
|
-
showPopover(): void;
|
|
483
|
-
togglePopover(options?: boolean): boolean;
|
|
488
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
489
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
484
490
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
485
491
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
486
492
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -494,6 +500,7 @@ declare const NavItem_base: {
|
|
|
494
500
|
readonly clientTop: number;
|
|
495
501
|
readonly clientWidth: number;
|
|
496
502
|
readonly currentCSSZoom: number;
|
|
503
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
497
504
|
id: string;
|
|
498
505
|
innerHTML: string;
|
|
499
506
|
readonly localName: string;
|
|
@@ -544,6 +551,9 @@ declare const NavItem_base: {
|
|
|
544
551
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
545
552
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
546
553
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
554
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
555
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
556
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
547
557
|
matches(selectors: string): boolean;
|
|
548
558
|
releasePointerCapture(pointerId: number): void;
|
|
549
559
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -679,6 +689,7 @@ declare const NavItem_base: {
|
|
|
679
689
|
readonly firstElementChild: Element | null;
|
|
680
690
|
readonly lastElementChild: Element | null;
|
|
681
691
|
append(...nodes: (Node | string)[]): void;
|
|
692
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
682
693
|
prepend(...nodes: (Node | string)[]): void;
|
|
683
694
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
684
695
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -715,6 +726,7 @@ declare const NavItem_base: {
|
|
|
715
726
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
716
727
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
717
728
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
729
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
718
730
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
719
731
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
720
732
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -736,7 +748,7 @@ declare const NavItem_base: {
|
|
|
736
748
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
737
749
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
738
750
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
739
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
751
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
740
752
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
741
753
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
742
754
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -801,7 +813,7 @@ declare const NavItem_base: {
|
|
|
801
813
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
802
814
|
autofocus: boolean;
|
|
803
815
|
readonly dataset: DOMStringMap;
|
|
804
|
-
nonce
|
|
816
|
+
nonce: string;
|
|
805
817
|
tabIndex: number;
|
|
806
818
|
blur(): void;
|
|
807
819
|
ariaControls: string | null;
|
|
@@ -860,13 +872,13 @@ declare const NavItem_base: {
|
|
|
860
872
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
861
873
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
862
874
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
863
|
-
|
|
875
|
+
_handleReplacedProp(replacedProp: {
|
|
864
876
|
newPropertyName: string;
|
|
865
877
|
deprecatedPropertyName: string;
|
|
866
878
|
fromDeprecated: (v: any) => any;
|
|
867
879
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
868
880
|
}): void;
|
|
869
|
-
|
|
881
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
870
882
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
871
883
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
872
884
|
};
|
package/lib/note/note.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ declare const Note_base: {
|
|
|
22
22
|
autocorrect: boolean;
|
|
23
23
|
dir: string;
|
|
24
24
|
draggable: boolean;
|
|
25
|
-
hidden: boolean;
|
|
25
|
+
hidden: boolean | "until-found";
|
|
26
26
|
inert: boolean;
|
|
27
27
|
innerText: string;
|
|
28
28
|
lang: string;
|
|
@@ -40,8 +40,8 @@ declare const Note_base: {
|
|
|
40
40
|
attachInternals(): ElementInternals;
|
|
41
41
|
click(): void;
|
|
42
42
|
hidePopover(): void;
|
|
43
|
-
showPopover(): void;
|
|
44
|
-
togglePopover(options?: boolean): boolean;
|
|
43
|
+
showPopover(options?: ShowPopoverOptions): void;
|
|
44
|
+
togglePopover(options?: TogglePopoverOptions | boolean): boolean;
|
|
45
45
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
46
46
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
47
47
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -55,6 +55,7 @@ declare const Note_base: {
|
|
|
55
55
|
readonly clientTop: number;
|
|
56
56
|
readonly clientWidth: number;
|
|
57
57
|
readonly currentCSSZoom: number;
|
|
58
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
58
59
|
id: string;
|
|
59
60
|
innerHTML: string;
|
|
60
61
|
readonly localName: string;
|
|
@@ -105,6 +106,9 @@ declare const Note_base: {
|
|
|
105
106
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
106
107
|
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
107
108
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
109
|
+
matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
110
|
+
matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
111
|
+
matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
108
112
|
matches(selectors: string): boolean;
|
|
109
113
|
releasePointerCapture(pointerId: number): void;
|
|
110
114
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -240,6 +244,7 @@ declare const Note_base: {
|
|
|
240
244
|
readonly firstElementChild: Element | null;
|
|
241
245
|
readonly lastElementChild: Element | null;
|
|
242
246
|
append(...nodes: (Node | string)[]): void;
|
|
247
|
+
moveBefore(node: Node, child: Node | null): void;
|
|
243
248
|
prepend(...nodes: (Node | string)[]): void;
|
|
244
249
|
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
245
250
|
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
@@ -276,6 +281,7 @@ declare const Note_base: {
|
|
|
276
281
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
282
|
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
278
283
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
284
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
285
|
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
286
|
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
287
|
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -297,7 +303,7 @@ declare const Note_base: {
|
|
|
297
303
|
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
298
304
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
299
305
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
300
|
-
oninput: ((this: GlobalEventHandlers, ev:
|
|
306
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
301
307
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
308
|
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
303
309
|
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
@@ -362,7 +368,7 @@ declare const Note_base: {
|
|
|
362
368
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
363
369
|
autofocus: boolean;
|
|
364
370
|
readonly dataset: DOMStringMap;
|
|
365
|
-
nonce
|
|
371
|
+
nonce: string;
|
|
366
372
|
tabIndex: number;
|
|
367
373
|
blur(): void;
|
|
368
374
|
ariaControls: string | null;
|
|
@@ -421,13 +427,13 @@ declare const Note_base: {
|
|
|
421
427
|
ariaFlowToChanged(prev: string | null, next: string | null): void;
|
|
422
428
|
ariaLabelledByChanged(prev: string | null, next: string | null): void;
|
|
423
429
|
ariaOwnsChanged(prev: string | null, next: string | null): void;
|
|
424
|
-
|
|
430
|
+
_handleReplacedProp(replacedProp: {
|
|
425
431
|
newPropertyName: string;
|
|
426
432
|
deprecatedPropertyName: string;
|
|
427
433
|
fromDeprecated: (v: any) => any;
|
|
428
434
|
toDeprecated?: ((v: any) => any) | undefined;
|
|
429
435
|
}): void;
|
|
430
|
-
|
|
436
|
+
_controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
|
|
431
437
|
_addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
432
438
|
_removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
|
|
433
439
|
};
|