@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.
Files changed (184) 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/definition25.cjs +4 -4
  8. package/bundled/definition25.js +4 -4
  9. package/bundled/definition4.cjs +17 -10
  10. package/bundled/definition4.js +17 -10
  11. package/bundled/form-element.cjs +1 -1
  12. package/bundled/form-element.js +3 -4
  13. package/bundled/localized.cjs +1 -1
  14. package/bundled/localized.js +11 -10
  15. package/bundled/picker-field.template.cjs +1 -1
  16. package/bundled/picker-field.template.js +12 -17
  17. package/bundled/text-field.cjs +1 -1
  18. package/bundled/text-field.js +1 -1
  19. package/bundled/time-selection-picker.template.cjs +1 -1
  20. package/bundled/time-selection-picker.template.js +7 -9
  21. package/bundled/vivid-element.cjs +1 -1
  22. package/bundled/vivid-element.js +36 -8
  23. package/bundled/with-error-text.cjs +1 -1
  24. package/bundled/with-error-text.js +7 -9
  25. package/custom-elements.json +237 -1956
  26. package/lib/accordion-item/accordion-item.d.ts +13 -7
  27. package/lib/action-group/action-group.d.ts +13 -7
  28. package/lib/alert/alert.d.ts +26 -14
  29. package/lib/audio-player/audio-player.d.ts +13 -7
  30. package/lib/avatar/avatar.d.ts +13 -7
  31. package/lib/badge/badge.d.ts +13 -7
  32. package/lib/banner/banner.d.ts +39 -21
  33. package/lib/breadcrumb/breadcrumb.d.ts +13 -7
  34. package/lib/breadcrumb-item/breadcrumb-item.d.ts +13 -7
  35. package/lib/button/button.d.ts +39 -21
  36. package/lib/calendar-event/calendar-event.d.ts +13 -7
  37. package/lib/card/card.d.ts +13 -7
  38. package/lib/checkbox/checkbox.d.ts +84 -48
  39. package/lib/color-picker/color-picker.d.ts +98 -56
  40. package/lib/combobox/combobox.d.ts +98 -56
  41. package/lib/country-group/country-group.d.ts +26 -14
  42. package/lib/data-grid/data-grid-cell.d.ts +26 -14
  43. package/lib/data-grid/data-grid-row.d.ts +13 -7
  44. package/lib/date-picker/date-picker.d.ts +162 -114
  45. package/lib/date-range-picker/date-range-picker.d.ts +82 -58
  46. package/lib/date-time-picker/date-time-picker.d.ts +164 -116
  47. package/lib/dial-pad/dial-pad.d.ts +13 -7
  48. package/lib/dialog/dialog.d.ts +26 -14
  49. package/lib/divider/divider.d.ts +13 -7
  50. package/lib/fab/fab.d.ts +13 -7
  51. package/lib/file-picker/file-picker.d.ts +98 -56
  52. package/lib/header/header.d.ts +13 -7
  53. package/lib/listbox/listbox.d.ts +41 -23
  54. package/lib/menu/menu.d.ts +30 -18
  55. package/lib/menu-item/menu-item.d.ts +39 -21
  56. package/lib/nav/nav.d.ts +13 -7
  57. package/lib/nav-disclosure/nav-disclosure.d.ts +26 -14
  58. package/lib/nav-item/nav-item.d.ts +28 -16
  59. package/lib/note/note.d.ts +13 -7
  60. package/lib/number-field/number-field.d.ts +124 -70
  61. package/lib/optgroup/optgroup.d.ts +13 -7
  62. package/lib/option/option.d.ts +26 -14
  63. package/lib/pagination/pagination.d.ts +13 -7
  64. package/lib/popover/popover.d.ts +26 -14
  65. package/lib/progress/progress.d.ts +13 -7
  66. package/lib/progress-ring/progress-ring.d.ts +13 -7
  67. package/lib/radio/radio.d.ts +45 -27
  68. package/lib/radio-group/radio-group.d.ts +13 -7
  69. package/lib/range-slider/range-slider.d.ts +40 -22
  70. package/lib/rich-text-editor/rich-text-editor.d.ts +30 -18
  71. package/lib/rich-text-editor/rte/feature.d.ts +0 -1
  72. package/lib/rich-text-editor/rte/features/base.d.ts +9 -0
  73. package/lib/rich-text-editor/rte/features/bold.d.ts +5 -1
  74. package/lib/rich-text-editor/rte/features/font-size-picker.d.ts +5 -1
  75. package/lib/rich-text-editor/rte/features/hard-break.d.ts +4 -0
  76. package/lib/rich-text-editor/rte/features/inline-image.d.ts +4 -0
  77. package/lib/rich-text-editor/rte/features/italic.d.ts +5 -1
  78. package/lib/rich-text-editor/rte/features/link.d.ts +5 -1
  79. package/lib/rich-text-editor/rte/features/list.d.ts +6 -0
  80. package/lib/rich-text-editor/rte/features/monospace.d.ts +5 -1
  81. package/lib/rich-text-editor/rte/features/strikethrough.d.ts +5 -1
  82. package/lib/rich-text-editor/rte/features/text-color-picker.d.ts +4 -1
  83. package/lib/rich-text-editor/rte/features/underline.d.ts +5 -1
  84. package/lib/rich-text-editor/rte/public-interface.d.ts +1 -1
  85. package/lib/searchable-select/option-tag.d.ts +13 -7
  86. package/lib/searchable-select/searchable-select.d.ts +124 -70
  87. package/lib/select/select.d.ts +124 -70
  88. package/lib/selectable-box/selectable-box.d.ts +13 -7
  89. package/lib/simple-color-picker/simple-color-picker.d.ts +31 -19
  90. package/lib/slider/slider.d.ts +39 -21
  91. package/lib/split-button/split-button.d.ts +39 -21
  92. package/lib/status/status.d.ts +13 -7
  93. package/lib/switch/switch.d.ts +26 -14
  94. package/lib/tab/tab.d.ts +39 -21
  95. package/lib/tab-panel/tab-panel.d.ts +13 -7
  96. package/lib/table/table-cell.d.ts +13 -7
  97. package/lib/table/table-header-cell.d.ts +13 -7
  98. package/lib/table/table-row.d.ts +13 -7
  99. package/lib/table/table-sorting-button.d.ts +26 -14
  100. package/lib/tag/tag.d.ts +39 -21
  101. package/lib/tag-group/tag-group.d.ts +13 -7
  102. package/lib/text-area/text-area.d.ts +112 -64
  103. package/lib/text-field/text-field.d.ts +125 -71
  104. package/lib/time-picker/time-picker.d.ts +82 -58
  105. package/lib/toggletip/toggletip.d.ts +30 -18
  106. package/lib/tooltip/tooltip.d.ts +30 -18
  107. package/lib/tree-item/tree-item.d.ts +26 -14
  108. package/lib/tree-view/tree-view.d.ts +13 -7
  109. package/lib/video-player/video-player.d.ts +13 -7
  110. package/listbox/index.cjs +1 -1
  111. package/listbox/index.js +3 -4
  112. package/nav-item/index.cjs +1 -1
  113. package/nav-item/index.js +5 -1
  114. package/number-field/index.cjs +1 -1
  115. package/number-field/index.js +1 -1
  116. package/package.json +10 -10
  117. package/rich-text-editor/index.cjs +1 -1
  118. package/rich-text-editor/index.js +176 -160
  119. package/shared/aria/aria-mixin.d.ts +11 -5
  120. package/shared/aria/delegates-aria.d.ts +13 -7
  121. package/shared/aria/host-semantics.d.ts +13 -7
  122. package/shared/color-picker/base-color-picker.d.ts +14 -8
  123. package/shared/deprecation/replaced-props.d.ts +12 -6
  124. package/shared/feedback/feedback-message.d.ts +13 -7
  125. package/shared/feedback/mixins.d.ts +26 -14
  126. package/shared/foundation/button/button.d.ts +26 -14
  127. package/shared/foundation/form-associated/form-associated.d.ts +26 -14
  128. package/shared/foundation/vivid-element/vivid-element.d.ts +43 -25
  129. package/shared/framework/reactive-controller.d.ts +12 -6
  130. package/shared/listbox/with-options-filter.d.ts +14 -8
  131. package/shared/listbox/with-options.d.ts +28 -16
  132. package/shared/patterns/affix.d.ts +26 -14
  133. package/shared/patterns/anchored.d.ts +34 -22
  134. package/shared/patterns/char-count/char-count.d.ts +14 -8
  135. package/shared/patterns/form-elements/form-element.d.ts +14 -8
  136. package/shared/patterns/form-elements/with-contextual-help.d.ts +14 -8
  137. package/shared/patterns/form-elements/with-error-text.d.ts +18 -12
  138. package/shared/patterns/form-elements/with-success-text.d.ts +13 -7
  139. package/shared/patterns/kbd-shortcut.d.ts +13 -7
  140. package/shared/patterns/linkable.d.ts +13 -7
  141. package/shared/patterns/localized.d.ts +30 -18
  142. package/shared/patterns/trapped-focus.d.ts +13 -7
  143. package/shared/picker-field/mixins/calendar-picker.d.ts +41 -29
  144. package/shared/picker-field/mixins/calendar-picker.template.d.ts +41 -29
  145. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +13 -7
  146. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +41 -29
  147. package/shared/picker-field/mixins/single-date-picker.d.ts +41 -29
  148. package/shared/picker-field/mixins/single-value-picker.d.ts +39 -27
  149. package/shared/picker-field/mixins/time-selection-picker.d.ts +43 -31
  150. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +82 -58
  151. package/shared/picker-field/picker-field.d.ts +98 -57
  152. package/unbundled/anchored.cjs +39 -37
  153. package/unbundled/anchored.js +39 -37
  154. package/unbundled/calendar-picker.template.cjs +7 -5
  155. package/unbundled/calendar-picker.template.js +7 -5
  156. package/unbundled/char-count.cjs +3 -9
  157. package/unbundled/char-count.js +3 -9
  158. package/unbundled/definition2.cjs +4 -4
  159. package/unbundled/definition2.js +4 -4
  160. package/unbundled/definition5.cjs +17 -10
  161. package/unbundled/definition5.js +17 -10
  162. package/unbundled/definition50.cjs +3 -4
  163. package/unbundled/definition50.js +3 -4
  164. package/unbundled/definition52.cjs +6 -2
  165. package/unbundled/definition52.js +6 -2
  166. package/unbundled/definition55.cjs +1 -1
  167. package/unbundled/definition55.js +1 -1
  168. package/unbundled/definition63.cjs +73 -46
  169. package/unbundled/definition63.js +73 -46
  170. package/unbundled/form-element.cjs +3 -4
  171. package/unbundled/form-element.js +3 -4
  172. package/unbundled/localized.cjs +15 -11
  173. package/unbundled/localized.js +15 -11
  174. package/unbundled/picker-field.template.cjs +22 -24
  175. package/unbundled/picker-field.template.js +22 -24
  176. package/unbundled/text-field.cjs +1 -1
  177. package/unbundled/text-field.js +1 -1
  178. package/unbundled/time-selection-picker.template.cjs +10 -10
  179. package/unbundled/time-selection-picker.template.js +10 -10
  180. package/unbundled/vivid-element.cjs +65 -8
  181. package/unbundled/vivid-element.js +66 -9
  182. package/unbundled/with-error-text.cjs +11 -10
  183. package/unbundled/with-error-text.js +11 -10
  184. package/vivid.api.json +12 -12
