@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.
Files changed (154) hide show
  1. package/bundled/anchored.cjs +1 -1
  2. package/bundled/anchored.js +25 -26
  3. package/bundled/calendar-picker.template.cjs +1 -1
  4. package/bundled/calendar-picker.template.js +5 -5
  5. package/bundled/char-count.cjs +2 -2
  6. package/bundled/char-count.js +2 -3
  7. package/bundled/definition4.cjs +17 -10
  8. package/bundled/definition4.js +17 -10
  9. package/bundled/form-element.cjs +1 -1
  10. package/bundled/form-element.js +3 -4
  11. package/bundled/localized.cjs +1 -1
  12. package/bundled/localized.js +11 -10
  13. package/bundled/picker-field.template.cjs +1 -1
  14. package/bundled/picker-field.template.js +12 -17
  15. package/bundled/time-selection-picker.template.cjs +1 -1
  16. package/bundled/time-selection-picker.template.js +7 -9
  17. package/bundled/vivid-element.cjs +1 -1
  18. package/bundled/vivid-element.js +10 -8
  19. package/bundled/with-error-text.cjs +1 -1
  20. package/bundled/with-error-text.js +7 -9
  21. package/custom-elements.json +4955 -6650
  22. package/lib/accordion-item/accordion-item.d.ts +13 -7
  23. package/lib/action-group/action-group.d.ts +13 -7
  24. package/lib/alert/alert.d.ts +26 -14
  25. package/lib/audio-player/audio-player.d.ts +13 -7
  26. package/lib/avatar/avatar.d.ts +13 -7
  27. package/lib/badge/badge.d.ts +13 -7
  28. package/lib/banner/banner.d.ts +39 -21
  29. package/lib/breadcrumb/breadcrumb.d.ts +13 -7
  30. package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
  31. package/lib/button/button.d.ts +39 -21
  32. package/lib/calendar-event/calendar-event.d.ts +13 -7
  33. package/lib/card/card.d.ts +13 -7
  34. package/lib/checkbox/checkbox.d.ts +84 -48
  35. package/lib/color-picker/color-picker.d.ts +98 -56
  36. package/lib/combobox/combobox.d.ts +98 -56
  37. package/lib/country-group/country-group.d.ts +26 -14
  38. package/lib/data-grid/data-grid-cell.d.ts +26 -14
  39. package/lib/data-grid/data-grid-row.d.ts +13 -7
  40. package/lib/date-picker/date-picker.d.ts +162 -114
  41. package/lib/date-range-picker/date-range-picker.d.ts +82 -58
  42. package/lib/date-time-picker/date-time-picker.d.ts +164 -116
  43. package/lib/dial-pad/dial-pad.d.ts +13 -7
  44. package/lib/dialog/dialog.d.ts +26 -14
  45. package/lib/divider/divider.d.ts +13 -7
  46. package/lib/fab/fab.d.ts +13 -7
  47. package/lib/file-picker/file-picker.d.ts +98 -56
  48. package/lib/header/header.d.ts +13 -7
  49. package/lib/listbox/listbox.d.ts +41 -23
  50. package/lib/menu/menu.d.ts +30 -18
  51. package/lib/menu-item/menu-item.d.ts +39 -21
  52. package/lib/nav/nav.d.ts +13 -7
  53. package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
  54. package/lib/nav-item/nav-item.d.ts +28 -16
  55. package/lib/note/note.d.ts +13 -7
  56. package/lib/number-field/number-field.d.ts +124 -70
  57. package/lib/optgroup/optgroup.d.ts +13 -7
  58. package/lib/option/option.d.ts +26 -14
  59. package/lib/pagination/pagination.d.ts +13 -7
  60. package/lib/popover/popover.d.ts +26 -14
  61. package/lib/progress/progress.d.ts +13 -7
  62. package/lib/progress-ring/progress-ring.d.ts +13 -7
  63. package/lib/radio/radio.d.ts +45 -27
  64. package/lib/radio-group/radio-group.d.ts +13 -7
  65. package/lib/range-slider/range-slider.d.ts +40 -22
  66. package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
  67. package/lib/searchable-select/option-tag.d.ts +13 -7
  68. package/lib/searchable-select/searchable-select.d.ts +124 -70
  69. package/lib/select/select.d.ts +124 -70
  70. package/lib/selectable-box/selectable-box.d.ts +13 -7
  71. package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
  72. package/lib/slider/slider.d.ts +39 -21
  73. package/lib/split-button/split-button.d.ts +39 -21
  74. package/lib/status/status.d.ts +13 -7
  75. package/lib/switch/switch.d.ts +26 -14
  76. package/lib/tab/tab.d.ts +39 -21
  77. package/lib/tab-panel/tab-panel.d.ts +13 -7
  78. package/lib/table/table-cell.d.ts +13 -7
  79. package/lib/table/table-header-cell.d.ts +13 -7
  80. package/lib/table/table-row.d.ts +13 -7
  81. package/lib/table/table-sorting-button.d.ts +26 -14
  82. package/lib/tag/tag.d.ts +39 -21
  83. package/lib/tag-group/tag-group.d.ts +13 -7
  84. package/lib/text-area/text-area.d.ts +112 -64
  85. package/lib/text-field/text-field.d.ts +125 -71
  86. package/lib/time-picker/time-picker.d.ts +82 -58
  87. package/lib/toggletip/toggletip.d.ts +30 -18
  88. package/lib/tooltip/tooltip.d.ts +30 -18
  89. package/lib/tree-item/tree-item.d.ts +26 -14
  90. package/lib/tree-view/tree-view.d.ts +13 -7
  91. package/lib/video-player/video-player.d.ts +13 -7
  92. package/listbox/index.cjs +1 -1
  93. package/listbox/index.js +3 -4
  94. package/nav-item/index.cjs +1 -1
  95. package/nav-item/index.js +5 -1
  96. package/package.json +7 -7
  97. package/shared/aria/aria-mixin.d.ts +11 -5
  98. package/shared/aria/delegates-aria.d.ts +13 -7
  99. package/shared/aria/host-semantics.d.ts +13 -7
  100. package/shared/color-picker/base-color-picker.d.ts +14 -8
  101. package/shared/deprecation/replaced-props.d.ts +12 -6
  102. package/shared/feedback/feedback-message.d.ts +13 -7
  103. package/shared/feedback/mixins.d.ts +26 -14
  104. package/shared/foundation/button/button.d.ts +26 -14
  105. package/shared/foundation/form-associated/form-associated.d.ts +26 -14
  106. package/shared/foundation/vivid-element/vivid-element.d.ts +35 -17
  107. package/shared/framework/reactive-controller.d.ts +12 -6
  108. package/shared/listbox/with-options-filter.d.ts +14 -8
  109. package/shared/listbox/with-options.d.ts +28 -16
  110. package/shared/patterns/affix.d.ts +26 -14
  111. package/shared/patterns/anchored.d.ts +34 -22
  112. package/shared/patterns/char-count/char-count.d.ts +14 -8
  113. package/shared/patterns/form-elements/form-element.d.ts +14 -8
  114. package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
  115. package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
  116. package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
  117. package/shared/patterns/kbd-shortcut.d.ts +13 -7
  118. package/shared/patterns/linkable.d.ts +13 -7
  119. package/shared/patterns/localized.d.ts +30 -18
  120. package/shared/patterns/trapped-focus.d.ts +13 -7
  121. package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
  122. package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
  123. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
  124. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
  125. package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
  126. package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
  127. package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
  128. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
  129. package/shared/picker-field/picker-field.d.ts +98 -57
  130. package/unbundled/anchored.cjs +39 -37
  131. package/unbundled/anchored.js +39 -37
  132. package/unbundled/calendar-picker.template.cjs +7 -5
  133. package/unbundled/calendar-picker.template.js +7 -5
  134. package/unbundled/char-count.cjs +3 -9
  135. package/unbundled/char-count.js +3 -9
  136. package/unbundled/definition5.cjs +17 -10
  137. package/unbundled/definition5.js +17 -10
  138. package/unbundled/definition50.cjs +3 -4
  139. package/unbundled/definition50.js +3 -4
  140. package/unbundled/definition52.cjs +6 -2
  141. package/unbundled/definition52.js +6 -2
  142. package/unbundled/form-element.cjs +3 -4
  143. package/unbundled/form-element.js +3 -4
  144. package/unbundled/localized.cjs +15 -11
  145. package/unbundled/localized.js +15 -11
  146. package/unbundled/picker-field.template.cjs +22 -24
  147. package/unbundled/picker-field.template.js +22 -24
  148. package/unbundled/time-selection-picker.template.cjs +10 -10
  149. package/unbundled/time-selection-picker.template.js +10 -10
  150. package/unbundled/vivid-element.cjs +12 -8
  151. package/unbundled/vivid-element.js +12 -8
  152. package/unbundled/with-error-text.cjs +11 -10
  153. package/unbundled/with-error-text.js +11 -10
  154. package/shared/foundation/vivid-element/vivid-element.browser-spec.d.ts +0 -1