@@ -18,7 +18,7 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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 @@ declare const DialPad_base: {
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('../../shared/framework/reactive-controller.js').ReactiveController>;
432
+ _controllers: Set<import('../../shared/framework/reactive-controller.js').ReactiveController>;
427
433
  _addController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
428
434
  _removeController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
429
435
  };
@@ -16,7 +16,7 @@ declare const Dialog_base: {
16
16
  autocorrect: boolean;
17
17
  dir: string;
18
18
  draggable: boolean;
19
- hidden: boolean;
19
+ hidden: boolean | "until-found";
20
20
  inert: boolean;
21
21
  innerText: string;
22
22
  lang: string;
@@ -34,8 +34,8 @@ declare const Dialog_base: {
34
34
  attachInternals(): ElementInternals;
35
35
  click(): void;
36
36
  hidePopover(): void;
37
- showPopover(): void;
38
- togglePopover(options?: boolean): boolean;
37
+ showPopover(options?: ShowPopoverOptions): void;
38
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
39
39
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
40
40
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
41
41
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -49,6 +49,7 @@ declare const Dialog_base: {
49
49
  readonly clientTop: number;
50
50
  readonly clientWidth: number;
51
51
  readonly currentCSSZoom: number;
52
+ readonly customElementRegistry: CustomElementRegistry | null;
52
53
  id: string;
53
54
  innerHTML: string;
54
55
  readonly localName: string;
@@ -99,6 +100,9 @@ declare const Dialog_base: {
99
100
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
100
101
  insertAdjacentHTML(position: InsertPosition, string: string): void;
101
102
  insertAdjacentText(where: InsertPosition, data: string): void;
103
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
104
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
105
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
102
106
  matches(selectors: string): boolean;
103
107
  releasePointerCapture(pointerId: number): void;
104
108
  removeAttribute(qualifiedName: string): void;
@@ -234,6 +238,7 @@ declare const Dialog_base: {
234
238
  readonly firstElementChild: Element | null;
235
239
  readonly lastElementChild: Element | null;
236
240
  append(...nodes: (Node | string)[]): void;
241
+ moveBefore(node: Node, child: Node | null): void;
237
242
  prepend(...nodes: (Node | string)[]): void;
238
243
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
239
244
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -270,6 +275,7 @@ declare const Dialog_base: {
270
275
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
276
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
272
277
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
279
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
280
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
275
281
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -291,7 +297,7 @@ declare const Dialog_base: {
291
297
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
292
298
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
293
299
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
294
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
295
301
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
302
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
297
303
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -356,7 +362,7 @@ declare const Dialog_base: {
356
362
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
357
363
  autofocus: boolean;
358
364
  readonly dataset: DOMStringMap;
359
- nonce?: string;
365
+ nonce: string;
360
366
  tabIndex: number;
361
367
  blur(): void;
362
368
  ariaControls: string | null;
@@ -415,13 +421,13 @@ declare const Dialog_base: {
415
421
  ariaFlowToChanged(prev: string | null, next: string | null): void;
416
422
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
417
423
  ariaOwnsChanged(prev: string | null, next: string | null): void;
418
- "__#private@#handleReplacedProp"(replacedProp: {
424
+ _handleReplacedProp(replacedProp: {
419
425
  newPropertyName: string;
420
426
  deprecatedPropertyName: string;
421
427
  fromDeprecated: (v: any) => any;
422
428
  toDeprecated?: ((v: any) => any) | undefined;
423
429
  }): void;
424
- "__#private@#controllers": Set<import('../../shared/framework/reactive-controller').ReactiveController>;
430
+ _controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
425
431
  _addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
426
432
  _removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
427
433
  };
@@ -440,7 +446,7 @@ declare const Dialog_base: {
440
446
  autocorrect: boolean;
441
447
  dir: string;
442
448
  draggable: boolean;
443
- hidden: boolean;
449
+ hidden: boolean | "until-found";
444
450
  inert: boolean;
445
451
  innerText: string;
446
452
  lang: string;
@@ -458,8 +464,8 @@ declare const Dialog_base: {
458
464
  attachInternals(): ElementInternals;
459
465
  click(): void;
460
466
  hidePopover(): void;
461
- showPopover(): void;
462
- togglePopover(options?: boolean): boolean;
467
+ showPopover(options?: ShowPopoverOptions): void;
468
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
463
469
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
464
470
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
465
471
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -473,6 +479,7 @@ declare const Dialog_base: {
473
479
  readonly clientTop: number;
474
480
  readonly clientWidth: number;
475
481
  readonly currentCSSZoom: number;
482
+ readonly customElementRegistry: CustomElementRegistry | null;
476
483
  id: string;
477
484
  innerHTML: string;
478
485
  readonly localName: string;
@@ -523,6 +530,9 @@ declare const Dialog_base: {
523
530
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
524
531
  insertAdjacentHTML(position: InsertPosition, string: string): void;
525
532
  insertAdjacentText(where: InsertPosition, data: string): void;
533
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
534
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
535
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
526
536
  matches(selectors: string): boolean;
527
537
  releasePointerCapture(pointerId: number): void;
528
538
  removeAttribute(qualifiedName: string): void;
@@ -658,6 +668,7 @@ declare const Dialog_base: {
658
668
  readonly firstElementChild: Element | null;
659
669
  readonly lastElementChild: Element | null;
660
670
  append(...nodes: (Node | string)[]): void;
671
+ moveBefore(node: Node, child: Node | null): void;
661
672
  prepend(...nodes: (Node | string)[]): void;
662
673
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
663
674
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -694,6 +705,7 @@ declare const Dialog_base: {
694
705
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
695
706
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
696
707
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
708
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
697
709
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
698
710
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
699
711
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -715,7 +727,7 @@ declare const Dialog_base: {
715
727
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
716
728
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
717
729
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
718
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
730
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
719
731
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
720
732
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
721
733
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -780,7 +792,7 @@ declare const Dialog_base: {
780
792
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
781
793
  autofocus: boolean;
782
794
  readonly dataset: DOMStringMap;
783
- nonce?: string;
795
+ nonce: string;
784
796
  tabIndex: number;
785
797
  blur(): void;
786
798
  ariaControls: string | null;
@@ -839,13 +851,13 @@ declare const Dialog_base: {
839
851
  ariaFlowToChanged(prev: string | null, next: string | null): void;
840
852
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
841
853
  ariaOwnsChanged(prev: string | null, next: string | null): void;
842
- "__#private@#handleReplacedProp"(replacedProp: {
854
+ _handleReplacedProp(replacedProp: {
843
855
  newPropertyName: string;
844
856
  deprecatedPropertyName: string;
845
857
  fromDeprecated: (v: any) => any;
846
858
  toDeprecated?: ((v: any) => any) | undefined;
847
859
  }): void;
848
- "__#private@#controllers": Set<import('../../shared/framework/reactive-controller').ReactiveController>;
860
+ _controllers: Set<import('../../shared/framework/reactive-controller').ReactiveController>;
849
861
  _addController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
850
862
  _removeController(controller: import('../../shared/framework/reactive-controller').ReactiveController): void;
851
863
  };
@@ -26,7 +26,7 @@ declare const Divider_base: {
26
26
  autocorrect: boolean;
27
27
  dir: string;
28
28
  draggable: boolean;
29
- hidden: boolean;
29
+ hidden: boolean | "until-found";
30
30
  inert: boolean;
31
31
  innerText: string;
32
32
  lang: string;
@@ -44,8 +44,8 @@ declare const Divider_base: {
44
44
  attachInternals(): ElementInternals;
45
45
  click(): void;
46
46
  hidePopover(): void;
47
- showPopover(): void;
48
- togglePopover(options?: boolean): boolean;
47
+ showPopover(options?: ShowPopoverOptions): void;
48
+ togglePopover(options?: TogglePopoverOptions | boolean): boolean;
49
49
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
50
50
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
51
51
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -59,6 +59,7 @@ declare const Divider_base: {
59
59
  readonly clientTop: number;
60
60
  readonly clientWidth: number;
61
61
  readonly currentCSSZoom: number;
62
+ readonly customElementRegistry: CustomElementRegistry | null;
62
63
  id: string;
63
64
  innerHTML: string;
64
65
  readonly localName: string;
@@ -109,6 +110,9 @@ declare const Divider_base: {
109
110
  insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
110
111
  insertAdjacentHTML(position: InsertPosition, string: string): void;
111
112
  insertAdjacentText(where: InsertPosition, data: string): void;
113
+ matches<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
114
+ matches<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
115
+ matches<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
112
116
  matches(selectors: string): boolean;
113
117
  releasePointerCapture(pointerId: number): void;
114
118
  removeAttribute(qualifiedName: string): void;
@@ -244,6 +248,7 @@ declare const Divider_base: {
244
248
  readonly firstElementChild: Element | null;
245
249
  readonly lastElementChild: Element | null;
246
250
  append(...nodes: (Node | string)[]): void;
251
+ moveBefore(node: Node, child: Node | null): void;
247
252
  prepend(...nodes: (Node | string)[]): void;
248
253
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
249
254
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
@@ -280,6 +285,7 @@ declare const Divider_base: {
280
285
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
286
  onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
282
287
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
289
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
290
  oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
285
291
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -301,7 +307,7 @@ declare const Divider_base: {
301
307
  onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
302
308
  onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
303
309
  ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
304
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
310
+ oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
305
311
  oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
312
  onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
307
313
  onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
@@ -366,7 +372,7 @@ declare const Divider_base: {
366
372
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
367
373
  autofocus: boolean;
368
374
  readonly dataset: DOMStringMap;
369
- nonce?: string;
375
+ nonce: string;
370
376
  tabIndex: number;
371
377
  blur(): void;
372
378
  ariaControls: string | null;
@@ -425,13 +431,13 @@ declare const Divider_base: {
425
431
  ariaFlowToChanged(prev: string | null, next: string | null): void;
426
432
  ariaLabelledByChanged(prev: string | null, next: string | null): void;
427
433
  ariaOwnsChanged(prev: string | null, next: string | null): void;
428
- "__#private@#handleReplacedProp"(replacedProp: {
434
+ _handleReplacedProp(replacedProp: {
429
435
  newPropertyName: string;
430
436
  deprecatedPropertyName: string;
431
437
  fromDeprecated: (v: any) => any;
432
438
  toDeprecated?: ((v: any) => any) | undefined;
433
439
  }): void;
434
- "__#private@#controllers": Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
440
+ _controllers: Set<import('../../shared/framework/reactive-controller.ts').ReactiveController>;
435
441
  _addController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
436
442
  _removeController(controller: import('../../shared/framework/reactive-controller.ts').ReactiveController): void;
437
443
  };
package/lib/fab/fab.d.ts CHANGED
@@ -22,7 +22,7 @@ declare const Fab_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 Fab_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 Fab_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 Fab_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 Fab_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 Fab_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 Fab_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: Event) => any) | null;
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 Fab_base: {
362
368
  onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
363
369
  autofocus: boolean;
364
370
  readonly dataset: DOMStringMap;
365
- nonce?: string;
371
+ nonce: string;
366
372
  tabIndex: number;
367
373
  blur(): void;
368
374
  ariaControls: string | null;
@@ -421,13 +427,13 @@ declare const Fab_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
- "__#private@#handleReplacedProp"(replacedProp: {
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
- "__#private@#controllers": Set<import('../../shared/framework/reactive-controller.js').ReactiveController>;
436
+ _controllers: Set<import('../../shared/framework/reactive-controller.js').ReactiveController>;
431
437
  _addController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
432
438
  _removeController(controller: import('../../shared/framework/reactive-controller.js').ReactiveController): void;
433
439
  };