@@ -18,7 +18,7 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
18
18
  autocorrect: boolean;
19
19
  dir: string;
20
20
  draggable: boolean;
21
- hidden: boolean;
21
+ hidden: boolean | "until-found";
22
22
  inert: boolean;
23
23
  innerText: string;
24
24
  lang: string;
@@ -36,8 +36,8 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
36
36
  attachInternals(): ElementInternals;
37
37
  click(): void;
38
38
  hidePopover(): void;
39
- showPopover(): void;
40
- togglePopover(options?: boolean): boolean;
39
+ showPopover(options?: ShowPopoverOptions): void;
40
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
41
41
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
42
42
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
43
43
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -51,6 +51,7 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
51
51
  readonly clientTop: number;
52
52
  readonly clientWidth: number;
53
53
  readonly currentCSSZoom: number;
54
+ readonly customElementRegistry: CustomElementRegistry | null;
54
55
  id: string;
55
56
  innerHTML: string;
56
57
  readonly localName: string;
@@ -101,6 +102,9 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
101
102
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
102
103
  insertAdjacentHTML(position: InsertPosition, string: string): void;
103
104
  insertAdjacentText(where: InsertPosition, data: string): void;
105
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
106
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
107
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
104
108
  matches(selectors: string): boolean;
105
109
  releasePointerCapture(pointerId: number): void;
106
110
  removeAttribute(qualifiedName: string): void;
@@ -236,6 +240,7 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
236
240
  readonly firstElementChild: Element | null;
237
241
  readonly lastElementChild: Element | null;
238
242
  append(...nodes: (Node | string)[]): void;
243
+ moveBefore(node: Node, child: Node | null): void;
239
244
  prepend(...nodes: (Node | string)[]): void;
240
245
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
241
246
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -272,6 +277,7 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
272
277
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
278
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
274
279
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
281
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
282
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
277
283
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -293,7 +299,7 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
293
299
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
294
300
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
295
301
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
296
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
297
303
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
304
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
299
305
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -358,7 +364,7 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
358
364
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
359
365
  autofocus: boolean;
360
366
  readonly dataset: DOMStringMap;
361
- nonce?: string;
367
+ nonce: string;
362
368
  tabIndex: number;
363
369
  blur(): void;
364
370
  ariaControls: string | null;
@@ -417,13 +423,13 @@ export declare const Localized: <T extends Constructor<VividElement>>(Base: T) =
417
423
  ariaFlowToChanged(prev: string | null, next: string | null): void;
418
424
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
419
425
  ariaOwnsChanged(prev: string | null, next: string | null): void;
420
- "__#private@#handleReplacedProp"(replacedProp: {
426
+ _handleReplacedProp(replacedProp: {
421
427
  newPropertyName: string;
422
428
  deprecatedPropertyName: string;
423
429
  fromDeprecated: (v: any) => any;
424
430
  toDeprecated?: ((v: any) => any) | undefined;
425
431
  }): void;
426
- "__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
432
+ _controllers: Set<import('../framework/reactive-controller').ReactiveController>;
427
433
  _addController(controller: import('../framework/reactive-controller').ReactiveController): void;
428
434
  _removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
429
435
  };
@@ -433,12 +439,12 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
433
439
  localeChanged(): void;
434
440
  connectedCallback(): void;
435
441
  disconnectedCallback(): void;
436
- "__#private@#localeChangeHandler": {
442
+ _localeChangeHandler: {
437
443
  handleChange: () => void;
438
444
  };
439
- "__#private@#localeChangeObserver": ExpressionNotifier;
440
- "__#private@#startObservingLocaleChanges"(): void;
441
- "__#private@#stopObservingLocaleChanges"(): void;
445
+ _localeChangeObserver: ExpressionNotifier;
446
+ _startObservingLocaleChanges(): void;
447
+ _stopObservingLocaleChanges(): void;
442
448
  get locale(): Locale;
443
449
  focus(...args: any[]): void;
444
450
  _vividAriaBehaviour: import('../aria/aria-mixin').VividAriaBehaviour;
@@ -451,7 +457,7 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
451
457
  autocorrect: boolean;
452
458
  dir: string;
453
459
  draggable: boolean;
454
- hidden: boolean;
460
+ hidden: boolean | "until-found";
455
461
  inert: boolean;
456
462
  innerText: string;
457
463
  lang: string;
@@ -469,8 +475,8 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
469
475
  attachInternals(): ElementInternals;
470
476
  click(): void;
471
477
  hidePopover(): void;
472
- showPopover(): void;
473
- togglePopover(options?: boolean): boolean;
478
+ showPopover(options?: ShowPopoverOptions): void;
479
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
474
480
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
475
481
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
476
482
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -484,6 +490,7 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
484
490
  readonly clientTop: number;
485
491
  readonly clientWidth: number;
486
492
  readonly currentCSSZoom: number;
493
+ readonly customElementRegistry: CustomElementRegistry | null;
487
494
  id: string;
488
495
  innerHTML: string;
489
496
  readonly localName: string;
@@ -534,6 +541,9 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
534
541
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
535
542
  insertAdjacentHTML(position: InsertPosition, string: string): void;
536
543
  insertAdjacentText(where: InsertPosition, data: string): void;
544
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
545
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
546
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
537
547
  matches(selectors: string): boolean;
538
548
  releasePointerCapture(pointerId: number): void;
539
549
  removeAttribute(qualifiedName: string): void;
@@ -669,6 +679,7 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
669
679
  readonly firstElementChild: Element | null;
670
680
  readonly lastElementChild: Element | null;
671
681
  append(...nodes: (Node | string)[]): void;
682
+ moveBefore(node: Node, child: Node | null): void;
672
683
  prepend(...nodes: (Node | string)[]): void;
673
684
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
674
685
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -705,6 +716,7 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
705
716
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
706
717
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
707
718
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
719
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
708
720
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
709
721
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
710
722
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -726,7 +738,7 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
726
738
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
727
739
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
728
740
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
729
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
741
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
730
742
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
731
743
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
732
744
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -791,7 +803,7 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
791
803
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
792
804
  autofocus: boolean;
793
805
  readonly dataset: DOMStringMap;
794
- nonce?: string;
806
+ nonce: string;
795
807
  tabIndex: number;
796
808
  blur(): void;
797
809
  ariaControls: string | null;
@@ -850,13 +862,13 @@ export declare const WithObservableLocale: <T extends Constructor<VividElement>>
850
862
  ariaFlowToChanged(prev: string | null, next: string | null): void;
851
863
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
852
864
  ariaOwnsChanged(prev: string | null, next: string | null): void;
853
- "__#private@#handleReplacedProp"(replacedProp: {
865
+ _handleReplacedProp(replacedProp: {
854
866
  newPropertyName: string;
855
867
  deprecatedPropertyName: string;
856
868
  fromDeprecated: (v: any) => any;
857
869
  toDeprecated?: ((v: any) => any) | undefined;
858
870
  }): void;
859
- "__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
871
+ _controllers: Set<import('../framework/reactive-controller').ReactiveController>;
860
872
  _addController(controller: import('../framework/reactive-controller').ReactiveController): void;
861
873
  _removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
862
874
  };
@@ -17,7 +17,7 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
17
17
  autocorrect: boolean;
18
18
  dir: string;
19
19
  draggable: boolean;
20
- hidden: boolean;
20
+ hidden: boolean | "until-found";
21
21
  inert: boolean;
22
22
  innerText: string;
23
23
  lang: string;
@@ -35,8 +35,8 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
35
35
  attachInternals(): ElementInternals;
36
36
  click(): void;
37
37
  hidePopover(): void;
38
- showPopover(): void;
39
- togglePopover(options?: boolean): boolean;
38
+ showPopover(options?: ShowPopoverOptions): void;
39
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
40
40
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
41
41
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
42
42
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -50,6 +50,7 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
50
50
  readonly clientTop: number;
51
51
  readonly clientWidth: number;
52
52
  readonly currentCSSZoom: number;
53
+ readonly customElementRegistry: CustomElementRegistry | null;
53
54
  id: string;
54
55
  innerHTML: string;
55
56
  readonly localName: string;
@@ -100,6 +101,9 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
100
101
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
101
102
  insertAdjacentHTML(position: InsertPosition, string: string): void;
102
103
  insertAdjacentText(where: InsertPosition, data: string): void;
104
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
105
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
106
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
103
107
  matches(selectors: string): boolean;
104
108
  releasePointerCapture(pointerId: number): void;
105
109
  removeAttribute(qualifiedName: string): void;
@@ -235,6 +239,7 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
235
239
  readonly firstElementChild: Element | null;
236
240
  readonly lastElementChild: Element | null;
237
241
  append(...nodes: (Node | string)[]): void;
242
+ moveBefore(node: Node, child: Node | null): void;
238
243
  prepend(...nodes: (Node | string)[]): void;
239
244
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
240
245
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -271,6 +276,7 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
271
276
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
277
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
273
278
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
280
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
281
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
276
282
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -292,7 +298,7 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
292
298
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
293
299
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
294
300
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
295
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
296
302
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
303
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
298
304
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -357,7 +363,7 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
357
363
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
358
364
  autofocus: boolean;
359
365
  readonly dataset: DOMStringMap;
360
- nonce?: string;
366
+ nonce: string;
361
367
  tabIndex: number;
362
368
  blur(): void;
363
369
  ariaControls: string | null;
@@ -416,13 +422,13 @@ export declare const TrappedFocus: <T extends Constructor<VividElement>>(Base: T
416
422
  ariaFlowToChanged(prev: string | null, next: string | null): void;
417
423
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
418
424
  ariaOwnsChanged(prev: string | null, next: string | null): void;
419
- "__#private@#handleReplacedProp"(replacedProp: {
425
+ _handleReplacedProp(replacedProp: {
420
426
  newPropertyName: string;
421
427
  deprecatedPropertyName: string;
422
428
  fromDeprecated: (v: any) => any;
423
429
  toDeprecated?: ((v: any) => any) | undefined;
424
430
  }): void;
425
- "__#private@#controllers": Set<import('../framework/reactive-controller').ReactiveController>;
431
+ _controllers: Set<import('../framework/reactive-controller').ReactiveController>;
426
432
  _addController(controller: import('../framework/reactive-controller').ReactiveController): void;
427
433
  _removeController(controller: import('../framework/reactive-controller').ReactiveController): void;
428
434
  };
@@ -11,8 +11,8 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
11
11
  get _resolvedMinDate(): DateStr | "";
12
12
  get _resolvedMaxDate(): DateStr | "";
13
13
  _isDateInValidRange(date: DateStr): boolean;
14
- "__#private@#isMonthAfterValidRange"(month: Month): boolean | "";
15
- "__#private@#isMonthBeforeValidRange"(month: Month): boolean | "";
14
+ _isMonthAfterValidRange(month: Month): boolean | "";
15
+ _isMonthBeforeValidRange(month: Month): boolean | "";
16
16
  _isMonthInValidRange(month: Month): boolean;
17
17
  _closePopup(restoreFocusToTextField?: boolean): void;
18
18
  _onPickerButtonClick(): void;
@@ -57,20 +57,20 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
57
57
  _pickerButtonEl: import('../../..').VwcButtonElement;
58
58
  connectedCallback(): void;
59
59
  disconnectedCallback(): void;
60
- "__#private@#onFocusIn": () => void;
61
- "__#private@#onFocusOut": () => void;
60
+ _onFocusIn: () => void;
61
+ _onFocusOut: () => void;
62
62
  proxy: HTMLInputElement;
63
63
  validate(): void;
64
64
  _getCustomValidationError(): string | null;
65
- "__#private@#localeChangeHandler": {
65
+ _localeChangeHandler: {
66
66
  handleChange: () => void;
67
67
  };
68
- "__#private@#localeChangeObserver": import('@microsoft/fast-element').ExpressionNotifier;
69
- "__#private@#startObservingLocaleChanges"(): void;
70
- "__#private@#stopObservingLocaleChanges"(): void;
68
+ _localeChangeObserver: import('@microsoft/fast-element').ExpressionNotifier;
69
+ _startObservingLocaleChanges(): void;
70
+ _stopObservingLocaleChanges(): void;
71
71
  _popupOpen: boolean;
72
- "__#private@#dismissOnClickOutside": (event: MouseEvent) => void;
73
- "__#private@#openPopupIfPossible"(): void;
72
+ _dismissOnClickOutside: (event: MouseEvent) => void;
73
+ _openPopupIfPossible(): void;
74
74
  _onBaseKeyDown(event: KeyboardEvent): boolean;
75
75
  _focusableElsWithinDialog(): NodeListOf<HTMLElement>;
76
76
  get _dialogLabel(): string;
@@ -92,7 +92,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
92
92
  errorValidationMessage: string;
93
93
  forceErrorDisplay: boolean;
94
94
  hasBeenTouched: boolean;
95
- "__#private@#handleInvalidEvent": () => void;
95
+ _handleInvalidEvent: () => void;
96
96
  formResetCallback: (() => void) & (() => void) & (() => void) & (() => void);
97
97
  get validity(): ValidityState;
98
98
  get form(): HTMLFormElement | null;
@@ -136,7 +136,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
136
136
  autocorrect: boolean;
137
137
  dir: string;
138
138
  draggable: boolean;
139
- hidden: boolean;
139
+ hidden: boolean | "until-found";
140
140
  inert: boolean;
141
141
  innerText: string;
142
142
  lang: string;
@@ -154,8 +154,8 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
154
154
  attachInternals(): ElementInternals;
155
155
  click(): void;
156
156
  hidePopover(): void;
157
- showPopover(): void;
158
- togglePopover(options?: boolean): boolean;
157
+ showPopover(options?: ShowPopoverOptions): void;
158
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
159
159
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
160
160
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
161
161
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -169,6 +169,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
169
169
  readonly clientTop: number;
170
170
  readonly clientWidth: number;
171
171
  readonly currentCSSZoom: number;
172
+ readonly customElementRegistry: CustomElementRegistry | null;
172
173
  id: string;
173
174
  innerHTML: string;
174
175
  readonly localName: string;
@@ -219,6 +220,9 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
219
220
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
220
221
  insertAdjacentHTML(position: InsertPosition, string: string): void;
221
222
  insertAdjacentText(where: InsertPosition, data: string): void;
223
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
224
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
225
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
222
226
  matches(selectors: string): boolean;
223
227
  releasePointerCapture(pointerId: number): void;
224
228
  removeAttribute(qualifiedName: string): void;
@@ -354,6 +358,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
354
358
  readonly firstElementChild: Element | null;
355
359
  readonly lastElementChild: Element | null;
356
360
  append(...nodes: (Node | string)[]): void;
361
+ moveBefore(node: Node, child: Node | null): void;
357
362
  prepend(...nodes: (Node | string)[]): void;
358
363
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
359
364
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -390,6 +395,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
390
395
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
391
396
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
392
397
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
398
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
393
399
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
394
400
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
395
401
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -411,7 +417,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
411
417
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
412
418
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
413
419
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
414
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
420
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
415
421
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
416
422
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
417
423
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -476,7 +482,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
476
482
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
477
483
  autofocus: boolean;
478
484
  readonly dataset: DOMStringMap;
479
- nonce?: string;
485
+ nonce: string;
480
486
  tabIndex: number;
481
487
  blur(): void;
482
488
  ariaControls: string | null;
@@ -535,13 +541,13 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
535
541
  ariaFlowToChanged(prev: string | null, next: string | null): void;
536
542
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
537
543
  ariaOwnsChanged(prev: string | null, next: string | null): void;
538
- "__#private@#handleReplacedProp"(replacedProp: {
544
+ _handleReplacedProp(replacedProp: {
539
545
  newPropertyName: string;
540
546
  deprecatedPropertyName: string;
541
547
  fromDeprecated: (v: any) => any;
542
548
  toDeprecated?: ((v: any) => any) | undefined;
543
549
  }): void;
544
- "__#private@#controllers": Set<import('../../framework/reactive-controller').ReactiveController>;
550
+ _controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
545
551
  _addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
546
552
  _removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
547
553
  helperText?: string;
@@ -575,7 +581,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
575
581
  autocorrect: boolean;
576
582
  dir: string;
577
583
  draggable: boolean;
578
- hidden: boolean;
584
+ hidden: boolean | "until-found";
579
585
  inert: boolean;
580
586
  innerText: string;
581
587
  lang: string;
@@ -593,8 +599,8 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
593
599
  attachInternals(): ElementInternals;
594
600
  click(): void;
595
601
  hidePopover(): void;
596
- showPopover(): void;
597
- togglePopover(options?: boolean): boolean;
602
+ showPopover(options?: ShowPopoverOptions): void;
603
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
598
604
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
599
605
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
600
606
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -608,6 +614,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
608
614
  readonly clientTop: number;
609
615
  readonly clientWidth: number;
610
616
  readonly currentCSSZoom: number;
617
+ readonly customElementRegistry: CustomElementRegistry | null;
611
618
  id: string;
612
619
  innerHTML: string;
613
620
  readonly localName: string;
@@ -658,6 +665,9 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
658
665
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
659
666
  insertAdjacentHTML(position: InsertPosition, string: string): void;
660
667
  insertAdjacentText(where: InsertPosition, data: string): void;
668
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
669
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
670
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
661
671
  matches(selectors: string): boolean;
662
672
  releasePointerCapture(pointerId: number): void;
663
673
  removeAttribute(qualifiedName: string): void;
@@ -793,6 +803,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
793
803
  readonly firstElementChild: Element | null;
794
804
  readonly lastElementChild: Element | null;
795
805
  append(...nodes: (Node | string)[]): void;
806
+ moveBefore(node: Node, child: Node | null): void;
796
807
  prepend(...nodes: (Node | string)[]): void;
797
808
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
798
809
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -829,6 +840,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
829
840
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
830
841
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
831
842
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
843
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
832
844
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
833
845
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
834
846
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -850,7 +862,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
850
862
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
851
863
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
852
864
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
853
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
865
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
854
866
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
855
867
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
856
868
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -915,7 +927,7 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
915
927
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
916
928
  autofocus: boolean;
917
929
  readonly dataset: DOMStringMap;
918
- nonce?: string;
930
+ nonce: string;
919
931
  tabIndex: number;
920
932
  blur(): void;
921
933
  ariaControls: string | null;
@@ -974,22 +986,22 @@ export declare const CalendarPicker: <T extends AbstractConstructor<PickerField>
974
986
  ariaFlowToChanged(prev: string | null, next: string | null): void;
975
987
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
976
988
  ariaOwnsChanged(prev: string | null, next: string | null): void;
977
- "__#private@#handleReplacedProp"(replacedProp: {
989
+ _handleReplacedProp(replacedProp: {
978
990
  newPropertyName: string;
979
991
  deprecatedPropertyName: string;
980
992
  fromDeprecated: (v: any) => any;
981
993
  toDeprecated?: ((v: any) => any) | undefined;
982
994
  }): void;
983
- "__#private@#controllers": Set<import('../../framework/reactive-controller').ReactiveController>;
995
+ _controllers: Set<import('../../framework/reactive-controller').ReactiveController>;
984
996
  _addController(controller: import('../../framework/reactive-controller').ReactiveController): void;
985
997
  _removeController(controller: import('../../framework/reactive-controller').ReactiveController): void;
986
998
  }, any>;
987
999
  errorText?: string;
988
1000
  errorTextChanged(_: string | undefined, newErrorText: string | undefined): void;
989
- "__#private@#blockValidateCalls": boolean;
990
- "__#private@#originalValidateFn": () => void;
991
- "__#private@#forceCustomError"(errorMessage: string): void;
992
- "__#private@#clearCustomErrorAndRevalidate"(): void;
1001
+ _blockValidateCalls: boolean;
1002
+ _originalValidateFn: () => void;
1003
+ _forceCustomError(errorMessage: string): void;
1004
+ _clearCustomErrorAndRevalidate(): void;
993
1005
  _trappedFocus(event: KeyboardEvent, getFocusableEls: () => NodeListOf<HTMLElement>): boolean;
994
1006
  get locale(): import('../../localization/Locale').Locale;
995
1007
  }) & T;